83 #ifndef vtkPlaneWidget_h
84 #define vtkPlaneWidget_h
103 #define VTK_PLANE_OFF 0
104 #define VTK_PLANE_OUTLINE 1
105 #define VTK_PLANE_WIREFRAME 2
106 #define VTK_PLANE_SURFACE 3
123 void PlaceWidget(
double xmin,
double xmax,
double ymin,
double ymax,
124 double zmin,
double zmax)
130 void SetResolution(
int r);
136 void SetOrigin(
double x,
double y,
double z);
137 void SetOrigin(
double x[3]);
139 void GetOrigin(
double xyz[3]);
145 void SetPoint1(
double x,
double y,
double z);
146 void SetPoint1(
double x[3]);
148 void GetPoint1(
double xyz[3]);
154 void SetPoint2(
double x,
double y,
double z);
155 void SetPoint2(
double x[3]);
157 void GetPoint2(
double xyz[3]);
162 void SetCenter(
double x,
double y,
double z);
163 void SetCenter(
double x[3]);
165 void GetCenter(
double xyz[3]);
170 void SetNormal(
double x,
double y,
double z);
171 void SetNormal(
double x[3]);
173 void GetNormal(
double xyz[3]);
183 vtkGetMacro(Representation,
int);
199 vtkSetMacro(NormalToXAxis,
int);
200 vtkGetMacro(NormalToXAxis,
int);
201 vtkBooleanMacro(NormalToXAxis,
int);
202 vtkSetMacro(NormalToYAxis,
int);
203 vtkGetMacro(NormalToYAxis,
int);
204 vtkBooleanMacro(NormalToYAxis,
int);
205 vtkSetMacro(NormalToZAxis,
int);
206 vtkGetMacro(NormalToZAxis,
int);
207 vtkBooleanMacro(NormalToZAxis,
int);
242 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
250 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
277 void OnLeftButtonDown();
278 void OnLeftButtonUp();
279 void OnMiddleButtonDown();
280 void OnMiddleButtonUp();
281 void OnRightButtonDown();
282 void OnRightButtonUp();
290 void SelectRepresentation();
297 void HighlightPlane(
int highlight);
303 void PositionHandles();
304 void HandlesOn(
double length);
306 int HighlightHandle(
vtkProp *prop);
313 void HighlightNormal(
int highlight);
339 void MoveOrigin(
double *p1,
double *p2);
340 void MovePoint1(
double *p1,
double *p2);
341 void MovePoint2(
double *p1,
double *p2);
342 void MovePoint3(
double *p1,
double *p2);
343 void Rotate(
int X,
int Y,
double *p1,
double *p2,
double *vpn);
344 void Spin(
double *p1,
double *p2);
345 void Scale(
double *p1,
double *p2,
int X,
int Y);
346 void Translate(
double *p1,
double *p2);
347 void Push(
double *p1,
double *p2);
361 void CreateDefaultProperties();
363 void GeneratePlane();
abstract superclass for all actors, volumes and annotations
represents an object (geometry & properties) in a rendered scene
abstract base class for most VTK objects
represent surface properties of a geometric object
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
virtual void SetEnabled(int)
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void RegisterPickers()
create a polygonal sphere centered at the origin
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
perform various plane computations
create an array of quadrilaterals located in a plane
create a line defined by two end points
map vtkPolyData to graphics primitives
ray-cast cell picker for all kinds of Prop3Ds
represent and manipulate 3D points