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 | Protected Attributes | Private Member Functions | Private Attributes | List of all members
vtkInteractorStyleImage2D Class Reference

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

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

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

Public Types

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

Public Member Functions

virtual void DefaultMoveAction ()
 
virtual void EndSliceMove ()
 
vtkProp * GetCurrentProp ()
 Return the actor which is pointed by the cursor. More...
 
int * GetRequestedPosition (void)
 
void HighlightCurrentActor ()
 Draw a bounding box around the actor which is pointed by the cursor. More...
 
virtual void OnChar ()
 
virtual void OnKeyDown ()
 
virtual void OnKeyPress ()
 
virtual void OnKeyRelease ()
 
virtual void OnKeyUp ()
 
virtual void OnLeftButtonDown ()
 
virtual void OnLeftButtonUp ()
 
virtual void OnMiddleButtonDown ()
 
virtual void OnMiddleButtonUp ()
 
virtual void OnMouseMove ()
 
virtual void OnMouseWheelBackward ()
 
virtual void OnMouseWheelForward ()
 
virtual void OnRightButtonDown ()
 
virtual void OnRightButtonUp ()
 
void SetDefaultMode ()
 Start the Default Mode. More...
 
void SetPanMode ()
 Start the Pan Mode. More...
 
void SetPickMode ()
 Start the Pick Mode. More...
 
void SetPlanesActors (std::vector< vtkProp3D * > iBounds)
 
void SetZoomMode ()
 Start the Zoom Mode. More...
 
virtual void SliceMove ()
 
virtual void StartSliceMove ()
 
void SynchronizeViews (bool iSynchronize)
 
 vtkGetMacro (SliceStep, int)
 
 vtkTypeRevisionMacro (vtkInteractorStyleImage2D, vtkInteractorStyleImage)
 

Static Public Member Functions

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

Protected Member Functions

 vtkInteractorStyleImage2D ()
 
 ~vtkInteractorStyleImage2D ()
 

Protected Attributes

int * RequestedPosition
 
int SliceStep
 

Private Member Functions

void operator= (const vtkInteractorStyleImage2D &)
 
 vtkInteractorStyleImage2D (const vtkInteractorStyleImage2D &)
 

Private Attributes

bool m_LeftButtonDown
 
unsigned int m_Mode
 
std::vector< vtkProp3D * > m_PlanesActors
 
bool m_SynchronizeViews
 

Detailed Description

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

Definition at line 87 of file vtkInteractorStyleImage2D.h.

Member Enumeration Documentation

Enumerator
InteractionTypeWindowLevel 
InteractionTypeZoom 
InteractionTypePan 
InteractionTypeContourPicking 
InteractionTypeDefault 

Definition at line 99 of file vtkInteractorStyleImage2D.h.

Constructor & Destructor Documentation

vtkInteractorStyleImage2D::vtkInteractorStyleImage2D ( )
protected

Definition at line 88 of file vtkInteractorStyleImage2D.cxx.

vtkInteractorStyleImage2D::~vtkInteractorStyleImage2D ( )
protected

Definition at line 105 of file vtkInteractorStyleImage2D.cxx.

vtkInteractorStyleImage2D::vtkInteractorStyleImage2D ( const vtkInteractorStyleImage2D )
private

Member Function Documentation

void vtkInteractorStyleImage2D::DefaultMoveAction ( )
virtual

Definition at line 601 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::EndSliceMove ( )
virtual

Definition at line 556 of file vtkInteractorStyleImage2D.cxx.

vtkProp * vtkInteractorStyleImage2D::GetCurrentProp ( )

Return the actor which is pointed by the cursor.

Definition at line 608 of file vtkInteractorStyleImage2D.cxx.

int* vtkInteractorStyleImage2D::GetRequestedPosition ( void  )
inline

Definition at line 170 of file vtkInteractorStyleImage2D.h.

void vtkInteractorStyleImage2D::HighlightCurrentActor ( )

Draw a bounding box around the actor which is pointed by the cursor.

Definition at line 615 of file vtkInteractorStyleImage2D.cxx.

static vtkInteractorStyleImage2D* vtkInteractorStyleImage2D::New ( )
static

Convenient method to access the constructor.

void vtkInteractorStyleImage2D::OnChar ( )
virtual

Definition at line 373 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnKeyDown ( void  )
virtual

Definition at line 588 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnKeyPress ( )
virtual

Definition at line 530 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnKeyRelease ( )
virtual

Definition at line 537 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnKeyUp ( )
virtual

Definition at line 498 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnLeftButtonDown ( )
virtual

Definition at line 148 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnLeftButtonUp ( )
virtual

Definition at line 188 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnMiddleButtonDown ( )
virtual

Definition at line 210 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnMiddleButtonUp ( )
virtual

Definition at line 239 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnMouseMove ( )
virtual

Definition at line 114 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnMouseWheelBackward ( )
virtual

Definition at line 341 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnMouseWheelForward ( )
virtual

Definition at line 309 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnRightButtonDown ( )
virtual

Definition at line 260 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::OnRightButtonUp ( )
virtual

Definition at line 285 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::operator= ( const vtkInteractorStyleImage2D )
private
void vtkInteractorStyleImage2D::SetDefaultMode ( )

Start the Default Mode.

Definition at line 664 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::SetPanMode ( )

Start the Pan Mode.

Definition at line 680 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::SetPickMode ( )

Start the Pick Mode.

Definition at line 688 of file vtkInteractorStyleImage2D.cxx.

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

Definition at line 704 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::SetZoomMode ( )

Start the Zoom Mode.

Definition at line 672 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::SliceMove ( )
virtual

Definition at line 574 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::StartSliceMove ( )
virtual

Definition at line 544 of file vtkInteractorStyleImage2D.cxx.

void vtkInteractorStyleImage2D::SynchronizeViews ( bool  iSynchronize)

Definition at line 696 of file vtkInteractorStyleImage2D.cxx.

vtkInteractorStyleImage2D::vtkGetMacro ( SliceStep  ,
int   
)
vtkInteractorStyleImage2D::vtkTypeRevisionMacro ( vtkInteractorStyleImage2D  ,
vtkInteractorStyleImage   
)

Member Data Documentation

bool vtkInteractorStyleImage2D::m_LeftButtonDown
private

Definition at line 205 of file vtkInteractorStyleImage2D.h.

unsigned int vtkInteractorStyleImage2D::m_Mode
private

Definition at line 204 of file vtkInteractorStyleImage2D.h.

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

Definition at line 207 of file vtkInteractorStyleImage2D.h.

bool vtkInteractorStyleImage2D::m_SynchronizeViews
private

Definition at line 206 of file vtkInteractorStyleImage2D.h.

int* vtkInteractorStyleImage2D::RequestedPosition
protected

Definition at line 196 of file vtkInteractorStyleImage2D.h.

int vtkInteractorStyleImage2D::SliceStep
protected

Definition at line 195 of file vtkInteractorStyleImage2D.h.


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