ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
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]

List of all members.

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)
virtual void OnButtonDown (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi)
virtual void OnButtonUp (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *rwi)
virtual void SetFlySpeed (double)
virtual double GetFlySpeed ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkPVJoystickFlySafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPVJoystickFly ()
 ~vtkPVJoystickFly ()
void Fly (vtkRenderer *ren, vtkRenderWindowInteractor *rwi, double scale, double speed)
void ComputeCameraAxes (vtkRenderer *)
 vtkPVJoystickFly (const vtkPVJoystickFly &)
void operator= (const vtkPVJoystickFly &)

Protected Attributes

int In
int FlyFlag
double FlySpeed
double Scale
double LastRenderTime
double CameraXAxis [3]
double CameraYAxis [3]
double CameraZAxis [3]

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 29 of file vtkPVJoystickFly.h.


Constructor & Destructor Documentation

vtkPVJoystickFly::vtkPVJoystickFly ( ) [protected]
vtkPVJoystickFly::~vtkPVJoystickFly ( ) [protected]
vtkPVJoystickFly::vtkPVJoystickFly ( const vtkPVJoystickFly ) [protected]

Member Function Documentation

virtual const char* vtkPVJoystickFly::GetClassName ( ) [virtual]

Reimplemented from vtkCameraManipulator.

Reimplemented in vtkPVJoystickFlyIn, and vtkPVJoystickFlyOut.

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

Reimplemented from vtkCameraManipulator.

Reimplemented in vtkPVJoystickFlyIn, and vtkPVJoystickFlyOut.

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

Reimplemented from vtkCameraManipulator.

Reimplemented in vtkPVJoystickFlyIn, and vtkPVJoystickFlyOut.

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

Reimplemented from vtkCameraManipulator.

Reimplemented in vtkPVJoystickFlyIn, and vtkPVJoystickFlyOut.

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

Reimplemented from vtkCameraManipulator.

Reimplemented in vtkPVJoystickFlyIn, and vtkPVJoystickFlyOut.

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.

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.

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.

virtual void vtkPVJoystickFly::SetFlySpeed ( double  ) [virtual]

Set and get the speed of flying.

virtual double vtkPVJoystickFly::GetFlySpeed ( ) [virtual]

Set and get the speed of flying.

void vtkPVJoystickFly::Fly ( vtkRenderer ren,
vtkRenderWindowInteractor rwi,
double  scale,
double  speed 
) [protected]
void vtkPVJoystickFly::ComputeCameraAxes ( vtkRenderer ) [protected]
void vtkPVJoystickFly::operator= ( const vtkPVJoystickFly ) [protected]

Member Data Documentation

Definition at line 56 of file vtkPVJoystickFly.h.

Definition at line 57 of file vtkPVJoystickFly.h.

Definition at line 59 of file vtkPVJoystickFly.h.

Definition at line 60 of file vtkPVJoystickFly.h.

Definition at line 61 of file vtkPVJoystickFly.h.

Definition at line 62 of file vtkPVJoystickFly.h.

Definition at line 63 of file vtkPVJoystickFly.h.

Definition at line 64 of file vtkPVJoystickFly.h.


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