Public Slots | Signals | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
LVRLabelInteractorStyle Class Reference

#include <LVRLabelInteractor.hpp>

Inheritance diagram for LVRLabelInteractorStyle:
Inheritance graph
[legend]

Public Slots

void extractLabel ()
 
void labelSelectedPoints (QString label)
 

Signals

void pointsSelected ()
 

Public Member Functions

 LVRLabelInteractorStyle ()
 
virtual void OnKeyUp ()
 
virtual void OnLeftButtonUp ()
 
virtual void OnRightButtonDown ()
 
virtual void OnRightButtonUp ()
 
void SetPoints (vtkSmartPointer< vtkPolyData > points)
 
 vtkTypeMacro (LVRLabelInteractorStyle, LVRInteractorStylePolygonPick)
 
- Public Member Functions inherited from LVRInteractorStylePolygonPick
std::vector< vtkVector2i > GetPolygonPoints ()
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetLassoTool ()
 
void SetPolygonTool ()
 
void StartSelect ()
 
 vtkBooleanMacro (DrawPolygonPixels, bool)
 
 vtkGetMacro (DrawPolygonPixels, bool)
 
 vtkSetMacro (DrawPolygonPixels, bool)
 
 vtkTypeMacro (LVRInteractorStylePolygonPick, vtkInteractorStyleTrackballCamera)
 
void OnMouseMove () override
 
void OnLeftButtonDown () override
 
void OnLeftButtonUp () override
 
void OnChar () override
 
void OnKeyDown () override
 

Static Public Member Functions

static LVRLabelInteractorStyleNew ()
 
- Static Public Member Functions inherited from LVRInteractorStylePolygonPick
static LVRInteractorStylePolygonPickNew ()
 

Private Member Functions

void calculateSelection (bool select)
 

Private Attributes

std::vector< std::vector< uint8_t > > colors
 
std::vector< std::vector< bool > > foo2
 
std::vector< vtkSmartPointer< vtkActor > > m_labelActors
 
QStringList m_labelList
 
std::vector< uint8_t > m_pointLabels
 
vtkSmartPointer< vtkPolyData > m_points
 
vtkSmartPointer< vtkIdTypeArray > m_selectedIds
 
std::vector< bool > m_SelectedPoints
 
vtkSmartPointer< vtkActor > SelectedActor
 
vtkSmartPointer< vtkDataSetMapper > SelectedMapper
 

Additional Inherited Members

- Protected Member Functions inherited from LVRInteractorStylePolygonPick
virtual void DrawPolygon ()
 
 LVRInteractorStylePolygonPick ()
 
virtual void Pick ()
 
 ~LVRInteractorStylePolygonPick () override
 
- Protected Attributes inherited from LVRInteractorStylePolygonPick
int CurrentMode
 
bool DrawPolygonPixels
 
int EndPosition [2]
 
bool firstPoint = true
 
bool lassoToolSelected = true
 
int Moving
 
vtkUnsignedCharArray * PixelArray
 
int StartPosition [2]
 

Detailed Description

Definition at line 35 of file LVRLabelInteractor.hpp.

Constructor & Destructor Documentation

◆ LVRLabelInteractorStyle()

LVRLabelInteractorStyle::LVRLabelInteractorStyle ( )

Definition at line 10 of file LVRLabelInteractor.cpp.

Member Function Documentation

◆ calculateSelection()

void LVRLabelInteractorStyle::calculateSelection ( bool  select)
private

Definition at line 67 of file LVRLabelInteractor.cpp.

◆ extractLabel

void LVRLabelInteractorStyle::extractLabel ( )
slot

Definition at line 185 of file LVRLabelInteractor.cpp.

◆ labelSelectedPoints

void LVRLabelInteractorStyle::labelSelectedPoints ( QString  label)
slot

Definition at line 180 of file LVRLabelInteractor.cpp.

◆ New()

static LVRLabelInteractorStyle* LVRLabelInteractorStyle::New ( )
static

◆ OnKeyUp()

void LVRLabelInteractorStyle::OnKeyUp ( )
virtual

Definition at line 199 of file LVRLabelInteractor.cpp.

◆ OnLeftButtonUp()

void LVRLabelInteractorStyle::OnLeftButtonUp ( )
virtual

Definition at line 42 of file LVRLabelInteractor.cpp.

◆ OnRightButtonDown()

void LVRLabelInteractorStyle::OnRightButtonDown ( )
virtual

Definition at line 32 of file LVRLabelInteractor.cpp.

◆ OnRightButtonUp()

void LVRLabelInteractorStyle::OnRightButtonUp ( )
virtual

Definition at line 38 of file LVRLabelInteractor.cpp.

◆ pointsSelected

void LVRLabelInteractorStyle::pointsSelected ( )
signal

◆ SetPoints()

void LVRLabelInteractorStyle::SetPoints ( vtkSmartPointer< vtkPolyData >  points)
inline

Definition at line 48 of file LVRLabelInteractor.hpp.

◆ vtkTypeMacro()

LVRLabelInteractorStyle::vtkTypeMacro ( LVRLabelInteractorStyle  ,
LVRInteractorStylePolygonPick   
)

Member Data Documentation

◆ colors

std::vector<std::vector<uint8_t> > LVRLabelInteractorStyle::colors
private

Definition at line 69 of file LVRLabelInteractor.hpp.

◆ foo2

std::vector<std::vector<bool> > LVRLabelInteractorStyle::foo2
private

Definition at line 63 of file LVRLabelInteractor.hpp.

◆ m_labelActors

std::vector<vtkSmartPointer<vtkActor> > LVRLabelInteractorStyle::m_labelActors
private

Definition at line 64 of file LVRLabelInteractor.hpp.

◆ m_labelList

QStringList LVRLabelInteractorStyle::m_labelList
private

Definition at line 68 of file LVRLabelInteractor.hpp.

◆ m_pointLabels

std::vector<uint8_t> LVRLabelInteractorStyle::m_pointLabels
private

Definition at line 65 of file LVRLabelInteractor.hpp.

◆ m_points

vtkSmartPointer<vtkPolyData> LVRLabelInteractorStyle::m_points
private

Definition at line 61 of file LVRLabelInteractor.hpp.

◆ m_selectedIds

vtkSmartPointer<vtkIdTypeArray> LVRLabelInteractorStyle::m_selectedIds
private

Definition at line 60 of file LVRLabelInteractor.hpp.

◆ m_SelectedPoints

std::vector<bool> LVRLabelInteractorStyle::m_SelectedPoints
private

Definition at line 62 of file LVRLabelInteractor.hpp.

◆ SelectedActor

vtkSmartPointer<vtkActor> LVRLabelInteractorStyle::SelectedActor
private

Definition at line 66 of file LVRLabelInteractor.hpp.

◆ SelectedMapper

vtkSmartPointer<vtkDataSetMapper> LVRLabelInteractorStyle::SelectedMapper
private

Definition at line 67 of file LVRLabelInteractor.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:10