Main MRPT website > C++ reference for MRPT 1.4.0
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
mrpt::opengl Namespace Reference

Detailed Description

The namespace for 3D scene representation and rendering.

See also the summary page of the mrpt-opengl library for more info and thumbnails of many of the render primitive.

Namespaces

namespace  detail
 
namespace  gl_utils
 A set of auxiliary functions that can be called to render OpenGL primitives from MRPT or user code.
 
namespace  graph_tools
 Tool functions for graphs of pose constraints.
 
namespace  stock_objects
 A collection of pre-built 3D objects for quick insertion in opengl::COpenGLScene objects.
 

Classes

class  C3DSScene
 This element keeps a set of objects imported from a 3DStudio file (.3ds). More...
 
class  CAngularObservationMesh
 A mesh built from a set of 2D laser scan observations. More...
 
class  CArrow
 A 3D arrow. More...
 
class  CAssimpModel
 This class can load & render 3D models in a number of different formats (requires the library assimp). More...
 
class  CAxis
 Draw a 3D world axis, with coordinate marks at some regular interval. More...
 
class  CBox
 A solid or wireframe box in 3D, defined by 6 rectangular faces parallel to the planes X, Y and Z (note that the object can be translated and rotated afterwards as any other CRenderizable object using the "object pose" in the base class). More...
 
class  CCamera
 A camera: if added to a scene, the viewpoint defined by this camera will be used instead of the camera parameters set in COpenGLViewport::m_camera. More...
 
class  CCylinder
 A cylinder or cone whose base lies in the XY plane. More...
 
class  CDisk
 A planar disk in the XY plane. More...
 
class  CEllipsoid
 A 2D ellipse or 3D ellipsoid, depending on the size of the m_cov matrix (2x2 or 3x3). More...
 
class  CEllipsoidInverseDepth2D
 An especial "ellipsoid" in 3D computed as the uncertainty iso-surfaces of a (inv_range,yaw) variable. More...
 
class  CEllipsoidInverseDepth3D
 An especial "ellipsoid" in 3D computed as the uncertainty iso-surfaces of a (inv_range,yaw,pitch) variable. More...
 
class  CEllipsoidRangeBearing2D
 An especial "ellipsoid" in 2D computed as the uncertainty iso-surfaces of a (range,bearing) variable. More...
 
class  CFBORender
 A class for rendering 3D scenes off-screen directly into an image using OpenGL extensions (glext). More...
 
class  CFrustum
 A solid or wireframe frustum in 3D (a rectangular truncated pyramid), with arbitrary (possibly assymetric) field-of-view angles. More...
 
class  CGeneralizedCylinder
 This object represents any figure obtained by extruding any profile along a given axis. More...
 
class  CGeneralizedEllipsoidTemplate
 A class that generalizes the concept of an ellipsoid to arbitrary parameterizations of uncertainty shapes in either 2D or 3D. More...
 
class  CGridPlaneXY
 A grid of lines over the XY plane. More...
 
class  CGridPlaneXZ
 A grid of lines over the XZ plane. More...
 
struct  CLight
 Each of the possible lights of a 3D scene. More...
 
class  CMesh
 A planar (XY) grid where each cell has an associated height and, optionally, a texture map. More...
 
class  CMesh3D
 A 3D mesh composed of Triangles and/or Quads. More...
 
class  CMeshFast
 A planar (XY) grid where each cell has an associated height and, optionally, a texture map. More...
 
class  COctoMapVoxels
 A flexible renderer of voxels, typically from a 3D octo map (see mrpt::maps::COctoMap). More...
 
class  COctreePointRenderer
 Template class that implements the data structure and algorithms for Octree-based efficient rendering. More...
 
class  COpenGLScene
 This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives. More...
 
class  COpenGLStandardObject
 Objects of this class represent a generic openGL object without specific geometric properties. More...
 
class  COpenGLViewport
 A viewport within a COpenGLScene, containing a set of OpenGL objects to render. More...
 
class  CPlanarLaserScan
 This object renders a 2D laser scan by means of three elements: the points, the line along end-points and the 2D scanned surface. More...
 
class  CPointCloud
 A cloud of points, all with the same color or each depending on its value along a particular coordinate axis. More...
 
class  CPointCloudColoured
 A cloud of points, each one with an individual colour (R,G,B). More...
 
class  CPolyhedron
 This class represents arbitrary polyhedra. More...
 
class  CRenderizable
 The base class of 3D objects that can be directly rendered through OpenGL. More...
 
class  CRenderizableDisplayList
 A renderizable object suitable for rendering with OpenGL's display lists. More...
 
class  CSetOfLines
 A set of independent lines (or segments), one line with its own start and end positions (X,Y,Z). More...
 
class  CSetOfObjects
 A set of object, which are referenced to the coordinates framework established in this object. More...
 
class  CSetOfTexturedTriangles
 A set of textured triangles. More...
 
class  CSetOfTriangles
 A set of colored triangles. More...
 
class  CSimpleLine
 A line segment. More...
 
class  CSphere
 A solid or wire-frame sphere. More...
 
class  CText
 A 2D text (bitmap rendering): it always "faces the observer" despite it's at some 3D location. More...
 
class  CText3D
 A 3D text (rendered with OpenGL primitives), with selectable font face and drawing style. More...
 
class  CTextMessageCapable
 Keeps a list of text messages which can be rendered to OpenGL contexts by graphic classes. More...
 
class  CTexturedObject
 A base class for all OpenGL objects with loadable textures. More...
 
class  CTexturedPlane
 A 2D plane in the XY plane with a texture image. More...
 
class  CVectorField2D
 A 2D vector field representation, consisting of points and arrows drawn on a plane (invisible grid). More...
 
class  CVectorField3D
 A 3D vector field representation, consisting of points and arrows drawn at any spatial position. More...
 
class  mrptEventGLPostRender
 An event sent by an mrpt::opengl::COpenGLViewport after calling the scene OpenGL drawing primitives and before doing a glSwapBuffers. More...
 
class  mrptEventGLPreRender
 An event sent by an mrpt::opengl::COpenGLViewport just after clearing the viewport and setting the GL_PROJECTION matrix, and before calling the scene OpenGL drawing primitives. More...
 
struct  T2DTextData
 An auxiliary struct for holding a list of text messages in some mrpt::opengl & mrpt::gui classes The font can be either a bitmapped or a vectorized font. More...
 
struct  TFontParams
 A description of a bitmapped or vectorized text font. More...
 

Typedefs

typedef uint32_t _GLENUM
 
typedef std::deque< CRenderizablePtrCListOpenGLObjects
 A list of objects pointers, automatically managing memory free at destructor, and managing copies correctly.
 

Enumerations

enum  predefined_voxel_sets_t { VOXEL_SET_OCCUPIED = 0 , VOXEL_SET_FREESPACE = 1 }
 
enum  TOpenGLFont {
  MRPT_GLUT_BITMAP_NONE = -1 , MRPT_GLUT_BITMAP_TIMES_ROMAN_10 = 0 , MRPT_GLUT_BITMAP_TIMES_ROMAN_24 = 1 , MRPT_GLUT_BITMAP_HELVETICA_10 = 2 ,
  MRPT_GLUT_BITMAP_HELVETICA_12 = 3 , MRPT_GLUT_BITMAP_HELVETICA_18 = 4
}
 Existing fonts for 2D texts in mrpt::opengl methods. More...
 
enum  TOpenGLFontStyle { FILL = 0 , OUTLINE = 1 , NICE = 2 }
 Different style for vectorized font rendering. More...
 

Functions

MAPS_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CAngularObservationMeshPtr &pObj)
 
MAPS_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CPlanarLaserScanPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, C3DSScenePtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CArrowPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CAssimpModelPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CAxisPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CBoxPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CCameraPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CCylinderPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CDiskPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CEllipsoidPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CEllipsoidInverseDepth2DPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CEllipsoidInverseDepth3DPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CEllipsoidRangeBearing2DPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CFrustumPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CGeneralizedCylinderPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CGridPlaneXYPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CGridPlaneXZPtr &pObj)
 
OPENGL_IMPEXP mrpt::utils::CStreamoperator>> (mrpt::utils::CStream &in, mrpt::opengl::CLight &o)
 
OPENGL_IMPEXP mrpt::utils::CStreamoperator<< (mrpt::utils::CStream &out, const mrpt::opengl::CLight &o)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CMeshPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CMesh3DPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CMeshFastPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, COctoMapVoxelsPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, COpenGLScenePtr &pObj)
 
COpenGLScenePtroperator<< (COpenGLScenePtr &s, const CRenderizablePtr &r)
 Inserts an openGL object into a scene.
 
template<class T >
COpenGLScenePtroperator<< (COpenGLScenePtr &s, const std::vector< T > &v)
 Inserts any iterable collection of openGL objects into a scene, allowing call chaining.
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, COpenGLStandardObjectPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, COpenGLViewportPtr &pObj)
 
COpenGLViewportPtroperator<< (COpenGLViewportPtr &s, const CRenderizablePtr &r)
 Inserts an openGL object into a viewport.
 
COpenGLViewportPtroperator<< (COpenGLViewportPtr &s, const std::vector< CRenderizablePtr > &v)
 Inserts any iterable set of openGL objects into a viewport.
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CPointCloudPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CPointCloudColouredPtr &pObj)
 
OPENGL_IMPEXP mrpt::utils::CStreamoperator>> (mrpt::utils::CStream &in, CPointCloudColoured::TPointColour &o)
 
OPENGL_IMPEXP mrpt::utils::CStreamoperator<< (mrpt::utils::CStream &out, const CPointCloudColoured::TPointColour &o)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CPolyhedronPtr &pObj)
 
OPENGL_IMPEXP mrpt::utils::CStreamoperator>> (mrpt::utils::CStream &in, CPolyhedron::TPolyhedronEdge &o)
 Reads a polyhedron edge from a binary stream.
 
OPENGL_IMPEXP mrpt::utils::CStreamoperator<< (mrpt::utils::CStream &out, const CPolyhedron::TPolyhedronEdge &o)
 Writes a polyhedron edge to a binary stream.
 
OPENGL_IMPEXP mrpt::utils::CStreamoperator>> (mrpt::utils::CStream &in, CPolyhedron::TPolyhedronFace &o)
 Reads a polyhedron face from a binary stream.
 
OPENGL_IMPEXP mrpt::utils::CStreamoperator<< (mrpt::utils::CStream &out, const CPolyhedron::TPolyhedronFace &o)
 Writes a polyhedron face to a binary stream.
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CRenderizablePtr &pObj)
 
OPENGL_IMPEXP CRenderizablePtroperator<< (CRenderizablePtr &r, const mrpt::poses::CPose3D &p)
 Applies a mrpt::poses::CPose3D transformation to the object.
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CRenderizableDisplayListPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CSetOfLinesPtr &pObj)
 
template<class T >
CSetOfLinesPtroperator<< (CSetOfLinesPtr &l, const T &s)
 Inserts a set of segments into the list.
 
template<>
CSetOfLinesPtroperator<< (CSetOfLinesPtr &l, const mrpt::math::TSegment3D &s)
 Inserts a segment into the list.
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CSetOfObjectsPtr &pObj)
 
CSetOfObjectsPtroperator<< (CSetOfObjectsPtr &s, const CRenderizablePtr &r)
 Inserts an object into the list.
 
template<class T >
CSetOfObjectsPtroperator<< (CSetOfObjectsPtr &o, const std::vector< T > &v)
 Inserts a set of objects into the list.
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CSetOfTexturedTrianglesPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CSetOfTrianglesPtr &pObj)
 
template<class T >
CSetOfTrianglesPtroperator<< (CSetOfTrianglesPtr &s, const T &t)
 Inserts a set of triangles into the list; note that this method allows to pass another CSetOfTriangles as argument.
 
template<>
CSetOfTrianglesPtroperator<< (CSetOfTrianglesPtr &s, const CSetOfTriangles::TTriangle &t)
 Inserts a triangle into the list.
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CSimpleLinePtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CSpherePtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CTextPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CText3DPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CTexturedObjectPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CTexturedPlanePtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CVectorField2DPtr &pObj)
 
OPENGL_IMPEXP::mrpt::utils::CStream & operator>> (mrpt::utils::CStream &in, CVectorField3DPtr &pObj)
 
Functions to obtain a 3D representation of a pose PDF


template<class POSE_PDF >
CSetOfObjectsPtr posePDF2opengl (const POSE_PDF &o)
 Returns a representation of a the PDF - this is just an auxiliary function, it's more natural to call mrpt::poses::CPosePDF::getAs3DObject

 

Variables

class MAPS_IMPEXP CAngularObservationMesh
 
struct MAPS_IMPEXP CAngularObservationMeshPtr
 
class MAPS_IMPEXP CPlanarLaserScan
 
struct MAPS_IMPEXP CPlanarLaserScanPtr
 
class OPENGL_IMPEXP C3DSScene
 
struct OPENGL_IMPEXP C3DSScenePtr
 
class OPENGL_IMPEXP CArrow
 
struct OPENGL_IMPEXP CArrowPtr
 
class OPENGL_IMPEXP CAssimpModel
 
struct OPENGL_IMPEXP CAssimpModelPtr
 
class OPENGL_IMPEXP CAxis
 
struct OPENGL_IMPEXP CAxisPtr
 
class OPENGL_IMPEXP CBox
 
struct OPENGL_IMPEXP CBoxPtr
 
class OPENGL_IMPEXP CCamera
 
struct OPENGL_IMPEXP CCameraPtr
 
class OPENGL_IMPEXP CCylinder
 
struct OPENGL_IMPEXP CCylinderPtr
 
class OPENGL_IMPEXP CDisk
 
struct OPENGL_IMPEXP CDiskPtr
 
class OPENGL_IMPEXP CEllipsoid
 
struct OPENGL_IMPEXP CEllipsoidPtr
 
class OPENGL_IMPEXP CEllipsoidInverseDepth2D
 
struct OPENGL_IMPEXP CEllipsoidInverseDepth2DPtr
 
class OPENGL_IMPEXP CEllipsoidInverseDepth3D
 
struct OPENGL_IMPEXP CEllipsoidInverseDepth3DPtr
 
class OPENGL_IMPEXP CEllipsoidRangeBearing2D
 
struct OPENGL_IMPEXP CEllipsoidRangeBearing2DPtr
 
class OPENGL_IMPEXP CFrustum
 
struct OPENGL_IMPEXP CFrustumPtr
 
class OPENGL_IMPEXP CGeneralizedCylinder
 
struct OPENGL_IMPEXP CGeneralizedCylinderPtr
 
class OPENGL_IMPEXP CGridPlaneXY
 
struct OPENGL_IMPEXP CGridPlaneXYPtr
 
class OPENGL_IMPEXP CGridPlaneXZ
 
struct OPENGL_IMPEXP CGridPlaneXZPtr
 
class OPENGL_IMPEXP CMesh
 
struct OPENGL_IMPEXP CMeshPtr
 
class OPENGL_IMPEXP CMesh3D
 
struct OPENGL_IMPEXP CMesh3DPtr
 
class OPENGL_IMPEXP CMeshFast
 
struct OPENGL_IMPEXP CMeshFastPtr
 
class OPENGL_IMPEXP COctoMapVoxels
 
struct OPENGL_IMPEXP COctoMapVoxelsPtr
 
class OPENGL_IMPEXP COpenGLScene
 
struct OPENGL_IMPEXP COpenGLScenePtr
 
class OPENGL_IMPEXP COpenGLStandardObject
 
struct OPENGL_IMPEXP COpenGLStandardObjectPtr
 
class OPENGL_IMPEXP COpenGLViewport
 
struct OPENGL_IMPEXP COpenGLViewportPtr
 
class OPENGL_IMPEXP CPointCloud
 
struct OPENGL_IMPEXP CPointCloudPtr
 
class OPENGL_IMPEXP CPointCloudColoured
 
struct OPENGL_IMPEXP CPointCloudColouredPtr
 
class OPENGL_IMPEXP CPolyhedron
 
struct OPENGL_IMPEXP CPolyhedronPtr
 
class OPENGL_IMPEXP CRenderizable
 
struct OPENGL_IMPEXP CRenderizablePtr
 
class OPENGL_IMPEXP CRenderizableDisplayList
 
struct OPENGL_IMPEXP CRenderizableDisplayListPtr
 
class OPENGL_IMPEXP CSetOfLines
 
struct OPENGL_IMPEXP CSetOfLinesPtr
 
class OPENGL_IMPEXP CSetOfObjects
 
struct OPENGL_IMPEXP CSetOfObjectsPtr
 
class OPENGL_IMPEXP CSetOfTexturedTriangles
 
struct OPENGL_IMPEXP CSetOfTexturedTrianglesPtr
 
class OPENGL_IMPEXP CSetOfTriangles
 
struct OPENGL_IMPEXP CSetOfTrianglesPtr
 
class OPENGL_IMPEXP CSimpleLine
 
struct OPENGL_IMPEXP CSimpleLinePtr
 
class OPENGL_IMPEXP CSphere
 
struct OPENGL_IMPEXP CSpherePtr
 
class OPENGL_IMPEXP CText
 
struct OPENGL_IMPEXP CTextPtr
 
class OPENGL_IMPEXP CText3D
 
struct OPENGL_IMPEXP CText3DPtr
 
class OPENGL_IMPEXP CTexturedObject
 
struct OPENGL_IMPEXP CTexturedObjectPtr
 
class OPENGL_IMPEXP CTexturedPlane
 
struct OPENGL_IMPEXP CTexturedPlanePtr
 
class OPENGL_IMPEXP CVectorField2D
 
struct OPENGL_IMPEXP CVectorField2DPtr
 
class OPENGL_IMPEXP CVectorField3D
 
struct OPENGL_IMPEXP CVectorField3DPtr
 

Typedef Documentation

◆ _GLENUM

Definition at line 17 of file COpenGLStandardObject.h.

◆ CListOpenGLObjects

A list of objects pointers, automatically managing memory free at destructor, and managing copies correctly.

Definition at line 33 of file CRenderizable.h.

Enumeration Type Documentation

◆ predefined_voxel_sets_t

Enumerator
VOXEL_SET_OCCUPIED 
VOXEL_SET_FREESPACE 

Definition at line 20 of file COctoMapVoxels.h.

◆ TOpenGLFontStyle

Different style for vectorized font rendering.

See also
T2DTextData
Enumerator
FILL 

renders glyphs as filled polygons

OUTLINE 

renders glyphs as outlines with GL_LINES

NICE 

renders glyphs filled with antialiased outlines

Definition at line 37 of file opengl_fonts.h.

Function Documentation

◆ operator<<() [1/15]

COpenGLScenePtr & mrpt::opengl::operator<< ( COpenGLScenePtr s,
const CRenderizablePtr r 
)
inline

Inserts an openGL object into a scene.

Allows call chaining.

See also
mrpt::opengl::COpenGLScene::insert

Definition at line 222 of file COpenGLScene.h.

◆ operator<<() [2/15]

template<class T >
COpenGLScenePtr & mrpt::opengl::operator<< ( COpenGLScenePtr s,
const std::vector< T > &  v 
)
inline

Inserts any iterable collection of openGL objects into a scene, allowing call chaining.

See also
mrpt::opengl::COpenGLScene::insert

Definition at line 227 of file COpenGLScene.h.

◆ operator<<() [3/15]

COpenGLViewportPtr & mrpt::opengl::operator<< ( COpenGLViewportPtr s,
const CRenderizablePtr r 
)
inline

Inserts an openGL object into a viewport.

Allows call chaining.

See also
mrpt::opengl::COpenGLViewport::insert

Definition at line 353 of file COpenGLViewport.h.

◆ operator<<() [4/15]

COpenGLViewportPtr & mrpt::opengl::operator<< ( COpenGLViewportPtr s,
const std::vector< CRenderizablePtr > &  v 
)
inline

Inserts any iterable set of openGL objects into a viewport.

Allows call chaining.

See also
mrpt::opengl::COpenGLViewport::insert

Definition at line 361 of file COpenGLViewport.h.

◆ operator<<() [5/15]

OPENGL_IMPEXP CRenderizablePtr & mrpt::opengl::operator<< ( CRenderizablePtr r,
const mrpt::poses::CPose3D p 
)

Applies a mrpt::poses::CPose3D transformation to the object.

Note that this method doesn't set the pose to the given value, but combines it with the existing one.

See also
setPose

◆ operator<<() [6/15]

template<>
CSetOfLinesPtr & mrpt::opengl::operator<< ( CSetOfLinesPtr l,
const mrpt::math::TSegment3D s 
)
inline

Inserts a segment into the list.

Allows call chaining.

See also
mrpt::opengl::CSetOfLines::appendLine(const TSegment &)

Definition at line 229 of file CSetOfLines.h.

◆ operator<<() [7/15]

template<class T >
CSetOfLinesPtr & mrpt::opengl::operator<< ( CSetOfLinesPtr l,
const T &  s 
)
inline

Inserts a set of segments into the list.

Allows call chaining.

See also
mrpt::opengl::CSetOfLines::appendLines

Definition at line 222 of file CSetOfLines.h.

◆ operator<<() [8/15]

template<class T >
CSetOfObjectsPtr & mrpt::opengl::operator<< ( CSetOfObjectsPtr o,
const std::vector< T > &  v 
)
inline

Inserts a set of objects into the list.

Allows call chaining.

See also
mrpt::opengl::CSetOfObjects::insert

Definition at line 160 of file CSetOfObjects.h.

◆ operator<<() [9/15]

CSetOfObjectsPtr & mrpt::opengl::operator<< ( CSetOfObjectsPtr s,
const CRenderizablePtr r 
)
inline

Inserts an object into the list.

Allows call chaining.

See also
mrpt::opengl::CSetOfObjects::insert

Definition at line 153 of file CSetOfObjects.h.

◆ operator<<() [10/15]

template<>
CSetOfTrianglesPtr & mrpt::opengl::operator<< ( CSetOfTrianglesPtr s,
const CSetOfTriangles::TTriangle t 
)
inline

Inserts a triangle into the list.

Allows call chaining.

See also
mrpt::opengl::CSetOfTriangles::insertTriangle

Definition at line 200 of file CSetOfTriangles.h.

References t().

◆ operator<<() [11/15]

template<class T >
CSetOfTrianglesPtr & mrpt::opengl::operator<< ( CSetOfTrianglesPtr s,
const T &  t 
)
inline

Inserts a set of triangles into the list; note that this method allows to pass another CSetOfTriangles as argument.

Allows call chaining.

See also
mrpt::opengl::CSetOfTriangles::insertTriangle

Definition at line 193 of file CSetOfTriangles.h.

References t().

◆ operator<<() [12/15]

OPENGL_IMPEXP mrpt::utils::CStream & mrpt::opengl::operator<< ( mrpt::utils::CStream out,
const CPointCloudColoured::TPointColour o 
)

◆ operator<<() [13/15]

OPENGL_IMPEXP mrpt::utils::CStream & mrpt::opengl::operator<< ( mrpt::utils::CStream out,
const CPolyhedron::TPolyhedronEdge o 
)

Writes a polyhedron edge to a binary stream.

◆ operator<<() [14/15]

OPENGL_IMPEXP mrpt::utils::CStream & mrpt::opengl::operator<< ( mrpt::utils::CStream out,
const CPolyhedron::TPolyhedronFace o 
)

Writes a polyhedron face to a binary stream.

◆ operator<<() [15/15]

OPENGL_IMPEXP mrpt::utils::CStream & mrpt::opengl::operator<< ( mrpt::utils::CStream out,
const mrpt::opengl::CLight o 
)

◆ operator>>() [1/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
C3DSScenePtr pObj 
)

◆ operator>>() [2/46]

MAPS_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CAngularObservationMeshPtr pObj 
)

◆ operator>>() [3/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CArrowPtr pObj 
)

◆ operator>>() [4/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CAssimpModelPtr pObj 
)

◆ operator>>() [5/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CAxisPtr pObj 
)

◆ operator>>() [6/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CBoxPtr pObj 
)

◆ operator>>() [7/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CCameraPtr pObj 
)

◆ operator>>() [8/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CCylinderPtr pObj 
)

◆ operator>>() [9/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CDiskPtr pObj 
)

◆ operator>>() [10/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CEllipsoidInverseDepth2DPtr pObj 
)

◆ operator>>() [11/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CEllipsoidInverseDepth3DPtr pObj 
)

◆ operator>>() [12/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CEllipsoidPtr pObj 
)

◆ operator>>() [13/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CEllipsoidRangeBearing2DPtr pObj 
)

◆ operator>>() [14/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CFrustumPtr pObj 
)

◆ operator>>() [15/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CGeneralizedCylinderPtr pObj 
)

◆ operator>>() [16/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CGridPlaneXYPtr pObj 
)

◆ operator>>() [17/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CGridPlaneXZPtr pObj 
)

◆ operator>>() [18/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CMesh3DPtr pObj 
)

◆ operator>>() [19/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CMeshFastPtr pObj 
)

◆ operator>>() [20/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CMeshPtr pObj 
)

◆ operator>>() [21/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
COctoMapVoxelsPtr pObj 
)

◆ operator>>() [22/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
COpenGLScenePtr pObj 
)

◆ operator>>() [23/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
COpenGLStandardObjectPtr pObj 
)

◆ operator>>() [24/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
COpenGLViewportPtr pObj 
)

◆ operator>>() [25/46]

MAPS_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CPlanarLaserScanPtr pObj 
)

◆ operator>>() [26/46]

◆ operator>>() [27/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CPointCloudColouredPtr pObj 
)

◆ operator>>() [28/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CPointCloudPtr pObj 
)

◆ operator>>() [29/46]

Reads a polyhedron edge from a binary stream.

◆ operator>>() [30/46]

Reads a polyhedron face from a binary stream.

◆ operator>>() [31/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CPolyhedronPtr pObj 
)

◆ operator>>() [32/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CRenderizableDisplayListPtr pObj 
)

◆ operator>>() [33/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CRenderizablePtr pObj 
)

◆ operator>>() [34/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CSetOfLinesPtr pObj 
)

◆ operator>>() [35/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CSetOfObjectsPtr pObj 
)

◆ operator>>() [36/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CSetOfTexturedTrianglesPtr pObj 
)

◆ operator>>() [37/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CSetOfTrianglesPtr pObj 
)

◆ operator>>() [38/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CSimpleLinePtr pObj 
)

◆ operator>>() [39/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CSpherePtr pObj 
)

◆ operator>>() [40/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CText3DPtr pObj 
)

◆ operator>>() [41/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CTextPtr pObj 
)

◆ operator>>() [42/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CTexturedObjectPtr pObj 
)

◆ operator>>() [43/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CTexturedPlanePtr pObj 
)

◆ operator>>() [44/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CVectorField2DPtr pObj 
)

◆ operator>>() [45/46]

OPENGL_IMPEXP::mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
CVectorField3DPtr pObj 
)

◆ operator>>() [46/46]

OPENGL_IMPEXP mrpt::utils::CStream & mrpt::opengl::operator>> ( mrpt::utils::CStream in,
mrpt::opengl::CLight o 
)

◆ posePDF2opengl()

template<class POSE_PDF >
CSetOfObjectsPtr mrpt::opengl::posePDF2opengl ( const POSE_PDF &  o)
inline

Returns a representation of a the PDF - this is just an auxiliary function, it's more natural to call mrpt::poses::CPosePDF::getAs3DObject

Definition at line 23 of file pose_pdfs.h.

References mrpt::opengl::CSetOfObjects::posePDF2opengl().

Variable Documentation

◆ C3DSScene

Definition at line 21 of file C3DSScene.h.

◆ C3DSScenePtr

struct OPENGL_IMPEXP mrpt::opengl::C3DSScenePtr

Definition at line 21 of file C3DSScene.h.

◆ CAngularObservationMesh

Definition at line 24 of file CAngularObservationMesh.h.

◆ CAngularObservationMeshPtr

struct MAPS_IMPEXP mrpt::opengl::CAngularObservationMeshPtr

Definition at line 24 of file CAngularObservationMesh.h.

◆ CArrow

Definition at line 21 of file CArrow.h.

◆ CArrowPtr

struct OPENGL_IMPEXP mrpt::opengl::CArrowPtr

Definition at line 21 of file CArrow.h.

◆ CAssimpModel

Definition at line 24 of file CAssimpModel.h.

◆ CAssimpModelPtr

struct OPENGL_IMPEXP mrpt::opengl::CAssimpModelPtr

Definition at line 24 of file CAssimpModel.h.

◆ CAxis

Definition at line 21 of file CAxis.h.

◆ CAxisPtr

struct OPENGL_IMPEXP mrpt::opengl::CAxisPtr

Definition at line 21 of file CAxis.h.

◆ CBox

Definition at line 19 of file CBox.h.

◆ CBoxPtr

struct OPENGL_IMPEXP mrpt::opengl::CBoxPtr

◆ CCamera

Definition at line 24 of file CCamera.h.

◆ CCameraPtr

struct OPENGL_IMPEXP mrpt::opengl::CCameraPtr

Definition at line 24 of file CCamera.h.

◆ CCylinder

Definition at line 16 of file CCylinder.h.

◆ CCylinderPtr

struct OPENGL_IMPEXP mrpt::opengl::CCylinderPtr

Definition at line 18 of file CCylinder.h.

◆ CDisk

Definition at line 21 of file CDisk.h.

◆ CDiskPtr

struct OPENGL_IMPEXP mrpt::opengl::CDiskPtr

Definition at line 21 of file CDisk.h.

◆ CEllipsoid

Definition at line 21 of file CEllipsoid.h.

◆ CEllipsoidInverseDepth2D

Definition at line 19 of file CEllipsoidInverseDepth2D.h.

◆ CEllipsoidInverseDepth2DPtr

struct OPENGL_IMPEXP mrpt::opengl::CEllipsoidInverseDepth2DPtr

Definition at line 19 of file CEllipsoidInverseDepth2D.h.

◆ CEllipsoidInverseDepth3D

Definition at line 19 of file CEllipsoidInverseDepth3D.h.

◆ CEllipsoidInverseDepth3DPtr

struct OPENGL_IMPEXP mrpt::opengl::CEllipsoidInverseDepth3DPtr

Definition at line 19 of file CEllipsoidInverseDepth3D.h.

◆ CEllipsoidPtr

struct OPENGL_IMPEXP mrpt::opengl::CEllipsoidPtr

Definition at line 21 of file CEllipsoid.h.

◆ CEllipsoidRangeBearing2D

Definition at line 19 of file CEllipsoidRangeBearing2D.h.

◆ CEllipsoidRangeBearing2DPtr

struct OPENGL_IMPEXP mrpt::opengl::CEllipsoidRangeBearing2DPtr

Definition at line 19 of file CEllipsoidRangeBearing2D.h.

◆ CFrustum

Definition at line 19 of file CFrustum.h.

◆ CFrustumPtr

struct OPENGL_IMPEXP mrpt::opengl::CFrustumPtr

Definition at line 19 of file CFrustum.h.

◆ CGeneralizedCylinder

Definition at line 21 of file CGeneralizedCylinder.h.

◆ CGeneralizedCylinderPtr

struct OPENGL_IMPEXP mrpt::opengl::CGeneralizedCylinderPtr

Definition at line 23 of file CGeneralizedCylinder.h.

◆ CGridPlaneXY

Definition at line 22 of file CGridPlaneXY.h.

◆ CGridPlaneXYPtr

struct OPENGL_IMPEXP mrpt::opengl::CGridPlaneXYPtr

Definition at line 22 of file CGridPlaneXY.h.

Referenced by mrpt::opengl::graph_tools::graph_visualize().

◆ CGridPlaneXZ

Definition at line 22 of file CGridPlaneXZ.h.

◆ CGridPlaneXZPtr

struct OPENGL_IMPEXP mrpt::opengl::CGridPlaneXZPtr

Definition at line 22 of file CGridPlaneXZ.h.

◆ CMesh

Definition at line 26 of file CMesh.h.

◆ CMesh3D

Definition at line 25 of file CMesh3D.h.

◆ CMesh3DPtr

struct OPENGL_IMPEXP mrpt::opengl::CMesh3DPtr

Definition at line 25 of file CMesh3D.h.

◆ CMeshFast

Definition at line 25 of file CMeshFast.h.

◆ CMeshFastPtr

struct OPENGL_IMPEXP mrpt::opengl::CMeshFastPtr

Definition at line 25 of file CMeshFast.h.

◆ CMeshPtr

struct OPENGL_IMPEXP mrpt::opengl::CMeshPtr

Definition at line 26 of file CMesh.h.

◆ COctoMapVoxels

Definition at line 27 of file COctoMapVoxels.h.

◆ COctoMapVoxelsPtr

struct OPENGL_IMPEXP mrpt::opengl::COctoMapVoxelsPtr

◆ COpenGLScene

Definition at line 23 of file COpenGLScene.h.

◆ COpenGLScenePtr

struct OPENGL_IMPEXP mrpt::opengl::COpenGLScenePtr

Definition at line 23 of file COpenGLScene.h.

◆ COpenGLStandardObject

Definition at line 19 of file COpenGLStandardObject.h.

◆ COpenGLStandardObjectPtr

struct OPENGL_IMPEXP mrpt::opengl::COpenGLStandardObjectPtr

Definition at line 19 of file COpenGLStandardObject.h.

◆ COpenGLViewport

Definition at line 33 of file COpenGLViewport.h.

◆ COpenGLViewportPtr

struct OPENGL_IMPEXP mrpt::opengl::COpenGLViewportPtr

Definition at line 33 of file COpenGLViewport.h.

◆ CPlanarLaserScan

Definition at line 29 of file CPlanarLaserScan.h.

◆ CPlanarLaserScanPtr

struct MAPS_IMPEXP mrpt::opengl::CPlanarLaserScanPtr

Definition at line 29 of file CPlanarLaserScan.h.

◆ CPointCloud

Definition at line 25 of file CPointCloud.h.

◆ CPointCloudColoured

Definition at line 24 of file CPointCloudColoured.h.

◆ CPointCloudColouredPtr

struct OPENGL_IMPEXP mrpt::opengl::CPointCloudColouredPtr

Definition at line 24 of file CPointCloudColoured.h.

◆ CPointCloudPtr

struct OPENGL_IMPEXP mrpt::opengl::CPointCloudPtr

Definition at line 25 of file CPointCloud.h.

Referenced by mrpt::opengl::graph_tools::graph_visualize().

◆ CPolyhedron

Definition at line 17 of file CPolyhedron.h.

◆ CPolyhedronPtr

struct OPENGL_IMPEXP mrpt::opengl::CPolyhedronPtr

Definition at line 20 of file CPolyhedron.h.

◆ CRenderizable

Definition at line 30 of file CRenderizable.h.

◆ CRenderizableDisplayList

Definition at line 21 of file CRenderizableDisplayList.h.

◆ CRenderizableDisplayListPtr

struct OPENGL_IMPEXP mrpt::opengl::CRenderizableDisplayListPtr

Definition at line 21 of file CRenderizableDisplayList.h.

◆ CRenderizablePtr

struct OPENGL_IMPEXP mrpt::opengl::CRenderizablePtr

Definition at line 30 of file CRenderizable.h.

◆ CSetOfLines

Definition at line 21 of file CSetOfLines.h.

◆ CSetOfLinesPtr

struct OPENGL_IMPEXP mrpt::opengl::CSetOfLinesPtr

Definition at line 21 of file CSetOfLines.h.

Referenced by mrpt::opengl::graph_tools::graph_visualize().

◆ CSetOfObjects

Definition at line 23 of file CSetOfObjects.h.

◆ CSetOfObjectsPtr

struct OPENGL_IMPEXP mrpt::opengl::CSetOfObjectsPtr

◆ CSetOfTexturedTriangles

Definition at line 21 of file CSetOfTexturedTriangles.h.

◆ CSetOfTexturedTrianglesPtr

struct OPENGL_IMPEXP mrpt::opengl::CSetOfTexturedTrianglesPtr

Definition at line 21 of file CSetOfTexturedTriangles.h.

◆ CSetOfTriangles

Definition at line 22 of file CSetOfTriangles.h.

◆ CSetOfTrianglesPtr

struct OPENGL_IMPEXP mrpt::opengl::CSetOfTrianglesPtr

Definition at line 22 of file CSetOfTriangles.h.

◆ CSimpleLine

Definition at line 21 of file CSimpleLine.h.

◆ CSimpleLinePtr

struct OPENGL_IMPEXP mrpt::opengl::CSimpleLinePtr

Definition at line 21 of file CSimpleLine.h.

Referenced by mrpt::opengl::graph_tools::graph_visualize().

◆ CSphere

Definition at line 21 of file CSphere.h.

◆ CSpherePtr

struct OPENGL_IMPEXP mrpt::opengl::CSpherePtr

Definition at line 21 of file CSphere.h.

◆ CText

Definition at line 22 of file CText.h.

◆ CText3D

Definition at line 22 of file CText3D.h.

◆ CText3DPtr

struct OPENGL_IMPEXP mrpt::opengl::CText3DPtr

Definition at line 22 of file CText3D.h.

◆ CTextPtr

struct OPENGL_IMPEXP mrpt::opengl::CTextPtr

Definition at line 22 of file CText.h.

◆ CTexturedObject

Definition at line 23 of file CTexturedObject.h.

◆ CTexturedObjectPtr

struct OPENGL_IMPEXP mrpt::opengl::CTexturedObjectPtr

Definition at line 23 of file CTexturedObject.h.

◆ CTexturedPlane

Definition at line 21 of file CTexturedPlane.h.

◆ CTexturedPlanePtr

struct OPENGL_IMPEXP mrpt::opengl::CTexturedPlanePtr

Definition at line 21 of file CTexturedPlane.h.

◆ CVectorField2D

Definition at line 22 of file CVectorField2D.h.

◆ CVectorField2DPtr

struct OPENGL_IMPEXP mrpt::opengl::CVectorField2DPtr

Definition at line 22 of file CVectorField2D.h.

◆ CVectorField3D

Definition at line 23 of file CVectorField3D.h.

◆ CVectorField3DPtr

struct OPENGL_IMPEXP mrpt::opengl::CVectorField3DPtr

Definition at line 26 of file CVectorField3D.h.




Page generated by Doxygen 1.9.7 for MRPT 1.4.0 SVN: at Tue Jun 13 14:10:35 UTC 2023