72 #ifndef vtkOrientationMarkerWidget_h 73 #define vtkOrientationMarkerWidget_h 75 #include "vtkInteractionWidgetsModule.h" 81 class vtkOrientationMarkerWidgetObserver;
95 virtual void SetOrientationMarker(
vtkProp* prop);
96 vtkGetObjectMacro(OrientationMarker,
vtkProp);
108 void ExecuteCameraUpdateEvent(
vtkObject* o,
unsigned long event,
void* calldata);
126 void SetOutlineColor(
double r,
double g,
double b);
143 vtkSetVector4Macro(Viewport,
double);
144 vtkGetVector4Macro(Viewport,
double);
153 vtkSetClampMacro(Tolerance,
int, 1, 10);
154 vtkGetMacro(Tolerance,
int);
162 void Modified() override;
174 unsigned long StartEventObserverId;
176 static
void ProcessEvents(
177 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
180 virtual
void OnLeftButtonDown();
181 virtual
void OnLeftButtonUp();
182 virtual
void OnMouseMove();
185 vtkOrientationMarkerWidgetObserver* Observer;
195 int StartPosition[2];
212 virtual int ComputeStateBasedOnPosition(
int X,
int Y,
int* pos1,
int* pos2);
215 virtual void SetCursor(
int state);
218 void MoveWidget(
int X,
int Y);
219 void ResizeTopLeft(
int X,
int Y);
220 void ResizeTopRight(
int X,
int Y);
221 void ResizeBottomLeft(
int X,
int Y);
222 void ResizeBottomRight(
int X,
int Y);
224 void SquareRenderer();
225 void UpdateOutline();
229 void UpdateViewport();
233 void UpdateInternalViewport();
240 void SetupWindowInteraction();
242 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...