Public Slots | Signals | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
lvr2::LVRPickingInteractor Class Reference

#include <LVRPickingInteractor.hpp>

Inheritance diagram for lvr2::LVRPickingInteractor:
Inheritance graph
[legend]

Public Slots

void correspondenceSearchOff ()
 
void correspondenceSearchOn ()
 
void labelingOff ()
 
void labelingOn ()
 
void labelModeChanged (bool)
 
void labelSelected (uint16_t)
 
void modeShooter ()
 
void modeTerrain ()
 
void modeTrackball ()
 
void newLabel (QTreeWidgetItem *)
 
void pickFocalPoint ()
 
void requestLabels ()
 
void resetCamera ()
 
void setFocalPointRendering (int state)
 
void setLabel (int, std::vector< int >)
 
void setLabeledPointVisibility (int, bool)
 
void setLassoTool (bool)
 
void setMotionFactor (double factor)
 
void setRotationFactor (double factor)
 
void setStereoMode (int state)
 

Signals

void clusterSelected (double *)
 
void firstPointPicked (double *)
 
void labelingStarted (bool)
 
void pointSelected (vtkActor *, int)
 
void pointsLabeled (uint16_t, int)
 
void responseLabels (std::vector< uint16_t >)
 
void secondPointPicked (double *)
 

Public Member Functions

virtual void Dolly ()
 
virtual void Dolly (double factor)
 
std::vector< uint16_t > & getLabeles ()
 
vtkSmartPointer< vtkPolyData > getPoints ()
 
vtkSmartPointer< vtkTextActor > getTextActor ()
 returns the text-actor, needed to readd-it after clearing the render window More...
 
 LVRPickingInteractor ()
 
virtual void OnChar ()
 
virtual void OnKeyDown ()
 
virtual void OnKeyPress ()
 Overloaded keyboard press event handling. More...
 
virtual void OnKeyRelease ()
 Overloaded keyboard release event handling. More...
 
virtual void OnLeftButtonDown ()
 Overloaded mouse event handling. More...
 
virtual void OnLeftButtonUp ()
 
virtual void OnMiddleButtonDown ()
 
virtual void OnMiddleButtonUp ()
 
virtual void OnMouseMove ()
 
virtual void OnMouseWheelBackward ()
 
virtual void OnMouseWheelForward ()
 
virtual void OnRightButtonDown ()
 
virtual void OnRightButtonUp ()
 
virtual void OnTimer ()
 
virtual void Pan ()
 
void removeLabel (const int &)
 
virtual void Rotate ()
 
void setPoints (vtkSmartPointer< vtkPolyData > points)
 
void setRenderer (vtkSmartPointer< vtkRenderer > renderer)
 
virtual void Spin ()
 
void updateFocalPoint ()
 
 vtkTypeMacro (LVRPickingInteractor, LVRInteractorStylePolygonPick)
 
virtual void Zoom ()
 
virtual ~LVRPickingInteractor ()
 
- Public Member Functions inherited from LVRInteractorStylePolygonPick
std::vector< vtkVector2i > GetPolygonPoints ()
 
void OnChar () override
 
void OnKeyDown () override
 
void OnLeftButtonDown () override
 
void OnLeftButtonUp () override
 
void OnMouseMove () override
 
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)
 

Static Public Member Functions

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

Private Types

enum  InteractorMode { TRACKBALL, SHOOTER, TERRAIN }
 
enum  PickMode {
  None, PickPoint, PickFirst, PickSecond,
  PickFocal, PickLabel
}
 
enum  ShooterMode { LOOK, HOVER }
 

Private Member Functions

void calculateSelection (bool select)
 
void discardChanges ()
 
void dollyShooter ()
 
void dollyShooter (double factor)
 
void dollyTerrain ()
 
void dollyTerrain (double factor)
 
void dollyTrackball ()
 
void dollyTrackball (double factor)
 
void handlePicking ()
 
void hoverShooter ()
 
bool isInside (std::vector< vtkVector2i > *polygon, int &pX, int &pY)
 
void onLeftButtonDownShooter ()
 
void onLeftButtonDownTerrain ()
 
void onLeftButtonDownTrackball ()
 
void onLeftButtonUpShooter ()
 
void onLeftButtonUpTerrain ()
 
void onLeftButtonUpTrackball ()
 
void onMiddleButtonDownShooter ()
 
void onMiddleButtonDownTerrain ()
 
void onMiddleButtonDownTrackball ()
 
void onMiddleButtonUpShooter ()
 
void onMiddleButtonUpTerrain ()
 
void onMiddleButtonUpTrackball ()
 
void onMouseMoveShooter ()
 
void onMouseMoveTerrain ()
 
void onMouseMoveTrackball ()
 
void onMouseWheelBackwardShooter ()
 
void onMouseWheelBackwardTerrain ()
 
void onMouseWheelBackwardTrackball ()
 
void onMouseWheelForwardShooter ()
 
void onMouseWheelForwardTerrain ()
 
void onMouseWheelForwardTrackball ()
 
void onRightButtonDownShooter ()
 
void onRightButtonDownTerrain ()
 
void onRightButtonDownTrackball ()
 
void onRightButtonUpShooter ()
 
void onRightButtonUpTerrain ()
 
void onRightButtonUpTrackball ()
 
void panShooter ()
 
void panTerrain ()
 
void panTrackball ()
 
void resetViewUpShooter ()
 
void rotateShooter ()
 
void rotateTerrain ()
 
void rotateTrackball ()
 
void saveCurrentLabelSelection ()
 
void spinShooter ()
 
void spinTerrain ()
 
void spinTrackball ()
 
void strafeShooter (double factor)
 
void updateActor (int)
 
void zoomShooter ()
 
void zoomTerrain ()
 
void zoomTrackball ()
 

Private Attributes

bool m_correspondenceMode
 
vtkSmartPointer< vtkActor > m_cubeActor
 
InteractorMode m_interactorMode
 
std::map< uint16_t, vtkSmartPointer< vtkActor > > m_labelActors
 
std::map< uint16_t, QColor > m_labelColors
 
bool m_labelingMode
 
bool m_modified
 
float m_motionFactor
 
unsigned int m_numberOfClicks
 
PickMode m_pickMode
 Indicates picking mode. More...
 
std::vector< uint16_t > m_pointLabels
 
vtkSmartPointer< vtkPolyData > m_points
 
vtkSmartPointer< vtkActor > m_polyActor
 
int m_previousPosition [2]
 
vtkSmartPointer< vtkRenderer > m_renderer
 
float m_rotationFactor
 
vtkSmartPointer< vtkActor > m_selectedActor
 
vtkSmartPointer< vtkIdTypeArray > m_selectedIds
 
int m_selectedLabel
 
vtkSmartPointer< vtkDataSetMapper > m_selectedMapper
 
std::vector< bool > m_selectedPoints
 
ShooterMode m_shooterMode
 
vtkSmartPointer< vtkActor > m_sphereActor
 
int m_startCameraMovePosition [2]
 
vtkSmartPointer< vtkTextActor > m_textActor
 Text actor to display info if in picking mode. More...
 
double m_viewUp [3]
 

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 60 of file LVRPickingInteractor.hpp.

Member Enumeration Documentation

◆ InteractorMode

Enumerator
TRACKBALL 
SHOOTER 
TERRAIN 

Definition at line 158 of file LVRPickingInteractor.hpp.

◆ PickMode

Enumerator
None 
PickPoint 
PickFirst 
PickSecond 
PickFocal 
PickLabel 

Definition at line 160 of file LVRPickingInteractor.hpp.

◆ ShooterMode

Enumerator
LOOK 
HOVER 

Definition at line 159 of file LVRPickingInteractor.hpp.

Constructor & Destructor Documentation

◆ LVRPickingInteractor()

lvr2::LVRPickingInteractor::LVRPickingInteractor ( )

Definition at line 74 of file LVRPickingInteractor.cpp.

◆ ~LVRPickingInteractor()

lvr2::LVRPickingInteractor::~LVRPickingInteractor ( )
virtual

Definition at line 224 of file LVRPickingInteractor.cpp.

Member Function Documentation

◆ calculateSelection()

void lvr2::LVRPickingInteractor::calculateSelection ( bool  select)
private

Definition at line 1785 of file LVRPickingInteractor.cpp.

◆ clusterSelected

void lvr2::LVRPickingInteractor::clusterSelected ( double *  )
signal

◆ correspondenceSearchOff

void lvr2::LVRPickingInteractor::correspondenceSearchOff ( )
slot

Definition at line 1323 of file LVRPickingInteractor.cpp.

◆ correspondenceSearchOn

void lvr2::LVRPickingInteractor::correspondenceSearchOn ( )
slot

Definition at line 1313 of file LVRPickingInteractor.cpp.

◆ discardChanges()

void lvr2::LVRPickingInteractor::discardChanges ( )
private

Definition at line 2025 of file LVRPickingInteractor.cpp.

◆ Dolly() [1/2]

void lvr2::LVRPickingInteractor::Dolly ( )
virtual

Definition at line 230 of file LVRPickingInteractor.cpp.

◆ Dolly() [2/2]

void lvr2::LVRPickingInteractor::Dolly ( double  factor)
virtual

Definition at line 248 of file LVRPickingInteractor.cpp.

◆ dollyShooter() [1/2]

void lvr2::LVRPickingInteractor::dollyShooter ( )
private

Definition at line 531 of file LVRPickingInteractor.cpp.

◆ dollyShooter() [2/2]

void lvr2::LVRPickingInteractor::dollyShooter ( double  factor)
private

Definition at line 600 of file LVRPickingInteractor.cpp.

◆ dollyTerrain() [1/2]

void lvr2::LVRPickingInteractor::dollyTerrain ( )
private

Definition at line 832 of file LVRPickingInteractor.cpp.

◆ dollyTerrain() [2/2]

void lvr2::LVRPickingInteractor::dollyTerrain ( double  factor)
private

Definition at line 868 of file LVRPickingInteractor.cpp.

◆ dollyTrackball() [1/2]

void lvr2::LVRPickingInteractor::dollyTrackball ( )
private

Definition at line 1148 of file LVRPickingInteractor.cpp.

◆ dollyTrackball() [2/2]

void lvr2::LVRPickingInteractor::dollyTrackball ( double  factor)
private

Definition at line 1108 of file LVRPickingInteractor.cpp.

◆ firstPointPicked

void lvr2::LVRPickingInteractor::firstPointPicked ( double *  )
signal

◆ getLabeles()

std::vector< uint16_t > & lvr2::LVRPickingInteractor::getLabeles ( )

Definition at line 2200 of file LVRPickingInteractor.cpp.

◆ getPoints()

vtkSmartPointer< vtkPolyData > lvr2::LVRPickingInteractor::getPoints ( )

Definition at line 2204 of file LVRPickingInteractor.cpp.

◆ getTextActor()

vtkSmartPointer<vtkTextActor> lvr2::LVRPickingInteractor::getTextActor ( )
inline

returns the text-actor, needed to readd-it after clearing the render window

Definition at line 111 of file LVRPickingInteractor.hpp.

◆ handlePicking()

void lvr2::LVRPickingInteractor::handlePicking ( )
private

Definition at line 1352 of file LVRPickingInteractor.cpp.

◆ hoverShooter()

void lvr2::LVRPickingInteractor::hoverShooter ( )
private

Definition at line 664 of file LVRPickingInteractor.cpp.

◆ isInside()

bool lvr2::LVRPickingInteractor::isInside ( std::vector< vtkVector2i > *  polygon,
int &  pX,
int &  pY 
)
private

Definition at line 1764 of file LVRPickingInteractor.cpp.

◆ labelingOff

void lvr2::LVRPickingInteractor::labelingOff ( )
slot

Definition at line 1344 of file LVRPickingInteractor.cpp.

◆ labelingOn

void lvr2::LVRPickingInteractor::labelingOn ( )
slot

Definition at line 1332 of file LVRPickingInteractor.cpp.

◆ labelingStarted

void lvr2::LVRPickingInteractor::labelingStarted ( bool  )
signal

◆ labelModeChanged

void lvr2::LVRPickingInteractor::labelModeChanged ( bool  setLabeling)
slot

Definition at line 2181 of file LVRPickingInteractor.cpp.

◆ labelSelected

void lvr2::LVRPickingInteractor::labelSelected ( uint16_t  newLabel)
slot

Definition at line 2048 of file LVRPickingInteractor.cpp.

◆ modeShooter

void lvr2::LVRPickingInteractor::modeShooter ( )
slot

Definition at line 219 of file LVRPickingInteractor.cpp.

◆ modeTerrain

void lvr2::LVRPickingInteractor::modeTerrain ( )
slot

Definition at line 209 of file LVRPickingInteractor.cpp.

◆ modeTrackball

void lvr2::LVRPickingInteractor::modeTrackball ( )
slot

Definition at line 214 of file LVRPickingInteractor.cpp.

◆ New()

static LVRPickingInteractor* lvr2::LVRPickingInteractor::New ( )
static

◆ newLabel

void lvr2::LVRPickingInteractor::newLabel ( QTreeWidgetItem *  item)
slot

Definition at line 1909 of file LVRPickingInteractor.cpp.

◆ OnChar()

void lvr2::LVRPickingInteractor::OnChar ( )
virtual

Definition at line 1684 of file LVRPickingInteractor.cpp.

◆ OnKeyDown()

void lvr2::LVRPickingInteractor::OnKeyDown ( )
virtual

Definition at line 1631 of file LVRPickingInteractor.cpp.

◆ OnKeyPress()

void lvr2::LVRPickingInteractor::OnKeyPress ( )
virtual

Overloaded keyboard press event handling.

Definition at line 1626 of file LVRPickingInteractor.cpp.

◆ OnKeyRelease()

void lvr2::LVRPickingInteractor::OnKeyRelease ( )
virtual

Overloaded keyboard release event handling.

Definition at line 1759 of file LVRPickingInteractor.cpp.

◆ OnLeftButtonDown()

void lvr2::LVRPickingInteractor::OnLeftButtonDown ( )
virtual

Overloaded mouse event handling.

Definition at line 341 of file LVRPickingInteractor.cpp.

◆ onLeftButtonDownShooter()

void lvr2::LVRPickingInteractor::onLeftButtonDownShooter ( )
private

Definition at line 729 of file LVRPickingInteractor.cpp.

◆ onLeftButtonDownTerrain()

void lvr2::LVRPickingInteractor::onLeftButtonDownTerrain ( )
private

Definition at line 990 of file LVRPickingInteractor.cpp.

◆ onLeftButtonDownTrackball()

void lvr2::LVRPickingInteractor::onLeftButtonDownTrackball ( )
private

Definition at line 1436 of file LVRPickingInteractor.cpp.

◆ OnLeftButtonUp()

void lvr2::LVRPickingInteractor::OnLeftButtonUp ( )
virtual

Definition at line 366 of file LVRPickingInteractor.cpp.

◆ onLeftButtonUpShooter()

void lvr2::LVRPickingInteractor::onLeftButtonUpShooter ( )
private

Definition at line 748 of file LVRPickingInteractor.cpp.

◆ onLeftButtonUpTerrain()

void lvr2::LVRPickingInteractor::onLeftButtonUpTerrain ( )
private

Definition at line 1003 of file LVRPickingInteractor.cpp.

◆ onLeftButtonUpTrackball()

void lvr2::LVRPickingInteractor::onLeftButtonUpTrackball ( )
private

Definition at line 1476 of file LVRPickingInteractor.cpp.

◆ OnMiddleButtonDown()

void lvr2::LVRPickingInteractor::OnMiddleButtonDown ( )
virtual

Definition at line 430 of file LVRPickingInteractor.cpp.

◆ onMiddleButtonDownShooter()

void lvr2::LVRPickingInteractor::onMiddleButtonDownShooter ( )
private

Definition at line 793 of file LVRPickingInteractor.cpp.

◆ onMiddleButtonDownTerrain()

void lvr2::LVRPickingInteractor::onMiddleButtonDownTerrain ( )
private

Definition at line 1058 of file LVRPickingInteractor.cpp.

◆ onMiddleButtonDownTrackball()

void lvr2::LVRPickingInteractor::onMiddleButtonDownTrackball ( )
private

Definition at line 1584 of file LVRPickingInteractor.cpp.

◆ OnMiddleButtonUp()

void lvr2::LVRPickingInteractor::OnMiddleButtonUp ( )
virtual

Definition at line 412 of file LVRPickingInteractor.cpp.

◆ onMiddleButtonUpShooter()

void lvr2::LVRPickingInteractor::onMiddleButtonUpShooter ( )
private

Definition at line 779 of file LVRPickingInteractor.cpp.

◆ onMiddleButtonUpTerrain()

void lvr2::LVRPickingInteractor::onMiddleButtonUpTerrain ( )
private

Definition at line 1044 of file LVRPickingInteractor.cpp.

◆ onMiddleButtonUpTrackball()

void lvr2::LVRPickingInteractor::onMiddleButtonUpTrackball ( )
private

Definition at line 1536 of file LVRPickingInteractor.cpp.

◆ OnMouseMove()

void lvr2::LVRPickingInteractor::OnMouseMove ( )
virtual

Definition at line 389 of file LVRPickingInteractor.cpp.

◆ onMouseMoveShooter()

void lvr2::LVRPickingInteractor::onMouseMoveShooter ( )
private

Definition at line 635 of file LVRPickingInteractor.cpp.

◆ onMouseMoveTerrain()

void lvr2::LVRPickingInteractor::onMouseMoveTerrain ( )
private

Definition at line 1017 of file LVRPickingInteractor.cpp.

◆ onMouseMoveTrackball()

void lvr2::LVRPickingInteractor::onMouseMoveTrackball ( )
private

Definition at line 1503 of file LVRPickingInteractor.cpp.

◆ OnMouseWheelBackward()

void lvr2::LVRPickingInteractor::OnMouseWheelBackward ( )
virtual

Definition at line 494 of file LVRPickingInteractor.cpp.

◆ onMouseWheelBackwardShooter()

void lvr2::LVRPickingInteractor::onMouseWheelBackwardShooter ( )
private

Definition at line 822 of file LVRPickingInteractor.cpp.

◆ onMouseWheelBackwardTerrain()

void lvr2::LVRPickingInteractor::onMouseWheelBackwardTerrain ( )
private

Definition at line 1098 of file LVRPickingInteractor.cpp.

◆ onMouseWheelBackwardTrackball()

void lvr2::LVRPickingInteractor::onMouseWheelBackwardTrackball ( )
private

Definition at line 1567 of file LVRPickingInteractor.cpp.

◆ OnMouseWheelForward()

void lvr2::LVRPickingInteractor::OnMouseWheelForward ( )
virtual

Definition at line 513 of file LVRPickingInteractor.cpp.

◆ onMouseWheelForwardShooter()

void lvr2::LVRPickingInteractor::onMouseWheelForwardShooter ( )
private

Definition at line 827 of file LVRPickingInteractor.cpp.

◆ onMouseWheelForwardTerrain()

void lvr2::LVRPickingInteractor::onMouseWheelForwardTerrain ( )
private

Definition at line 1103 of file LVRPickingInteractor.cpp.

◆ onMouseWheelForwardTrackball()

void lvr2::LVRPickingInteractor::onMouseWheelForwardTrackball ( )
private

Definition at line 1550 of file LVRPickingInteractor.cpp.

◆ OnRightButtonDown()

void lvr2::LVRPickingInteractor::OnRightButtonDown ( )
virtual

Definition at line 471 of file LVRPickingInteractor.cpp.

◆ onRightButtonDownShooter()

void lvr2::LVRPickingInteractor::onRightButtonDownShooter ( )
private

Definition at line 817 of file LVRPickingInteractor.cpp.

◆ onRightButtonDownTerrain()

void lvr2::LVRPickingInteractor::onRightButtonDownTerrain ( )
private

Definition at line 1085 of file LVRPickingInteractor.cpp.

◆ onRightButtonDownTrackball()

void lvr2::LVRPickingInteractor::onRightButtonDownTrackball ( )
private

Definition at line 1612 of file LVRPickingInteractor.cpp.

◆ OnRightButtonUp()

void lvr2::LVRPickingInteractor::OnRightButtonUp ( )
virtual

Definition at line 448 of file LVRPickingInteractor.cpp.

◆ onRightButtonUpShooter()

void lvr2::LVRPickingInteractor::onRightButtonUpShooter ( )
private

Definition at line 812 of file LVRPickingInteractor.cpp.

◆ onRightButtonUpTerrain()

void lvr2::LVRPickingInteractor::onRightButtonUpTerrain ( )
private

Definition at line 1071 of file LVRPickingInteractor.cpp.

◆ onRightButtonUpTrackball()

void lvr2::LVRPickingInteractor::onRightButtonUpTrackball ( )
private

Definition at line 1597 of file LVRPickingInteractor.cpp.

◆ OnTimer()

void lvr2::LVRPickingInteractor::OnTimer ( )
virtual

Definition at line 762 of file LVRPickingInteractor.cpp.

◆ Pan()

void lvr2::LVRPickingInteractor::Pan ( )
virtual

Definition at line 267 of file LVRPickingInteractor.cpp.

◆ panShooter()

void lvr2::LVRPickingInteractor::panShooter ( )
private

Definition at line 709 of file LVRPickingInteractor.cpp.

◆ panTerrain()

void lvr2::LVRPickingInteractor::panTerrain ( )
private

Definition at line 873 of file LVRPickingInteractor.cpp.

◆ panTrackball()

void lvr2::LVRPickingInteractor::panTrackball ( )
private

Definition at line 1187 of file LVRPickingInteractor.cpp.

◆ pickFocalPoint

void lvr2::LVRPickingInteractor::pickFocalPoint ( )
slot

Definition at line 1750 of file LVRPickingInteractor.cpp.

◆ pointSelected

void lvr2::LVRPickingInteractor::pointSelected ( vtkActor *  ,
int   
)
signal

◆ pointsLabeled

void lvr2::LVRPickingInteractor::pointsLabeled ( uint16_t  ,
int   
)
signal

◆ removeLabel()

void lvr2::LVRPickingInteractor::removeLabel ( const int &  id)

Definition at line 2208 of file LVRPickingInteractor.cpp.

◆ requestLabels

void lvr2::LVRPickingInteractor::requestLabels ( )
slot

Definition at line 2084 of file LVRPickingInteractor.cpp.

◆ resetCamera

void lvr2::LVRPickingInteractor::resetCamera ( )
slot

Definition at line 586 of file LVRPickingInteractor.cpp.

◆ resetViewUpShooter()

void lvr2::LVRPickingInteractor::resetViewUpShooter ( )
private

Definition at line 578 of file LVRPickingInteractor.cpp.

◆ responseLabels

void lvr2::LVRPickingInteractor::responseLabels ( std::vector< uint16_t >  )
signal

◆ Rotate()

void lvr2::LVRPickingInteractor::Rotate ( )
virtual

Definition at line 304 of file LVRPickingInteractor.cpp.

◆ rotateShooter()

void lvr2::LVRPickingInteractor::rotateShooter ( )
private

Definition at line 724 of file LVRPickingInteractor.cpp.

◆ rotateTerrain()

void lvr2::LVRPickingInteractor::rotateTerrain ( )
private

Definition at line 931 of file LVRPickingInteractor.cpp.

◆ rotateTrackball()

void lvr2::LVRPickingInteractor::rotateTrackball ( )
private

Definition at line 1275 of file LVRPickingInteractor.cpp.

◆ saveCurrentLabelSelection()

void lvr2::LVRPickingInteractor::saveCurrentLabelSelection ( )
private

Definition at line 1973 of file LVRPickingInteractor.cpp.

◆ secondPointPicked

void lvr2::LVRPickingInteractor::secondPointPicked ( double *  )
signal

◆ setFocalPointRendering

void lvr2::LVRPickingInteractor::setFocalPointRendering ( int  state)
slot

Definition at line 148 of file LVRPickingInteractor.cpp.

◆ setLabel

void lvr2::LVRPickingInteractor::setLabel ( int  labelId,
std::vector< int >  pointIds 
)
slot

Definition at line 2112 of file LVRPickingInteractor.cpp.

◆ setLabeledPointVisibility

void lvr2::LVRPickingInteractor::setLabeledPointVisibility ( int  id,
bool  visibility 
)
slot

Definition at line 2088 of file LVRPickingInteractor.cpp.

◆ setLassoTool

void lvr2::LVRPickingInteractor::setLassoTool ( bool  lassoToolSelected)
slot

Definition at line 2101 of file LVRPickingInteractor.cpp.

◆ setMotionFactor

void lvr2::LVRPickingInteractor::setMotionFactor ( double  factor)
slot

Definition at line 199 of file LVRPickingInteractor.cpp.

◆ setPoints()

void lvr2::LVRPickingInteractor::setPoints ( vtkSmartPointer< vtkPolyData >  points)

Definition at line 169 of file LVRPickingInteractor.cpp.

◆ setRenderer()

void lvr2::LVRPickingInteractor::setRenderer ( vtkSmartPointer< vtkRenderer >  renderer)

Definition at line 103 of file LVRPickingInteractor.cpp.

◆ setRotationFactor

void lvr2::LVRPickingInteractor::setRotationFactor ( double  factor)
slot

Definition at line 204 of file LVRPickingInteractor.cpp.

◆ setStereoMode

void lvr2::LVRPickingInteractor::setStereoMode ( int  state)
slot

Definition at line 134 of file LVRPickingInteractor.cpp.

◆ Spin()

void lvr2::LVRPickingInteractor::Spin ( )
virtual

Definition at line 286 of file LVRPickingInteractor.cpp.

◆ spinShooter()

void lvr2::LVRPickingInteractor::spinShooter ( )
private

Definition at line 714 of file LVRPickingInteractor.cpp.

◆ spinTerrain()

void lvr2::LVRPickingInteractor::spinTerrain ( )
private

Definition at line 921 of file LVRPickingInteractor.cpp.

◆ spinTrackball()

void lvr2::LVRPickingInteractor::spinTrackball ( )
private

Definition at line 1244 of file LVRPickingInteractor.cpp.

◆ strafeShooter()

void lvr2::LVRPickingInteractor::strafeShooter ( double  factor)
private

Definition at line 536 of file LVRPickingInteractor.cpp.

◆ updateActor()

void lvr2::LVRPickingInteractor::updateActor ( int  labelId)
private

Definition at line 2124 of file LVRPickingInteractor.cpp.

◆ updateFocalPoint()

void lvr2::LVRPickingInteractor::updateFocalPoint ( )

Definition at line 162 of file LVRPickingInteractor.cpp.

◆ vtkTypeMacro()

lvr2::LVRPickingInteractor::vtkTypeMacro ( LVRPickingInteractor  ,
LVRInteractorStylePolygonPick   
)

◆ Zoom()

void lvr2::LVRPickingInteractor::Zoom ( )
virtual

Definition at line 322 of file LVRPickingInteractor.cpp.

◆ zoomShooter()

void lvr2::LVRPickingInteractor::zoomShooter ( )
private

Definition at line 719 of file LVRPickingInteractor.cpp.

◆ zoomTerrain()

void lvr2::LVRPickingInteractor::zoomTerrain ( )
private

Definition at line 926 of file LVRPickingInteractor.cpp.

◆ zoomTrackball()

void lvr2::LVRPickingInteractor::zoomTrackball ( )
private

Definition at line 1270 of file LVRPickingInteractor.cpp.

Member Data Documentation

◆ m_correspondenceMode

bool lvr2::LVRPickingInteractor::m_correspondenceMode
private

Definition at line 249 of file LVRPickingInteractor.hpp.

◆ m_cubeActor

vtkSmartPointer<vtkActor> lvr2::LVRPickingInteractor::m_cubeActor
private

Definition at line 237 of file LVRPickingInteractor.hpp.

◆ m_interactorMode

InteractorMode lvr2::LVRPickingInteractor::m_interactorMode
private

Definition at line 264 of file LVRPickingInteractor.hpp.

◆ m_labelActors

std::map<uint16_t, vtkSmartPointer<vtkActor> > lvr2::LVRPickingInteractor::m_labelActors
private

Definition at line 240 of file LVRPickingInteractor.hpp.

◆ m_labelColors

std::map<uint16_t, QColor> lvr2::LVRPickingInteractor::m_labelColors
private

Definition at line 267 of file LVRPickingInteractor.hpp.

◆ m_labelingMode

bool lvr2::LVRPickingInteractor::m_labelingMode
private

Definition at line 250 of file LVRPickingInteractor.hpp.

◆ m_modified

bool lvr2::LVRPickingInteractor::m_modified
private

Definition at line 251 of file LVRPickingInteractor.hpp.

◆ m_motionFactor

float lvr2::LVRPickingInteractor::m_motionFactor
private

Definition at line 261 of file LVRPickingInteractor.hpp.

◆ m_numberOfClicks

unsigned int lvr2::LVRPickingInteractor::m_numberOfClicks
private

Definition at line 253 of file LVRPickingInteractor.hpp.

◆ m_pickMode

PickMode lvr2::LVRPickingInteractor::m_pickMode
private

Indicates picking mode.

Definition at line 232 of file LVRPickingInteractor.hpp.

◆ m_pointLabels

std::vector<uint16_t> lvr2::LVRPickingInteractor::m_pointLabels
private

Definition at line 242 of file LVRPickingInteractor.hpp.

◆ m_points

vtkSmartPointer<vtkPolyData> lvr2::LVRPickingInteractor::m_points
private

Definition at line 243 of file LVRPickingInteractor.hpp.

◆ m_polyActor

vtkSmartPointer<vtkActor> lvr2::LVRPickingInteractor::m_polyActor
private

Definition at line 238 of file LVRPickingInteractor.hpp.

◆ m_previousPosition

int lvr2::LVRPickingInteractor::m_previousPosition[2]
private

Definition at line 254 of file LVRPickingInteractor.hpp.

◆ m_renderer

vtkSmartPointer<vtkRenderer> lvr2::LVRPickingInteractor::m_renderer
private

Definition at line 247 of file LVRPickingInteractor.hpp.

◆ m_rotationFactor

float lvr2::LVRPickingInteractor::m_rotationFactor
private

Definition at line 262 of file LVRPickingInteractor.hpp.

◆ m_selectedActor

vtkSmartPointer<vtkActor> lvr2::LVRPickingInteractor::m_selectedActor
private

Definition at line 241 of file LVRPickingInteractor.hpp.

◆ m_selectedIds

vtkSmartPointer<vtkIdTypeArray> lvr2::LVRPickingInteractor::m_selectedIds
private

Definition at line 245 of file LVRPickingInteractor.hpp.

◆ m_selectedLabel

int lvr2::LVRPickingInteractor::m_selectedLabel
private

Definition at line 256 of file LVRPickingInteractor.hpp.

◆ m_selectedMapper

vtkSmartPointer<vtkDataSetMapper> lvr2::LVRPickingInteractor::m_selectedMapper
private

Definition at line 244 of file LVRPickingInteractor.hpp.

◆ m_selectedPoints

std::vector<bool> lvr2::LVRPickingInteractor::m_selectedPoints
private

Definition at line 239 of file LVRPickingInteractor.hpp.

◆ m_shooterMode

ShooterMode lvr2::LVRPickingInteractor::m_shooterMode
private

Definition at line 265 of file LVRPickingInteractor.hpp.

◆ m_sphereActor

vtkSmartPointer<vtkActor> lvr2::LVRPickingInteractor::m_sphereActor
private

Definition at line 236 of file LVRPickingInteractor.hpp.

◆ m_startCameraMovePosition

int lvr2::LVRPickingInteractor::m_startCameraMovePosition[2]
private

Definition at line 255 of file LVRPickingInteractor.hpp.

◆ m_textActor

vtkSmartPointer<vtkTextActor> lvr2::LVRPickingInteractor::m_textActor
private

Text actor to display info if in picking mode.

Definition at line 235 of file LVRPickingInteractor.hpp.

◆ m_viewUp

double lvr2::LVRPickingInteractor::m_viewUp[3]
private

Definition at line 259 of file LVRPickingInteractor.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