72 #ifndef vtkOrientationMarkerWidget_h
73 #define vtkOrientationMarkerWidget_h
75 #include "vtkInteractionWidgetsModule.h"
78 VTK_ABI_NAMESPACE_BEGIN
82 class vtkOrientationMarkerWidgetObserver;
97 vtkGetObjectMacro(OrientationMarker,
vtkProp);
144 vtkSetVector4Macro(Viewport,
double);
145 vtkGetVector4Macro(Viewport,
double);
154 vtkSetClampMacro(Tolerance,
int, 1, 10);
155 vtkGetMacro(Tolerance,
int);
163 vtkSetClampMacro(Zoom,
double, 0.1, 10.0);
164 vtkGetMacro(Zoom,
double);
172 void Modified() override;
179 void EndInteraction() override;
198 bool SetSizeConstraintDimensionSizes(
int minDimensionSize,
int maxDimensionSize);
205 vtkGetMacro(MinDimensionSize,
int);
212 vtkGetMacro(MaxDimensionSize,
int);
224 unsigned long StartEventObserverId;
226 static
void ProcessEvents(
227 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
230 virtual
void OnLeftButtonDown();
231 virtual
void OnLeftButtonUp();
232 virtual
void OnMouseMove();
235 vtkOrientationMarkerWidgetObserver* Observer;
246 int StartPosition[2];
264 int MinDimensionSize = 20;
266 int MaxDimensionSize = 500;
302 void SetupWindowInteraction();
304 void TearDownWindowInteraction();
307 VTK_ABI_NAMESPACE_END
a actor that draws 2D data
a simple class to control print indentation
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor
abstract base class for most VTK objects
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract superclass for all actors, volumes and annotations
abstract specification for renderers
#define VTK_SIZEHINT(...)