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 | |
| struct | CAngularObservationMeshPtr |
| class | CAngularObservationMesh |
| A mesh built from a set of 2D laser scan observations. More... | |
| struct | CPlanarLaserScanPtr |
| 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... | |
| struct | C3DSScenePtr |
| class | C3DSScene |
| This element keeps a set of objects imported from a 3DStudio file (.3ds). More... | |
| struct | CArrowPtr |
| class | CArrow |
| A 3D arrow. More... | |
| struct | CAxisPtr |
| class | CAxis |
| Draw a 3D world axis, with coordinate marks at some regular interval. More... | |
| struct | CBoxPtr |
| 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... | |
| struct | CCameraPtr |
| 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... | |
| struct | CCylinderPtr |
| class | CCylinder |
| A cylinder or cone whose base lies in the XY plane. More... | |
| struct | CDiskPtr |
| class | CDisk |
| A planar disk in the XY plane. More... | |
| struct | CEllipsoidPtr |
| class | CEllipsoid |
| A 2D ellipse or 3D ellipsoid, depending on the size of the m_cov matrix (2x2 or 3x3). More... | |
| struct | CEllipsoidInverseDepth2DPtr |
| class | CEllipsoidInverseDepth2D |
| An especial "ellipsoid" in 3D computed as the uncertainty iso-surfaces of a (inv_range,yaw) variable. More... | |
| struct | CEllipsoidInverseDepth3DPtr |
| class | CEllipsoidInverseDepth3D |
| An especial "ellipsoid" in 3D computed as the uncertainty iso-surfaces of a (inv_range,yaw,pitch) variable. More... | |
| struct | CEllipsoidRangeBearing2DPtr |
| 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... | |
| struct | CFrustumPtr |
| class | CFrustum |
| A solid or wireframe frustum in 3D (a rectangular truncated pyramid), with arbitrary (possibly assymetric) field-of-view angles. More... | |
| struct | CGeneralizedCylinderPtr |
| 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... | |
| struct | CGridPlaneXYPtr |
| class | CGridPlaneXY |
| A grid of lines over the XY plane. More... | |
| struct | CGridPlaneXZPtr |
| class | CGridPlaneXZ |
| A grid of lines over the XZ plane. More... | |
| struct | CMeshPtr |
| class | CMesh |
| A planar (XY) grid where each cell has an associated height and, optionally, a texture map. More... | |
| class | COctreePointRenderer |
| Template class that implements the data structure and algorithms for Octree-based efficient rendering. More... | |
| struct | COpenGLScenePtr |
| class | COpenGLScene |
| This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives. More... | |
| struct | COpenGLStandardObjectPtr |
| class | COpenGLStandardObject |
| Objects of this class represent a generic openGL object without specific geometric properties. More... | |
| struct | COpenGLViewportPtr |
| class | COpenGLViewport |
| A viewport within a COpenGLScene, containing a set of OpenGL objects to render. 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... | |
| class | mrptEventGLPostRender |
| An event sent by an mrpt::opengl::COpenGLViewport after calling the scene OpenGL drawing primitives and before doing a glSwapBuffers. More... | |
| struct | CPointCloudPtr |
| class | CPointCloud |
| A cloud of points, all with the same color or each depending on its value along a particular coordinate axis. More... | |
| struct | CPointCloudColouredPtr |
| class | CPointCloudColoured |
| A cloud of points, each one with an individual colour (R,G,B). More... | |
| struct | CPolyhedronPtr |
| class | CPolyhedron |
| This class represents arbitrary polyhedra. More... | |
| struct | CRenderizablePtr |
| class | CRenderizable |
| The base class of 3D objects that can be directly rendered through OpenGL. More... | |
| struct | CRenderizableDisplayListPtr |
| class | CRenderizableDisplayList |
| A renderizable object suitable for rendering with OpenGL's display lists. More... | |
| struct | CSetOfLinesPtr |
| class | CSetOfLines |
| A set of independent lines (or segments), one line with its own start and end positions (X,Y,Z). More... | |
| struct | CSetOfObjectsPtr |
| class | CSetOfObjects |
| A set of object, which are referenced to the coordinates framework established in this object. More... | |
| struct | CSetOfTexturedTrianglesPtr |
| class | CSetOfTexturedTriangles |
| A set of textured triangles. More... | |
| struct | CSetOfTrianglesPtr |
| class | CSetOfTriangles |
| A set of colored triangles. More... | |
| struct | CSimpleLinePtr |
| class | CSimpleLine |
| A line segment. More... | |
| struct | CSpherePtr |
| class | CSphere |
| A solid or wire-frame sphere. More... | |
| struct | CTextPtr |
| class | CText |
| A 2D text (bitmap rendering): it always "faces the observer" despite it's at some 3D location. More... | |
| struct | CText3DPtr |
| 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... | |
| struct | CTexturedObjectPtr |
| class | CTexturedObject |
| A base class for all OpenGL objects with loadable textures. More... | |
| struct | CTexturedPlanePtr |
| class | CTexturedPlane |
| A 2D plane in the XY plane with a texture image. More... | |
| struct | TFontParams |
| A description of a bitmapped or vectorized text font. 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... | |
Typedefs | |
| typedef uint32_t | _GLENUM |
| typedef std::deque < CRenderizablePtr > | CListOpenGLObjects |
| A list of objects pointers, automatically managing memory free at destructor, and managing copies correctly. | |
Enumerations | |
| 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... | |
Variables | |
| class OPENGL_IMPEXP | C3DSScene |
| class OPENGL_IMPEXP | CArrow |
| class OPENGL_IMPEXP | CAxis |
| class OPENGL_IMPEXP | CCylinder |
| class OPENGL_IMPEXP | CDisk |
| class OPENGL_IMPEXP | CEllipsoid |
| class OPENGL_IMPEXP | CGeneralizedCylinder |
| class OPENGL_IMPEXP | CGridPlaneXY |
| class OPENGL_IMPEXP | CGridPlaneXZ |
| class OPENGL_IMPEXP | CMesh |
| class OPENGL_IMPEXP | COpenGLStandardObject |
| class OPENGL_IMPEXP | CPointCloud |
| class OPENGL_IMPEXP | CPointCloudColoured |
| class OPENGL_IMPEXP | CPolyhedron |
| class OPENGL_IMPEXP | CSetOfLines |
| class OPENGL_IMPEXP | CSetOfObjects |
| class OPENGL_IMPEXP | CSetOfTexturedTriangles |
| class OPENGL_IMPEXP | CSetOfTriangles |
| class OPENGL_IMPEXP | CSimpleLine |
| class OPENGL_IMPEXP | CSphere |
| class OPENGL_IMPEXP | CText |
| class OPENGL_IMPEXP | CText3D |
| class OPENGL_IMPEXP | CTexturedObject |
| class OPENGL_IMPEXP | CTexturedPlane |
| typedef uint32_t mrpt::opengl::_GLENUM |
Definition at line 38 of file COpenGLStandardObject.h.
| typedef std::deque<CRenderizablePtr> mrpt::opengl::CListOpenGLObjects |
A list of objects pointers, automatically managing memory free at destructor, and managing copies correctly.
Definition at line 59 of file CRenderizable.h.
Different style for vectorized font rendering.
| 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 55 of file opengl_fonts.h.
|
inline |
Inserts an object into the list.
Allows call chaining.
Definition at line 202 of file CSetOfObjects.h.
References mrpt::opengl::CSetOfObjects::insert().
|
inline |
Inserts a set of objects into the list.
Allows call chaining.
Definition at line 209 of file CSetOfObjects.h.
References mrpt::opengl::CSetOfObjects::insertCollection().
|
inline |
Inserts a set of triangles into the list; note that this method allows to pass another CSetOfTriangles as argument.
Allows call chaining.
Definition at line 212 of file CSetOfTriangles.h.
References mrpt::opengl::CSetOfTriangles::insertTriangles().
|
inline |
Inserts a triangle into the list.
Allows call chaining.
Definition at line 219 of file CSetOfTriangles.h.
References mrpt::opengl::CSetOfTriangles::insertTriangle().
| OPENGL_IMPEXP CRenderizablePtr& mrpt::opengl::operator<< | ( | CRenderizablePtr & | r, |
| const mrpt::poses::CPose3D & | p | ||
| ) |
Applies a 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.
|
inline |
Inserts an openGL object into a scene.
Allows call chaining.
Definition at line 240 of file COpenGLScene.h.
References mrpt::opengl::COpenGLScene::insert().
|
inline |
Inserts a set of segments into the list.
Allows call chaining.
Definition at line 241 of file CSetOfLines.h.
References mrpt::opengl::CSetOfLines::appendLines().
|
inline |
Inserts any iterable collection of openGL objects into a scene, allowing call chaining.
Definition at line 248 of file COpenGLScene.h.
References mrpt::opengl::COpenGLScene::insert().
|
inline |
Inserts a segment into the list.
Allows call chaining.
Definition at line 248 of file CSetOfLines.h.
References mrpt::opengl::CSetOfLines::appendLine().
| OPENGL_IMPEXP mrpt::utils::CStream& mrpt::opengl::operator<< | ( | mrpt::utils::CStream & | out, |
| const CPointCloudColoured::TPointColour & | o | ||
| ) |
|
inline |
Inserts an openGL object into a viewport.
Allows call chaining.
Definition at line 339 of file COpenGLViewport.h.
References mrpt::opengl::COpenGLViewport::insert().
|
inline |
Inserts any iterable set of openGL objects into a viewport.
Allows call chaining.
Definition at line 347 of file COpenGLViewport.h.
References mrpt::opengl::COpenGLViewport::insert().
| OPENGL_IMPEXP mrpt::utils::CStream& mrpt::opengl::operator<< | ( | mrpt::utils::CStream & | out, |
| const CPolyhedron::TPolyhedronEdge & | o | ||
| ) |
Writes a polyhedron edge to a binary stream.
| OPENGL_IMPEXP mrpt::utils::CStream& mrpt::opengl::operator<< | ( | mrpt::utils::CStream & | out, |
| const CPolyhedron::TPolyhedronFace & | o | ||
| ) |
Writes a polyhedron face to a binary stream.
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CCylinderPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CBoxPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CEllipsoidInverseDepth2DPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CEllipsoidInverseDepth3DPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CEllipsoidRangeBearing2DPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CFrustumPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CAxisPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CSpherePtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CRenderizableDisplayListPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CSimpleLinePtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CArrowPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CTexturedPlanePtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CGridPlaneXYPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CGridPlaneXZPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| COpenGLScenePtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CTextPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CText3DPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CSetOfTrianglesPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CEllipsoidPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| C3DSScenePtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CTexturedObjectPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| COpenGLStandardObjectPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CDiskPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CCameraPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CGeneralizedCylinderPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CPointCloudPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CPolyhedronPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CSetOfTexturedTrianglesPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CPointCloudColouredPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CSetOfLinesPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CMeshPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CSetOfObjectsPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CPlanarLaserScanPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CAngularObservationMeshPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| COpenGLViewportPtr & | pObj | ||
| ) |
| ::mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CRenderizablePtr & | pObj | ||
| ) |
| OPENGL_IMPEXP mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CPointCloudColoured::TPointColour & | o | ||
| ) |
| OPENGL_IMPEXP mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CPolyhedron::TPolyhedronEdge & | o | ||
| ) |
Reads a polyhedron edge from a binary stream.
| OPENGL_IMPEXP mrpt::utils::CStream& mrpt::opengl::operator>> | ( | mrpt::utils::CStream & | in, |
| CPolyhedron::TPolyhedronFace & | o | ||
| ) |
Reads a polyhedron face from a binary stream.
|
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 42 of file pose_pdfs.h.
References mrpt::opengl::CSetOfObjects::posePDF2opengl().
Referenced by mrpt::poses::CPointPDF::getAs3DObject(), mrpt::poses::CPose3DQuatPDF::getAs3DObject(), mrpt::poses::CPosePDF::getAs3DObject(), and mrpt::poses::CPose3DPDF::getAs3DObject().
Definition at line 39 of file C3DSScene.h.
Definition at line 37 of file CArrow.h.
Referenced by mrpt::opengl::CArrow::Create().
Definition at line 37 of file CAxis.h.
Referenced by mrpt::opengl::CAxis::Create().
Definition at line 35 of file CCylinder.h.
Referenced by mrpt::opengl::CCylinder::Create().
Definition at line 39 of file CDisk.h.
Referenced by mrpt::opengl::CDisk::Create().
Definition at line 39 of file CEllipsoid.h.
Definition at line 41 of file CGeneralizedCylinder.h.
Referenced by mrpt::opengl::CGeneralizedCylinder::Create().
Definition at line 38 of file CGridPlaneXY.h.
Referenced by mrpt::opengl::CGridPlaneXY::Create().
Definition at line 38 of file CGridPlaneXZ.h.
Referenced by mrpt::opengl::CGridPlaneXZ::Create().
Definition at line 42 of file CMesh.h.
Referenced by mrpt::opengl::CMesh::Create().
Definition at line 41 of file COpenGLStandardObject.h.
Referenced by mrpt::opengl::COpenGLStandardObject::Create().
Definition at line 41 of file CPointCloud.h.
Definition at line 41 of file CPointCloudColoured.h.
Definition at line 41 of file CPolyhedron.h.
Referenced by mrpt::opengl::CPolyhedron::Create(), mrpt::opengl::CPolyhedron::CreateEmpty(), and mrpt::opengl::CPolyhedron::~CPolyhedron().
Definition at line 42 of file CSetOfLines.h.
Referenced by mrpt::opengl::CSetOfLines::Create().
Definition at line 43 of file CSetOfObjects.h.
Definition at line 41 of file CSetOfTexturedTriangles.h.
Definition at line 38 of file CSetOfTriangles.h.
Definition at line 37 of file CSimpleLine.h.
Referenced by mrpt::opengl::CSimpleLine::Create().
Definition at line 37 of file CSphere.h.
Referenced by mrpt::opengl::CSphere::Create().
Definition at line 38 of file CText.h.
Referenced by mrpt::opengl::CText::Create().
Definition at line 38 of file CText3D.h.
Referenced by mrpt::opengl::CText3D::Create().
Definition at line 39 of file CTexturedObject.h.
Definition at line 37 of file CTexturedPlane.h.
Referenced by mrpt::opengl::CTexturedPlane::Create().
| Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013 |