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

Class providing concrete implementation of a VHStaticObjectAdapter for a simple XYZ visualization with no color nor intensity. More...

#include <VHStaticObjectXYZAdapter.h>

Inheritance diagram for visualhelios::VHStaticObjectXYZAdapter:
Collaboration diagram for visualhelios::VHStaticObjectXYZAdapter:

Public Member Functions

 VHStaticObjectXYZAdapter (ScenePart &staticObj)
 Constructor for the visual Helios static object adapter providing XYZ visualization. More...
 
void constructPolymesh () override
 
void vertexToMesh (Vertex const &vertex) override
 
pcl::PointCloud< pcl::PointXYZ >::ConstPtr getPolymesh () const
 Obtain the polygon mesh representing the static object in a \(\mathbb{R}^{3}\) space with no color nor intensity. 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...
 

Protected Attributes

pcl::PointCloud< pcl::PointXYZ >::Ptr polymesh
 Polygon mesh representing the static object in a \(\mathbb{R}^{3}\) space with no color nor intensity.
 
- 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 VHStaticObjectAdapter for a simple XYZ visualization with no color nor intensity.

Author
Alberto M. Esmoris Pena
Version
1.0
See also
visualhelios::VHStaticObjectAdapter

Constructor & Destructor Documentation

◆ VHStaticObjectXYZAdapter()

visualhelios::VHStaticObjectXYZAdapter::VHStaticObjectXYZAdapter ( ScenePart staticObj)
inline

Constructor for the visual Helios static object adapter providing XYZ visualization.

See also
VHStaticObjectAdapter::VHStaticObjectAdapter(ScenePart &)

Member Function Documentation

◆ constructPolymesh()

void VHStaticObjectXYZAdapter::constructPolymesh ( )
overridevirtual

◆ getPolymesh()

pcl::PointCloud<pcl::PointXYZ>::ConstPtr visualhelios::VHStaticObjectXYZAdapter::getPolymesh ( ) const
inline

Obtain the polygon mesh representing the static object in a \(\mathbb{R}^{3}\) space with no color nor intensity.

Returns
Polygon mesh representing the static object in a \(\mathbb{R}^{3}\) space with no color nor intensity

◆ vertexToMesh()

void VHStaticObjectXYZAdapter::vertexToMesh ( Vertex const &  vertex)
overridevirtual

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