GOFIGURE2
0.9.0
|
Define the interactor behavior withing a vtkImage3D. 4 modes (Default, Zoom, Pan and Pick) More...
#include <Code/ExternalCode/MegaVTK/vtkRenderingAddOn/vtkInteractorStyleImage3D.h>
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 vtkInteractorStyleImage3D * | New () |
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 |
Define the interactor behavior withing a vtkImage3D. 4 modes (Default, Zoom, Pan and Pick)
Definition at line 89 of file vtkInteractorStyleImage3D.h.
Enumerator | |
---|---|
InteractionTypeWindowLevel | |
InteractionTypeZoom | |
InteractionTypePan | |
InteractionTypeMeshPicking | |
InteractionTypeDefault |
Definition at line 101 of file vtkInteractorStyleImage3D.h.
|
protected |
Definition at line 86 of file vtkInteractorStyleImage3D.cxx.
|
protected |
Definition at line 95 of file vtkInteractorStyleImage3D.cxx.
|
private |
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 |
Convenient method to access the constructor.
|
virtual |
Definition at line 238 of file vtkInteractorStyleImage3D.cxx.
|
virtual |
Definition at line 115 of file vtkInteractorStyleImage3D.cxx.
|
virtual |
Definition at line 141 of file vtkInteractorStyleImage3D.cxx.
|
virtual |
Definition at line 201 of file vtkInteractorStyleImage3D.cxx.
|
virtual |
Definition at line 220 of file vtkInteractorStyleImage3D.cxx.
|
virtual |
Definition at line 101 of file vtkInteractorStyleImage3D.cxx.
|
virtual |
Definition at line 163 of file vtkInteractorStyleImage3D.cxx.
|
virtual |
Definition at line 182 of file vtkInteractorStyleImage3D.cxx.
|
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 | |||
) |
|
private |
Definition at line 188 of file vtkInteractorStyleImage3D.h.
|
private |
Definition at line 189 of file vtkInteractorStyleImage3D.h.
|
private |
Definition at line 192 of file vtkInteractorStyleImage3D.h.
|
private |
Definition at line 190 of file vtkInteractorStyleImage3D.h.