Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkInteractorStyleSwitch Class Reference

#include <vtkInteractorStyleSwitch.h>

Inheritance diagram for vtkInteractorStyleSwitch:

Inheritance graph
[legend]
Collaboration diagram for vtkInteractorStyleSwitch:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void OnLeftButtonDown (int ctrl, int shift, int x, int y)
void OnLeftButtonUp (int ctrl, int shift, int x, int y)
void OnMiddleButtonDown (int ctrl, int shift, int x, int y)
void OnMiddleButtonUp (int ctrl, int shift, int x, int y)
void OnRightButtonDown (int ctrl, int shift, int x, int y)
void OnRightButtonUp (int ctrl, int shift, int x, int y)
void OnMouseMove (int ctrl, int shift, int x, int y)
void OnChar (int ctrl, int shift, char keycode, int repeatcount)
void SetInteractor (vtkRenderWindowInteractor *iren)
void OnTimer ()
void SetTrackballModeToTrackball ()
void SetTrackballModeToJoystick ()
void SetActorModeToCamera ()
void SetActorModeToActor ()

Static Public Methods

vtkInteractorStyleSwitch * New ()
int IsTypeOf (const char *type)
vtkInteractorStyleSwitch * SafeDownCast (vtkObject *o)

Protected Methods

 vtkInteractorStyleSwitch ()
 ~vtkInteractorStyleSwitch ()
 vtkInteractorStyleSwitch (const vtkInteractorStyleSwitch &)
void operator= (const vtkInteractorStyleSwitch &)

Protected Attributes

vtkInteractorStyleJoystickActorJoystickActor
vtkInteractorStyleJoystickCameraJoystickCamera
vtkInteractorStyleTrackballActorTrackballActor
vtkInteractorStyleTrackballCameraTrackballCamera
int JoystickOrTrackball
int CameraOrActor

Constructor & Destructor Documentation

vtkInteractorStyleSwitch::vtkInteractorStyleSwitch   [protected]
 

vtkInteractorStyleSwitch::~vtkInteractorStyleSwitch   [protected]
 

vtkInteractorStyleSwitch::vtkInteractorStyleSwitch const vtkInteractorStyleSwitch &    [inline, protected]
 

Definition at line 92 of file vtkInteractorStyleSwitch.h.


Member Function Documentation

vtkInteractorStyleSwitch* vtkInteractorStyleSwitch::New   [static]
 

This class must be supplied with a vtkRenderWindowInteractor wrapper or parent. This class should not normally be instantiated by application programmers.

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

virtual const char* vtkInteractorStyleSwitch::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

int vtkInteractorStyleSwitch::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

virtual int vtkInteractorStyleSwitch::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

vtkInteractorStyleSwitch* vtkInteractorStyleSwitch::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

void vtkInteractorStyleSwitch::OnLeftButtonDown int    ctrl,
int    shift,
int    X,
int    Y
[virtual]
 

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

void vtkInteractorStyleSwitch::OnLeftButtonUp int    ctrl,
int    shift,
int    X,
int    Y
[virtual]
 

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

void vtkInteractorStyleSwitch::OnMiddleButtonDown int    ctrl,
int    shift,
int    X,
int    Y
[virtual]
 

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

void vtkInteractorStyleSwitch::OnMiddleButtonUp int    ctrl,
int    shift,
int    X,
int    Y
[virtual]
 

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

void vtkInteractorStyleSwitch::OnRightButtonDown int    ctrl,
int    shift,
int    X,
int    Y
[virtual]
 

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

void vtkInteractorStyleSwitch::OnRightButtonUp int    ctrl,
int    shift,
int    X,
int    Y
[virtual]
 

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

void vtkInteractorStyleSwitch::OnMouseMove int    ctrl,
int    shift,
int    X,
int    Y
[virtual]
 

Generic event bindings must be overridden in subclasses

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

void vtkInteractorStyleSwitch::OnChar int    ctrl,
int    shift,
char    keycode,
int    repeatcount
[virtual]
 

OnChar implements keyboard functions, but subclasses can override this behavior

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

void vtkInteractorStyleSwitch::SetInteractor vtkRenderWindowInteractor   iren [virtual]
 

Set/Get the Interactor wrapper being controlled by this object.

Reimplemented from vtkInteractorStyle.

void vtkInteractorStyleSwitch::OnTimer void    [virtual]
 

OnTimer calls RotateCamera, RotateActor etc which should be overridden by style subclasses.

Reimplemented from vtkInteractorStyle.

Reimplemented in vtkInteractorStyleUser.

void vtkInteractorStyleSwitch::SetTrackballModeToTrackball   [inline]
 

Definition at line 78 of file vtkInteractorStyleSwitch.h.

void vtkInteractorStyleSwitch::SetTrackballModeToJoystick   [inline]
 

Definition at line 80 of file vtkInteractorStyleSwitch.h.

void vtkInteractorStyleSwitch::SetActorModeToCamera   [inline]
 

Definition at line 82 of file vtkInteractorStyleSwitch.h.

void vtkInteractorStyleSwitch::SetActorModeToActor   [inline]
 

Definition at line 84 of file vtkInteractorStyleSwitch.h.

void vtkInteractorStyleSwitch::operator= const vtkInteractorStyleSwitch &    [inline, protected]
 

Definition at line 93 of file vtkInteractorStyleSwitch.h.


Member Data Documentation

vtkInteractorStyleJoystickActor* vtkInteractorStyleSwitch::JoystickActor [protected]
 

Definition at line 95 of file vtkInteractorStyleSwitch.h.

vtkInteractorStyleJoystickCamera* vtkInteractorStyleSwitch::JoystickCamera [protected]
 

Definition at line 96 of file vtkInteractorStyleSwitch.h.

vtkInteractorStyleTrackballActor* vtkInteractorStyleSwitch::TrackballActor [protected]
 

Definition at line 97 of file vtkInteractorStyleSwitch.h.

vtkInteractorStyleTrackballCamera* vtkInteractorStyleSwitch::TrackballCamera [protected]
 

Definition at line 98 of file vtkInteractorStyleSwitch.h.

int vtkInteractorStyleSwitch::JoystickOrTrackball [protected]
 

Definition at line 100 of file vtkInteractorStyleSwitch.h.

int vtkInteractorStyleSwitch::CameraOrActor [protected]
 

Definition at line 101 of file vtkInteractorStyleSwitch.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:51:03 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001