Go to the documentation of this file.
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)
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]);
214 vtkSetClampMacro(DiagonalRatio,
double,0,2);
215 vtkGetMacro(DiagonalRatio,
double);
242 void UpdatePlacement() override;
247 void SizeHandles() override;
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();
map vtkPolyData to graphics primitives
perform various plane computations
Cut vtkDataSet with user-specified implicit function.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract base class for most VTK objects
filter that generates tubes around lines
#define VTK_SIZEHINT(...)
create a polygonal sphere centered at the origin
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
Handles the char widget activation event.
represents an object (geometry & properties) in a rendered scene
virtual void SetEnabled(int)
Methods for turning the interactor observer on and off, and determining its state.
topologically and geometrically regular array of data
a simple class to control print indentation
extract boundary, non-manifold, and/or sharp edges from polygonal data
create a line defined by two end points
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
concrete dataset represents vertices, lines, polygons, and triangle strips
create wireframe outline for arbitrary data set
represent surface properties of a geometric object
ray-cast cell picker for all kinds of Prop3Ds
Superclass for algorithms that produce only polydata as output.