Main class for conversion of LVR model instances to vtk actors. This class parses the internal model structures to vtk representations that can be added to a vtkRenderer instance. More...
#include <LVRModelBridge.hpp>
Public Member Functions | |
void | addActors (vtkSmartPointer< vtkRenderer > renderer) |
Adds the generated actors to the given renderer. More... | |
MeshBufferBridgePtr | getMeshBridge () |
PointBufferBridgePtr | getPointBridge () |
Pose | getPose () |
LVRModelBridge (const LVRModelBridge &b) | |
LVRModelBridge (ModelPtr model) | |
Constructor. Parses the model information and generates vtk actor instances for the given data. More... | |
void | removeActors (vtkSmartPointer< vtkRenderer > renderer) |
Removes the generated actors from the given renderer. More... | |
void | setNormalsVisibility (bool visible) |
void | setPose (const Pose &pose) |
void | setTransform (const Transformd &transform) |
void | setVisibility (bool visible) |
bool | validMeshBridge () |
bool | validPointBridge () |
virtual | ~LVRModelBridge () |
Destructor. More... | |
Private Member Functions | |
void | doStuff (vtkSmartPointer< vtkTransform > transform) |
Private Attributes | |
MeshBufferBridgePtr | m_meshBridge |
PointBufferBridgePtr | m_pointBridge |
Pose | m_pose |
Friends | |
class | LVRModelItem |
Main class for conversion of LVR model instances to vtk actors. This class parses the internal model structures to vtk representations that can be added to a vtkRenderer instance.
Definition at line 61 of file LVRModelBridge.hpp.
lvr2::LVRModelBridge::LVRModelBridge | ( | ModelPtr | model | ) |
Constructor. Parses the model information and generates vtk actor instances for the given data.
Definition at line 47 of file LVRModelBridge.cpp.
lvr2::LVRModelBridge::LVRModelBridge | ( | const LVRModelBridge & | b | ) |
Definition at line 71 of file LVRModelBridge.cpp.
|
virtual |
Destructor.
Definition at line 206 of file LVRModelBridge.cpp.
void lvr2::LVRModelBridge::addActors | ( | vtkSmartPointer< vtkRenderer > | renderer | ) |
Adds the generated actors to the given renderer.
Definition at line 158 of file LVRModelBridge.cpp.
|
private |
Definition at line 127 of file LVRModelBridge.cpp.
|
inline |
Definition at line 103 of file LVRModelBridge.hpp.
|
inline |
Definition at line 99 of file LVRModelBridge.hpp.
Pose lvr2::LVRModelBridge::getPose | ( | ) |
Definition at line 153 of file LVRModelBridge.cpp.
void lvr2::LVRModelBridge::removeActors | ( | vtkSmartPointer< vtkRenderer > | renderer | ) |
Removes the generated actors from the given renderer.
Definition at line 189 of file LVRModelBridge.cpp.
void lvr2::LVRModelBridge::setNormalsVisibility | ( | bool | visible | ) |
Definition at line 201 of file LVRModelBridge.cpp.
void lvr2::LVRModelBridge::setPose | ( | const Pose & | pose | ) |
Definition at line 88 of file LVRModelBridge.cpp.
void lvr2::LVRModelBridge::setTransform | ( | const Transformd & | transform | ) |
Definition at line 102 of file LVRModelBridge.cpp.
void lvr2::LVRModelBridge::setVisibility | ( | bool | visible | ) |
Definition at line 195 of file LVRModelBridge.cpp.
bool lvr2::LVRModelBridge::validMeshBridge | ( | ) |
Definition at line 83 of file LVRModelBridge.cpp.
bool lvr2::LVRModelBridge::validPointBridge | ( | ) |
Definition at line 78 of file LVRModelBridge.cpp.
|
friend |
Definition at line 109 of file LVRModelBridge.hpp.
|
private |
Definition at line 116 of file LVRModelBridge.hpp.
|
private |
Definition at line 115 of file LVRModelBridge.hpp.
|
private |
Definition at line 117 of file LVRModelBridge.hpp.