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);
140 vtkSetVector4Macro(Viewport,
double);
141 vtkGetVector4Macro(Viewport,
double);
150 vtkSetClampMacro(Tolerance,
int, 1, 10);
151 vtkGetMacro(Tolerance,
int);
159 void Modified() override;
164 ~vtkOrientationMarkerWidget() override;
171 unsigned long StartEventObserverId;
173 static
void ProcessEvents(
174 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
177 virtual
void OnLeftButtonDown();
178 virtual
void OnLeftButtonUp();
179 virtual
void OnMouseMove();
182 vtkOrientationMarkerWidgetObserver* Observer;
192 int StartPosition[2];
209 virtual int ComputeStateBasedOnPosition(
int X,
int Y,
int* pos1,
int* pos2);
212 virtual void SetCursor(
int state);
215 void MoveWidget(
int X,
int Y);
216 void ResizeTopLeft(
int X,
int Y);
217 void ResizeTopRight(
int X,
int Y);
218 void ResizeBottomLeft(
int X,
int Y);
219 void ResizeBottomRight(
int X,
int Y);
221 void SquareRenderer();
222 void UpdateOutline();
226 void UpdateViewport();
230 void UpdateInternalViewport();
237 void SetupWindowInteraction();
239 void TearDownWindowInteraction();
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
#define VTK_SIZEHINT(...)
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...