interactive manipulation of the camera
More...
#include <vtkPVInteractorStyle.h>
Inherits vtkInteractorStyleTrackballCamera.
|
typedef vtkInteractorStyleTrackballCamera | Superclass |
|
interactive manipulation of the camera
vtkPVInteractorStyle allows the user to interactively manipulate the camera, the viewpoint of the scene. The left button is for rotation; shift + left button is for rolling; the right button is for panning; and shift + right button is for zooming. This class fires vtkCommand::StartInteractionEvent and vtkCommand::EndInteractionEvent to signal start and end of interaction.
Definition at line 36 of file vtkPVInteractorStyle.h.
◆ Superclass
◆ vtkPVInteractorStyle() [1/2]
vtkPVInteractorStyle::vtkPVInteractorStyle |
( |
| ) |
|
|
protected |
◆ ~vtkPVInteractorStyle()
vtkPVInteractorStyle::~vtkPVInteractorStyle |
( |
| ) |
|
|
protected |
◆ vtkPVInteractorStyle() [2/2]
◆ New()
◆ GetClassName()
virtual const char* vtkPVInteractorStyle::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkPVInteractorStyle::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
virtual int vtkPVInteractorStyle::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
void vtkPVInteractorStyle::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ OnMouseMove()
virtual void vtkPVInteractorStyle::OnMouseMove |
( |
| ) |
|
|
virtual |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
◆ OnLeftButtonDown()
virtual void vtkPVInteractorStyle::OnLeftButtonDown |
( |
| ) |
|
|
virtual |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
◆ OnLeftButtonUp()
virtual void vtkPVInteractorStyle::OnLeftButtonUp |
( |
| ) |
|
|
virtual |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
◆ OnMiddleButtonDown()
virtual void vtkPVInteractorStyle::OnMiddleButtonDown |
( |
| ) |
|
|
virtual |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
◆ OnMiddleButtonUp()
virtual void vtkPVInteractorStyle::OnMiddleButtonUp |
( |
| ) |
|
|
virtual |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
◆ OnRightButtonDown()
virtual void vtkPVInteractorStyle::OnRightButtonDown |
( |
| ) |
|
|
virtual |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
◆ OnRightButtonUp()
virtual void vtkPVInteractorStyle::OnRightButtonUp |
( |
| ) |
|
|
virtual |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
◆ OnKeyDown()
virtual void vtkPVInteractorStyle::OnKeyDown |
( |
| ) |
|
|
virtual |
Unlike mouse events, these are forwarded to all camera manipulators since we don't have a mechanism to activate a manipulator by key presses currently.
◆ OnKeyUp()
virtual void vtkPVInteractorStyle::OnKeyUp |
( |
| ) |
|
|
virtual |
Unlike mouse events, these are forwarded to all camera manipulators since we don't have a mechanism to activate a manipulator by key presses currently.
◆ OnChar()
virtual void vtkPVInteractorStyle::OnChar |
( |
| ) |
|
|
virtual |
Overrides superclass behaviors to only support the key codes that make sense in a ParaView application.
◆ AddManipulator()
Access to adding or removing manipulators.
◆ RemoveAllManipulators()
void vtkPVInteractorStyle::RemoveAllManipulators |
( |
| ) |
|
Removes all manipulators.
◆ GetCameraManipulators()
virtual vtkCollection* vtkPVInteractorStyle::GetCameraManipulators |
( |
| ) |
|
|
virtual |
Accessor for the collection of camera manipulators.
◆ SetCenterOfRotation() [1/2]
virtual void vtkPVInteractorStyle::SetCenterOfRotation |
( |
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
|
virtual |
Propagates the center to the manipulators.
This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the CenterOfRotation during interaction i.e. after a button press but before a button up has no effect until the next button press.
◆ SetCenterOfRotation() [2/2]
virtual void vtkPVInteractorStyle::SetCenterOfRotation |
( |
double |
[3] | ) |
|
|
virtual |
Propagates the center to the manipulators.
This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the CenterOfRotation during interaction i.e. after a button press but before a button up has no effect until the next button press.
◆ GetCenterOfRotation() [1/3]
virtual double* vtkPVInteractorStyle::GetCenterOfRotation |
( |
| ) |
|
|
virtual |
Propagates the center to the manipulators.
This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the CenterOfRotation during interaction i.e. after a button press but before a button up has no effect until the next button press.
◆ GetCenterOfRotation() [2/3]
virtual void vtkPVInteractorStyle::GetCenterOfRotation |
( |
double & |
, |
|
|
double & |
, |
|
|
double & |
|
|
) |
| |
|
virtual |
Propagates the center to the manipulators.
This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the CenterOfRotation during interaction i.e. after a button press but before a button up has no effect until the next button press.
◆ GetCenterOfRotation() [3/3]
virtual void vtkPVInteractorStyle::GetCenterOfRotation |
( |
double |
[3] | ) |
|
|
virtual |
Propagates the center to the manipulators.
This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the CenterOfRotation during interaction i.e. after a button press but before a button up has no effect until the next button press.
◆ SetRotationFactor()
virtual void vtkPVInteractorStyle::SetRotationFactor |
( |
double |
| ) |
|
|
virtual |
Propagates the rotation factor to the manipulators.
This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the RotationFactor during interaction i.e. after a button press but before a button up has no effect until the next button press.
◆ GetRotationFactor()
virtual double vtkPVInteractorStyle::GetRotationFactor |
( |
| ) |
|
|
virtual |
Propagates the rotation factor to the manipulators.
This simply sets an interal ivar. It is propagated to a manipulator before the event is sent to it. Also changing the RotationFactor during interaction i.e. after a button press but before a button up has no effect until the next button press.
◆ FindManipulator()
virtual vtkCameraManipulator* vtkPVInteractorStyle::FindManipulator |
( |
int |
button, |
|
|
int |
shift, |
|
|
int |
control |
|
) |
| |
|
virtual |
Returns the chosen manipulator based on the modifiers.
◆ DollyToPosition()
static void vtkPVInteractorStyle::DollyToPosition |
( |
double |
fact, |
|
|
int * |
position, |
|
|
vtkRenderer * |
renderer |
|
) |
| |
|
static |
Dolly the renderer's camera to a specific point.
◆ TranslateCamera()
static void vtkPVInteractorStyle::TranslateCamera |
( |
vtkRenderer * |
renderer, |
|
|
int |
toX, |
|
|
int |
toY, |
|
|
int |
fromX, |
|
|
int |
fromY |
|
) |
| |
|
static |
Translate the renderer's camera.
◆ Dolly()
virtual void vtkPVInteractorStyle::Dolly |
( |
double |
factor | ) |
|
|
protectedvirtual |
◆ OnButtonDown()
void vtkPVInteractorStyle::OnButtonDown |
( |
int |
button, |
|
|
int |
shift, |
|
|
int |
control |
|
) |
| |
|
protected |
◆ OnButtonUp()
void vtkPVInteractorStyle::OnButtonUp |
( |
int |
button | ) |
|
|
protected |
◆ ResetLights()
void vtkPVInteractorStyle::ResetLights |
( |
| ) |
|
|
protected |
◆ operator=()
◆ CurrentManipulator
◆ CenterOfRotation
double vtkPVInteractorStyle::CenterOfRotation[3] |
|
protected |
◆ RotationFactor
double vtkPVInteractorStyle::RotationFactor |
|
protected |
◆ CameraManipulators
vtkCollection* vtkPVInteractorStyle::CameraManipulators |
|
protected |
The documentation for this class was generated from the following file: