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);
112 void SetInteractive(
int state);
113 vtkGetMacro(Interactive,
int);
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);
159 void Modified() VTK_OVERRIDE;
164 ~vtkOrientationMarkerWidget() VTK_OVERRIDE;
171 unsigned long StartEventObserverId;
173 static
void ProcessEvents(
vtkObject *
object,
unsigned long event,
174 void *clientdata,
void *calldata);
177 void OnLeftButtonDown();
178 void OnLeftButtonUp();
182 vtkOrientationMarkerWidgetObserver *Observer;
192 int StartPosition[2];
210 int ComputeStateBasedOnPosition(
int X,
int Y,
int *pos1,
int *pos2);
213 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();
abstract superclass for all actors, volumes and annotations
abstract base class for most VTK objects
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
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...