MRPT
1.9.9
|
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 | |
detail | |
gl_utils | |
A set of auxiliary functions that can be called to render OpenGL primitives from MRPT or user code. | |
graph_tools | |
Tool functions for graphs of pose constraints. | |
stock_objects | |
A collection of pre-built 3D objects for quick insertion in opengl::COpenGLScene objects. | |
Classes | |
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 | CColorBar |
A colorbar indicator. 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... | |
class | PLY_Exporter |
A virtual base class that implements the capability of exporting 3D point clouds and faces to a file in the Stanford PLY format. More... | |
class | PLY_Importer |
A virtual base class that implements the capability of importing 3D point clouds and faces from a file in the Stanford PLY format. More... | |
class | PointCloudAdapter |
An adapter to different kinds of point cloud object. More... | |
class | PointCloudAdapter< mrpt::maps::CColouredPointsMap > |
Specialization mrpt::opengl::PointCloudAdapter<mrpt::maps::CColouredPointsMap> mrpt_adapters_grp. More... | |
class | PointCloudAdapter< mrpt::maps::CPointsMap > |
Specialization mrpt::opengl::PointCloudAdapter<mrpt::maps::CPointsMap> More... | |
class | PointCloudAdapter< mrpt::maps::CPointsMapXYZI > |
Specialization mrpt::opengl::PointCloudAdapter<mrpt::maps::CPointsMapXYZI> mrpt_adapters_grp. More... | |
class | PointCloudAdapter< mrpt::maps::CSimplePointsMap > |
Specialization mrpt::opengl::PointCloudAdapter<mrpt::maps::CSimplePointsMap> More... | |
class | PointCloudAdapter< mrpt::maps::CWeightedPointsMap > |
Specialization mrpt::opengl::PointCloudAdapter<mrpt::maps::CWeightedPointsMap> mrpt_adapters_grp. More... | |
class | PointCloudAdapter< mrpt::obs::CObservation3DRangeScan > |
Specialization mrpt::opengl::PointCloudAdapter<CObservation3DRangeScan> More... | |
class | PointCloudAdapter< mrpt::opengl::CPointCloud > |
Specialization mrpt::opengl::PointCloudAdapter<mrpt::opengl::CPointCloud> More... | |
class | PointCloudAdapter< mrpt::opengl::CPointCloudColoured > |
Specialization mrpt::opengl::PointCloudAdapter<mrpt::opengl::CPointCloudColoured> mrpt_adapters_grp. More... | |
class | PointCloudAdapter< pcl::PointCloud< pcl::PointXYZ > > |
Specialization mrpt::opengl::PointCloudAdapter<pcl::PointCloud<pcl::PointXYZ> > for an XYZ point cloud (without RGB) More... | |
class | PointCloudAdapter< pcl::PointCloud< pcl::PointXYZRGB > > |
Specialization mrpt::opengl::PointCloudAdapter<pcl::PointCloud<pcl::PointXYZRGB> > for an XYZ point cloud with RGB. More... | |
class | PointCloudAdapter< pcl::PointCloud< pcl::PointXYZRGBA > > |
Specialization mrpt::opengl::PointCloudAdapter<pcl::PointCloud<pcl::PointXYZRGBA> > for an XYZ point cloud with RGB. 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 | |
using | _GLENUM = uint32_t |
using | CListOpenGLObjects = std::deque< CRenderizable::Ptr > |
A list of objects pointers, automatically managing memory free at destructor, and managing copies correctly. More... | |
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... | |
using mrpt::opengl::_GLENUM = typedef uint32_t |
Definition at line 16 of file COpenGLStandardObject.h.
using mrpt::opengl::CListOpenGLObjects = typedef std::deque<CRenderizable::Ptr> |
A list of objects pointers, automatically managing memory free at destructor, and managing copies correctly.
Definition at line 328 of file CRenderizable.h.
Enumerator | |
---|---|
VOXEL_SET_OCCUPIED | |
VOXEL_SET_FREESPACE |
Definition at line 16 of file COctoMapVoxels.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 33 of file opengl_fonts.h.
mrpt::serialization::CArchive & mrpt::opengl::operator<< | ( | mrpt::serialization::CArchive & | out, |
const mrpt::opengl::CLight & | o | ||
) |
Definition at line 123 of file CLight.cpp.
References mrpt::opengl::CLight::writeToStream().
|
inline |
Inserts an object into the list.
Allows call chaining.
Definition at line 161 of file CSetOfObjects.h.
|
inline |
Inserts a set of objects into the list.
Allows call chaining.
Definition at line 171 of file CSetOfObjects.h.
CArchive& mrpt::opengl::operator<< | ( | CArchive & | out, |
const COctoMapVoxels::TInfoPerVoxelSet & | a | ||
) |
Definition at line 205 of file COctoMapVoxels.cpp.
CArchive& mrpt::opengl::operator<< | ( | CArchive & | out, |
const COctoMapVoxels::TGridCube & | a | ||
) |
Definition at line 216 of file COctoMapVoxels.cpp.
|
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 219 of file CSetOfTriangles.h.
CArchive& mrpt::opengl::operator<< | ( | CArchive & | out, |
const COctoMapVoxels::TVoxel & | a | ||
) |
Definition at line 227 of file COctoMapVoxels.cpp.
|
inline |
Inserts a triangle into the list.
Allows call chaining.
Definition at line 228 of file CSetOfTriangles.h.
|
inline |
Inserts a set of segments into the list.
Allows call chaining.
Definition at line 254 of file CSetOfLines.h.
|
inline |
Inserts an openGL object into a scene.
Allows call chaining.
Definition at line 257 of file COpenGLScene.h.
CArchive & mrpt::mrpt::opengl::operator<< | ( | mrpt::serialization::CArchive & | out, |
const CPointCloudColoured::TPointColour & | o | ||
) |
Definition at line 169 of file CPointCloudColoured.cpp.
References mrpt::opengl::CPointCloudColoured::TPointColour::B, mrpt::opengl::CPointCloudColoured::TPointColour::G, mrpt::opengl::CPointCloudColoured::TPointColour::R, mrpt::opengl::CPointCloudColoured::TPointColour::x, mrpt::opengl::CPointCloudColoured::TPointColour::y, and mrpt::opengl::CPointCloudColoured::TPointColour::z.
|
inline |
Inserts a segment into the list.
Allows call chaining.
Definition at line 263 of file CSetOfLines.h.
|
inline |
Inserts any iterable collection of openGL objects into a scene, allowing call chaining.
Definition at line 266 of file COpenGLScene.h.
CRenderizable::Ptr & mrpt::mrpt::opengl::operator<< | ( | CRenderizable::Ptr & | 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.
Definition at line 343 of file CRenderizable.cpp.
|
inline |
Inserts an openGL object into a viewport.
Allows call chaining.
Definition at line 427 of file COpenGLViewport.h.
|
inline |
Inserts any iterable set of openGL objects into a viewport.
Allows call chaining.
Definition at line 438 of file COpenGLViewport.h.
CArchive & mrpt::mrpt::opengl::operator<< | ( | mrpt::serialization::CArchive & | out, |
const CPolyhedron::TPolyhedronEdge & | o | ||
) |
Writes a polyhedron edge to a binary stream.
Definition at line 1968 of file CPolyhedron.cpp.
References mrpt::opengl::CPolyhedron::TPolyhedronEdge::v1, and mrpt::opengl::CPolyhedron::TPolyhedronEdge::v2.
CArchive & mrpt::mrpt::opengl::operator<< | ( | mrpt::serialization::CArchive & | out, |
const CPolyhedron::TPolyhedronFace & | o | ||
) |
Writes a polyhedron face to a binary stream.
Definition at line 1982 of file CPolyhedron.cpp.
References mrpt::opengl::CPolyhedron::TPolyhedronFace::normal, and mrpt::opengl::CPolyhedron::TPolyhedronFace::vertices.
mrpt::serialization::CArchive & mrpt::opengl::operator>> | ( | mrpt::serialization::CArchive & | in, |
mrpt::opengl::CLight & | o | ||
) |
Definition at line 117 of file CLight.cpp.
References mrpt::opengl::CLight::readFromStream().
CArchive& mrpt::opengl::operator>> | ( | CArchive & | in, |
COctoMapVoxels::TInfoPerVoxelSet & | a | ||
) |
Definition at line 210 of file COctoMapVoxels.cpp.
CArchive& mrpt::opengl::operator>> | ( | CArchive & | in, |
COctoMapVoxels::TGridCube & | a | ||
) |
Definition at line 221 of file COctoMapVoxels.cpp.
CArchive& mrpt::opengl::operator>> | ( | CArchive & | in, |
COctoMapVoxels::TVoxel & | a | ||
) |
Definition at line 232 of file COctoMapVoxels.cpp.
CArchive & mrpt::mrpt::opengl::operator>> | ( | mrpt::serialization::CArchive & | in, |
CPointCloudColoured::TPointColour & | o | ||
) |
Definition at line 162 of file CPointCloudColoured.cpp.
References mrpt::opengl::CPointCloudColoured::TPointColour::B, mrpt::opengl::CPointCloudColoured::TPointColour::G, mrpt::opengl::CPointCloudColoured::TPointColour::R, mrpt::opengl::CPointCloudColoured::TPointColour::x, mrpt::opengl::CPointCloudColoured::TPointColour::y, and mrpt::opengl::CPointCloudColoured::TPointColour::z.
CArchive & mrpt::mrpt::opengl::operator>> | ( | mrpt::serialization::CArchive & | in, |
CPolyhedron::TPolyhedronEdge & | o | ||
) |
Reads a polyhedron edge from a binary stream.
Definition at line 1961 of file CPolyhedron.cpp.
References mrpt::opengl::CPolyhedron::TPolyhedronEdge::v1, and mrpt::opengl::CPolyhedron::TPolyhedronEdge::v2.
CArchive & mrpt::mrpt::opengl::operator>> | ( | mrpt::serialization::CArchive & | in, |
CPolyhedron::TPolyhedronFace & | o | ||
) |
Reads a polyhedron face from a binary stream.
Definition at line 1975 of file CPolyhedron.cpp.
References mrpt::opengl::CPolyhedron::TPolyhedronFace::normal, and mrpt::opengl::CPolyhedron::TPolyhedronFace::vertices.
|
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 21 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().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |