Helios++
Helios software for LiDAR simulations
visualhelios::VHDynObjectXYZRGBAdapter Class Reference

Class providing concrete implementation of a VHDynObjectAdapter for a simple XYZ visualization with RGB color. More...

#include <VHDynObjectXYZRGBAdapter.h>

Inheritance diagram for visualhelios::VHDynObjectXYZRGBAdapter:
Collaboration diagram for visualhelios::VHDynObjectXYZRGBAdapter:

Public Member Functions

 VHDynObjectXYZRGBAdapter (DynObject &dynObj)
 Constructor for the visual Helios dynamic object adapter providing XYZ visualization with RGB color. More...
 
- Public Member Functions inherited from visualhelios::VHStaticObjectXYZRGBAdapter
 VHStaticObjectXYZRGBAdapter (ScenePart &staticObj)
 Constructor for the visual Helios static object adapter providing XYZ visualization with RGB color. More...
 
void constructPolymesh () override
 
void vertexToMesh (Vertex const &vertex) override
 
pcl::PointCloud< pcl::PointXYZRGB >::ConstPtr getPolymesh () const
 Obtain the polygon mesh representing the static object in a \(\mathbb{R}^{3}\) space with RGB color. More...
 
- Public Member Functions inherited from visualhelios::VHStaticObjectAdapter
 VHStaticObjectAdapter (ScenePart &staticObj)
 Constructor for the visual Helios static object adapter. More...
 
virtual void buildPolymesh ()
 Build the polygon mesh from static object primitives. This implies building corresponding vertices vector too. More...
 
virtual void addTriangleToPolymesh (Primitive *primitive, int &offset)
 Function to add triangle primitives to the polymesh during building time. More...
 
virtual void addVoxelToPolymesh (Primitive *primitive, int &offset)
 Function to add voxel primitives to the polymesh during building time. More...
 
ScenePartgetStaticObj ()
 Obtain the static object. More...
 
vector< pcl::Vertices > const & getVertices () const
 Obtain the ordered vertices indices representing the static object. More...
 
string const & getId () const
 Obtain the ID of the static object. More...
 
bool isRenderingNormals () const
 Check whether the static object normals must be rendered or not. More...
 
void setRenderingNormals (bool const renderingNormals)
 Enable or disable normals rendering for the static object. More...
 
- Public Member Functions inherited from visualhelios::VHDynObjectAdapter
 VHDynObjectAdapter (DynObject &dynObj)
 Constructor for the visual Helios dynamic object adapter. More...
 
bool doStep (bool const forceStep=false, bool const forceRebuild=false)
 Method to adapt dynamic object computations over time to visual Helios. More...
 
DynObjectgetDynObj ()
 Obtain the dynamic object. More...
 

Additional Inherited Members

- Protected Attributes inherited from visualhelios::VHStaticObjectXYZRGBAdapter
pcl::PointCloud< pcl::PointXYZRGB >::Ptr polymesh
 Polygon mesh representing the static object in a \(\mathbb{R}^{3}\) space with RGB color.
 
- Protected Attributes inherited from visualhelios::VHStaticObjectAdapter
ScenePartstaticObj
 The adapted static object. More...
 
vector< pcl::Vertices > vertices
 Static object vertices connection specification through ordered indices for visualization purposes. More...
 
bool renderingNormals
 Specify if the static object normals must be rendered (true) or not (false)
 

Detailed Description

Class providing concrete implementation of a VHDynObjectAdapter for a simple XYZ visualization with RGB color.

Author
Alberto M. Esmoris Pena
Version
1.0

Constructor & Destructor Documentation

◆ VHDynObjectXYZRGBAdapter()

visualhelios::VHDynObjectXYZRGBAdapter::VHDynObjectXYZRGBAdapter ( DynObject dynObj)
inline

Constructor for the visual Helios dynamic object adapter providing XYZ visualization with RGB color.

See also
visualhelios::VHDynObjectAdapter::VHDynObjectAdapter(DynObject &)

The documentation for this class was generated from the following file: