58 #ifndef vtkImplicitPlaneWidget_h
59 #define vtkImplicitPlaneWidget_h
61 #include "vtkInteractionWidgetsModule.h"
64 VTK_ABI_NAMESPACE_BEGIN
100 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override
110 virtual void SetOrigin(
double x,
double y,
double z);
111 virtual void SetOrigin(
double x[3]);
113 void GetOrigin(
double xyz[3]);
120 void SetNormal(
double x,
double y,
double z);
121 void SetNormal(
double n[3]);
123 void GetNormal(
double xyz[3]);
135 vtkGetMacro(NormalToXAxis, vtkTypeBool);
136 vtkBooleanMacro(NormalToXAxis, vtkTypeBool);
137 void SetNormalToYAxis(vtkTypeBool);
138 vtkGetMacro(NormalToYAxis, vtkTypeBool);
139 vtkBooleanMacro(NormalToYAxis, vtkTypeBool);
140 void SetNormalToZAxis(vtkTypeBool);
141 vtkGetMacro(NormalToZAxis, vtkTypeBool);
142 vtkBooleanMacro(NormalToZAxis, vtkTypeBool);
150 vtkSetMacro(Tubing, vtkTypeBool);
151 vtkGetMacro(Tubing, vtkTypeBool);
152 vtkBooleanMacro(Tubing, vtkTypeBool);
162 void SetDrawPlane(vtkTypeBool plane);
163 vtkGetMacro(DrawPlane, vtkTypeBool);
164 vtkBooleanMacro(DrawPlane, vtkTypeBool);
172 vtkSetMacro(OutlineTranslation, vtkTypeBool);
173 vtkGetMacro(OutlineTranslation, vtkTypeBool);
174 vtkBooleanMacro(OutlineTranslation, vtkTypeBool);
181 vtkSetMacro(OutsideBounds, vtkTypeBool);
182 vtkGetMacro(OutsideBounds, vtkTypeBool);
183 vtkBooleanMacro(OutsideBounds, vtkTypeBool);
190 vtkSetMacro(ScaleEnabled, vtkTypeBool);
191 vtkGetMacro(ScaleEnabled, vtkTypeBool);
192 vtkBooleanMacro(ScaleEnabled, vtkTypeBool);
200 vtkSetMacro(OriginTranslation, vtkTypeBool);
201 vtkGetMacro(OriginTranslation, vtkTypeBool);
202 vtkBooleanMacro(OriginTranslation, vtkTypeBool);
210 vtkSetClampMacro(DiagonalRatio,
double, 0, 2);
211 vtkGetMacro(DiagonalRatio,
double);
238 void UpdatePlacement() override;
243 void SizeHandles() override;
250 vtkGetObjectMacro(SelectedNormalProperty, vtkProperty);
258 vtkGetObjectMacro(PlaneProperty, vtkProperty);
259 vtkGetObjectMacro(SelectedPlaneProperty, vtkProperty);
266 vtkGetObjectMacro(OutlineProperty, vtkProperty);
267 vtkGetObjectMacro(SelectedOutlineProperty, vtkProperty);
275 vtkGetObjectMacro(EdgesProperty, vtkProperty);
280 ~vtkImplicitPlaneWidget() override;
298 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
301 void OnLeftButtonDown();
302 void OnLeftButtonUp();
303 void OnMiddleButtonDown();
304 void OnMiddleButtonUp();
305 void OnRightButtonDown();
306 void OnRightButtonUp();
313 void UpdateRepresentation();
323 void HighlightOutline(
int highlight);
333 virtual void HighlightPlane(
int highlight);
349 void HighlightNormal(
int highlight);
382 void ConstrainOrigin(
double x[3]);
383 void Rotate(
int X,
int Y,
double* p1,
double* p2,
double* vpn);
384 void TranslatePlane(
double* p1,
double* p2);
385 void TranslateOutline(
double* p1,
double* p2);
386 void TranslateOrigin(
double* p1,
double* p2);
387 void Push(
double* p1,
double* p2);
388 void Scale(
double* p1,
double* p2,
int X,
int Y);
399 void CreateDefaultProperties();
401 void GeneratePlane();
408 VTK_ABI_NAMESPACE_END
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)
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 wireframe outline for an arbitrary data set or composite dataset
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 interior, boundary, non-manifold, and/or sharp edges from polygonal data
topologically and geometrically regular array of data
perform various plane computations
#define VTK_SIZEHINT(...)
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...