GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
vtkInteractorStyleImage3D Class Reference

Define the interactor behavior withing a vtkImage3D. 4 modes (Default, Zoom, Pan and Pick) More...

#include <Code/ExternalCode/MegaVTK/vtkRenderingAddOn/vtkInteractorStyleImage3D.h>

Inheritance diagram for vtkInteractorStyleImage3D:
Inheritance graph
[legend]
Collaboration diagram for vtkInteractorStyleImage3D:
Collaboration graph
[legend]

Public Types

enum  InteractionTypeIds {
  InteractionTypeWindowLevel = 0, InteractionTypeZoom, InteractionTypePan, InteractionTypeMeshPicking,
  InteractionTypeDefault
}
 

Public Member Functions

void EnableDefaultMode ()
 Start the Default Mode. More...
 
void EnablePanMode ()
 Start the Pan Mode. More...
 
void EnablePickMode ()
 Start the Pick Mode. More...
 
void EnableZoomMode ()
 Start the Zoom Mode. More...
 
vtkProp * GetCurrentProp ()
 Return the actor which is pointed by the cursor. More...
 
bool GetCurrentState ()
 Store the actor which is pointed by the cursor into "m_CurrentProp". More...
 
void HighlightCurrentActor ()
 Draw a bounding box around the "m_CurrentProp" (i.e. actor pointed by the mouse) More...
 
virtual void OnChar ()
 
virtual void OnLeftButtonDown ()
 
virtual void OnLeftButtonUp ()
 
virtual void OnMiddleButtonDown ()
 
virtual void OnMiddleButtonUp ()
 
virtual void OnMouseMove ()
 
virtual void OnRightButtonDown ()
 
virtual void OnRightButtonUp ()
 
void SetCurrentProp (vtkProp *iCurrent)
 Store the actor which is pointed by the cursor into "m_CurrentProp". More...
 
void SetCurrentState (bool iSate)
 Store the actor which is pointed by the cursor into "m_CurrentProp". More...
 
void SetPlanesActors (std::vector< vtkProp3D * > iBounds)
 
void StartPick ()
 Start Pick Mode by updating the "State" and sending the "StartPickEvent". More...
 
 vtkTypeRevisionMacro (vtkInteractorStyleImage3D, vtkInteractorStyleTrackballCamera)
 

Static Public Member Functions

static vtkInteractorStyleImage3DNew ()
 Convenient method to access the constructor. More...
 

Protected Member Functions

 vtkInteractorStyleImage3D ()
 
 ~vtkInteractorStyleImage3D ()
 

Private Member Functions

void operator= (const vtkInteractorStyleImage3D &)
 
 vtkInteractorStyleImage3D (const vtkInteractorStyleImage3D &)
 

Private Attributes

vtkProp * m_CurrentProp
 
unsigned int m_Mode
 
std::vector< vtkProp3D * > m_PlanesActors
 
bool m_State
 

Detailed Description

Define the interactor behavior withing a vtkImage3D. 4 modes (Default, Zoom, Pan and Pick)

Definition at line 89 of file vtkInteractorStyleImage3D.h.

Member Enumeration Documentation

Enumerator
InteractionTypeWindowLevel 
InteractionTypeZoom 
InteractionTypePan 
InteractionTypeMeshPicking 
InteractionTypeDefault 

Definition at line 101 of file vtkInteractorStyleImage3D.h.

Constructor & Destructor Documentation

vtkInteractorStyleImage3D::vtkInteractorStyleImage3D ( )
protected

Definition at line 86 of file vtkInteractorStyleImage3D.cxx.

vtkInteractorStyleImage3D::~vtkInteractorStyleImage3D ( )
protected

Definition at line 95 of file vtkInteractorStyleImage3D.cxx.

vtkInteractorStyleImage3D::vtkInteractorStyleImage3D ( const vtkInteractorStyleImage3D )
private

Member Function Documentation

void vtkInteractorStyleImage3D::EnableDefaultMode ( )

Start the Default Mode.

Definition at line 455 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::EnablePanMode ( )

Start the Pan Mode.

Definition at line 447 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::EnablePickMode ( )

Start the Pick Mode.

Definition at line 430 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::EnableZoomMode ( )

Start the Zoom Mode.

Definition at line 439 of file vtkInteractorStyleImage3D.cxx.

vtkProp * vtkInteractorStyleImage3D::GetCurrentProp ( )

Return the actor which is pointed by the cursor.

Definition at line 347 of file vtkInteractorStyleImage3D.cxx.

bool vtkInteractorStyleImage3D::GetCurrentState ( )

Store the actor which is pointed by the cursor into "m_CurrentProp".

Definition at line 361 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::HighlightCurrentActor ( )

Draw a bounding box around the "m_CurrentProp" (i.e. actor pointed by the mouse)

Definition at line 380 of file vtkInteractorStyleImage3D.cxx.

static vtkInteractorStyleImage3D* vtkInteractorStyleImage3D::New ( )
static

Convenient method to access the constructor.

void vtkInteractorStyleImage3D::OnChar ( )
virtual

Definition at line 238 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::OnLeftButtonDown ( )
virtual

Definition at line 115 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::OnLeftButtonUp ( )
virtual

Definition at line 141 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::OnMiddleButtonDown ( )
virtual

Definition at line 201 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::OnMiddleButtonUp ( )
virtual

Definition at line 220 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::OnMouseMove ( )
virtual

Definition at line 101 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::OnRightButtonDown ( )
virtual

Definition at line 163 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::OnRightButtonUp ( )
virtual

Definition at line 182 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::operator= ( const vtkInteractorStyleImage3D )
private
void vtkInteractorStyleImage3D::SetCurrentProp ( vtkProp *  iCurrent)

Store the actor which is pointed by the cursor into "m_CurrentProp".

Definition at line 340 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::SetCurrentState ( bool  iSate)

Store the actor which is pointed by the cursor into "m_CurrentProp".

Definition at line 354 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::SetPlanesActors ( std::vector< vtkProp3D * >  iBounds)

Definition at line 463 of file vtkInteractorStyleImage3D.cxx.

void vtkInteractorStyleImage3D::StartPick ( )

Start Pick Mode by updating the "State" and sending the "StartPickEvent".

Definition at line 368 of file vtkInteractorStyleImage3D.cxx.

vtkInteractorStyleImage3D::vtkTypeRevisionMacro ( vtkInteractorStyleImage3D  ,
vtkInteractorStyleTrackballCamera   
)

Member Data Documentation

vtkProp* vtkInteractorStyleImage3D::m_CurrentProp
private

Definition at line 188 of file vtkInteractorStyleImage3D.h.

unsigned int vtkInteractorStyleImage3D::m_Mode
private

Definition at line 189 of file vtkInteractorStyleImage3D.h.

std::vector< vtkProp3D * > vtkInteractorStyleImage3D::m_PlanesActors
private

Definition at line 192 of file vtkInteractorStyleImage3D.h.

bool vtkInteractorStyleImage3D::m_State
private

Definition at line 190 of file vtkInteractorStyleImage3D.h.


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