72 #ifndef vtkImplicitPlaneWidget_h
73 #define vtkImplicitPlaneWidget_h
109 void PlaceWidget(
double xmin,
double xmax,
double ymin,
double ymax,
110 double zmin,
double zmax)
116 virtual void SetOrigin(
double x,
double y,
double z);
117 virtual void SetOrigin(
double x[3]);
119 void GetOrigin(
double xyz[3]);
124 void SetNormal(
double x,
double y,
double z);
125 void SetNormal(
double x[3]);
127 void GetNormal(
double xyz[3]);
135 void SetNormalToXAxis(
int);
136 vtkGetMacro(NormalToXAxis,
int);
137 vtkBooleanMacro(NormalToXAxis,
int);
138 void SetNormalToYAxis(
int);
139 vtkGetMacro(NormalToYAxis,
int);
140 vtkBooleanMacro(NormalToYAxis,
int);
141 void SetNormalToZAxis(
int);
142 vtkGetMacro(NormalToZAxis,
int);
143 vtkBooleanMacro(NormalToZAxis,
int);
149 vtkSetMacro(Tubing,
int);
150 vtkGetMacro(Tubing,
int);
151 vtkBooleanMacro(Tubing,
int);
159 void SetDrawPlane(
int plane);
160 vtkGetMacro(DrawPlane,
int);
161 vtkBooleanMacro(DrawPlane,
int);
167 vtkSetMacro(OutlineTranslation,
int);
168 vtkGetMacro(OutlineTranslation,
int);
169 vtkBooleanMacro(OutlineTranslation,
int);
175 vtkSetMacro(OutsideBounds,
int);
176 vtkGetMacro(OutsideBounds,
int);
177 vtkBooleanMacro(OutsideBounds,
int);
182 vtkSetMacro(ScaleEnabled,
int);
183 vtkGetMacro(ScaleEnabled,
int);
184 vtkBooleanMacro(ScaleEnabled,
int);
190 vtkSetMacro(OriginTranslation,
int);
191 vtkGetMacro(OriginTranslation,
int);
192 vtkBooleanMacro(OriginTranslation,
int);
198 vtkSetClampMacro(DiagonalRatio,
double,0,2);
199 vtkGetMacro(DiagonalRatio,
double);
227 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
234 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
240 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
270 void* clientdata,
void* calldata);
273 void OnLeftButtonDown();
274 void OnLeftButtonUp();
275 void OnMiddleButtonDown();
276 void OnMiddleButtonUp();
277 void OnRightButtonDown();
278 void OnRightButtonUp();
285 void UpdateRepresentation();
295 void HighlightOutline(
int highlight);
305 virtual void HighlightPlane(
int highlight);
321 void HighlightNormal(
int highlight);
354 void ConstrainOrigin(
double x[3]);
355 void Rotate(
int X,
int Y,
double *p1,
double *p2,
double *vpn);
356 void TranslatePlane(
double *p1,
double *p2);
357 void TranslateOutline(
double *p1,
double *p2);
358 void TranslateOrigin(
double *p1,
double *p2);
359 void Push(
double *p1,
double *p2);
360 void Scale(
double *p1,
double *p2,
int X,
int Y);
371 void CreateDefaultProperties();
373 void GeneratePlane();
Cut vtkDataSet with user-specified implicit function.
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 wireframe outline for arbitrary data set
create a polygonal sphere centered at the origin
Superclass for algorithms that produce only polydata as output.
filter that generates tubes around lines
a simple class to control print indentation
extract boundary, non-manifold, and/or sharp edges from polygonal data
topologically and geometrically regular array of data
perform various plane computations
create a line defined by two end points
map vtkPolyData to graphics primitives
ray-cast cell picker for all kinds of Prop3Ds