Class defining core mechanisms to adapt dynamic scenes to the visual Helios context based on PCL and VTK libraries.
More...
#include <VHDynSceneAdapter.h>
|
DynScene & | dynScene |
| The adapted dynamic scene. More...
|
|
vector< shared_ptr< DT > > | dynObjs |
| Vector of adapted dynamic objects from the adapted dynamic scene. More...
|
|
vector< shared_ptr< ST > > | staticObjs |
| Vector of adapted static objects from the adapted dynamic scene. More...
|
|
template<typename ST, typename DT>
class visualhelios::VHDynSceneAdapter< ST, DT >
Class defining core mechanisms to adapt dynamic scenes to the visual Helios context based on PCL and VTK libraries.
- Author
- Alberto M. Esmoris Pena
- Version
- 1.0
- Template Parameters
-
ST | Type of static object adapter to be used by the dynamic scene adapter |
DT | Type of dynamic object adapter to be used by the dynamic scene adapter |
- See also
- visualhelios::VHDynObjectAdapter
◆ VHDynSceneAdapter()
template<typename ST , typename DT >
Constructor for the visual Helios dynamic scene adapter.
- Parameters
-
dynScene | Dynamic scene to be adapted for visual Helios |
◆ doStep()
template<typename ST , typename DT >
Method to adapt dynamic scene computations over time to visual Helios.
- Returns
- True if the dynamic scene was modified, false otherwise
◆ getAdaptedDynObj()
template<typename ST , typename DT >
Obtain the adapted dynamic object at given index.
- Parameters
-
index | Index of the dynamic object to be obtained |
- Returns
- Adapted dynamic object at given index
- See also
- visualhelios::VHDynObjectAdapter
◆ getAdaptedStaticObj()
template<typename ST , typename DT >
Obtain the adapted static object at given index.
- Parameters
-
index | Index of the static object to be obtained |
- Returns
- Adapted static object at given index
- See also
- visualhelios::VHStaticObjectAdapter
◆ getDynObj()
template<typename ST , typename DT >
◆ getDynScene()
template<typename ST , typename DT >
Obtain the adapted dynamic scene.
WARNING this getter returns the dynamic scene reference allowing modifications. Use with caution.
- Returns
- Adapted dynamic scene
◆ getId()
template<typename ST , typename DT >
◆ getStaticObj()
template<typename ST , typename DT >
◆ isDynObjectRenderingNormals()
template<typename ST , typename DT >
◆ isDynObjectUpdated()
template<typename ST , typename DT >
Check if the dynamic object at given index has been updated on last step (true) or not (false)
- Parameters
-
index | Index of dynamic object to be checked |
- Returns
- True if dynamic object at given index has been udpated on last step, false otherwise
- See also
- DynScene::isUpdated
◆ isStaticObjectRenderingNormals()
template<typename ST , typename DT >
◆ numDynObjects()
template<typename ST , typename DT >
Obtain the number of dynamic objects composing the dynamic scene.
- Returns
- Number of dynamic objects composing the dynamic scene
◆ numStaticObjects()
template<typename ST , typename DT >
Obtain the number of static objects composing the dynamic scene.
- Returns
- Number of static objects composing the dynamic scene
◆ setDynObjectRenderingNormals()
template<typename ST , typename DT >
◆ setStaticObjectRenderingNormals()
template<typename ST , typename DT >
◆ dynObjs
template<typename ST , typename DT >
◆ dynScene
template<typename ST , typename DT >
The adapted dynamic scene.
- See also
- DynScene
◆ staticObjs
template<typename ST , typename DT >
The documentation for this class was generated from the following file: