RobWorkProject
24.8.23-
|
Abstract base class for all renderable classes. More...
#include <Render.hpp>
Inherited by RenderArrow, RenderCameraFrustum, RenderForceTorque, RenderFrame, RenderGeometry, RenderImage, RenderLines, RenderMatrix, RenderModel3D, RenderPointCloud, RenderScan, RenderSmoothSkin, RenderText, RenderVelocity, TactileArrayRender, RenderContacts, RenderCircles, RenderContacts, RenderGhost, RenderPlanes, RenderPoints, and SimulatorDebugRender.
Public Types | |
typedef rw::core::Ptr< Render > | Ptr |
smart pointer type to this class | |
typedef DrawableNode::DrawType | DrawType |
when calling render on the draw mode or type can be specified. See DrawableNode::DrawType | |
Public Member Functions | |
virtual | ~Render () |
destructor | |
virtual void | draw (const DrawableNode::RenderInfo &info, DrawableNode::DrawType type, double alpha) const =0 |
draws the object. More... | |
Protected Member Functions | |
Render () | |
Only instances of classes inheriting Render is allowed. | |
Abstract base class for all renderable classes.
Classes that are able to render them self, may inherit from this class.
|
pure virtual |
draws the object.
info | [in] state and rendering specific info |
type | [in] the drawtype which is being used |
alpha | [in] the alpha value to render with |
Implemented in RenderPoints, RenderPlanes, RenderGhost, RenderCircles, RenderContacts, TactileArrayRender, RenderVelocity, RenderText, RenderScan, RenderPointCloud, RenderModel3D, RenderMatrix, RenderLines, RenderImage, RenderGeometry, RenderFrame, RenderForceTorque, RenderCameraFrustum, RenderArrow, BtDebugRender, RWDebugRender, RenderContacts, and ODEDebugRender.