69 #ifndef vtkOrientationMarkerWidget_h 70 #define vtkOrientationMarkerWidget_h 72 #include "vtkInteractionWidgetsModule.h" 78 class vtkOrientationMarkerWidgetObserver;
92 virtual void SetOrientationMarker(
vtkProp *prop);
93 vtkGetObjectMacro(OrientationMarker,
vtkProp);
105 void ExecuteCameraUpdateEvent(
vtkObject *o,
unsigned long event,
void *calldata);
123 void SetOutlineColor(
double r,
double g,
double b);
124 double *GetOutlineColor();
140 vtkSetVector4Macro(Viewport,
double);
141 vtkGetVector4Macro(Viewport,
double);
150 vtkSetClampMacro(Tolerance,
int,1,10);
151 vtkGetMacro(Tolerance,
int);
174 void *clientdata,
void *calldata);
177 virtual void OnLeftButtonDown();
178 virtual void OnLeftButtonUp();
179 virtual void OnMouseMove();
192 int StartPosition[2];
210 virtual int ComputeStateBasedOnPosition(
int X,
int Y,
int *pos1,
int *pos2);
213 virtual void SetCursor(
int state);
216 void MoveWidget(
int X,
int Y);
217 void ResizeTopLeft(
int X,
int Y);
218 void ResizeTopRight(
int X,
int Y);
219 void ResizeBottomLeft(
int X,
int Y);
220 void ResizeBottomRight(
int X,
int Y);
222 void SquareRenderer();
223 void UpdateOutline();
227 void UpdateViewport();
231 void UpdateInternalViewport();
238 void SetupWindowInteraction();
240 void TearDownWindowInteraction();
abstract superclass for all actors, volumes and annotations
abstract base class for most VTK objects
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
Handles the char widget activation event.
a actor that draws 2D data
virtual void SetEnabled(int)
Methods for turning the interactor observer on and off, and determining its state.
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor
a simple class to control print indentation
virtual void Modified()
Update the modification time for this object.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.