64 #ifndef vtkImplicitPlaneWidget_h 65 #define vtkImplicitPlaneWidget_h 67 #include "vtkInteractionWidgetsModule.h" 105 void PlaceWidget(
double xmin,
double xmax,
double ymin,
double ymax,
106 double zmin,
double zmax) VTK_OVERRIDE
114 virtual void SetOrigin(
double x,
double y,
double z);
115 virtual void SetOrigin(
double x[3]);
117 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]);
138 void SetNormalToXAxis(
int);
139 vtkGetMacro(NormalToXAxis,
int);
141 void SetNormalToYAxis(
int);
142 vtkGetMacro(NormalToYAxis,
int);
144 void SetNormalToZAxis(
int);
145 vtkGetMacro(NormalToZAxis,
int);
155 vtkGetMacro(Tubing,
int);
166 void SetDrawPlane(
int plane);
167 vtkGetMacro(DrawPlane,
int);
177 vtkGetMacro(OutlineTranslation,
int);
186 vtkGetMacro(OutsideBounds,
int);
195 vtkGetMacro(ScaleEnabled,
int);
205 vtkGetMacro(OriginTranslation,
int);
214 vtkSetClampMacro(DiagonalRatio,
double,0,2);
215 vtkGetMacro(DiagonalRatio,
double);
254 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
263 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
271 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
302 void* clientdata,
void* calldata);
305 void OnLeftButtonDown();
306 void OnLeftButtonUp();
307 void OnMiddleButtonDown();
308 void OnMiddleButtonUp();
309 void OnRightButtonDown();
310 void OnRightButtonUp();
317 void UpdateRepresentation();
327 void HighlightOutline(
int highlight);
337 virtual void HighlightPlane(
int highlight);
353 void HighlightNormal(
int highlight);
386 void ConstrainOrigin(
double x[3]);
387 void Rotate(
int X,
int Y,
double *p1,
double *p2,
double *vpn);
388 void TranslatePlane(
double *p1,
double *p2);
389 void TranslateOutline(
double *p1,
double *p2);
390 void TranslateOrigin(
double *p1,
double *p2);
391 void Push(
double *p1,
double *p2);
392 void Scale(
double *p1,
double *p2,
int X,
int Y);
403 void CreateDefaultProperties();
405 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)
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 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
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
create a line defined by two end points
map vtkPolyData to graphics primitives
ray-cast cell picker for all kinds of Prop3Ds
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...