100 #ifndef vtkInteractorStyle_h
101 #define vtkInteractorStyle_h
108 #define VTKIS_START 0
111 #define VTKIS_ROTATE 1
114 #define VTKIS_DOLLY 4
116 #define VTKIS_USCALE 6
117 #define VTKIS_TIMER 7
118 #define VTKIS_FORWARDFLY 8
119 #define VTKIS_REVERSEFLY 9
120 #define VTKIS_TWO_POINTER 10
122 #define VTKIS_ANIM_OFF 0
123 #define VTKIS_ANIM_ON 1
164 vtkSetClampMacro(AutoAdjustCameraClippingRange,
int, 0, 1 );
165 vtkGetMacro(AutoAdjustCameraClippingRange,
int );
166 vtkBooleanMacro(AutoAdjustCameraClippingRange,
int );
172 void FindPokedRenderer(
int,
int);
176 vtkGetMacro(State,
int);
181 vtkGetMacro(UseTimers,
int);
182 vtkSetMacro(UseTimers,
int);
183 vtkBooleanMacro(UseTimers,
int);
191 vtkSetClampMacro(TimerDuration,
unsigned long,1,100000);
192 vtkGetMacro(TimerDuration,
unsigned long);
197 vtkSetMacro(HandleObservers,
int);
198 vtkGetMacro(HandleObservers,
int);
199 vtkBooleanMacro(HandleObservers,
int);
249 virtual void OnTimer();
266 virtual void StartState(
int newstate);
267 virtual void StopState();
272 virtual void StartAnimate();
273 virtual void StopAnimate();
274 virtual void StartRotate();
275 virtual void EndRotate();
276 virtual void StartZoom();
277 virtual void EndZoom();
278 virtual void StartPan();
279 virtual void EndPan();
280 virtual void StartSpin();
281 virtual void EndSpin();
282 virtual void StartDolly();
283 virtual void EndDolly();
284 virtual void StartUniformScale();
285 virtual void EndUniformScale();
286 virtual void StartTimer();
287 virtual void EndTimer();
288 virtual void StartTwoPointer();
289 virtual void EndTwoPointer();
297 virtual void HighlightProp(
vtkProp *prop);
298 virtual void HighlightActor2D(
vtkActor2D *actor2D);
299 virtual void HighlightProp3D(
vtkProp3D *prop3D);
305 vtkSetVector3Macro(PickColor,
double);
306 vtkGetVectorMacro(PickColor,
double, 3);
313 vtkSetMacro(MouseWheelMotionFactor,
double);
314 vtkGetMacro(MouseWheelMotionFactor,
double);
326 void DelegateTDxEvent(
unsigned long event,
a simple event forwarder command
virtual void OnLeftButtonDown()
abstract superclass for all actors, volumes and annotations
virtual void SetInteractor(vtkRenderWindowInteractor *iren)
virtual void OnMiddleButtonDown()
double MouseWheelMotionFactor
virtual void OnRightButtonDown()
represents an object (geometry & properties) in a rendered scene
abstract base class for most VTK objects
virtual void OnLeftButtonUp()
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
virtual void OnMiddleButtonUp()
a actor that draws 2D data
virtual void SetEnabled(int)
virtual void UniformScale()
abstract specification for renderers
virtual void OnMouseWheelForward()
represents an 3D object for placement in a rendered scene
virtual void OnKeyRelease()
virtual void OnKeyPress()
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor ...
vtkPolyDataMapper * OutlineMapper
virtual void OnRightButtonUp()
platform-independent render window interaction including picking and frame rate control.
vtkEventForwarderCommand * EventForwarder
supports function callbacks
vtkActor2D * PickedActor2D
virtual void OnConfigure()
a simple class to control print indentation
virtual void OnMouseWheelBackward()
unsigned long TimerDuration
int AutoAdjustCameraClippingRange
create wireframe outline around bounding box
vtkRenderer * PickedRenderer
provide 3DConnexion device event-driven interface to the rendering window
map vtkPolyData to graphics primitives
provide event-driven interface to the rendering window (defines trackball mode)
#define VTKRENDERINGCORE_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
virtual void OnMouseMove()
vtkOutlineSource * Outline
vtkTDxInteractorStyle * TDxStyle