class to swap between interactory styles
More...
#include <vtkInteractorStyleSwitch.h>
class to swap between interactory styles
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.
- See Also
- vtkInteractorStyleJoystickActor vtkInteractorStyleJoystickCamera vtkInteractorStyleTrackballActor vtkInteractorStyleTrackballCamera
- Examples:
- vtkInteractorStyleSwitch (Examples)
- Tests:
- vtkInteractorStyleSwitch (Tests)
Definition at line 51 of file vtkInteractorStyleSwitch.h.
vtkInteractorStyleSwitch::vtkInteractorStyleSwitch |
( |
| ) |
|
|
protected |
vtkInteractorStyleSwitch::~vtkInteractorStyleSwitch |
( |
| ) |
|
|
protected |
static int vtkInteractorStyleSwitch::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkInteractorStyleSwitch::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkInteractorStyleSwitch::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkInteractorStyleSwitch::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
void vtkInteractorStyleSwitch::SetInteractor |
( |
vtkRenderWindowInteractor * |
iren | ) |
|
The sub styles need the interactor too.
void vtkInteractorStyleSwitch::SetAutoAdjustCameraClippingRange |
( |
int |
value | ) |
|
We must override this method in order to pass the setting down to the underlying styles
virtual vtkInteractorStyle* vtkInteractorStyleSwitch::GetCurrentStyle |
( |
| ) |
|
|
virtual |
void vtkInteractorStyleSwitch::SetCurrentStyleToJoystickActor |
( |
| ) |
|
void vtkInteractorStyleSwitch::SetCurrentStyleToJoystickCamera |
( |
| ) |
|
void vtkInteractorStyleSwitch::SetCurrentStyleToTrackballActor |
( |
| ) |
|
void vtkInteractorStyleSwitch::SetCurrentStyleToTrackballCamera |
( |
| ) |
|
virtual void vtkInteractorStyleSwitch::OnChar |
( |
| ) |
|
|
virtual |
Only care about the char event, which is used to switch between different styles.
virtual void vtkInteractorStyleSwitch::SetDefaultRenderer |
( |
vtkRenderer * |
| ) |
|
|
virtual |
Overridden from vtkInteractorObserver because the interactor styles used by this class must also be updated.
virtual void vtkInteractorStyleSwitch::SetCurrentRenderer |
( |
vtkRenderer * |
| ) |
|
|
virtual |
Overridden from vtkInteractorObserver because the interactor styles used by this class must also be updated.
void vtkInteractorStyleSwitch::SetCurrentStyle |
( |
| ) |
|
|
protected |
vtkInteractorStyle* vtkInteractorStyleSwitch::CurrentStyle |
|
protected |
int vtkInteractorStyleSwitch::JoystickOrTrackball |
|
protected |
int vtkInteractorStyleSwitch::CameraOrActor |
|
protected |
The documentation for this class was generated from the following file: