ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPVJoystickFly Class Reference

Fly camera towards or away from the object. More...

#include <vtkPVJoystickFly.h>

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

Public Types

typedef vtkCameraManipulator Superclass
 
- Public Types inherited from vtkCameraManipulator
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void OnMouseMove (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi)
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void OnButtonDown (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi)
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void OnButtonUp (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi)
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void SetFlySpeed (double)
 Set and get the speed of flying. More...
 
virtual double GetFlySpeed ()
 Set and get the speed of flying. More...
 
- Public Member Functions inherited from vtkCameraManipulator
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void StartInteraction ()
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void EndInteraction ()
 Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More...
 
virtual void OnKeyUp (vtkRenderWindowInteractor *iren)
 These methods are called on all registered manipulators, not just the active one. More...
 
virtual void OnKeyDown (vtkRenderWindowInteractor *iren)
 These methods are called on all registered manipulators, not just the active one. More...
 
virtual void SetButton (int)
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual int GetButton ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void SetShift (int)
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual int GetShift ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void ShiftOn ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void ShiftOff ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void SetControl (int)
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual int GetControl ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void ControlOn ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void ControlOff ()
 These settings determine which button and modifiers the manipulator responds to. More...
 
virtual void SetCenter (double, double, double)
 For setting the center of rotation. More...
 
virtual void SetCenter (double [3])
 For setting the center of rotation. More...
 
virtual double * GetCenter ()
 For setting the center of rotation. More...
 
virtual void GetCenter (double &, double &, double &)
 For setting the center of rotation. More...
 
virtual void GetCenter (double [3])
 For setting the center of rotation. More...
 
virtual void SetRotationFactor (double)
 Set and get the rotation factor. More...
 
virtual double GetRotationFactor ()
 Set and get the rotation factor. More...
 
virtual void SetManipulatorName (const char *)
 Set and get the manipulator name. More...
 
virtual char * GetManipulatorName ()
 Set and get the manipulator name. More...
 
void SetGUIHelper (vtkCameraManipulatorGUIHelper *)
 Get/Set the GUI helper. More...
 
virtual vtkCameraManipulatorGUIHelperGetGUIHelper ()
 Get/Set the GUI helper. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPVJoystickFlySafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkCameraManipulator
static vtkCameraManipulatorNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCameraManipulatorSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkPVJoystickFly ()
 
 ~vtkPVJoystickFly ()
 
void Fly (vtkRenderer *ren, vtkRenderWindowInteractor *rwi, double scale, double speed)
 
void ComputeCameraAxes (vtkRenderer *)
 
 vtkPVJoystickFly (const vtkPVJoystickFly &) VTK_DELETE_FUNCTION
 
void operator= (const vtkPVJoystickFly &) VTK_DELETE_FUNCTION
 
- Protected Member Functions inherited from vtkCameraManipulator
void ComputeDisplayCenter (vtkRenderer *ren)
 
 vtkCameraManipulator ()
 Get/Set the GUI helper. More...
 
 ~vtkCameraManipulator ()
 Get/Set the GUI helper. More...
 

Protected Attributes

int In
 
int FlyFlag
 
double FlySpeed
 
double Scale
 
double LastRenderTime
 
double CameraXAxis [3]
 
double CameraYAxis [3]
 
double CameraZAxis [3]
 
- Protected Attributes inherited from vtkCameraManipulator
char * ManipulatorName
 
int Button
 
int Shift
 
int Control
 
double Center [3]
 
double RotationFactor
 
double DisplayCenter [2]
 
vtkCameraManipulatorGUIHelperGUIHelper
 

Detailed Description

Fly camera towards or away from the object.

vtkPVJoystickFly allows the user to interactively manipulate the camera, the viewpoint of the scene.

Definition at line 31 of file vtkPVJoystickFly.h.

Member Typedef Documentation

◆ Superclass

Definition at line 34 of file vtkPVJoystickFly.h.

Constructor & Destructor Documentation

◆ vtkPVJoystickFly() [1/2]

vtkPVJoystickFly::vtkPVJoystickFly ( )
protected

◆ ~vtkPVJoystickFly()

vtkPVJoystickFly::~vtkPVJoystickFly ( )
protected

◆ vtkPVJoystickFly() [2/2]

vtkPVJoystickFly::vtkPVJoystickFly ( const vtkPVJoystickFly )
protected

Member Function Documentation

◆ GetClassName()

virtual const char* vtkPVJoystickFly::GetClassName ( )
virtual

Reimplemented from vtkCameraManipulator.

Reimplemented in vtkPVJoystickFlyIn, and vtkPVJoystickFlyOut.

◆ IsTypeOf()

static int vtkPVJoystickFly::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkPVJoystickFly::IsA ( const char *  type)
virtual

Reimplemented from vtkCameraManipulator.

Reimplemented in vtkPVJoystickFlyIn, and vtkPVJoystickFlyOut.

◆ SafeDownCast()

static vtkPVJoystickFly* vtkPVJoystickFly::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkPVJoystickFly::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ OnMouseMove()

virtual void vtkPVJoystickFly::OnMouseMove ( int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  rwi 
)
virtual

Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Reimplemented from vtkCameraManipulator.

◆ OnButtonDown()

virtual void vtkPVJoystickFly::OnButtonDown ( int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  rwi 
)
virtual

Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Reimplemented from vtkCameraManipulator.

◆ OnButtonUp()

virtual void vtkPVJoystickFly::OnButtonUp ( int  x,
int  y,
vtkRenderer *  ren,
vtkRenderWindowInteractor *  rwi 
)
virtual

Event bindings controlling the effects of pressing mouse buttons or moving the mouse.

Reimplemented from vtkCameraManipulator.

◆ SetFlySpeed()

virtual void vtkPVJoystickFly::SetFlySpeed ( double  )
virtual

Set and get the speed of flying.

◆ GetFlySpeed()

virtual double vtkPVJoystickFly::GetFlySpeed ( )
virtual

Set and get the speed of flying.

◆ Fly()

void vtkPVJoystickFly::Fly ( vtkRenderer *  ren,
vtkRenderWindowInteractor *  rwi,
double  scale,
double  speed 
)
protected

◆ ComputeCameraAxes()

void vtkPVJoystickFly::ComputeCameraAxes ( vtkRenderer *  )
protected

◆ operator=()

void vtkPVJoystickFly::operator= ( const vtkPVJoystickFly )
protected

Member Data Documentation

◆ In

int vtkPVJoystickFly::In
protected

Definition at line 59 of file vtkPVJoystickFly.h.

◆ FlyFlag

int vtkPVJoystickFly::FlyFlag
protected

Definition at line 60 of file vtkPVJoystickFly.h.

◆ FlySpeed

double vtkPVJoystickFly::FlySpeed
protected

Definition at line 62 of file vtkPVJoystickFly.h.

◆ Scale

double vtkPVJoystickFly::Scale
protected

Definition at line 63 of file vtkPVJoystickFly.h.

◆ LastRenderTime

double vtkPVJoystickFly::LastRenderTime
protected

Definition at line 64 of file vtkPVJoystickFly.h.

◆ CameraXAxis

double vtkPVJoystickFly::CameraXAxis[3]
protected

Definition at line 65 of file vtkPVJoystickFly.h.

◆ CameraYAxis

double vtkPVJoystickFly::CameraYAxis[3]
protected

Definition at line 66 of file vtkPVJoystickFly.h.

◆ CameraZAxis

double vtkPVJoystickFly::CameraZAxis[3]
protected

Definition at line 67 of file vtkPVJoystickFly.h.


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