Manage events occuring in 2D view.
More...
#include <Code/ExternalCode/MegaVTK/vtkRenderingAddOn/vtkViewImage2DCommand.h>
|
enum | EventIds {
SliceMoveEvent = ( vtkCommand::UserEvent + 1 ),
StartSliceMoveEvent,
EndSliceMoveEvent,
ZoomEvent,
PanEvent,
RequestedPositionEvent,
ResetViewerEvent,
ContourPickingEvent,
MeshPickingEvent,
CameraMoveEvent,
DefaultMoveEvent,
WindowLevelEvent,
SyncViewsEvent
} |
|
|
virtual void | Execute (vtkObject *caller, unsigned long event, void *vtkNotUsed(callData)) |
|
void | SetViewer (vtkViewImage2D *viewer) |
| Set the 2d image related to this 2d event manager. More...
|
|
Manage events occuring in 2D view.
Definition at line 83 of file vtkViewImage2DCommand.h.
Enumerator |
---|
SliceMoveEvent |
|
StartSliceMoveEvent |
|
EndSliceMoveEvent |
|
ZoomEvent |
|
PanEvent |
|
RequestedPositionEvent |
|
ResetViewerEvent |
|
ContourPickingEvent |
|
MeshPickingEvent |
|
CameraMoveEvent |
|
DefaultMoveEvent |
|
WindowLevelEvent |
|
SyncViewsEvent |
|
Definition at line 93 of file vtkViewImage2DCommand.h.
vtkViewImage2DCommand::vtkViewImage2DCommand |
( |
| ) |
|
|
protected |
vtkViewImage2DCommand::~vtkViewImage2DCommand |
( |
| ) |
|
|
inlineprotected |
void vtkViewImage2DCommand::Execute |
( |
vtkObject * |
caller, |
|
|
unsigned long |
event, |
|
|
void * |
vtkNotUsedcallData |
|
) |
| |
|
virtual |
void vtkViewImage2DCommand::Panning |
( |
| ) |
|
|
protected |
void vtkViewImage2DCommand::PrintInformation |
( |
| ) |
|
|
protected |
Method to be called when an event is caught to update information in 2D view such as position, pixel intensity, etc.
- Todo:
- dims and spacing must be computed from the orientation of the image.
Definition at line 266 of file vtkViewImage2DCommand.cxx.
Method to be called if an event is caught in "Windowing Mode".
- Parameters
-
[in] | isi | Related interactor |
Definition at line 202 of file vtkViewImage2DCommand.cxx.
void vtkViewImage2DCommand::Zooming |
( |
| ) |
|
|
protected |
double vtkViewImage2DCommand::InitialLevel |
|
private |
int vtkViewImage2DCommand::InitialSlice |
|
private |
double vtkViewImage2DCommand::InitialWindow |
|
private |
The documentation for this class was generated from the following files: