77 #ifndef __vtkOrientationMarkerWidget_h
78 #define __vtkOrientationMarkerWidget_h
80 #include "vtkInteractionWidgetsModule.h"
81 #include "vtkInteractorObserver.h"
86 class vtkOrientationMarkerWidgetObserver;
94 void PrintSelf(ostream& os, vtkIndent indent);
98 virtual void SetOrientationMarker(vtkProp *prop);
99 vtkGetObjectMacro(OrientationMarker, vtkProp);
103 virtual void SetEnabled(
int);
107 void ExecuteCameraUpdateEvent(vtkObject *o,
unsigned long event,
void *calldata);
112 void SetInteractive(
int state);
113 vtkGetMacro(Interactive,
int);
114 vtkBooleanMacro(Interactive,
int);
121 void SetOutlineColor(
double r,
double g,
double b);
122 double *GetOutlineColor();
128 void SetViewport(
double minX,
double minY,
double maxX,
double maxY);
129 double* GetViewport();
136 vtkSetClampMacro(Tolerance,
int,1,10);
137 vtkGetMacro(Tolerance,
int);
151 static void ProcessEvents(vtkObject *
object,
unsigned long event,
152 void *clientdata,
void *calldata);
155 void OnLeftButtonDown();
156 void OnLeftButtonUp();
167 int StartPosition[2];
186 int ComputeStateBasedOnPosition(
int X,
int Y,
int *pos1,
int *pos2);
189 void SetCursor(
int state);
192 void MoveWidget(
int X,
int Y);
193 void ResizeTopLeft(
int X,
int Y);
194 void ResizeTopRight(
int X,
int Y);
195 void ResizeBottomLeft(
int X,
int Y);
196 void ResizeBottomRight(
int X,
int Y);
198 void SquareRenderer();
199 void UpdateOutline();
concrete dataset represents vertices, lines, polygons, and triangle strips