#include <vtkInteractorStyleSwitch.h>
The class vtkInteractorStyleSwitch allows handles interactively switching between four interactor styles -- joystick actor, joystick camera, trackball actor, and trackball camera. Type 'j' or 't' to select joystick or trackball, and type 'c' or 'a' to select camera or actor. The default interactor style is joystick camera.
Definition at line 50 of file vtkInteractorStyleSwitch.h.
Reimplemented from vtkInteractorStyle.
Reimplemented in vtkInteractorStyleTrackball.
Definition at line 54 of file vtkInteractorStyleSwitch.h.
vtkInteractorStyleSwitch::vtkInteractorStyleSwitch | ( | ) | [protected] |
vtkInteractorStyleSwitch::~vtkInteractorStyleSwitch | ( | ) | [protected] |
static 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 vtkInteractorStyleTrackball.
virtual const char* vtkInteractorStyleSwitch::GetClassName | ( | ) | [virtual] |
static int vtkInteractorStyleSwitch::IsTypeOf | ( | const char * | name | ) | [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 vtkInteractorStyleTrackball.
virtual int vtkInteractorStyleSwitch::IsA | ( | const char * | name | ) | [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 vtkInteractorStyleTrackball.
static vtkInteractorStyleSwitch* vtkInteractorStyleSwitch::SafeDownCast | ( | vtkObject * | o | ) | [static] |
void vtkInteractorStyleSwitch::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 vtkInteractorStyle.
Reimplemented in vtkInteractorStyleTrackball.
void vtkInteractorStyleSwitch::SetInteractor | ( | vtkRenderWindowInteractor * | iren | ) | [virtual] |
The sub styles need the interactor too.
Reimplemented from vtkInteractorStyle.
void vtkInteractorStyleSwitch::SetAutoAdjustCameraClippingRange | ( | int | value | ) | [virtual] |
We must override this method in order to pass the setting down to the underlying styles
Reimplemented from vtkInteractorStyle.
virtual vtkInteractorStyle* vtkInteractorStyleSwitch::GetCurrentStyle | ( | ) | [virtual] |
Set/Get current style
void vtkInteractorStyleSwitch::SetCurrentStyleToJoystickActor | ( | ) |
Set/Get current style
void vtkInteractorStyleSwitch::SetCurrentStyleToJoystickCamera | ( | ) |
Set/Get current style
void vtkInteractorStyleSwitch::SetCurrentStyleToTrackballActor | ( | ) |
Set/Get current style
void vtkInteractorStyleSwitch::SetCurrentStyleToTrackballCamera | ( | ) |
Set/Get current style
virtual void vtkInteractorStyleSwitch::OnChar | ( | ) | [virtual] |
Only care about the char event, which is used to switch between different styles.
Reimplemented from vtkInteractorStyle.
virtual void vtkInteractorStyleSwitch::SetDefaultRenderer | ( | vtkRenderer * | ) | [virtual] |
Overridden from vtkInteractorObserver because the interactor styles used by this class must also be updated.
Reimplemented from vtkInteractorObserver.
virtual void vtkInteractorStyleSwitch::SetCurrentRenderer | ( | vtkRenderer * | ) | [virtual] |
Overridden from vtkInteractorObserver because the interactor styles used by this class must also be updated.
Reimplemented from vtkInteractorObserver.
void vtkInteractorStyleSwitch::SetCurrentStyle | ( | ) | [protected] |
Definition at line 90 of file vtkInteractorStyleSwitch.h.
Definition at line 91 of file vtkInteractorStyleSwitch.h.
Definition at line 92 of file vtkInteractorStyleSwitch.h.
Definition at line 93 of file vtkInteractorStyleSwitch.h.
vtkInteractorStyle* vtkInteractorStyleSwitch::CurrentStyle [protected] |
Definition at line 94 of file vtkInteractorStyleSwitch.h.
int vtkInteractorStyleSwitch::JoystickOrTrackball [protected] |
Definition at line 96 of file vtkInteractorStyleSwitch.h.
int vtkInteractorStyleSwitch::CameraOrActor [protected] |
Definition at line 97 of file vtkInteractorStyleSwitch.h.