Abstract class defining core mechanisms to adapt dynamic objects to the visual Helios context based on PCL and VTK libraries.
More...
#include <VHDynObjectAdapter.h>
|
ScenePart & | staticObj |
| 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)
|
|
Abstract class defining core mechanisms to adapt dynamic objects to the visual Helios context based on PCL and VTK libraries.
- Author
- Alberto M. Esmoris Pena
- Version
- 1.0
◆ VHDynObjectAdapter()
visualhelios::VHDynObjectAdapter::VHDynObjectAdapter |
( |
DynObject & |
dynObj | ) |
|
|
inline |
Constructor for the visual Helios dynamic object adapter.
- Parameters
-
dynObj | Dynamic object to be adapted for visual Helios |
◆ doStep()
bool VHDynObjectAdapter::doStep |
( |
bool const |
forceStep = false , |
|
|
bool const |
forceRebuild = false |
|
) |
| |
Method to adapt dynamic object computations over time to visual Helios.
- Parameters
-
forceStep | True to specify that underlying dynamic object must be forced to execute its doStep method, false otherwise. Forcing step might be useful to force dynamic object step computation when it does not belong to a dynamic scene which handles doStep calls. |
forceRebuild | True to specify the polygon mesh must be rebuilt, false otherwise. |
- Returns
- True if the dynamic object was modified, false otherwise
◆ getDynObj()
DynObject& visualhelios::VHDynObjectAdapter::getDynObj |
( |
| ) |
|
|
inline |
Obtain the dynamic object.
WARNING this getter returns the dynamic object reference allowing modifications. Use with caution.
- Returns
- Dynamic object
The documentation for this class was generated from the following files: