Public Member Functions | Private Types | Private Attributes | List of all members
lvr2::LVRVtkArrow Class Reference

A wrapper class to generate arrow actors for vtk based on VTK's oriented arrow example. More...

#include <LVRVtkArrow.hpp>

Public Member Functions

vtkSmartPointer< vtkActor > getArrowActor ()
 
vtkSmartPointer< vtkActor > getEndActor ()
 
vtkSmartPointer< vtkActor > getStartActor ()
 
 LVRVtkArrow (Vec start, Vec end)
 
void restoreColor ()
 
void setTmpColor (double r, double g, double b)
 
virtual ~LVRVtkArrow ()
 

Private Types

using Vec = BaseVector< float >
 

Private Attributes

vtkSmartPointer< vtkActor > m_arrowActor
 
double m_b
 
Vec m_end
 
vtkSmartPointer< vtkActor > m_endActor
 
double m_g
 
double m_r
 
Vec m_start
 
vtkSmartPointer< vtkActor > m_startActor
 

Detailed Description

A wrapper class to generate arrow actors for vtk based on VTK's oriented arrow example.

Definition at line 49 of file LVRVtkArrow.hpp.

Member Typedef Documentation

◆ Vec

using lvr2::LVRVtkArrow::Vec = BaseVector<float>
private

Definition at line 51 of file LVRVtkArrow.hpp.

Constructor & Destructor Documentation

◆ LVRVtkArrow()

lvr2::LVRVtkArrow::LVRVtkArrow ( Vec  start,
Vec  end 
)

Definition at line 56 of file LVRVtkArrow.cpp.

◆ ~LVRVtkArrow()

lvr2::LVRVtkArrow::~LVRVtkArrow ( )
virtual

Definition at line 165 of file LVRVtkArrow.cpp.

Member Function Documentation

◆ getArrowActor()

vtkSmartPointer< vtkActor > lvr2::LVRVtkArrow::getArrowActor ( )

Definition at line 150 of file LVRVtkArrow.cpp.

◆ getEndActor()

vtkSmartPointer< vtkActor > lvr2::LVRVtkArrow::getEndActor ( )

Definition at line 160 of file LVRVtkArrow.cpp.

◆ getStartActor()

vtkSmartPointer< vtkActor > lvr2::LVRVtkArrow::getStartActor ( )

Definition at line 155 of file LVRVtkArrow.cpp.

◆ restoreColor()

void lvr2::LVRVtkArrow::restoreColor ( )

Definition at line 140 of file LVRVtkArrow.cpp.

◆ setTmpColor()

void lvr2::LVRVtkArrow::setTmpColor ( double  r,
double  g,
double  b 
)

Definition at line 145 of file LVRVtkArrow.cpp.

Member Data Documentation

◆ m_arrowActor

vtkSmartPointer<vtkActor> lvr2::LVRVtkArrow::m_arrowActor
private

Definition at line 67 of file LVRVtkArrow.hpp.

◆ m_b

double lvr2::LVRVtkArrow::m_b
private

Definition at line 74 of file LVRVtkArrow.hpp.

◆ m_end

Vec lvr2::LVRVtkArrow::m_end
private

Definition at line 71 of file LVRVtkArrow.hpp.

◆ m_endActor

vtkSmartPointer<vtkActor> lvr2::LVRVtkArrow::m_endActor
private

Definition at line 69 of file LVRVtkArrow.hpp.

◆ m_g

double lvr2::LVRVtkArrow::m_g
private

Definition at line 73 of file LVRVtkArrow.hpp.

◆ m_r

double lvr2::LVRVtkArrow::m_r
private

Definition at line 72 of file LVRVtkArrow.hpp.

◆ m_start

Vec lvr2::LVRVtkArrow::m_start
private

Definition at line 70 of file LVRVtkArrow.hpp.

◆ m_startActor

vtkSmartPointer<vtkActor> lvr2::LVRVtkArrow::m_startActor
private

Definition at line 68 of file LVRVtkArrow.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 Mon Feb 28 2022 22:46:12