vtkInteractorStyleImage Class Reference
#include <vtkInteractorStyleImage.h>
Inheritance diagram for vtkInteractorStyleImage:
[legend]Collaboration diagram for vtkInteractorStyleImage:
[legend]List of all members.
Detailed Description
interactive manipulation of the camera specialized for images
vtkInteractorStyleImage allows the user to interactively manipulate (rotate, pan, zoomm etc.) the camera. vtkInteractorStyleImage is specially designed to work with images that are being rendered with vtkImageActor. Several events are overloaded from its superclass vtkInteractorStyle, hence the mouse bindings are different. (The bindings keep the camera's view plane normal perpendicular to the x-y plane.) In summary the mouse events are as follows: + Left Mouse button triggers window level events + CTRL Left Mouse spins the camera around its view plane normal + SHIFT Left Mouse pans the camera + CTRL SHIFT Left Mouse dollys (a positional zoom) the camera + Middle mouse button pans the camera + Right mouse button dollys the camera. + SHIFT Right Mouse triggers pick events
Note that the renderer's actors are not moved; instead the camera is moved.
- See also:
- vtkInteractorStyle vtkInteractorStyleTrackballActor vtkInteractorStyleJoystickCamera vtkInteractorStyleJoystickActor
- Events:
- vtkCommand::PickEvent vtkCommand::InteractionEvent vtkCommand::EndPickEvent vtkCommand::StartPickEvent vtkCommand::StartWindowLevelEvent vtkCommand::WindowLevelEvent vtkCommand::EndWindowLevelEvent vtkCommand::ResetWindowLevelEvent
- Created by:
-
- CVS contributions (if > 5%):
- Barre, Sebastien (57%)
- Martin, Ken (30%)
- Schroeder, Will (8%)
- CVS logs (CVSweb):
.h (/Rendering/vtkInteractorStyleImage
.h)
.cxx (/Rendering/vtkInteractorStyleImage
.cxx)
- Examples:
- vtkInteractorStyleImage (Examples)
- Tests:
- vtkInteractorStyleImage (Tests)
Definition at line 71 of file vtkInteractorStyleImage.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkInteractorStyleImage::vtkInteractorStyleImage |
( |
|
) |
[protected] |
|
Member Function Documentation
virtual const char* vtkInteractorStyleImage::GetClassName |
( |
|
) |
[virtual] |
|
int vtkInteractorStyleImage::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkInteractorStyleTrackballCamera. |
virtual int vtkInteractorStyleImage::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkInteractorStyleTrackballCamera. |
void vtkInteractorStyleImage::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkInteractorStyleTrackballCamera. |
virtual int* vtkInteractorStyleImage::GetWindowLevelStartPosition |
( |
|
) |
[virtual] |
|
|
Some useful information for handling window level |
virtual void vtkInteractorStyleImage::GetWindowLevelStartPosition |
( |
int & |
, |
|
|
int & |
|
|
) |
[virtual] |
|
|
Some useful information for handling window level |
virtual void vtkInteractorStyleImage::GetWindowLevelStartPosition |
( |
int |
[2] |
) |
[virtual] |
|
|
Some useful information for handling window level |
virtual int* vtkInteractorStyleImage::GetWindowLevelCurrentPosition |
( |
|
) |
[virtual] |
|
|
Some useful information for handling window level |
virtual void vtkInteractorStyleImage::GetWindowLevelCurrentPosition |
( |
int & |
, |
|
|
int & |
|
|
) |
[virtual] |
|
|
Some useful information for handling window level |
virtual void vtkInteractorStyleImage::GetWindowLevelCurrentPosition |
( |
int |
[2] |
) |
[virtual] |
|
|
Some useful information for handling window level |
virtual void vtkInteractorStyleImage::OnMouseMove |
( |
|
) |
[virtual] |
|
virtual void vtkInteractorStyleImage::OnLeftButtonDown |
( |
|
) |
[virtual] |
|
virtual void vtkInteractorStyleImage::OnLeftButtonUp |
( |
|
) |
[virtual] |
|
virtual void vtkInteractorStyleImage::OnRightButtonDown |
( |
|
) |
[virtual] |
|
virtual void vtkInteractorStyleImage::OnRightButtonUp |
( |
|
) |
[virtual] |
|
virtual void vtkInteractorStyleImage::OnChar |
( |
|
) |
[virtual] |
|
virtual void vtkInteractorStyleImage::WindowLevel |
( |
|
) |
[virtual] |
|
virtual void vtkInteractorStyleImage::Pick |
( |
|
) |
[virtual] |
|
virtual void vtkInteractorStyleImage::StartWindowLevel |
( |
|
) |
[virtual] |
|
virtual void vtkInteractorStyleImage::EndWindowLevel |
( |
|
) |
[virtual] |
|
virtual void vtkInteractorStyleImage::StartPick |
( |
|
) |
[virtual] |
|
virtual void vtkInteractorStyleImage::EndPick |
( |
|
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: