#include <vtkTDxInteractorStyle.h>
vtkTDxInteractorStyle is an abstract class defining an event-driven interface to support 3DConnexion device events send by vtkRenderWindowInteractor. vtkRenderWindowInteractor forwards events in a platform independent form to vtkInteractorStyle which can then delegate some processing to vtkTDxInteractorStyle.
Definition at line 43 of file vtkTDxInteractorStyle.h.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | OnMotionEvent (vtkTDxMotionEventInfo *motionInfo) |
virtual void | OnButtonPressedEvent (int button) |
virtual void | OnButtonReleasedEvent (int button) |
virtual void | ProcessEvent (vtkRenderer *renderer, unsigned long event, void *calldata) |
virtual vtkTDxInteractorStyleSettings * | GetSettings () |
virtual void | SetSettings (vtkTDxInteractorStyleSettings *settings) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkTDxInteractorStyle * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkTDxInteractorStyle () | |
virtual | ~vtkTDxInteractorStyle () |
Protected Attributes | |
vtkTDxInteractorStyleSettings * | Settings |
vtkRenderer * | Renderer |
Reimplemented from vtkObject.
Reimplemented in vtkTDxInteractorStyleCamera, and vtkTDxInteractorStyleGeo.
Definition at line 46 of file vtkTDxInteractorStyle.h.
vtkTDxInteractorStyle::vtkTDxInteractorStyle | ( | ) | [protected] |
virtual vtkTDxInteractorStyle::~vtkTDxInteractorStyle | ( | ) | [protected, virtual] |
virtual const char* vtkTDxInteractorStyle::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
Reimplemented in vtkTDxInteractorStyleCamera, and vtkTDxInteractorStyleGeo.
static int vtkTDxInteractorStyle::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 vtkObject.
Reimplemented in vtkTDxInteractorStyleCamera, and vtkTDxInteractorStyleGeo.
virtual int vtkTDxInteractorStyle::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 vtkObject.
Reimplemented in vtkTDxInteractorStyleCamera, and vtkTDxInteractorStyleGeo.
static vtkTDxInteractorStyle* vtkTDxInteractorStyle::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
Reimplemented in vtkTDxInteractorStyleCamera, and vtkTDxInteractorStyleGeo.
void vtkTDxInteractorStyle::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 vtkObject.
Reimplemented in vtkTDxInteractorStyleCamera, and vtkTDxInteractorStyleGeo.
virtual void vtkTDxInteractorStyle::OnMotionEvent | ( | vtkTDxMotionEventInfo * | motionInfo | ) | [virtual] |
Action on motion event. Default implementation is empty.
Reimplemented in vtkTDxInteractorStyleCamera, and vtkTDxInteractorStyleGeo.
virtual void vtkTDxInteractorStyle::OnButtonPressedEvent | ( | int | button | ) | [virtual] |
Action on button pressed event. Default implementation is empty.
virtual void vtkTDxInteractorStyle::OnButtonReleasedEvent | ( | int | button | ) | [virtual] |
Action on button released event. Default implementation is empty.
virtual void vtkTDxInteractorStyle::ProcessEvent | ( | vtkRenderer * | renderer, | |
unsigned long | event, | |||
void * | calldata | |||
) | [virtual] |
Dispatch the events TDxMotionEvent, TDxButtonPressEvent and TDxButtonReleaseEvent to OnMotionEvent(), OnButtonPressedEvent() and OnButtonReleasedEvent() respectively. It is called by the vtkInteractorStyle. This method is virtual for convenient but you should really override the On*Event() methods only.
virtual vtkTDxInteractorStyleSettings* vtkTDxInteractorStyle::GetSettings | ( | ) | [virtual] |
3Dconnexion device settings. (sensitivity, individual axis filters). Initial object is not null.
virtual void vtkTDxInteractorStyle::SetSettings | ( | vtkTDxInteractorStyleSettings * | settings | ) | [virtual] |
3Dconnexion device settings. (sensitivity, individual axis filters). Initial object is not null.
Definition at line 86 of file vtkTDxInteractorStyle.h.
vtkRenderer* vtkTDxInteractorStyle::Renderer [protected] |
Definition at line 88 of file vtkTDxInteractorStyle.h.