Go to the documentation of this file.
70 #ifndef vtkImplicitPlaneWidget_h
71 #define vtkImplicitPlaneWidget_h
73 #include "vtkInteractionWidgetsModule.h"
111 void PlaceWidget(
double xmin,
double xmax,
double ymin,
double ymax,
112 double zmin,
double zmax)
override
120 virtual void SetOrigin(
double x,
double y,
double z);
121 virtual void SetOrigin(
double x[3]);
123 void GetOrigin(
double xyz[3]);
130 void SetNormal(
double x,
double y,
double z);
131 void SetNormal(
double x[3]);
133 void GetNormal(
double xyz[3]);
220 vtkSetClampMacro(DiagonalRatio,
double,0,2);
221 vtkGetMacro(DiagonalRatio,
double);
248 void UpdatePlacement() override;
253 void SizeHandles() override;
260 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
269 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
277 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
308 void* clientdata,
void* calldata);
311 void OnLeftButtonDown();
312 void OnLeftButtonUp();
313 void OnMiddleButtonDown();
314 void OnMiddleButtonUp();
315 void OnRightButtonDown();
316 void OnRightButtonUp();
323 void UpdateRepresentation();
333 void HighlightOutline(
int highlight);
343 virtual void HighlightPlane(
int highlight);
359 void HighlightNormal(
int highlight);
392 void ConstrainOrigin(
double x[3]);
393 void Rotate(
int X,
int Y,
double *p1,
double *p2,
double *vpn);
394 void TranslatePlane(
double *p1,
double *p2);
395 void TranslateOutline(
double *p1,
double *p2);
396 void TranslateOrigin(
double *p1,
double *p2);
397 void Push(
double *p1,
double *p2);
398 void Scale(
double *p1,
double *p2,
int X,
int Y);
409 void CreateDefaultProperties();
411 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.