mrpt.pymrpt.mrpt.opengl
index
(built-in)

Bindings for mrpt::opengl namespace

 
Modules
       
mrpt.pymrpt.mrpt.opengl.stock_objects

 
Classes
       
mrpt.pymrpt.mrpt.serialization.CSerializable(mrpt.pymrpt.mrpt.rtti.CObject)
CRenderizable
CCamera
CRenderizableShaderPoints
CMeshFast
CPlanarLaserScan(CRenderizableShaderPoints, CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
CPointCloud(CRenderizableShaderPoints, PLY_Importer, PLY_Exporter)
CPointCloudColoured(CRenderizableShaderPoints, PLY_Importer, PLY_Exporter)
CVectorField2D(CRenderizableShaderPoints, CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
CVectorField3D(CRenderizableShaderPoints, CRenderizableShaderWireFrame)
CRenderizableShaderText
CText
CText3D
CRenderizableShaderTexturedTriangles
CMesh(CRenderizableShaderTexturedTriangles, CRenderizableShaderWireFrame)
CSetOfTexturedTriangles
CTexturedPlane(CRenderizableShaderTexturedTriangles, CRenderizableShaderTriangles)
CRenderizableShaderTriangles
CAngularObservationMesh(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
CArrow
CAssimpModel(CRenderizableShaderTriangles, CRenderizableShaderWireFrame, CRenderizableShaderPoints)
CBox(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
CColorBar(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
CCylinder
CDisk
CFrustum(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
CGeneralizedEllipsoidTemplate_2_t(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
CEllipsoid2D
CEllipsoidInverseDepth2D
CEllipsoidRangeBearing2D(CGeneralizedEllipsoidTemplate_2_t, CRenderizable)
CGeneralizedEllipsoidTemplate_3_t(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
CEllipsoid3D
CEllipsoidInverseDepth3D(CGeneralizedEllipsoidTemplate_3_t, CRenderizable)
CSphere
CMesh3D(CRenderizableShaderTriangles, CRenderizableShaderWireFrame, CRenderizableShaderPoints)
COctoMapVoxels(CRenderizableShaderTriangles, CRenderizableShaderWireFrame, CRenderizableShaderPoints)
CSetOfTriangles
CRenderizableShaderWireFrame
CAxis
CGridPlaneXY
CGridPlaneXZ
CPolyhedron(CRenderizableShaderWireFrame, CRenderizableShaderTriangles)
CSetOfLines(CRenderizableShaderWireFrame, CRenderizableShaderPoints)
CSimpleLine
CSetOfObjects
CSkyBox
Scene
Viewport(mrpt.pymrpt.mrpt.serialization.CSerializable, mrpt.pymrpt.mrpt.system.CObservable, CTextMessageCapable)
mrpt.pymrpt.mrpt.system.CObservable(pybind11_builtins.pybind11_object)
Viewport(mrpt.pymrpt.mrpt.serialization.CSerializable, mrpt.pymrpt.mrpt.system.CObservable, CTextMessageCapable)
mrpt.pymrpt.mrpt.system.mrptEvent(pybind11_builtins.pybind11_object)
mrptEventGLPostRender
mrptEventGLPreRender
pybind11_builtins.pybind11_object(builtins.object)
Buffer
CFBORender
CTextMessageCapable
Viewport(mrpt.pymrpt.mrpt.serialization.CSerializable, mrpt.pymrpt.mrpt.system.CObservable, CTextMessageCapable)
CUBE_TEXTURE_FACE
DefaultShaderID
FrameBuffer
FrameBufferBinding
PLY_Exporter
PLY_Importer
PointCloudAdapter_mrpt_maps_CColouredPointsMap_t
PointCloudAdapter_mrpt_maps_CPointsMapXYZI_t
PointCloudAdapter_mrpt_maps_CPointsMap_t
PointCloudAdapter_mrpt_maps_CSimplePointsMap_t
PointCloudAdapter_mrpt_maps_CWeightedPointsMap_t
PointCloudAdapter_mrpt_obs_CObservation3DRangeScan_t
PointCloudAdapter_mrpt_opengl_CPointCloudColoured_t
PointCloudAdapter_mrpt_opengl_CPointCloud_t
RenderQueueElement
RenderQueueStats
TCullFace
TFontParams
T2DTextData
TLightParameters
TOpenGLFontStyle
TRenderMatrices
TTriangle
Texture
VertexArrayObject
Visualizable
predefined_voxel_sets_t
texture_name_unit_t

 
class Buffer(pybind11_builtins.pybind11_object)
    A wrapper for an OpenGL buffer object (eg Vertex Buffer Object or VBO)
Refer to docs for glGenBuffers() and glBufferData().
 
 
FrameBuffer
 
 
 
 
OpenGL Buffer Objects *can* be shared among threads.
 
 
Method resolution order:
Buffer
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.Buffer, type: mrpt::opengl::Buffer::Type) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.Buffer) -> None
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.Buffer, arg0: mrpt.pymrpt.mrpt.opengl.Buffer) -> None
allocate(...)
allocate(self: mrpt.pymrpt.mrpt.opengl.Buffer, data: capsule, byteCount: int) -> None
 
Reserves byteCount bytes in the buffer and copy to it the provided data.
 create() and bind() must be called before using this method.
 
C++: mrpt::opengl::Buffer::allocate(const void *, int) --> void
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.Buffer, : mrpt.pymrpt.mrpt.opengl.Buffer) -> mrpt.pymrpt.mrpt.opengl.Buffer
 
C++: mrpt::opengl::Buffer::operator=(const class mrpt::opengl::Buffer &) --> class mrpt::opengl::Buffer &
bind(...)
bind(self: mrpt.pymrpt.mrpt.opengl.Buffer) -> None
 
C++: mrpt::opengl::Buffer::bind() --> void
bufferId(...)
bufferId(self: mrpt.pymrpt.mrpt.opengl.Buffer) -> int
 
C++: mrpt::opengl::Buffer::bufferId() const --> unsigned int
createOnce(...)
createOnce(self: mrpt.pymrpt.mrpt.opengl.Buffer) -> None
 
Calls create() only if the buffer has not been created yet. 
 
C++: mrpt::opengl::Buffer::createOnce() --> void
destroy(...)
destroy(self: mrpt.pymrpt.mrpt.opengl.Buffer) -> None
 
Automatically called upon destructor, no need for the user to call it in
 normal situations. 
 
C++: mrpt::opengl::Buffer::destroy() --> void
initialized(...)
initialized(self: mrpt.pymrpt.mrpt.opengl.Buffer) -> bool
 
C++: mrpt::opengl::Buffer::initialized() const --> bool
setUsage(...)
setUsage(self: mrpt.pymrpt.mrpt.opengl.Buffer, u: mrpt.pymrpt.mrpt.opengl.Buffer.Usage) -> None
 
C++: mrpt::opengl::Buffer::setUsage(const enum mrpt::opengl::Buffer::Usage) --> void
type(...)
type(self: mrpt.pymrpt.mrpt.opengl.Buffer) -> mrpt.pymrpt.mrpt.opengl.Buffer.Type
 
C++: mrpt::opengl::Buffer::type() const --> enum mrpt::opengl::Buffer::Type
unbind(...)
unbind(self: mrpt.pymrpt.mrpt.opengl.Buffer) -> None
 
C++: mrpt::opengl::Buffer::unbind() --> void
usage(...)
usage(self: mrpt.pymrpt.mrpt.opengl.Buffer) -> mrpt.pymrpt.mrpt.opengl.Buffer.Usage
 
C++: mrpt::opengl::Buffer::usage() const --> enum mrpt::opengl::Buffer::Usage

Data and other attributes defined here:
Type = <class 'mrpt.pymrpt.mrpt.opengl.Buffer.Type'>
Usage = <class 'mrpt.pymrpt.mrpt.opengl.Buffer.Usage'>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CAngularObservationMesh(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
    A mesh built from a set of 2D laser scan observations.
Each element of this set is a single scan through the yaw, given a specific
pitch.
Each scan has a mrpt::poses::CPose3D identifying the origin of the scan,
which ideally is the
same for every one of them.
 
 
 
    mrpt::opengl::CAngularObservationMesh   
 
 
preview_CAngularObservationMesh.png
 
 
Method resolution order:
CAngularObservationMesh
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CAngularObservationMesh::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, arg0: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> None
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, arg0: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, : mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh
 
C++: mrpt::opengl::CAngularObservationMesh::operator=(const class mrpt::opengl::CAngularObservationMesh &) --> class mrpt::opengl::CAngularObservationMesh &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CAngularObservationMesh::clone() const --> class mrpt::rtti::CObject *
enableTransparency(...)
enableTransparency(*args, **kwargs)
Overloaded function.
 
1. enableTransparency(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> None
 
2. enableTransparency(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, enabled: bool) -> None
 
Enables or disables transparencies.
 
C++: mrpt::opengl::CAngularObservationMesh::enableTransparency(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> None
 
@{ 
 
C++: mrpt::opengl::CAngularObservationMesh::freeOpenGLResources() --> void
generatePointCloud(...)
generatePointCloud(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, out_map: mrpt.pymrpt.mrpt.maps.CPointsMap) -> None
 
Returns the scanned points as a 3D point cloud. The target pointmap must
 be passed as a pointer to allow the use of any derived class.
 
C++: mrpt::opengl::CAngularObservationMesh::generatePointCloud(class mrpt::maps::CPointsMap *) const --> void
generateSetOfTriangles(...)
generateSetOfTriangles(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, res: mrpt.pymrpt.mrpt.opengl.CSetOfTriangles) -> None
 
Gets the mesh as a set of triangles, for displaying them.
 
 
 generateSetOfTriangles(std::vector<TPolygon3D>
 &),mrpt::opengl::CSetOfTriangles,mrpt::opengl::mrpt::opengl::TTriangle
 
C++: mrpt::opengl::CAngularObservationMesh::generateSetOfTriangles(class std::shared_ptr<class mrpt::opengl::CSetOfTriangles> &) const --> void
getPitchBounds(...)
getPitchBounds(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, initial: float, final: float) -> None
 
Gets the initial and final pitch bounds for this range.
 
C++: mrpt::opengl::CAngularObservationMesh::getPitchBounds(double &, double &) const --> void
getTracedRays(...)
getTracedRays(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, res: mrpt.pymrpt.mrpt.opengl.CSetOfLines) -> None
 
Gets a set of lines containing the traced rays, for displaying them.
 
 
 getUntracedRays,mrpt::opengl::CSetOfLines
 
C++: mrpt::opengl::CAngularObservationMesh::getTracedRays(class std::shared_ptr<class mrpt::opengl::CSetOfLines> &) const --> void
getUntracedRays(...)
getUntracedRays(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, res: mrpt.pymrpt.mrpt.opengl.CSetOfLines, dist: float) -> None
 
Gets a set of lines containing the untraced rays, up to a specified
 distance, for displaying them.
 
 
 getTracedRays,mrpt::opengl::CSetOfLines
 
C++: mrpt::opengl::CAngularObservationMesh::getUntracedRays(class std::shared_ptr<class mrpt::opengl::CSetOfLines> &, double) const --> void
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
C++: mrpt::opengl::CAngularObservationMesh::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
isTransparencyEnabled(...)
isTransparencyEnabled(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> bool
 
Returns whether the object may be transparent or not.
 
C++: mrpt::opengl::CAngularObservationMesh::isTransparencyEnabled() const --> bool
isWireframe(...)
isWireframe(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> bool
 
Returns whether the object is configured as wireframe or solid.
 
C++: mrpt::opengl::CAngularObservationMesh::isWireframe() const --> bool
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> None
 
C++: mrpt::opengl::CAngularObservationMesh::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> None
 
C++: mrpt::opengl::CAngularObservationMesh::onUpdateBuffers_Wireframe() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> None
 
C++: mrpt::opengl::CAngularObservationMesh::renderUpdateBuffers() const --> void
setPitchBounds(...)
setPitchBounds(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, initial: float, final: float) -> None
 
Sets the pitch bounds for this range.
 
C++: mrpt::opengl::CAngularObservationMesh::setPitchBounds(const double, const double) --> void
setWireframe(...)
setWireframe(*args, **kwargs)
Overloaded function.
 
1. setWireframe(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh) -> None
 
2. setWireframe(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, enabled: bool) -> None
 
Sets the display mode for the object. True=wireframe, False=solid.
 
C++: mrpt::opengl::CAngularObservationMesh::setWireframe(bool) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
Traces a ray to the object, returning the distance to a given pose
 through its X axis.
 
 
 mrpt::opengl::CRenderizable,trace2DSetOfRays,trace1DSetOfRays
 
C++: mrpt::opengl::CAngularObservationMesh::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CAngularObservationMesh::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CAngularObservationMesh::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Data and other attributes defined here:
TDoubleRange = <class 'mrpt.pymrpt.mrpt.opengl.CAngularObservationMesh.TDoubleRange'>
Range specification type, with several uses.

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CArrow(CRenderizableShaderTriangles)
    A 3D arrow
 
 ![mrpt::opengl::CArrow](preview_CArrow.png)
 
 
opengl::Scene
 
 
Method resolution order:
CArrow
CRenderizableShaderTriangles
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CArrow) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CArrow::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow) -> None
 
doc
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: float) -> None
 
doc
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: float, arg1: float) -> None
 
doc
 
4. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: float, arg1: float, arg2: float) -> None
 
doc
 
5. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: float, arg1: float, arg2: float, arg3: float) -> None
 
doc
 
6. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float) -> None
 
doc
 
7. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float) -> None
 
doc
 
8. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float) -> None
 
doc
 
9. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float, arg7: float) -> None
 
doc
 
10. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, x0: float, y0: float, z0: float, x1: float, y1: float, z1: float, headRatio: float, smallRadius: float, largeRadius: float) -> None
 
11. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: mrpt::math::TPoint3D_<float>, arg1: mrpt::math::TPoint3D_<float>) -> None
 
doc
 
12. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: mrpt::math::TPoint3D_<float>, arg1: mrpt::math::TPoint3D_<float>, arg2: float) -> None
 
doc
 
13. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: mrpt::math::TPoint3D_<float>, arg1: mrpt::math::TPoint3D_<float>, arg2: float, arg3: float) -> None
 
doc
 
14. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, from: mrpt::math::TPoint3D_<float>, to: mrpt::math::TPoint3D_<float>, headRatio: float, smallRadius: float, largeRadius: float) -> None
 
15. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: mrpt.pymrpt.mrpt.opengl.CArrow) -> None
 
16. __init__(self: mrpt.pymrpt.mrpt.opengl.CArrow, arg0: mrpt.pymrpt.mrpt.opengl.CArrow) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CArrow, : mrpt.pymrpt.mrpt.opengl.CArrow) -> mrpt.pymrpt.mrpt.opengl.CArrow
 
C++: mrpt::opengl::CArrow::operator=(const class mrpt::opengl::CArrow &) --> class mrpt::opengl::CArrow &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CArrow) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CArrow::clone() const --> class mrpt::rtti::CObject *
getSlicesCount(...)
getSlicesCount(self: mrpt.pymrpt.mrpt.opengl.CArrow) -> int
 
Number of radial divisions  
 
C++: mrpt::opengl::CArrow::getSlicesCount() const --> uint32_t
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CArrow) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
C++: mrpt::opengl::CArrow::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CArrow) -> None
 
@{ 
 
C++: mrpt::opengl::CArrow::onUpdateBuffers_Triangles() --> void
setArrowEnds(...)
setArrowEnds(self: mrpt.pymrpt.mrpt.opengl.CArrow, x0: float, y0: float, z0: float, x1: float, y1: float, z1: float) -> None
 
@} 
 
C++: mrpt::opengl::CArrow::setArrowEnds(float, float, float, float, float, float) --> void
setHeadRatio(...)
setHeadRatio(self: mrpt.pymrpt.mrpt.opengl.CArrow, rat: float) -> None
 
C++: mrpt::opengl::CArrow::setHeadRatio(float) --> void
setLargeRadius(...)
setLargeRadius(self: mrpt.pymrpt.mrpt.opengl.CArrow, rat: float) -> None
 
C++: mrpt::opengl::CArrow::setLargeRadius(float) --> void
setSlicesCount(...)
setSlicesCount(self: mrpt.pymrpt.mrpt.opengl.CArrow, slices: int) -> None
 
Number of radial divisions  
 
C++: mrpt::opengl::CArrow::setSlicesCount(uint32_t) --> void
setSmallRadius(...)
setSmallRadius(self: mrpt.pymrpt.mrpt.opengl.CArrow, rat: float) -> None
 
C++: mrpt::opengl::CArrow::setSmallRadius(float) --> void

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CArrow::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CArrow::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::freeOpenGLResources() --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::renderUpdateBuffers() const --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
Simulation of ray-trace, given a pose. Returns true if the ray
 effectively collisions with the object (returning the distance to the
 origin of the ray in "dist"), or false in other case. "dist" variable
 yields undefined behaviour when false is returned
 
C++: mrpt::opengl::CRenderizable::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CAssimpModel(CRenderizableShaderTriangles, CRenderizableShaderWireFrame, CRenderizableShaderPoints)
    This class can load & render 3D models in a number of different formats
(requires the library assimp).
 - All supported formats:
http://assimp.sourceforge.net/main_features_formats.html
 - Most common ones: AutoCAD DXF ( .dxf ), Collada ( .dae ), Blender 3D (
.blend ), 3ds Max 3DS ( .3ds ), 3ds Max ASE ( .ase ), Quake I ( .mdl ), Quake
II ( .md2 ), Quake III Mesh ( .md3 ), etc.
 
 Models are loaded via CAssimpModel::loadScene()
 
![mrpt::opengl::CAssimpModel](preview_CAssimpModel.png)
 
 
opengl::Scene
 
 
Method resolution order:
CAssimpModel
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizableShaderPoints
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CAssimpModel::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel, arg0: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> None
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel, arg0: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel, : mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> mrpt.pymrpt.mrpt.opengl.CAssimpModel
 
C++: mrpt::opengl::CAssimpModel::operator=(const class mrpt::opengl::CAssimpModel &) --> class mrpt::opengl::CAssimpModel &
clear(...)
clear(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> None
 
Empty the object 
 
C++: mrpt::opengl::CAssimpModel::clear() --> void
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CAssimpModel::clone() const --> class mrpt::rtti::CObject *
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> None
 
C++: mrpt::opengl::CAssimpModel::freeOpenGLResources() --> void
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
C++: mrpt::opengl::CAssimpModel::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> bool
 
C++: mrpt::opengl::CAssimpModel::isCompositeObject() const --> bool
loadScene(...)
loadScene(*args, **kwargs)
Overloaded function.
 
1. loadScene(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel, file_name: str) -> None
 
2. loadScene(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel, file_name: str, flags: int) -> None
 
Loads a scene from a file in any supported file.
 
 
 std::runtime_error On any error during loading or importing
 the file.
 
C++: mrpt::opengl::CAssimpModel::loadScene(const std::string &, const int) --> void
onUpdateBuffers_Points(...)
onUpdateBuffers_Points(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> None
 
C++: mrpt::opengl::CAssimpModel::onUpdateBuffers_Points() --> void
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> None
 
C++: mrpt::opengl::CAssimpModel::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> None
 
C++: mrpt::opengl::CAssimpModel::onUpdateBuffers_Wireframe() --> void
onUpdateBuffers_all(...)
onUpdateBuffers_all(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> None
 
C++: mrpt::opengl::CAssimpModel::onUpdateBuffers_all() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel) -> None
 
C++: mrpt::opengl::CAssimpModel::renderUpdateBuffers() const --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CAssimpModel, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
C++: mrpt::opengl::CAssimpModel::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CAssimpModel::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CAssimpModel::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Data and other attributes defined here:
LoadFlags = <class 'mrpt.pymrpt.mrpt.opengl.CAssimpModel.LoadFlags'>
Import flags for loadScene
TInfoPerTexture = <class 'mrpt.pymrpt.mrpt.opengl.CAssimpModel.TInfoPerTexture'>

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizableShaderPoints:
enableVariablePointSize(...)
enableVariablePointSize(*args, **kwargs)
Overloaded function.
 
1. enableVariablePointSize(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderPoints) -> None
 
2. enableVariablePointSize(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderPoints, enable: bool) -> None
 
Enable/disable variable eye distance-dependent point size (default=true)
 
C++: mrpt::opengl::CRenderizableShaderPoints::enableVariablePointSize(bool) --> void
getPointSize(...)
getPointSize(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderPoints) -> float
 
C++: mrpt::opengl::CRenderizableShaderPoints::getPointSize() const --> float
getVariablePointSize_DepthScale(...)
getVariablePointSize_DepthScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderPoints) -> float
 
C++: mrpt::opengl::CRenderizableShaderPoints::getVariablePointSize_DepthScale() const --> float
getVariablePointSize_k(...)
getVariablePointSize_k(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderPoints) -> float
 
C++: mrpt::opengl::CRenderizableShaderPoints::getVariablePointSize_k() const --> float
isEnabledVariablePointSize(...)
isEnabledVariablePointSize(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderPoints) -> bool
 
C++: mrpt::opengl::CRenderizableShaderPoints::isEnabledVariablePointSize() const --> bool
setPointSize(...)
setPointSize(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderPoints, p: float) -> None
 
By default is 1.0. 
 enableVariablePointSize() 
 
C++: mrpt::opengl::CRenderizableShaderPoints::setPointSize(float) --> void
setVariablePointSize_DepthScale(...)
setVariablePointSize_DepthScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderPoints, v: float) -> None
 
see CRenderizableShaderPoints for a discussion of this parameter. 
 
C++: mrpt::opengl::CRenderizableShaderPoints::setVariablePointSize_DepthScale(float) --> void
setVariablePointSize_k(...)
setVariablePointSize_k(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderPoints, v: float) -> None
 
see CRenderizableShaderPoints for a discussion of this parameter. 
 
C++: mrpt::opengl::CRenderizableShaderPoints::setVariablePointSize_k(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CAxis(CRenderizableShaderWireFrame)
    Draw a 3D world axis, with coordinate marks at some regular interval
 
 
opengl::Scene
 
 ![mrpt::opengl::CAxis](preview_CAxis.png)
 
 
Method resolution order:
CAxis
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CAxis) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CAxis::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis) -> None
 
doc
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis, arg0: float) -> None
 
doc
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis, arg0: float, arg1: float) -> None
 
doc
 
4. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis, arg0: float, arg1: float, arg2: float) -> None
 
doc
 
5. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis, arg0: float, arg1: float, arg2: float, arg3: float) -> None
 
doc
 
6. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float) -> None
 
doc
 
7. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float) -> None
 
doc
 
8. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float) -> None
 
doc
 
9. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float, arg7: float) -> None
 
doc
 
10. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis, xmin: float, ymin: float, zmin: float, xmax: float, ymax: float, zmax: float, frecuency: float, lineWidth: float, marks: bool) -> None
 
11. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis, arg0: mrpt.pymrpt.mrpt.opengl.CAxis) -> None
 
12. __init__(self: mrpt.pymrpt.mrpt.opengl.CAxis, arg0: mrpt.pymrpt.mrpt.opengl.CAxis) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CAxis, : mrpt.pymrpt.mrpt.opengl.CAxis) -> mrpt.pymrpt.mrpt.opengl.CAxis
 
C++: mrpt::opengl::CAxis::operator=(const class mrpt::opengl::CAxis &) --> class mrpt::opengl::CAxis &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CAxis) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CAxis::clone() const --> class mrpt::rtti::CObject *
enableTickMarks(...)
enableTickMarks(*args, **kwargs)
Overloaded function.
 
1. enableTickMarks(self: mrpt.pymrpt.mrpt.opengl.CAxis) -> None
 
2. enableTickMarks(self: mrpt.pymrpt.mrpt.opengl.CAxis, v: bool) -> None
 
C++: mrpt::opengl::CAxis::enableTickMarks(bool) --> void
 
3. enableTickMarks(self: mrpt.pymrpt.mrpt.opengl.CAxis, show_x: bool, show_y: bool, show_z: bool) -> None
 
C++: mrpt::opengl::CAxis::enableTickMarks(bool, bool, bool) --> void
getFrequency(...)
getFrequency(self: mrpt.pymrpt.mrpt.opengl.CAxis) -> float
 
C++: mrpt::opengl::CAxis::getFrequency() const --> float
getTextLabelOrientation(...)
getTextLabelOrientation(self: mrpt.pymrpt.mrpt.opengl.CAxis, axis: int, yaw_deg: float, pitch_deg: float, roll_deg: float) -> None
 
axis: {0,1,2}=>{X,Y,Z} 
 
C++: mrpt::opengl::CAxis::getTextLabelOrientation(int, float &, float &, float &) const --> void
getTextScale(...)
getTextScale(self: mrpt.pymrpt.mrpt.opengl.CAxis) -> float
 
C++: mrpt::opengl::CAxis::getTextScale() const --> float
getTickMarksLength(...)
getTickMarksLength(self: mrpt.pymrpt.mrpt.opengl.CAxis, len: float) -> float
 
C++: mrpt::opengl::CAxis::getTickMarksLength(float) --> float
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CAxis) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
C++: mrpt::opengl::CAxis::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CAxis) -> bool
 
C++: mrpt::opengl::CAxis::isCompositeObject() const --> bool
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CAxis) -> None
 
@{ 
 
C++: mrpt::opengl::CAxis::onUpdateBuffers_Wireframe() --> void
setAxisLimits(...)
setAxisLimits(self: mrpt.pymrpt.mrpt.opengl.CAxis, xmin: float, ymin: float, zmin: float, xmax: float, ymax: float, zmax: float) -> None
 
C++: mrpt::opengl::CAxis::setAxisLimits(float, float, float, float, float, float) --> void
setFrequency(...)
setFrequency(self: mrpt.pymrpt.mrpt.opengl.CAxis, f: float) -> None
 
Changes the frequency of the "ticks" 
 
C++: mrpt::opengl::CAxis::setFrequency(float) --> void
setTextLabelOrientation(...)
setTextLabelOrientation(self: mrpt.pymrpt.mrpt.opengl.CAxis, axis: int, yaw_deg: float, pitch_deg: float, roll_deg: float) -> None
 
axis: {0,1,2}=>{X,Y,Z} 
 
C++: mrpt::opengl::CAxis::setTextLabelOrientation(int, float, float, float) --> void
setTextScale(...)
setTextScale(self: mrpt.pymrpt.mrpt.opengl.CAxis, f: float) -> None
 
Changes the size of text labels (default:0.25) 
 
C++: mrpt::opengl::CAxis::setTextScale(float) --> void
setTickMarksLength(...)
setTickMarksLength(self: mrpt.pymrpt.mrpt.opengl.CAxis, len: float) -> None
 
As a ratio of "marks frequency" (default: 0.05) 
 
C++: mrpt::opengl::CAxis::setTickMarksLength(float) --> void

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CAxis::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CAxis::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::freeOpenGLResources() --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::renderUpdateBuffers() const --> void
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
Simulation of ray-trace, given a pose. Returns true if the ray
 effectively collisions with the object (returning the distance to the
 origin of the ray in "dist"), or false in other case. "dist" variable
 yields undefined behaviour when false is returned
 
C++: mrpt::opengl::CRenderizable::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CBox(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
    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).
  Three drawing modes are possible:
        - Wireframe: setWireframe(true). Used color is the CRenderizable color
        - Solid box: setWireframe(false). Used color is the CRenderizable color
        - Solid box with border: setWireframe(false) + enableBoxBorder(true). Solid
color is the CRenderizable color, border line can be set with
setBoxBorderColor().
 
 ![mrpt::opengl::CBox](preview_CBox.png)
 
 
 opengl::Scene,opengl::CRenderizable
 
 
Method resolution order:
CBox
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CBox) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CBox::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CBox) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CBox, arg0: mrpt::math::TPoint3D_<double>, arg1: mrpt::math::TPoint3D_<double>) -> None
 
doc
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CBox, arg0: mrpt::math::TPoint3D_<double>, arg1: mrpt::math::TPoint3D_<double>, arg2: bool) -> None
 
doc
 
4. __init__(self: mrpt.pymrpt.mrpt.opengl.CBox, corner1: mrpt::math::TPoint3D_<double>, corner2: mrpt::math::TPoint3D_<double>, is_wireframe: bool, lineWidth: float) -> None
 
5. __init__(self: mrpt.pymrpt.mrpt.opengl.CBox, arg0: mrpt.pymrpt.mrpt.opengl.CBox) -> None
 
6. __init__(self: mrpt.pymrpt.mrpt.opengl.CBox, arg0: mrpt.pymrpt.mrpt.opengl.CBox) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CBox, : mrpt.pymrpt.mrpt.opengl.CBox) -> mrpt.pymrpt.mrpt.opengl.CBox
 
C++: mrpt::opengl::CBox::operator=(const class mrpt::opengl::CBox &) --> class mrpt::opengl::CBox &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CBox) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CBox::clone() const --> class mrpt::rtti::CObject *
enableBoxBorder(...)
enableBoxBorder(*args, **kwargs)
Overloaded function.
 
1. enableBoxBorder(self: mrpt.pymrpt.mrpt.opengl.CBox) -> None
 
2. enableBoxBorder(self: mrpt.pymrpt.mrpt.opengl.CBox, drawBorder: bool) -> None
 
C++: mrpt::opengl::CBox::enableBoxBorder(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CBox) -> None
 
C++: mrpt::opengl::CBox::freeOpenGLResources() --> void
getBoxBorderColor(...)
getBoxBorderColor(self: mrpt.pymrpt.mrpt.opengl.CBox) -> mrpt.pymrpt.mrpt.img.TColor
 
C++: mrpt::opengl::CBox::getBoxBorderColor() const --> struct mrpt::img::TColor
getBoxCorners(...)
getBoxCorners(self: mrpt.pymrpt.mrpt.opengl.CBox, corner1: mrpt::math::TPoint3D_<double>, corner2: mrpt::math::TPoint3D_<double>) -> None
 
C++: mrpt::opengl::CBox::getBoxCorners(struct mrpt::math::TPoint3D_<double> &, struct mrpt::math::TPoint3D_<double> &) const --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CBox) -> float
 
C++: mrpt::opengl::CBox::getLineWidth() const --> float
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CBox) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
@} 
 
C++: mrpt::opengl::CBox::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
isBoxBorderEnabled(...)
isBoxBorderEnabled(self: mrpt.pymrpt.mrpt.opengl.CBox) -> bool
 
C++: mrpt::opengl::CBox::isBoxBorderEnabled() const --> bool
isWireframe(...)
isWireframe(self: mrpt.pymrpt.mrpt.opengl.CBox) -> bool
 
C++: mrpt::opengl::CBox::isWireframe() const --> bool
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CBox) -> None
 
C++: mrpt::opengl::CBox::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CBox) -> None
 
C++: mrpt::opengl::CBox::onUpdateBuffers_Wireframe() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CBox) -> None
 
C++: mrpt::opengl::CBox::renderUpdateBuffers() const --> void
setBoxBorderColor(...)
setBoxBorderColor(self: mrpt.pymrpt.mrpt.opengl.CBox, c: mrpt.pymrpt.mrpt.img.TColor) -> None
 
C++: mrpt::opengl::CBox::setBoxBorderColor(const struct mrpt::img::TColor &) --> void
setBoxCorners(...)
setBoxCorners(self: mrpt.pymrpt.mrpt.opengl.CBox, corner1: mrpt::math::TPoint3D_<double>, corner2: mrpt::math::TPoint3D_<double>) -> None
 
Set the position and size of the box, from two corners in 3D 
 
C++: mrpt::opengl::CBox::setBoxCorners(const struct mrpt::math::TPoint3D_<double> &, const struct mrpt::math::TPoint3D_<double> &) --> void
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CBox, width: float) -> None
 
C++: mrpt::opengl::CBox::setLineWidth(float) --> void
setWireframe(...)
setWireframe(*args, **kwargs)
Overloaded function.
 
1. setWireframe(self: mrpt.pymrpt.mrpt.opengl.CBox) -> None
 
2. setWireframe(self: mrpt.pymrpt.mrpt.opengl.CBox, is_wireframe: bool) -> None
 
C++: mrpt::opengl::CBox::setWireframe(bool) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CBox, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
Ray tracing.
 
 
 mrpt::opengl::CRenderizable
 
C++: mrpt::opengl::CBox::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Static methods defined here:
Create(...) from builtins.PyCapsule
Create() -> mrpt.pymrpt.mrpt.opengl.CBox
 
C++: mrpt::opengl::CBox::Create() --> class std::shared_ptr<class mrpt::opengl::CBox>
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CBox::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CBox::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CCamera(CRenderizable)
    Defines the intrinsic and extrinsic camera coordinates from which to render
a 3D scene.
 
 By default, each viewport has its own camera, accesible via
 Viewport::getCamera(), but if a CCamera object is added as an object
 to be rendered, it will override the internal viewport camera.
 
 Available projection models:
 - Projective model, parameterized via setProjectiveFOVdeg() (vertical field
of view, in degrees)
 - Projective model, by means of a computer vision pinhole intrinsic
parameter set: see setProjectiveFromPinhole()
 - Orthogonal projection model: use setProjectiveModel(false), or
 setOrthogonal(), or
 - No projection mode: use `setNoProjection()`. Viewport coordinates are
   fixed to bottomLeft=(-1,-1) to rightTop=(+1,+1).
 
Defining the position and orientation of a camera is possible by:
- Using an "orbit" model: defined by a "pointing to" point, a distance to
object, and azimuth + elevation angles; or
- Directly giving the SE(3) camera pose, setting the set6DOFMode() to `true`
and storing the desired pose with CRenderizable::setPose(). Pose axis
convention is +Z pointing forwards, +X right, +Y down.
 
 
opengl::Scene
 
 
Method resolution order:
CCamera
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CCamera::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CCamera, arg0: mrpt.pymrpt.mrpt.opengl.CCamera) -> None
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CCamera, arg0: mrpt.pymrpt.mrpt.opengl.CCamera) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CCamera, : mrpt.pymrpt.mrpt.opengl.CCamera) -> mrpt.pymrpt.mrpt.opengl.CCamera
 
C++: mrpt::opengl::CCamera::operator=(const class mrpt::opengl::CCamera &) --> class mrpt::opengl::CCamera &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CCamera::clone() const --> class mrpt::rtti::CObject *
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> None
 
C++: mrpt::opengl::CCamera::freeOpenGLResources() --> void
getAzimuthDegrees(...)
getAzimuthDegrees(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> float
 
C++: mrpt::opengl::CCamera::getAzimuthDegrees() const --> float
getElevationDegrees(...)
getElevationDegrees(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> float
 
C++: mrpt::opengl::CCamera::getElevationDegrees() const --> float
getPointingAt(...)
getPointingAt(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> mrpt::math::TPoint3D_<float>
 
C++: mrpt::opengl::CCamera::getPointingAt() const --> struct mrpt::math::TPoint3D_<float>
getPointingAtX(...)
getPointingAtX(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> float
 
C++: mrpt::opengl::CCamera::getPointingAtX() const --> float
getPointingAtY(...)
getPointingAtY(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> float
 
C++: mrpt::opengl::CCamera::getPointingAtY() const --> float
getPointingAtZ(...)
getPointingAtZ(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> float
 
C++: mrpt::opengl::CCamera::getPointingAtZ() const --> float
getProjectiveFOVdeg(...)
getProjectiveFOVdeg(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> float
 
Field-of-View in degs, only when projectiveModel=true (default=30 deg).
 
C++: mrpt::opengl::CCamera::getProjectiveFOVdeg() const --> float
getZoomDistance(...)
getZoomDistance(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> float
 
C++: mrpt::opengl::CCamera::getZoomDistance() const --> float
hasPinholeModel(...)
hasPinholeModel(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> bool
 
C++: mrpt::opengl::CCamera::hasPinholeModel() const --> bool
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
In this class, returns a fixed box (max,max,max), (-max,-max,-max). 
 
C++: mrpt::opengl::CCamera::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
is6DOFMode(...)
is6DOFMode(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> bool
 
C++: mrpt::opengl::CCamera::is6DOFMode() const --> bool
isNoProjection(...)
isNoProjection(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> bool
 
C++: mrpt::opengl::CCamera::isNoProjection() const --> bool
isOrthogonal(...)
isOrthogonal(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> bool
 
C++: mrpt::opengl::CCamera::isOrthogonal() const --> bool
isProjective(...)
isProjective(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> bool
 
C++: mrpt::opengl::CCamera::isProjective() const --> bool
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> None
 
Render does nothing here. 
 
C++: mrpt::opengl::CCamera::renderUpdateBuffers() const --> void
set6DOFMode(...)
set6DOFMode(self: mrpt.pymrpt.mrpt.opengl.CCamera, v: bool) -> None
 
Set 6DOFMode, if enabled camera is set according to its pose, set via
CRenderizable::setPose(). (default=false).
 Conventionally, eye is set looking towards +Z axis, "down" is the +Y
 axis, right is "+X" axis. In this mode azimuth/elevation are ignored.
 
C++: mrpt::opengl::CCamera::set6DOFMode(bool) --> void
setAzimuthDegrees(...)
setAzimuthDegrees(self: mrpt.pymrpt.mrpt.opengl.CCamera, ang: float) -> None
 
C++: mrpt::opengl::CCamera::setAzimuthDegrees(float) --> void
setElevationDegrees(...)
setElevationDegrees(self: mrpt.pymrpt.mrpt.opengl.CCamera, ang: float) -> None
 
C++: mrpt::opengl::CCamera::setElevationDegrees(float) --> void
setNoProjection(...)
setNoProjection(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> None
 
Disable all coordinate transformations and allow direct use of pixel
 coordinates, that is, the projection matrix is the identity.
 
 In this mode, (-1,-1) is the bottom-left corner and (+1,+1) the top-right
 corner, per OpenGL defaults. This mode can be disabled calling
 setProjectiveModel() or setOrthogonal()
 
C++: mrpt::opengl::CCamera::setNoProjection() --> void
setOrthogonal(...)
setOrthogonal(*args, **kwargs)
Overloaded function.
 
1. setOrthogonal(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> None
 
2. setOrthogonal(self: mrpt.pymrpt.mrpt.opengl.CCamera, v: bool) -> None
 
Enable/Disable orthogonal mode (vs. projective)
 
C++: mrpt::opengl::CCamera::setOrthogonal(bool) --> void
setPointingAt(...)
setPointingAt(*args, **kwargs)
Overloaded function.
 
1. setPointingAt(self: mrpt.pymrpt.mrpt.opengl.CCamera, x: float, y: float, z: float) -> None
 
@{ 
 
C++: mrpt::opengl::CCamera::setPointingAt(float, float, float) --> void
 
2. setPointingAt(self: mrpt.pymrpt.mrpt.opengl.CCamera, p: mrpt::math::TPoint3D_<double>) -> None
 
C++: mrpt::opengl::CCamera::setPointingAt(const struct mrpt::math::TPoint3D_<double> &) --> void
setProjectiveFOVdeg(...)
setProjectiveFOVdeg(self: mrpt.pymrpt.mrpt.opengl.CCamera, ang: float) -> None
 
Vertical field-of-View in degs, only when projectiveModel=true
 (default=30 deg).
 
C++: mrpt::opengl::CCamera::setProjectiveFOVdeg(float) --> void
setProjectiveFromPinhole(...)
setProjectiveFromPinhole(self: mrpt.pymrpt.mrpt.opengl.CCamera, camIntrinsics: mrpt.pymrpt.mrpt.img.TCamera) -> None
 
C++: mrpt::opengl::CCamera::setProjectiveFromPinhole(const class mrpt::img::TCamera &) --> void
setProjectiveModel(...)
setProjectiveModel(*args, **kwargs)
Overloaded function.
 
1. setProjectiveModel(self: mrpt.pymrpt.mrpt.opengl.CCamera) -> None
 
2. setProjectiveModel(self: mrpt.pymrpt.mrpt.opengl.CCamera, v: bool) -> None
 
Enable/Disable projective mode (vs. orthogonal). 
 
C++: mrpt::opengl::CCamera::setProjectiveModel(bool) --> void
setZoomDistance(...)
setZoomDistance(self: mrpt.pymrpt.mrpt.opengl.CCamera, z: float) -> None
 
C++: mrpt::opengl::CCamera::setZoomDistance(float) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CCamera, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
C++: mrpt::opengl::CCamera::toYAMLMap(class mrpt::containers::yaml &) const --> void

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CCamera::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CCamera::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
Simulation of ray-trace, given a pose. Returns true if the ray
 effectively collisions with the object (returning the distance to the
 origin of the ray in "dist"), or false in other case. "dist" variable
 yields undefined behaviour when false is returned
 
C++: mrpt::opengl::CRenderizable::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CColorBar(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
    A colorbar indicator. This class renders a colorbar as a 3D object, in the
XY plane.
For an overlay indicator that can be easily added to any display, see
Scene::addColorBar()
 
![mrpt::opengl::CColorBar](preview_CColorBar.png)
 
 
opengl::Scene,opengl::CRenderizableScene::addColorBar()
 
 
Method resolution order:
CColorBar
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CColorBar) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CColorBar::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar) -> None
 
doc
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar, arg0: mrpt.pymrpt.mrpt.img.TColormap) -> None
 
doc
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar, arg0: mrpt.pymrpt.mrpt.img.TColormap, arg1: float) -> None
 
doc
 
4. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar, arg0: mrpt.pymrpt.mrpt.img.TColormap, arg1: float, arg2: float) -> None
 
doc
 
5. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar, arg0: mrpt.pymrpt.mrpt.img.TColormap, arg1: float, arg2: float, arg3: float) -> None
 
doc
 
6. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar, arg0: mrpt.pymrpt.mrpt.img.TColormap, arg1: float, arg2: float, arg3: float, arg4: float) -> None
 
doc
 
7. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar, arg0: mrpt.pymrpt.mrpt.img.TColormap, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float) -> None
 
doc
 
8. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar, arg0: mrpt.pymrpt.mrpt.img.TColormap, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float) -> None
 
doc
 
9. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar, arg0: mrpt.pymrpt.mrpt.img.TColormap, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float, arg7: str) -> None
 
doc
 
10. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar, colormap: mrpt.pymrpt.mrpt.img.TColormap, width: float, height: float, min_col: float, max_col: float, min_value: float, max_value: float, label_format: str, label_font_size: float) -> None
 
11. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar, arg0: mrpt.pymrpt.mrpt.opengl.CColorBar) -> None
 
12. __init__(self: mrpt.pymrpt.mrpt.opengl.CColorBar, arg0: mrpt.pymrpt.mrpt.opengl.CColorBar) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CColorBar, : mrpt.pymrpt.mrpt.opengl.CColorBar) -> mrpt.pymrpt.mrpt.opengl.CColorBar
 
C++: mrpt::opengl::CColorBar::operator=(const class mrpt::opengl::CColorBar &) --> class mrpt::opengl::CColorBar &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CColorBar) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CColorBar::clone() const --> class mrpt::rtti::CObject *
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CColorBar) -> None
 
C++: mrpt::opengl::CColorBar::freeOpenGLResources() --> void
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CColorBar) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
@} 
 
C++: mrpt::opengl::CColorBar::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CColorBar) -> None
 
C++: mrpt::opengl::CColorBar::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CColorBar) -> None
 
C++: mrpt::opengl::CColorBar::onUpdateBuffers_Wireframe() --> void
onUpdateBuffers_all(...)
onUpdateBuffers_all(self: mrpt.pymrpt.mrpt.opengl.CColorBar) -> None
 
C++: mrpt::opengl::CColorBar::onUpdateBuffers_all() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CColorBar) -> None
 
C++: mrpt::opengl::CColorBar::renderUpdateBuffers() const --> void
setColorAndValueLimits(...)
setColorAndValueLimits(self: mrpt.pymrpt.mrpt.opengl.CColorBar, col_min: float, col_max: float, value_min: float, value_max: float) -> None
 
C++: mrpt::opengl::CColorBar::setColorAndValueLimits(float, float, float, float) --> void
setColormap(...)
setColormap(self: mrpt.pymrpt.mrpt.opengl.CColorBar, colormap: mrpt.pymrpt.mrpt.img.TColormap) -> None
 
C++: mrpt::opengl::CColorBar::setColormap(const enum mrpt::img::TColormap) --> void

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CColorBar::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CColorBar::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
Simulation of ray-trace, given a pose. Returns true if the ray
 effectively collisions with the object (returning the distance to the
 origin of the ray in "dist"), or false in other case. "dist" variable
 yields undefined behaviour when false is returned
 
C++: mrpt::opengl::CRenderizable::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CCylinder(CRenderizableShaderTriangles)
    A cylinder or cone whose base lies in the XY plane.
 
![mrpt::opengl::CCylinder](preview_CCylinder.png)
 
 
opengl::Scene,opengl::CDisk
 
 
Method resolution order:
CCylinder
CRenderizableShaderTriangles
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CCylinder::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CCylinder, arg0: float, arg1: float) -> None
 
doc
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CCylinder, arg0: float, arg1: float, arg2: float) -> None
 
doc
 
4. __init__(self: mrpt.pymrpt.mrpt.opengl.CCylinder, baseRadius: float, topRadius: float, height: float, slices: int) -> None
 
5. __init__(self: mrpt.pymrpt.mrpt.opengl.CCylinder, arg0: mrpt.pymrpt.mrpt.opengl.CCylinder) -> None
 
6. __init__(self: mrpt.pymrpt.mrpt.opengl.CCylinder, arg0: mrpt.pymrpt.mrpt.opengl.CCylinder) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CCylinder, : mrpt.pymrpt.mrpt.opengl.CCylinder) -> mrpt.pymrpt.mrpt.opengl.CCylinder
 
C++: mrpt::opengl::CCylinder::operator=(const class mrpt::opengl::CCylinder &) --> class mrpt::opengl::CCylinder &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CCylinder::clone() const --> class mrpt::rtti::CObject *
getBottomRadius(...)
getBottomRadius(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> float
 
Gets the bottom radius.
 
C++: mrpt::opengl::CCylinder::getBottomRadius() const --> float
getHeight(...)
getHeight(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> float
 
Gets the cylinder's height.
 
C++: mrpt::opengl::CCylinder::getHeight() const --> float
getSlicesCount(...)
getSlicesCount(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> int
 
Number of radial divisions  
 
C++: mrpt::opengl::CCylinder::getSlicesCount() const --> uint32_t
getTopRadius(...)
getTopRadius(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> float
 
Gets the top radius.
 
C++: mrpt::opengl::CCylinder::getTopRadius() const --> float
hasBottomBase(...)
hasBottomBase(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> bool
 
Check whether bottom base is displayed.
 
 
 hasTopBase
 
C++: mrpt::opengl::CCylinder::hasBottomBase() const --> bool
hasTopBase(...)
hasTopBase(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> bool
 
Check whether top base is displayed.
 
 
 hasBottomBase
 
C++: mrpt::opengl::CCylinder::hasTopBase() const --> bool
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
Evaluates the bounding box of this object (including possible children)
 in the coordinate frame of the object parent. 
 
C++: mrpt::opengl::CCylinder::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> None
 
@{ 
 
C++: mrpt::opengl::CCylinder::onUpdateBuffers_Triangles() --> void
setHasBases(...)
setHasBases(*args, **kwargs)
Overloaded function.
 
1. setHasBases(self: mrpt.pymrpt.mrpt.opengl.CCylinder) -> None
 
2. setHasBases(self: mrpt.pymrpt.mrpt.opengl.CCylinder, top: bool) -> None
 
3. setHasBases(self: mrpt.pymrpt.mrpt.opengl.CCylinder, top: bool, bottom: bool) -> None
 
Configuration of the cylinder's bases display.
 
C++: mrpt::opengl::CCylinder::setHasBases(bool, bool) --> void
setHeight(...)
setHeight(self: mrpt.pymrpt.mrpt.opengl.CCylinder, height: float) -> None
 
Chenges cylinder's height.
 
C++: mrpt::opengl::CCylinder::setHeight(float) --> void
setRadii(...)
setRadii(self: mrpt.pymrpt.mrpt.opengl.CCylinder, bottom: float, top: float) -> None
 
Sets both radii independently.
 
 
 setRadius
 
C++: mrpt::opengl::CCylinder::setRadii(float, float) --> void
setRadius(...)
setRadius(self: mrpt.pymrpt.mrpt.opengl.CCylinder, radius: float) -> None
 
Sets both radii to a single value, thus configuring the object as a
 cylinder.
 
 
 setRadii
 
C++: mrpt::opengl::CCylinder::setRadius(float) --> void
setSlicesCount(...)
setSlicesCount(self: mrpt.pymrpt.mrpt.opengl.CCylinder, slices: int) -> None
 
Number of radial divisions  
 
C++: mrpt::opengl::CCylinder::setSlicesCount(uint32_t) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CCylinder, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
@} 
 
C++: mrpt::opengl::CCylinder::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CCylinder::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CCylinder::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::freeOpenGLResources() --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::renderUpdateBuffers() const --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CDisk(CRenderizableShaderTriangles)
    A planar disk in the XY plane.
 
![mrpt::opengl::CDisk](preview_CDisk.png)
 
 
opengl::Scene
 
 
Method resolution order:
CDisk
CRenderizableShaderTriangles
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CDisk) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CDisk::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CDisk) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CDisk, arg0: float, arg1: float) -> None
 
doc
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CDisk, rOut: float, rIn: float, slices: int) -> None
 
4. __init__(self: mrpt.pymrpt.mrpt.opengl.CDisk, arg0: mrpt.pymrpt.mrpt.opengl.CDisk) -> None
 
5. __init__(self: mrpt.pymrpt.mrpt.opengl.CDisk, arg0: mrpt.pymrpt.mrpt.opengl.CDisk) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CDisk, : mrpt.pymrpt.mrpt.opengl.CDisk) -> mrpt.pymrpt.mrpt.opengl.CDisk
 
C++: mrpt::opengl::CDisk::operator=(const class mrpt::opengl::CDisk &) --> class mrpt::opengl::CDisk &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CDisk) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CDisk::clone() const --> class mrpt::rtti::CObject *
getInRadius(...)
getInRadius(self: mrpt.pymrpt.mrpt.opengl.CDisk) -> float
 
C++: mrpt::opengl::CDisk::getInRadius() const --> float
getOutRadius(...)
getOutRadius(self: mrpt.pymrpt.mrpt.opengl.CDisk) -> float
 
C++: mrpt::opengl::CDisk::getOutRadius() const --> float
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CDisk) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
Evaluates the bounding box of this object (including possible children)
 in the coordinate frame of the object parent. 
 
C++: mrpt::opengl::CDisk::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CDisk) -> None
 
@{ 
 
C++: mrpt::opengl::CDisk::onUpdateBuffers_Triangles() --> void
setDiskRadius(...)
setDiskRadius(*args, **kwargs)
Overloaded function.
 
1. setDiskRadius(self: mrpt.pymrpt.mrpt.opengl.CDisk, outRadius: float) -> None
 
2. setDiskRadius(self: mrpt.pymrpt.mrpt.opengl.CDisk, outRadius: float, inRadius: float) -> None
 
@} 
 
C++: mrpt::opengl::CDisk::setDiskRadius(float, float) --> void
setSlicesCount(...)
setSlicesCount(self: mrpt.pymrpt.mrpt.opengl.CDisk, N: int) -> None
 
Default=50 
 
C++: mrpt::opengl::CDisk::setSlicesCount(uint32_t) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CDisk, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
Ray tracing
 
C++: mrpt::opengl::CDisk::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CDisk::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CDisk::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::freeOpenGLResources() --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::renderUpdateBuffers() const --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CEllipsoid2D(CGeneralizedEllipsoidTemplate_2_t)
    A 2D ellipse on the XY plane, centered at the origin of this object pose.
 
The color is determined by the RGBA fields in the class "CRenderizable".
Note that a transparent ellipse can be drawn for "0<alpha<1" values.
If any of the eigen value of the covariance matrix of the ellipsoid is
zero, it will not be rendered.
 
Please read the documentation of
CGeneralizedEllipsoidTemplate::setQuantiles() for learning
the mathematical details about setting the desired confidence interval.
 
![mrpt::opengl::CEllipsoid2D](preview_CEllipsoid.png)
 
 
opengl::Scene
 
 
Method resolution order:
CEllipsoid2D
CGeneralizedEllipsoidTemplate_2_t
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid2D) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CEllipsoid2D::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid2D) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid2D, arg0: mrpt.pymrpt.mrpt.opengl.CEllipsoid2D) -> None
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid2D, arg0: mrpt.pymrpt.mrpt.opengl.CEllipsoid2D) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid2D, : mrpt.pymrpt.mrpt.opengl.CEllipsoid2D) -> mrpt.pymrpt.mrpt.opengl.CEllipsoid2D
 
C++: mrpt::opengl::CEllipsoid2D::operator=(const class mrpt::opengl::CEllipsoid2D &) --> class mrpt::opengl::CEllipsoid2D &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid2D) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CEllipsoid2D::clone() const --> class mrpt::rtti::CObject *
set2DsegmentsCount(...)
set2DsegmentsCount(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid2D, N: int) -> None
 
The number of segments of a 2D ellipse (default=20) 
 
C++: mrpt::opengl::CEllipsoid2D::set2DsegmentsCount(unsigned int) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid2D, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
Ray tracing 
 
C++: mrpt::opengl::CEllipsoid2D::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CEllipsoid2D::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CEllipsoid2D::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CGeneralizedEllipsoidTemplate_2_t:
enableDrawSolid3D(...)
enableDrawSolid3D(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, v: bool) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::enableDrawSolid3D(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::freeOpenGLResources() --> void
getCovMatrix(...)
getCovMatrix(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> mrpt.pymrpt.mrpt.math.CMatrixFixed_double_2UL_2UL_t
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getCovMatrix() const --> class mrpt::math::CMatrixFixed<double, 2, 2>
getNumberOfSegments(...)
getNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> int
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getNumberOfSegments() const --> uint32_t
getQuantiles(...)
getQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> float
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getQuantiles() const --> float
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::onUpdateBuffers_Wireframe() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::renderUpdateBuffers() const --> void
setNumberOfSegments(...)
setNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, numSegments: int) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::setNumberOfSegments(const unsigned int) --> void
setQuantiles(...)
setQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, q: float) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::setQuantiles(float) --> void

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CEllipsoid3D(CGeneralizedEllipsoidTemplate_3_t)
    A 3D ellipsoid, centered at zero with respect to this object pose.
The color is determined by the RGBA fields in the class "CRenderizable".
Note that a transparent ellipsoid can be drawn for "0<alpha<1" values.
If any of the eigen values of the covariance matrix of the ellipsoid is
zero, nothing will be rendered.
 
Please read the documentation of
CGeneralizedEllipsoidTemplate::setQuantiles() for learning
the mathematical details about setting the desired confidence interval.
 
![mrpt::opengl::CEllipsoid3D](preview_CEllipsoid.png)
 
 
opengl::Scene
 
 
Method resolution order:
CEllipsoid3D
CGeneralizedEllipsoidTemplate_3_t
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid3D) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CEllipsoid3D::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid3D) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid3D, arg0: mrpt.pymrpt.mrpt.opengl.CEllipsoid3D) -> None
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid3D, arg0: mrpt.pymrpt.mrpt.opengl.CEllipsoid3D) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid3D, : mrpt.pymrpt.mrpt.opengl.CEllipsoid3D) -> mrpt.pymrpt.mrpt.opengl.CEllipsoid3D
 
C++: mrpt::opengl::CEllipsoid3D::operator=(const class mrpt::opengl::CEllipsoid3D &) --> class mrpt::opengl::CEllipsoid3D &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid3D) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CEllipsoid3D::clone() const --> class mrpt::rtti::CObject *
set3DsegmentsCount(...)
set3DsegmentsCount(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid3D, N: int) -> None
 
The number of segments of a 3D ellipse (in both "axes") (default=20) 
 
C++: mrpt::opengl::CEllipsoid3D::set3DsegmentsCount(unsigned int) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CEllipsoid3D, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
Ray tracing 
 
C++: mrpt::opengl::CEllipsoid3D::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CEllipsoid3D::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CEllipsoid3D::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CGeneralizedEllipsoidTemplate_3_t:
enableDrawSolid3D(...)
enableDrawSolid3D(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, v: bool) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::enableDrawSolid3D(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::freeOpenGLResources() --> void
getCovMatrix(...)
getCovMatrix(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_3UL_t
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::getCovMatrix() const --> class mrpt::math::CMatrixFixed<double, 3, 3>
getNumberOfSegments(...)
getNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> int
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::getNumberOfSegments() const --> uint32_t
getQuantiles(...)
getQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> float
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::getQuantiles() const --> float
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::onUpdateBuffers_Wireframe() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::renderUpdateBuffers() const --> void
setCovMatrix(...)
setCovMatrix(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, new_cov: mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_3UL_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setCovMatrix(const class mrpt::math::CMatrixFixed<double, 3, 3> &) --> void
setCovMatrixAndMean(...)
setCovMatrixAndMean(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, new_cov: mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_3UL_t, new_mean: mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_1UL_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setCovMatrixAndMean(const class mrpt::math::CMatrixFixed<double, 3, 3> &, const class mrpt::math::CMatrixFixed<double, 3, 1> &) --> void
setNumberOfSegments(...)
setNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, numSegments: int) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setNumberOfSegments(const unsigned int) --> void
setQuantiles(...)
setQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, q: float) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setQuantiles(float) --> void

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CEllipsoidInverseDepth2D(CGeneralizedEllipsoidTemplate_2_t)
    An especial "ellipsoid" in 3D computed as the uncertainty iso-surfaces of a
(inv_range,yaw) variable.
 The parameter space of this ellipsoid comprises these variables (in this
order):
  - inv_range: The inverse distance from the sensor to the feature.
  - yaw: Angle for the rotation around +Z ("azimuth").
 
 This parameterization is a 2D version of that presented in the paper:
  - Civera, J. and Davison, A.J. and Montiel, J., "Inverse depth
parametrization for monocular SLAM", T-RO, 2008.
 
 This class expects you to provide a mean vector of length 4 and a 4x4
covariance matrix, set with 
 
Please read the documentation of
CGeneralizedEllipsoidTemplate::setQuantiles() for learning
 the mathematical details about setting the desired confidence interval.
 
![mrpt::opengl::CEllipsoidInverseDepth2D](preview_CEllipsoidInverseDepth2D.png)
 
 
Method resolution order:
CEllipsoidInverseDepth2D
CGeneralizedEllipsoidTemplate_2_t
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CEllipsoidInverseDepth2D::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D, arg0: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D) -> None
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D, arg0: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D, : mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D) -> mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D
 
C++: mrpt::opengl::CEllipsoidInverseDepth2D::operator=(const class mrpt::opengl::CEllipsoidInverseDepth2D &) --> class mrpt::opengl::CEllipsoidInverseDepth2D &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CEllipsoidInverseDepth2D::clone() const --> class mrpt::rtti::CObject *
getUnderflowMaxRange(...)
getUnderflowMaxRange(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D) -> float
 
C++: mrpt::opengl::CEllipsoidInverseDepth2D::getUnderflowMaxRange() const --> double
setUnderflowMaxRange(...)
setUnderflowMaxRange(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth2D, maxRange: float) -> None
 
The maximum range to be used as a correction when a point of the
 ellipsoid falls in the negative ranges (default: 1e6) 
 
C++: mrpt::opengl::CEllipsoidInverseDepth2D::setUnderflowMaxRange(const double) --> void

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CEllipsoidInverseDepth2D::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CEllipsoidInverseDepth2D::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CGeneralizedEllipsoidTemplate_2_t:
enableDrawSolid3D(...)
enableDrawSolid3D(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, v: bool) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::enableDrawSolid3D(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::freeOpenGLResources() --> void
getCovMatrix(...)
getCovMatrix(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> mrpt.pymrpt.mrpt.math.CMatrixFixed_double_2UL_2UL_t
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getCovMatrix() const --> class mrpt::math::CMatrixFixed<double, 2, 2>
getNumberOfSegments(...)
getNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> int
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getNumberOfSegments() const --> uint32_t
getQuantiles(...)
getQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> float
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getQuantiles() const --> float
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::onUpdateBuffers_Wireframe() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::renderUpdateBuffers() const --> void
setNumberOfSegments(...)
setNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, numSegments: int) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::setNumberOfSegments(const unsigned int) --> void
setQuantiles(...)
setQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, q: float) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::setQuantiles(float) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CEllipsoidInverseDepth3D(CGeneralizedEllipsoidTemplate_3_t, CRenderizable)
    An especial "ellipsoid" in 3D computed as the uncertainty iso-surfaces of a
(inv_range,yaw,pitch) variable.
 The parameter space of this ellipsoid comprises these variables (in this
order):
  - inv_range: The inverse distance from the sensor to the feature.
  - yaw: Angle for the rotation around +Z ("azimuth").
  - pitch: Angle for the rotation around +Y ("elevation"). Positive means
pointing below the XY plane.
 
 This parameterization is based on the paper:
  - Civera, J. and Davison, A.J. and Montiel, J., "Inverse depth
parametrization for monocular SLAM", T-RO, 2008.
 
 This class expects you to provide a mean vector of length 3 and a 3x3
covariance matrix, set with 
 
Please read the documentation of
CGeneralizedEllipsoidTemplate::setQuantiles() for learning
 the mathematical details about setting the desired confidence interval.
 
![mrpt::opengl::CEllipsoidInverseDepth3D](preview_CEllipsoidInverseDepth3D.png)
 
 
Method resolution order:
CEllipsoidInverseDepth3D
CGeneralizedEllipsoidTemplate_3_t
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CEllipsoidInverseDepth3D::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D, arg0: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D) -> None
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D, arg0: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D, : mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D) -> mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D
 
C++: mrpt::opengl::CEllipsoidInverseDepth3D::operator=(const class mrpt::opengl::CEllipsoidInverseDepth3D &) --> class mrpt::opengl::CEllipsoidInverseDepth3D &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CEllipsoidInverseDepth3D::clone() const --> class mrpt::rtti::CObject *
getUnderflowMaxRange(...)
getUnderflowMaxRange(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D) -> float
 
C++: mrpt::opengl::CEllipsoidInverseDepth3D::getUnderflowMaxRange() const --> float
setUnderflowMaxRange(...)
setUnderflowMaxRange(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidInverseDepth3D, maxRange: float) -> None
 
The maximum range to be used as a correction when a point of the
 ellipsoid falls in the negative ranges (default: 1e6) 
 
C++: mrpt::opengl::CEllipsoidInverseDepth3D::setUnderflowMaxRange(const float) --> void

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CEllipsoidInverseDepth3D::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CEllipsoidInverseDepth3D::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CGeneralizedEllipsoidTemplate_3_t:
enableDrawSolid3D(...)
enableDrawSolid3D(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, v: bool) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::enableDrawSolid3D(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::freeOpenGLResources() --> void
getCovMatrix(...)
getCovMatrix(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_3UL_t
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::getCovMatrix() const --> class mrpt::math::CMatrixFixed<double, 3, 3>
getNumberOfSegments(...)
getNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> int
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::getNumberOfSegments() const --> uint32_t
getQuantiles(...)
getQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> float
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::getQuantiles() const --> float
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::onUpdateBuffers_Wireframe() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::renderUpdateBuffers() const --> void
setCovMatrix(...)
setCovMatrix(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, new_cov: mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_3UL_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setCovMatrix(const class mrpt::math::CMatrixFixed<double, 3, 3> &) --> void
setCovMatrixAndMean(...)
setCovMatrixAndMean(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, new_cov: mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_3UL_t, new_mean: mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_1UL_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setCovMatrixAndMean(const class mrpt::math::CMatrixFixed<double, 3, 3> &, const class mrpt::math::CMatrixFixed<double, 3, 1> &) --> void
setNumberOfSegments(...)
setNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, numSegments: int) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setNumberOfSegments(const unsigned int) --> void
setQuantiles(...)
setQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, q: float) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setQuantiles(float) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CEllipsoidRangeBearing2D(CGeneralizedEllipsoidTemplate_2_t, CRenderizable)
    An especial "ellipsoid" in 2D computed as the uncertainty iso-surfaces of a
(range,bearing) variable.
 The parameter space of this ellipsoid comprises these variables (in this
order):
  - range: Distance from sensor to feature.
  - bearing: Angle from +X to the line that goes from the sensor towards the
feature.
 
 This class expects you to provide a mean vector of length 2 and a 2x2
covariance matrix, set with 
 
Please read the documentation of
CGeneralizedEllipsoidTemplate::setQuantiles() for learning
 the mathematical details about setting the desired confidence interval.
 
![mrpt::opengl::CEllipsoidRangeBearing2D](preview_CEllipsoidRangeBearing2D.png)
 
 
Method resolution order:
CEllipsoidRangeBearing2D
CGeneralizedEllipsoidTemplate_2_t
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidRangeBearing2D) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CEllipsoidRangeBearing2D::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidRangeBearing2D) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidRangeBearing2D, arg0: mrpt.pymrpt.mrpt.opengl.CEllipsoidRangeBearing2D) -> None
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidRangeBearing2D, arg0: mrpt.pymrpt.mrpt.opengl.CEllipsoidRangeBearing2D) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidRangeBearing2D, : mrpt.pymrpt.mrpt.opengl.CEllipsoidRangeBearing2D) -> mrpt.pymrpt.mrpt.opengl.CEllipsoidRangeBearing2D
 
C++: mrpt::opengl::CEllipsoidRangeBearing2D::operator=(const class mrpt::opengl::CEllipsoidRangeBearing2D &) --> class mrpt::opengl::CEllipsoidRangeBearing2D &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CEllipsoidRangeBearing2D) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CEllipsoidRangeBearing2D::clone() const --> class mrpt::rtti::CObject *

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CEllipsoidRangeBearing2D::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CEllipsoidRangeBearing2D::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CGeneralizedEllipsoidTemplate_2_t:
enableDrawSolid3D(...)
enableDrawSolid3D(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, v: bool) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::enableDrawSolid3D(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::freeOpenGLResources() --> void
getCovMatrix(...)
getCovMatrix(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> mrpt.pymrpt.mrpt.math.CMatrixFixed_double_2UL_2UL_t
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getCovMatrix() const --> class mrpt::math::CMatrixFixed<double, 2, 2>
getNumberOfSegments(...)
getNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> int
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getNumberOfSegments() const --> uint32_t
getQuantiles(...)
getQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> float
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getQuantiles() const --> float
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::onUpdateBuffers_Wireframe() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::renderUpdateBuffers() const --> void
setNumberOfSegments(...)
setNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, numSegments: int) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::setNumberOfSegments(const unsigned int) --> void
setQuantiles(...)
setQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, q: float) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::setQuantiles(float) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CFBORender(pybind11_builtins.pybind11_object)
    Render 3D scenes off-screen directly to RGB and/or RGB+D images.
 
Main methods:
render_RGB(): Renders a scene into an RGB image.
render_RGBD(): Renders a scene into an RGB and depth images.
 
To define a background color, define it in your
`scene.getViewport()->setCustomBackgroundColor()`. You can add overlaid text
messages, see base class CTextMessageCapable
 
The SE(3) pose from which the scene is rendered is defined by the scene
`"main"` viewport camera pose.
See  for code examples.
 
 
 ,
 
 
Method resolution order:
CFBORender
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CFBORender, p: mrpt::opengl::CFBORender::Parameters) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CFBORender) -> None
 
doc
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CFBORender, width: int) -> None
 
doc
 
4. __init__(self: mrpt.pymrpt.mrpt.opengl.CFBORender, width: int, height: int) -> None
 
5. __init__(self: mrpt.pymrpt.mrpt.opengl.CFBORender, arg0: mrpt.pymrpt.mrpt.opengl.CFBORender) -> None
getCamera(...)
getCamera(self: mrpt.pymrpt.mrpt.opengl.CFBORender, scene: mrpt.pymrpt.mrpt.opengl.Scene) -> mrpt.pymrpt.mrpt.opengl.CCamera
 
Get a reference to the scene camera to be used when rendering the scene
 through this particular instance of CFBORender
 
C++: mrpt::opengl::CFBORender::getCamera(const class mrpt::opengl::Scene &) --> class mrpt::opengl::CCamera &
render_RGB(...)
render_RGB(self: mrpt.pymrpt.mrpt.opengl.CFBORender, scene: mrpt.pymrpt.mrpt.opengl.Scene, outRGB: mrpt.pymrpt.mrpt.img.CImage) -> None
 
Render the scene and get the rendered RGB image. Resizes the image
  buffer if necessary to the configured render resolution.
 
  
 render_RGBD()
 
C++: mrpt::opengl::CFBORender::render_RGB(const class mrpt::opengl::Scene &, class mrpt::img::CImage &) --> void
render_RGBD(...)
render_RGBD(self: mrpt.pymrpt.mrpt.opengl.CFBORender, scene: mrpt.pymrpt.mrpt.opengl.Scene, outRGB: mrpt.pymrpt.mrpt.img.CImage, outDepth: mrpt.pymrpt.mrpt.math.CMatrixDynamic_float_t) -> None
 
Render the scene and get the rendered RGB and depth images.
 Resizes the provided buffers if necessary to the configured render
 resolution.
 The output depth image is in linear depth distance units (e.g. "meters").
 Note that values is depth, not range, that is, it's the "+z" coordinate
 of a point as seen from the camera, with +Z pointing forward in the view
 direction (the common convention in computer vision).
 Pixels without any observed object in the valid viewport {clipMin,
 clipMax} range will be returned with a range of `0.0`.
 
  
 render_RGB(), Parameters::raw_depth
 
C++: mrpt::opengl::CFBORender::render_RGBD(const class mrpt::opengl::Scene &, class mrpt::img::CImage &, class mrpt::math::CMatrixDynamic<float> &) --> void
render_depth(...)
render_depth(self: mrpt.pymrpt.mrpt.opengl.CFBORender, scene: mrpt.pymrpt.mrpt.opengl.Scene, outDepth: mrpt.pymrpt.mrpt.math.CMatrixDynamic_float_t) -> None
 
Like render_RGBD(), but only renders the depth image.
  
 
 render_RGBD()
 
C++: mrpt::opengl::CFBORender::render_depth(const class mrpt::opengl::Scene &, class mrpt::math::CMatrixDynamic<float> &) --> void
setCamera(...)
setCamera(self: mrpt.pymrpt.mrpt.opengl.CFBORender, scene: mrpt.pymrpt.mrpt.opengl.Scene, camera: mrpt.pymrpt.mrpt.opengl.CCamera) -> None
 
Change the scene camera to be used when rendering the scene through this
 particular instance of CFBORender
 
C++: mrpt::opengl::CFBORender::setCamera(const class mrpt::opengl::Scene &, const class mrpt::opengl::CCamera &) --> void

Data and other attributes defined here:
Parameters = <class 'mrpt.pymrpt.mrpt.opengl.CFBORender.Parameters'>
Parameters for CFBORender constructor

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CFrustum(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
    A solid or wireframe frustum in 3D (a rectangular truncated pyramid), with
arbitrary (possibly assymetric) field-of-view angles.
 
 You can switch whether to show only the lines, the surface of the frustum,
or both.
 By default only the lines are drawn.
 
 The color of the object (via CRenderizable::setColor()) affects the color
of lines.
 To set the color of planes use 
 
 As usual in MRPT, the +X axis is assumed to by the main direction, in this
case of the pyramid axis.
 
 The horizontal and vertical FOVs can be set directly with 
and  if
 they are symmetric, or with  and 
otherwise.
 
 All FOV angles are positive numbers. FOVs must be below 90deg on each side
(below 180deg in total).
 If you try to set FOVs to larger values they'll truncated to 89.9deg.
 
![mrpt::opengl::CFrustum](preview_CFrustum.png)
 
 
opengl::Scene,opengl::CRenderizable
 
 
Method resolution order:
CFrustum
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CFrustum::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> None
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CFrustum, near_distance: float, far_distance: float, horz_FOV_degrees: float, vert_FOV_degrees: float, lineWidth: float, draw_lines: bool, draw_planes: bool) -> None
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CFrustum, arg0: mrpt.pymrpt.mrpt.img.TCamera) -> None
 
doc
 
4. __init__(self: mrpt.pymrpt.mrpt.opengl.CFrustum, intrinsics: mrpt.pymrpt.mrpt.img.TCamera, focalDistScale: float) -> None
 
5. __init__(self: mrpt.pymrpt.mrpt.opengl.CFrustum, arg0: mrpt.pymrpt.mrpt.opengl.CFrustum) -> None
 
6. __init__(self: mrpt.pymrpt.mrpt.opengl.CFrustum, arg0: mrpt.pymrpt.mrpt.opengl.CFrustum) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CFrustum, : mrpt.pymrpt.mrpt.opengl.CFrustum) -> mrpt.pymrpt.mrpt.opengl.CFrustum
 
C++: mrpt::opengl::CFrustum::operator=(const class mrpt::opengl::CFrustum &) --> class mrpt::opengl::CFrustum &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CFrustum::clone() const --> class mrpt::rtti::CObject *
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> None
 
C++: mrpt::opengl::CFrustum::freeOpenGLResources() --> void
getFarPlaneDistance(...)
getFarPlaneDistance(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> float
 
C++: mrpt::opengl::CFrustum::getFarPlaneDistance() const --> float
getHorzFOV(...)
getHorzFOV(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> float
 
C++: mrpt::opengl::CFrustum::getHorzFOV() const --> float
getHorzFOVLeft(...)
getHorzFOVLeft(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> float
 
C++: mrpt::opengl::CFrustum::getHorzFOVLeft() const --> float
getHorzFOVRight(...)
getHorzFOVRight(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> float
 
C++: mrpt::opengl::CFrustum::getHorzFOVRight() const --> float
getNearPlaneDistance(...)
getNearPlaneDistance(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> float
 
C++: mrpt::opengl::CFrustum::getNearPlaneDistance() const --> float
getPlaneColor(...)
getPlaneColor(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> mrpt.pymrpt.mrpt.img.TColor
 
C++: mrpt::opengl::CFrustum::getPlaneColor() const --> const struct mrpt::img::TColor &
getVertFOV(...)
getVertFOV(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> float
 
C++: mrpt::opengl::CFrustum::getVertFOV() const --> float
getVertFOVDown(...)
getVertFOVDown(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> float
 
C++: mrpt::opengl::CFrustum::getVertFOVDown() const --> float
getVertFOVUp(...)
getVertFOVUp(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> float
 
C++: mrpt::opengl::CFrustum::getVertFOVUp() const --> float
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
C++: mrpt::opengl::CFrustum::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> None
 
C++: mrpt::opengl::CFrustum::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> None
 
C++: mrpt::opengl::CFrustum::onUpdateBuffers_Wireframe() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CFrustum) -> None
 
C++: mrpt::opengl::CFrustum::renderUpdateBuffers() const --> void
setHorzFOV(...)
setHorzFOV(self: mrpt.pymrpt.mrpt.opengl.CFrustum, fov_horz_degrees: float) -> None
 
Changes horizontal FOV (symmetric) 
 
C++: mrpt::opengl::CFrustum::setHorzFOV(const float) --> void
setHorzFOVAsymmetric(...)
setHorzFOVAsymmetric(self: mrpt.pymrpt.mrpt.opengl.CFrustum, fov_horz_left_degrees: float, fov_horz_right_degrees: float) -> None
 
Changes horizontal FOV (asymmetric) 
 
C++: mrpt::opengl::CFrustum::setHorzFOVAsymmetric(const float, const float) --> void
setNearFarPlanes(...)
setNearFarPlanes(self: mrpt.pymrpt.mrpt.opengl.CFrustum, near_distance: float, far_distance: float) -> None
 
Changes distance of near & far planes 
 
C++: mrpt::opengl::CFrustum::setNearFarPlanes(const float, const float) --> void
setPlaneColor(...)
setPlaneColor(self: mrpt.pymrpt.mrpt.opengl.CFrustum, c: mrpt.pymrpt.mrpt.img.TColor) -> None
 
Changes the color of the planes; to change color of lines, use
 CRenderizable base methods. 
 
C++: mrpt::opengl::CFrustum::setPlaneColor(const struct mrpt::img::TColor &) --> void
setVertFOV(...)
setVertFOV(self: mrpt.pymrpt.mrpt.opengl.CFrustum, fov_vert_degrees: float) -> None
 
Changes vertical FOV (symmetric) 
 
C++: mrpt::opengl::CFrustum::setVertFOV(const float) --> void
setVertFOVAsymmetric(...)
setVertFOVAsymmetric(self: mrpt.pymrpt.mrpt.opengl.CFrustum, fov_vert_down_degrees: float, fov_vert_up_degrees: float) -> None
 
Changes vertical FOV (asymmetric) 
 
C++: mrpt::opengl::CFrustum::setVertFOVAsymmetric(const float, const float) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CFrustum, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
C++: mrpt::opengl::CFrustum::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Static methods defined here:
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CFrustum::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CFrustum::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CGeneralizedEllipsoidTemplate_2_t(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
    
Method resolution order:
CGeneralizedEllipsoidTemplate_2_t
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, : mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::operator=(const class mrpt::opengl::CGeneralizedEllipsoidTemplate<2> &) --> class mrpt::opengl::CGeneralizedEllipsoidTemplate<2> &
enableDrawSolid3D(...)
enableDrawSolid3D(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, v: bool) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::enableDrawSolid3D(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::freeOpenGLResources() --> void
getCovMatrix(...)
getCovMatrix(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> mrpt.pymrpt.mrpt.math.CMatrixFixed_double_2UL_2UL_t
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getCovMatrix() const --> class mrpt::math::CMatrixFixed<double, 2, 2>
getNumberOfSegments(...)
getNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> int
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getNumberOfSegments() const --> uint32_t
getQuantiles(...)
getQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> float
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::getQuantiles() const --> float
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::onUpdateBuffers_Wireframe() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::renderUpdateBuffers() const --> void
setNumberOfSegments(...)
setNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, numSegments: int) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::setNumberOfSegments(const unsigned int) --> void
setQuantiles(...)
setQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, q: float) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::setQuantiles(float) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_2_t, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<2>::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Static methods inherited from CRenderizableShaderTriangles:
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CRenderizableShaderTriangles::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
clone(...)
clone(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Returns a deep copy (clone) of the object, indepently of its class. 
 
C++: mrpt::rtti::CObject::clone() const --> class mrpt::rtti::CObject *
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CGeneralizedEllipsoidTemplate_3_t(CRenderizableShaderTriangles, CRenderizableShaderWireFrame)
    
Method resolution order:
CGeneralizedEllipsoidTemplate_3_t
CRenderizableShaderTriangles
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, : mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::operator=(const class mrpt::opengl::CGeneralizedEllipsoidTemplate<3> &) --> class mrpt::opengl::CGeneralizedEllipsoidTemplate<3> &
enableDrawSolid3D(...)
enableDrawSolid3D(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, v: bool) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::enableDrawSolid3D(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::freeOpenGLResources() --> void
getCovMatrix(...)
getCovMatrix(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_3UL_t
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::getCovMatrix() const --> class mrpt::math::CMatrixFixed<double, 3, 3>
getNumberOfSegments(...)
getNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> int
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::getNumberOfSegments() const --> uint32_t
getQuantiles(...)
getQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> float
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::getQuantiles() const --> float
onUpdateBuffers_Triangles(...)
onUpdateBuffers_Triangles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::onUpdateBuffers_Triangles() --> void
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::onUpdateBuffers_Wireframe() --> void
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::renderUpdateBuffers() const --> void
setCovMatrix(...)
setCovMatrix(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, new_cov: mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_3UL_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setCovMatrix(const class mrpt::math::CMatrixFixed<double, 3, 3> &) --> void
setCovMatrixAndMean(...)
setCovMatrixAndMean(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, new_cov: mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_3UL_t, new_mean: mrpt.pymrpt.mrpt.math.CMatrixFixed_double_3UL_1UL_t) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setCovMatrixAndMean(const class mrpt::math::CMatrixFixed<double, 3, 3> &, const class mrpt::math::CMatrixFixed<double, 3, 1> &) --> void
setNumberOfSegments(...)
setNumberOfSegments(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, numSegments: int) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setNumberOfSegments(const unsigned int) --> void
setQuantiles(...)
setQuantiles(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, q: float) -> None
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::setQuantiles(float) --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CGeneralizedEllipsoidTemplate_3_t, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
C++: mrpt::opengl::CGeneralizedEllipsoidTemplate<3>::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool

Methods inherited from CRenderizableShaderTriangles:
cullFaces(...)
cullFaces(*args, **kwargs)
Overloaded function.
 
1. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, cf: mrpt.pymrpt.mrpt.opengl.TCullFace) -> None
 
Control whether to render the FRONT, BACK, or BOTH (default) set of
 faces. Refer to docs for glCullFace().
 Example: If set to `cullFaces(TCullFace::BACK);`, back faces will not be
 drawn ("culled")
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces(const enum mrpt::opengl::TCullFace &) --> void
 
2. cullFaces(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> mrpt.pymrpt.mrpt.opengl.TCullFace
 
C++: mrpt::opengl::CRenderizableShaderTriangles::cullFaces() const --> enum mrpt::opengl::TCullFace
enableLight(...)
enableLight(*args, **kwargs)
Overloaded function.
 
1. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> None
 
2. enableLight(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderTriangles::enableLight(bool) --> void
isLightEnabled(...)
isLightEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderTriangles) -> bool
 
C++: mrpt::opengl::CRenderizableShaderTriangles::isLightEnabled() const --> bool

Static methods inherited from CRenderizableShaderTriangles:
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CRenderizableShaderTriangles::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
clone(...)
clone(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Returns a deep copy (clone) of the object, indepently of its class. 
 
C++: mrpt::rtti::CObject::clone() const --> class mrpt::rtti::CObject *
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CGridPlaneXY(CRenderizableShaderWireFrame)
    A grid of lines over the XY plane.
 
![mrpt::opengl::CGridPlaneXY](preview_CGridPlaneXY.png)
 
 
opengl::Scene
 
 
Method resolution order:
CGridPlaneXY
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CGridPlaneXY::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY) -> None
 
doc
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, arg0: float) -> None
 
doc
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, arg0: float, arg1: float) -> None
 
doc
 
4. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, arg0: float, arg1: float, arg2: float) -> None
 
doc
 
5. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, arg0: float, arg1: float, arg2: float, arg3: float) -> None
 
doc
 
6. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float) -> None
 
doc
 
7. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float) -> None
 
doc
 
8. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float) -> None
 
doc
 
9. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, xMin: float, xMax: float, yMin: float, yMax: float, z: float, frequency: float, lineWidth: float, antiAliasing: bool) -> None
 
10. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, arg0: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY) -> None
 
11. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, arg0: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, : mrpt.pymrpt.mrpt.opengl.CGridPlaneXY) -> mrpt.pymrpt.mrpt.opengl.CGridPlaneXY
 
C++: mrpt::opengl::CGridPlaneXY::operator=(const class mrpt::opengl::CGridPlaneXY &) --> class mrpt::opengl::CGridPlaneXY &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CGridPlaneXY::clone() const --> class mrpt::rtti::CObject *
getGridFrequency(...)
getGridFrequency(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY) -> float
 
C++: mrpt::opengl::CGridPlaneXY::getGridFrequency() const --> float
getPlaneLimits(...)
getPlaneLimits(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, xmin: float, xmax: float, ymin: float, ymax: float) -> None
 
C++: mrpt::opengl::CGridPlaneXY::getPlaneLimits(float &, float &, float &, float &) const --> void
getPlaneZcoord(...)
getPlaneZcoord(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY) -> float
 
C++: mrpt::opengl::CGridPlaneXY::getPlaneZcoord() const --> float
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
C++: mrpt::opengl::CGridPlaneXY::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY) -> None
 
C++: mrpt::opengl::CGridPlaneXY::onUpdateBuffers_Wireframe() --> void
setGridFrequency(...)
setGridFrequency(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, freq: float) -> None
 
C++: mrpt::opengl::CGridPlaneXY::setGridFrequency(float) --> void
setPlaneLimits(...)
setPlaneLimits(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, xmin: float, xmax: float, ymin: float, ymax: float) -> None
 
C++: mrpt::opengl::CGridPlaneXY::setPlaneLimits(float, float, float, float) --> void
setPlaneZcoord(...)
setPlaneZcoord(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXY, z: float) -> None
 
C++: mrpt::opengl::CGridPlaneXY::setPlaneZcoord(float) --> void

Static methods defined here:
Create(...) from builtins.PyCapsule
Create(args: float, args: float, args: float, args: float, args: float, args: float) -> mrpt.pymrpt.mrpt.opengl.CGridPlaneXY
 
C++: mrpt::opengl::CGridPlaneXY::Create(double &, double &, double &, double &, double &, const double &) --> class std::shared_ptr<class mrpt::opengl::CGridPlaneXY>
CreateObject(...) from builtins.PyCapsule
CreateObject() -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CGridPlaneXY::CreateObject() --> class std::shared_ptr<class mrpt::rtti::CObject>
GetRuntimeClassIdStatic(...) from builtins.PyCapsule
GetRuntimeClassIdStatic() -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CGridPlaneXY::GetRuntimeClassIdStatic() --> const struct mrpt::rtti::TRuntimeClassId &

Methods inherited from CRenderizableShaderWireFrame:
enableAntiAliasing(...)
enableAntiAliasing(*args, **kwargs)
Overloaded function.
 
1. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
2. enableAntiAliasing(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, enable: bool) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::enableAntiAliasing(bool) --> void
freeOpenGLResources(...)
freeOpenGLResources(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::freeOpenGLResources() --> void
getLineWidth(...)
getLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> float
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::getLineWidth() const --> float
isAntiAliasingEnabled(...)
isAntiAliasingEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> bool
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::isAntiAliasingEnabled() const --> bool
renderUpdateBuffers(...)
renderUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::renderUpdateBuffers() const --> void
setLineWidth(...)
setLineWidth(self: mrpt.pymrpt.mrpt.opengl.CRenderizableShaderWireFrame, w: float) -> None
 
C++: mrpt::opengl::CRenderizableShaderWireFrame::setLineWidth(float) --> void

Methods inherited from CRenderizable:
castShadows(...)
castShadows(*args, **kwargs)
Overloaded function.
 
1. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Does the object cast shadows? (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows() const --> bool
 
2. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
3. castShadows(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, doCast: bool) -> None
 
Enable/disable casting shadows by this object (default=true) 
 
C++: mrpt::opengl::CRenderizable::castShadows(bool) --> void
cullElegible(...)
cullElegible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Return false if this object should never be checked for being culled out
 (=not rendered if its bbox are out of the screen limits).
 For example, skyboxes or other special effects.
 
C++: mrpt::opengl::CRenderizable::cullElegible() const --> bool
enableShowName(...)
enableShowName(*args, **kwargs)
Overloaded function.
 
1. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. enableShowName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, showName: bool) -> None
 
Enables or disables showing the name of the object as a label when
 rendering 
 
C++: mrpt::opengl::CRenderizable::enableShowName(bool) --> void
getBoundingBox(...)
getBoundingBox(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBox() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocal(...)
getBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_double_t
 
Evaluates the bounding box of this object (including possible
 children) in the coordinate frame of my parent object,
 i.e. if this object pose changes, the bbox returned here will change too.
 This is in contrast with the local bbox returned by getBoundingBoxLocal()
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<double>
getBoundingBoxLocalf(...)
getBoundingBoxLocalf(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
the bbox. const refs are not returned for multi-thread safety.
 
C++: mrpt::opengl::CRenderizable::getBoundingBoxLocalf() const --> struct mrpt::math::TBoundingBox_<float>
getCPose(...)
getCPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.poses.CPose3D
 
Returns a const ref to the 3D pose of the object as mrpt::poses::CPose3D
 (which explicitly contains the 3x3 rotation matrix) 
 
C++: mrpt::opengl::CRenderizable::getCPose() const --> class mrpt::poses::CPose3D
getColor(...)
getColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColorf
 
Get color components as floats in the range [0,1] 
 
C++: mrpt::opengl::CRenderizable::getColor() const --> struct mrpt::img::TColorf
getColor_u8(...)
getColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.img.TColor
 
Get color components as uint8_t in the range [0,255] 
 
C++: mrpt::opengl::CRenderizable::getColor_u8() const --> struct mrpt::img::TColor
getLocalRepresentativePoint(...)
getLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::math::TPoint3D_<float>
 
Provide a representative point (in object local coordinates), used to
 sort objects by eye-distance while rendering with transparencies
 (Default=[0,0,0]) 
 
C++: mrpt::opengl::CRenderizable::getLocalRepresentativePoint() const --> struct mrpt::math::TPoint3D_<float>
getName(...)
getName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> str
 
Returns the name of the object 
 
C++: mrpt::opengl::CRenderizable::getName() const --> std::string
getPose(...)
getPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt.pymrpt.mrpt.math.TPose3D
 
Returns the 3D pose of the object as TPose3D 
 
C++: mrpt::opengl::CRenderizable::getPose() const --> struct mrpt::math::TPose3D
getScaleX(...)
getScaleX(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleX() const --> float
getScaleY(...)
getScaleY(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleY() const --> float
getScaleZ(...)
getScaleZ(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Get the current scaling factor in one axis 
 
C++: mrpt::opengl::CRenderizable::getScaleZ() const --> float
hasToUpdateBuffers(...)
hasToUpdateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Returns whether notifyChange() has been invoked since the last call
 to renderUpdateBuffers(), meaning the latter needs to be called again
 before rendering.
 
C++: mrpt::opengl::CRenderizable::hasToUpdateBuffers() const --> bool
initializeTextures(...)
initializeTextures(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Initializes all textures (loads them into opengl memory). 
 
C++: mrpt::opengl::CRenderizable::initializeTextures() const --> void
isCompositeObject(...)
isCompositeObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Should return true if enqueueForRenderRecursive() is defined since
  the object has inner children. Examples: CSetOfObjectsCAssimpModel.
 
C++: mrpt::opengl::CRenderizable::isCompositeObject() const --> bool
isShowNameEnabled(...)
isShowNameEnabled(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
enableShowName 
 
C++: mrpt::opengl::CRenderizable::isShowNameEnabled() const --> bool
isVisible(...)
isVisible(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> bool
 
Is the object visible? 
 setVisibility 
 
C++: mrpt::opengl::CRenderizable::isVisible() const --> bool
labelObject(...)
labelObject(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> mrpt::opengl::CText
 
Returns or constructs (in its first invokation) the associated
 mrpt::opengl::CText object representing the label of the object.
 
 
 enableShowName()
 
C++: mrpt::opengl::CRenderizable::labelObject() const --> class mrpt::opengl::CText &
materialShininess(...)
materialShininess(*args, **kwargs)
Overloaded function.
 
1. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> float
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess() const --> float
 
2. materialShininess(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, shininess: float) -> None
 
Material shininess (for specular lights in shaders that support it),
  between 0.0f (none) to 1.0f (shiny) 
 
C++: mrpt::opengl::CRenderizable::materialShininess(float) --> void
notifyBBoxChange(...)
notifyBBoxChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
C++: mrpt::opengl::CRenderizable::notifyBBoxChange() const --> void
notifyChange(...)
notifyChange(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Call to enable calling renderUpdateBuffers() before the next
 render() rendering iteration. 
 
C++: mrpt::opengl::CRenderizable::notifyChange() const --> void
setColor(...)
setColor(*args, **kwargs)
Overloaded function.
 
1. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColorf) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(const struct mrpt::img::TColorf &) --> class mrpt::opengl::CRenderizable &
 
2. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: float, G: float, B: float, A: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range 0-1)
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor(float, float, float, float) --> class mrpt::opengl::CRenderizable &
setColorA(...)
setColorA(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,1]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA(const float) --> class mrpt::opengl::CRenderizable &
setColorA_u8(...)
setColorA_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, a: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set alpha (transparency) color component in the range [0,255]
  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColorA_u8(const unsigned char) --> class mrpt::opengl::CRenderizable &
setColor_u8(...)
setColor_u8(*args, **kwargs)
Overloaded function.
 
1. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, c: mrpt.pymrpt.mrpt.img.TColor) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
* Changes the default object color 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(const struct mrpt::img::TColor &) --> class mrpt::opengl::CRenderizable &
 
2. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
3. setColor_u8(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, R: int, G: int, B: int, A: int) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Set the color components of this object (R,G,B,Alpha, in the range
 0-255)  
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setColor_u8(uint8_t, uint8_t, uint8_t, uint8_t) --> class mrpt::opengl::CRenderizable &
setLocalRepresentativePoint(...)
setLocalRepresentativePoint(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<float>) -> None
 
See getLocalRepresentativePoint() 
 
C++: mrpt::opengl::CRenderizable::setLocalRepresentativePoint(const struct mrpt::math::TPoint3D_<float> &) --> void
setLocation(...)
setLocation(*args, **kwargs)
Overloaded function.
 
1. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, x: float, y: float, z: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this 
 
C++: mrpt::opengl::CRenderizable::setLocation(double, double, double) --> class mrpt::opengl::CRenderizable &
 
2. setLocation(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, p: mrpt::math::TPoint3D_<double>) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Changes the location of the object, keeping untouched the orientation
 
 
 a ref to this  
 
C++: mrpt::opengl::CRenderizable::setLocation(const struct mrpt::math::TPoint3D_<double> &) --> class mrpt::opengl::CRenderizable &
setName(...)
setName(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, n: str) -> None
 
Changes the name of the object 
 
C++: mrpt::opengl::CRenderizable::setName(const std::string &) --> void
setPose(...)
setPose(*args, **kwargs)
Overloaded function.
 
1. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Defines the SE(3) (pose=translation+rotation) of the object with respect
 to its parent 
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose3D &) --> class mrpt::opengl::CRenderizable &
 
2. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPose2D &) --> class mrpt::opengl::CRenderizable &
 
3. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose3D &) --> class mrpt::opengl::CRenderizable &
 
4. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.math.TPose2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const struct mrpt::math::TPose2D &) --> class mrpt::opengl::CRenderizable &
 
5. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint3D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint3D &) --> class mrpt::opengl::CRenderizable &
 
6. setPose(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt::poses::CPoint2D) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
C++: mrpt::opengl::CRenderizable::setPose(const class mrpt::poses::CPoint2D &) --> class mrpt::opengl::CRenderizable &
setScale(...)
setScale(*args, **kwargs)
Overloaded function.
 
1. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, s: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object, in all three axes (default=1)  
 a
 ref to this 
 
C++: mrpt::opengl::CRenderizable::setScale(float) --> class mrpt::opengl::CRenderizable &
 
2. setScale(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, sx: float, sy: float, sz: float) -> mrpt.pymrpt.mrpt.opengl.CRenderizable
 
Scale to apply to the object in each axis (default=1)  
 a ref to
 this 
 
C++: mrpt::opengl::CRenderizable::setScale(float, float, float) --> class mrpt::opengl::CRenderizable &
setVisibility(...)
setVisibility(*args, **kwargs)
Overloaded function.
 
1. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
2. setVisibility(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, visible: bool) -> None
 
Set object visibility (default=true) 
 isVisible 
 
C++: mrpt::opengl::CRenderizable::setVisibility(bool) --> void
toYAMLMap(...)
toYAMLMap(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, propertiesMap: mrpt.pymrpt.mrpt.containers.yaml) -> None
 
Used from Scene::asYAML().
 
 
 (New in MRPT 2.4.2) 
 
C++: mrpt::opengl::CRenderizable::toYAMLMap(class mrpt::containers::yaml &) const --> void
traceRay(...)
traceRay(self: mrpt.pymrpt.mrpt.opengl.CRenderizable, o: mrpt.pymrpt.mrpt.poses.CPose3D, dist: float) -> bool
 
Simulation of ray-trace, given a pose. Returns true if the ray
 effectively collisions with the object (returning the distance to the
 origin of the ray in "dist"), or false in other case. "dist" variable
 yields undefined behaviour when false is returned
 
C++: mrpt::opengl::CRenderizable::traceRay(const class mrpt::poses::CPose3D &, double &) const --> bool
updateBuffers(...)
updateBuffers(self: mrpt.pymrpt.mrpt.opengl.CRenderizable) -> None
 
Calls renderUpdateBuffers() and clear the flag that is set with
 notifyChange() 
 
C++: mrpt::opengl::CRenderizable::updateBuffers() const --> void

Data and other attributes inherited from CRenderizable:
RenderContext = <class 'mrpt.pymrpt.mrpt.opengl.CRenderizable.RenderContext'>
Context for calls to render()

Methods inherited from mrpt.pymrpt.mrpt.rtti.CObject:
duplicateGetSmartPtr(...)
duplicateGetSmartPtr(self: mrpt.pymrpt.mrpt.rtti.CObject) -> mrpt.pymrpt.mrpt.rtti.CObject
 
Makes a deep copy of the object and returns a smart pointer to it 
 
C++: mrpt::rtti::CObject::duplicateGetSmartPtr() const --> class std::shared_ptr<class mrpt::rtti::CObject>

Static methods inherited from pybind11_builtins.pybind11_object:
__new__(*args, **kwargs) from pybind11_builtins.pybind11_type
Create and return a new object.  See help(type) for accurate signature.

 
class CGridPlaneXZ(CRenderizableShaderWireFrame)
    A grid of lines over the XZ plane.
 
![mrpt::opengl::CGridPlaneXZ](preview_CGridPlaneXZ.png)
 
 
opengl::Scene
 
 
Method resolution order:
CGridPlaneXZ
CRenderizableShaderWireFrame
CRenderizable
mrpt.pymrpt.mrpt.serialization.CSerializable
mrpt.pymrpt.mrpt.rtti.CObject
pybind11_builtins.pybind11_object
builtins.object

Methods defined here:
GetRuntimeClass(...)
GetRuntimeClass(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ) -> mrpt.pymrpt.mrpt.rtti.TRuntimeClassId
 
C++: mrpt::opengl::CGridPlaneXZ::GetRuntimeClass() const --> const struct mrpt::rtti::TRuntimeClassId *
__init__(...)
__init__(*args, **kwargs)
Overloaded function.
 
1. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ) -> None
 
doc
 
2. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, arg0: float) -> None
 
doc
 
3. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, arg0: float, arg1: float) -> None
 
doc
 
4. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, arg0: float, arg1: float, arg2: float) -> None
 
doc
 
5. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, arg0: float, arg1: float, arg2: float, arg3: float) -> None
 
doc
 
6. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float) -> None
 
doc
 
7. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float) -> None
 
doc
 
8. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float) -> None
 
doc
 
9. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, xMin: float, xMax: float, zMin: float, zMax: float, y: float, frequency: float, lineWidth: float, antiAliasing: bool) -> None
 
10. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, arg0: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ) -> None
 
11. __init__(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, arg0: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ) -> None
assign(...)
assign(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, : mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ) -> mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ
 
C++: mrpt::opengl::CGridPlaneXZ::operator=(const class mrpt::opengl::CGridPlaneXZ &) --> class mrpt::opengl::CGridPlaneXZ &
clone(...)
clone(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ) -> mrpt.pymrpt.mrpt.rtti.CObject
 
C++: mrpt::opengl::CGridPlaneXZ::clone() const --> class mrpt::rtti::CObject *
getGridFrequency(...)
getGridFrequency(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ) -> float
 
C++: mrpt::opengl::CGridPlaneXZ::getGridFrequency() const --> float
getPlaneLimits(...)
getPlaneLimits(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, xmin: float, xmax: float, zmin: float, zmax: float) -> None
 
C++: mrpt::opengl::CGridPlaneXZ::getPlaneLimits(float &, float &, float &, float &) const --> void
getPlaneYcoord(...)
getPlaneYcoord(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ) -> float
 
C++: mrpt::opengl::CGridPlaneXZ::getPlaneYcoord() const --> float
internalBoundingBoxLocal(...)
internalBoundingBoxLocal(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ) -> mrpt.pymrpt.mrpt.math.TBoundingBox_float_t
 
C++: mrpt::opengl::CGridPlaneXZ::internalBoundingBoxLocal() const --> struct mrpt::math::TBoundingBox_<float>
onUpdateBuffers_Wireframe(...)
onUpdateBuffers_Wireframe(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ) -> None
 
C++: mrpt::opengl::CGridPlaneXZ::onUpdateBuffers_Wireframe() --> void
setGridFrequency(...)
setGridFrequency(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, freq: float) -> None
 
C++: mrpt::opengl::CGridPlaneXZ::setGridFrequency(float) --> void
setPlaneLimits(...)
setPlaneLimits(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, xmin: float, xmax: float, zmin: float, zmax: float) -> None
 
C++: mrpt::opengl::CGridPlaneXZ::setPlaneLimits(float, float, float, float) --> void
setPlaneYcoord(...)
setPlaneYcoord(self: mrpt.pymrpt.mrpt.opengl.CGridPlaneXZ, y: float) -> None
 
C++: mrpt::opengl::CGridPla