ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
VtkUtils::MoveActorInteractorStyle Class Reference

#include <moveactorinteractorstyle.h>

Inheritance diagram for VtkUtils::MoveActorInteractorStyle:
Collaboration diagram for VtkUtils::MoveActorInteractorStyle:

Signals

void actorMoved (vtkActor *actor)
 

Public Member Functions

 vtkTypeMacro (MoveActorInteractorStyle, vtkInteractorStyleTrackballCamera)
 
virtual void OnLeftButtonDown ()
 
virtual void OnLeftButtonUp ()
 
virtual void Rotate ()
 
virtual void Spin ()
 
virtual void OnMouseMove ()
 
virtual void OnChar ()
 
void setHighlightActor (bool highlight)
 
bool highlightActor () const
 

Static Public Member Functions

static MoveActorInteractorStyleNew ()
 

Protected Member Functions

 MoveActorInteractorStyle (QObject *parent=0)
 

Protected Attributes

vtkSmartPointer< vtkActor > m_pickedActor
 
bool m_useHighlight = true
 
vtkSmartPointer< vtkActor > m_highlightActor
 

Detailed Description

Definition at line 19 of file moveactorinteractorstyle.h.

Constructor & Destructor Documentation

◆ MoveActorInteractorStyle()

VtkUtils::MoveActorInteractorStyle::MoveActorInteractorStyle ( QObject *  parent = 0)
explicitprotected

Definition at line 33 of file moveactorinteractorstyle.cpp.

Member Function Documentation

◆ actorMoved

void VtkUtils::MoveActorInteractorStyle::actorMoved ( vtkActor *  actor)
signal

Referenced by OnLeftButtonUp().

◆ highlightActor()

bool VtkUtils::MoveActorInteractorStyle::highlightActor ( ) const

Definition at line 132 of file moveactorinteractorstyle.cpp.

References m_useHighlight.

◆ New()

static MoveActorInteractorStyle* VtkUtils::MoveActorInteractorStyle::New ( )
static

◆ OnChar()

void VtkUtils::MoveActorInteractorStyle::OnChar ( )
virtual

Definition at line 124 of file moveactorinteractorstyle.cpp.

◆ OnLeftButtonDown()

void VtkUtils::MoveActorInteractorStyle::OnLeftButtonDown ( )
virtual

Definition at line 36 of file moveactorinteractorstyle.cpp.

References m_pickedActor, VTK_CREATE, x, and y.

◆ OnLeftButtonUp()

void VtkUtils::MoveActorInteractorStyle::OnLeftButtonUp ( )
virtual

Definition at line 49 of file moveactorinteractorstyle.cpp.

References actorMoved(), and m_pickedActor.

◆ OnMouseMove()

void VtkUtils::MoveActorInteractorStyle::OnMouseMove ( )
virtual

◆ Rotate()

void VtkUtils::MoveActorInteractorStyle::Rotate ( )
virtual

Definition at line 55 of file moveactorinteractorstyle.cpp.

References m_pickedActor.

◆ setHighlightActor()

void VtkUtils::MoveActorInteractorStyle::setHighlightActor ( bool  highlight)

Definition at line 128 of file moveactorinteractorstyle.cpp.

References m_useHighlight.

◆ Spin()

void VtkUtils::MoveActorInteractorStyle::Spin ( )
virtual

Definition at line 61 of file moveactorinteractorstyle.cpp.

References m_pickedActor.

◆ vtkTypeMacro()

VtkUtils::MoveActorInteractorStyle::vtkTypeMacro ( MoveActorInteractorStyle  ,
vtkInteractorStyleTrackballCamera   
)

Member Data Documentation

◆ m_highlightActor

vtkSmartPointer<vtkActor> VtkUtils::MoveActorInteractorStyle::m_highlightActor
protected

Definition at line 48 of file moveactorinteractorstyle.h.

Referenced by OnMouseMove().

◆ m_pickedActor

vtkSmartPointer<vtkActor> VtkUtils::MoveActorInteractorStyle::m_pickedActor
protected

◆ m_useHighlight

bool VtkUtils::MoveActorInteractorStyle::m_useHighlight = true
protected

Definition at line 47 of file moveactorinteractorstyle.h.

Referenced by highlightActor(), OnMouseMove(), and setHighlightActor().


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