73 #ifndef vtkImplicitPlaneWidget_h 74 #define vtkImplicitPlaneWidget_h 76 #include "vtkInteractionWidgetsModule.h" 114 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override 124 virtual void SetOrigin(
double x,
double y,
double z);
125 virtual void SetOrigin(
double x[3]);
127 void GetOrigin(
double xyz[3]);
134 void SetNormal(
double x,
double y,
double z);
135 void SetNormal(
double x[3]);
137 void GetNormal(
double xyz[3]);
224 vtkSetClampMacro(DiagonalRatio,
double, 0, 2);
225 vtkGetMacro(DiagonalRatio,
double);
252 void UpdatePlacement() override;
257 void SizeHandles() override;
264 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
273 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
281 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
312 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
315 void OnLeftButtonDown();
316 void OnLeftButtonUp();
317 void OnMiddleButtonDown();
318 void OnMiddleButtonUp();
319 void OnRightButtonDown();
320 void OnRightButtonUp();
327 void UpdateRepresentation();
337 void HighlightOutline(
int highlight);
347 virtual void HighlightPlane(
int highlight);
363 void HighlightNormal(
int highlight);
396 void ConstrainOrigin(
double x[3]);
397 void Rotate(
int X,
int Y,
double* p1,
double* p2,
double* vpn);
398 void TranslatePlane(
double* p1,
double* p2);
399 void TranslateOutline(
double* p1,
double* p2);
400 void TranslateOrigin(
double* p1,
double* p2);
401 void Push(
double* p1,
double* p2);
402 void Scale(
double* p1,
double* p2,
int X,
int Y);
413 void CreateDefaultProperties();
415 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...