Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lvr2::LVRModelBridge Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ LVRModelBridge() [1/2]

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.

◆ LVRModelBridge() [2/2]

lvr2::LVRModelBridge::LVRModelBridge ( const LVRModelBridge b)

Definition at line 71 of file LVRModelBridge.cpp.

◆ ~LVRModelBridge()

lvr2::LVRModelBridge::~LVRModelBridge ( )
virtual

Destructor.

Definition at line 206 of file LVRModelBridge.cpp.

Member Function Documentation

◆ addActors()

void lvr2::LVRModelBridge::addActors ( vtkSmartPointer< vtkRenderer >  renderer)

Adds the generated actors to the given renderer.

Definition at line 158 of file LVRModelBridge.cpp.

◆ doStuff()

void lvr2::LVRModelBridge::doStuff ( vtkSmartPointer< vtkTransform >  transform)
private

Definition at line 127 of file LVRModelBridge.cpp.

◆ getMeshBridge()

MeshBufferBridgePtr lvr2::LVRModelBridge::getMeshBridge ( )
inline

Definition at line 103 of file LVRModelBridge.hpp.

◆ getPointBridge()

PointBufferBridgePtr lvr2::LVRModelBridge::getPointBridge ( )
inline

Definition at line 99 of file LVRModelBridge.hpp.

◆ getPose()

Pose lvr2::LVRModelBridge::getPose ( )

Definition at line 153 of file LVRModelBridge.cpp.

◆ removeActors()

void lvr2::LVRModelBridge::removeActors ( vtkSmartPointer< vtkRenderer >  renderer)

Removes the generated actors from the given renderer.

Definition at line 189 of file LVRModelBridge.cpp.

◆ setNormalsVisibility()

void lvr2::LVRModelBridge::setNormalsVisibility ( bool  visible)

Definition at line 201 of file LVRModelBridge.cpp.

◆ setPose()

void lvr2::LVRModelBridge::setPose ( const Pose pose)

Definition at line 88 of file LVRModelBridge.cpp.

◆ setTransform()

void lvr2::LVRModelBridge::setTransform ( const Transformd transform)

Definition at line 102 of file LVRModelBridge.cpp.

◆ setVisibility()

void lvr2::LVRModelBridge::setVisibility ( bool  visible)

Definition at line 195 of file LVRModelBridge.cpp.

◆ validMeshBridge()

bool lvr2::LVRModelBridge::validMeshBridge ( )

Definition at line 83 of file LVRModelBridge.cpp.

◆ validPointBridge()

bool lvr2::LVRModelBridge::validPointBridge ( )

Definition at line 78 of file LVRModelBridge.cpp.

Friends And Related Function Documentation

◆ LVRModelItem

friend class LVRModelItem
friend

Definition at line 109 of file LVRModelBridge.hpp.

Member Data Documentation

◆ m_meshBridge

MeshBufferBridgePtr lvr2::LVRModelBridge::m_meshBridge
private

Definition at line 116 of file LVRModelBridge.hpp.

◆ m_pointBridge

PointBufferBridgePtr lvr2::LVRModelBridge::m_pointBridge
private

Definition at line 115 of file LVRModelBridge.hpp.

◆ m_pose

Pose lvr2::LVRModelBridge::m_pose
private

Definition at line 117 of file LVRModelBridge.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27