67 #ifndef vtkImplicitPlaneWidget_h 68 #define vtkImplicitPlaneWidget_h 70 #include "vtkInteractionWidgetsModule.h" 108 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override 118 virtual void SetOrigin(
double x,
double y,
double z);
119 virtual void SetOrigin(
double x[3]);
121 void GetOrigin(
double xyz[3]);
128 void SetNormal(
double x,
double y,
double z);
129 void SetNormal(
double x[3]);
131 void GetNormal(
double xyz[3]);
218 vtkSetClampMacro(DiagonalRatio,
double, 0, 2);
219 vtkGetMacro(DiagonalRatio,
double);
246 void UpdatePlacement() override;
251 void SizeHandles() override;
258 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
267 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
275 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
306 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
309 void OnLeftButtonDown();
310 void OnLeftButtonUp();
311 void OnMiddleButtonDown();
312 void OnMiddleButtonUp();
313 void OnRightButtonDown();
314 void OnRightButtonUp();
321 void UpdateRepresentation();
331 void HighlightOutline(
int highlight);
341 virtual void HighlightPlane(
int highlight);
357 void HighlightNormal(
int highlight);
390 void ConstrainOrigin(
double x[3]);
391 void Rotate(
int X,
int Y,
double* p1,
double* p2,
double* vpn);
392 void TranslatePlane(
double* p1,
double* p2);
393 void TranslateOutline(
double* p1,
double* p2);
394 void TranslateOrigin(
double* p1,
double* p2);
395 void Push(
double* p1,
double* p2);
396 void Scale(
double* p1,
double* p2,
int X,
int Y);
407 void CreateDefaultProperties();
409 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 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...