75 #ifndef vtkPlaneWidget_h 76 #define vtkPlaneWidget_h 78 #include "vtkInteractionWidgetsModule.h" 95 #define VTK_PLANE_OFF 0 96 #define VTK_PLANE_OUTLINE 1 97 #define VTK_PLANE_WIREFRAME 2 98 #define VTK_PLANE_SURFACE 3 119 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override 129 void SetResolution(
int r);
137 void SetOrigin(
double x,
double y,
double z);
138 void SetOrigin(
double x[3]);
140 void GetOrigin(
double xyz[3]);
147 void SetPoint1(
double x,
double y,
double z);
148 void SetPoint1(
double x[3]);
150 void GetPoint1(
double xyz[3]);
157 void SetPoint2(
double x,
double y,
double z);
158 void SetPoint2(
double x[3]);
160 void GetPoint2(
double xyz[3]);
167 void SetCenter(
double x,
double y,
double z);
168 void SetCenter(
double x[3]);
170 void GetCenter(
double xyz[3]);
177 void SetNormal(
double x,
double y,
double z);
178 void SetNormal(
double x[3]);
180 void GetNormal(
double xyz[3]);
193 vtkGetMacro(Representation,
int);
258 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
268 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
291 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
294 void OnLeftButtonDown();
295 void OnLeftButtonUp();
296 void OnMiddleButtonDown();
297 void OnMiddleButtonUp();
298 void OnRightButtonDown();
299 void OnRightButtonUp();
310 void SelectRepresentation();
317 void HighlightPlane(
int highlight);
323 void PositionHandles();
324 void HandlesOn(
double length);
326 int HighlightHandle(
vtkProp* prop);
333 void HighlightNormal(
int highlight);
359 void MoveOrigin(
double* p1,
double* p2);
360 void MovePoint1(
double* p1,
double* p2);
361 void MovePoint2(
double* p1,
double* p2);
362 void MovePoint3(
double* p1,
double* p2);
363 void Rotate(
int X,
int Y,
double* p1,
double* p2,
double* vpn);
364 void Spin(
double* p1,
double* p2);
365 void Scale(
double* p1,
double* p2,
int X,
int Y);
366 void Translate(
double* p1,
double* p2);
367 void Push(
double* p1,
double* p2);
381 void CreateDefaultProperties();
383 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)
Handles the char widget activation event.
virtual void SetEnabled(int)
Methods for turning the interactor observer on and off, and determining its state.
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
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
#define VTK_SIZEHINT(...)
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
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent and manipulate 3D points