VTK
|
provide 3DConnexion device event-driven interface to the rendering window More...
#include <vtkTDxInteractorStyle.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTDxInteractorStyle * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkTDxInteractorStyle () | |
virtual | ~vtkTDxInteractorStyle () |
Protected Attributes | |
vtkTDxInteractorStyleSettings * | Settings |
vtkRenderer * | Renderer |
provide 3DConnexion device event-driven interface to the rendering window
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 44 of file vtkTDxInteractorStyle.h.
Reimplemented from vtkObject.
Reimplemented in vtkTDxInteractorStyleCamera, and vtkTDxInteractorStyleGeo.
Definition at line 47 of file vtkTDxInteractorStyle.h.
vtkTDxInteractorStyle::vtkTDxInteractorStyle | ( | ) | [protected] |
virtual vtkTDxInteractorStyle::~vtkTDxInteractorStyle | ( | ) | [protected, virtual] |
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
Reimplemented in vtkTDxInteractorStyleCamera, and vtkTDxInteractorStyleGeo.
virtual vtkObjectBase* vtkTDxInteractorStyle::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
Reimplemented in vtkTDxInteractorStyleCamera, and vtkTDxInteractorStyleGeo.
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 87 of file vtkTDxInteractorStyle.h.
vtkRenderer* vtkTDxInteractorStyle::Renderer [protected] |
Definition at line 89 of file vtkTDxInteractorStyle.h.