75 #ifndef vtkOrientationMarkerWidget_h 76 #define vtkOrientationMarkerWidget_h 78 #include "vtkInteractionWidgetsModule.h" 84 class vtkOrientationMarkerWidgetObserver;
98 virtual void SetOrientationMarker(
vtkProp* prop);
99 vtkGetObjectMacro(OrientationMarker,
vtkProp);
111 void ExecuteCameraUpdateEvent(
vtkObject* o,
unsigned long event,
void* calldata);
129 void SetOutlineColor(
double r,
double g,
double b);
146 vtkSetVector4Macro(Viewport,
double);
147 vtkGetVector4Macro(Viewport,
double);
156 vtkSetClampMacro(Tolerance,
int, 1, 10);
157 vtkGetMacro(Tolerance,
int);
165 void Modified() override;
177 unsigned long StartEventObserverId;
179 static
void ProcessEvents(
180 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
183 virtual
void OnLeftButtonDown();
184 virtual
void OnLeftButtonUp();
185 virtual
void OnMouseMove();
188 vtkOrientationMarkerWidgetObserver* Observer;
198 int StartPosition[2];
215 virtual int ComputeStateBasedOnPosition(
int X,
int Y,
int* pos1,
int* pos2);
218 virtual void SetCursor(
int state);
221 void MoveWidget(
int X,
int Y);
222 void ResizeTopLeft(
int X,
int Y);
223 void ResizeTopRight(
int X,
int Y);
224 void ResizeBottomLeft(
int X,
int Y);
225 void ResizeBottomRight(
int X,
int Y);
227 void SquareRenderer();
228 void UpdateOutline();
232 void UpdateViewport();
236 void UpdateInternalViewport();
243 void SetupWindowInteraction();
245 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...