38 #ifndef vtkImplicitPlaneRepresentation_h
39 #define vtkImplicitPlaneRepresentation_h
41 #include "vtkInteractionWidgetsModule.h"
83 void SetOrigin(
double x,
double y,
double z);
84 void SetOrigin(
double x[3]);
86 void GetOrigin(
double xyz[3]);
93 void SetNormal(
double x,
double y,
double z);
94 void SetNormal(
double x[3]);
95 void SetNormalToCamera();
97 void GetNormal(
double xyz[3]);
108 void SetNormalToXAxis(
int);
109 vtkGetMacro(NormalToXAxis,
int);
111 void SetNormalToYAxis(
int);
112 vtkGetMacro(NormalToYAxis,
int);
114 void SetNormalToZAxis(
int);
115 vtkGetMacro(NormalToZAxis,
int);
125 virtual void SetLockNormalToCamera(
int);
126 vtkGetMacro(LockNormalToCamera,
int);
136 vtkGetMacro(Tubing,
int);
147 void SetDrawPlane(
int plane);
148 vtkGetMacro(DrawPlane,
int);
158 vtkGetMacro(OutlineTranslation,
int);
168 vtkGetMacro(OutsideBounds,
int);
179 vtkSetVector6Macro(WidgetBounds,
double);
180 vtkGetVector6Macro(WidgetBounds,
double);
192 vtkGetMacro(ConstrainToWidgetBounds,
int);
201 vtkGetMacro(ScaleEnabled,
int);
237 void UpdatePlacement(
void);
244 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
253 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
261 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
276 void SetEdgeColor(
double,
double,
double);
277 void SetEdgeColor(
double x[3]);
286 vtkSetClampMacro(BumpDistance,
double,0.000001,1);
287 vtkGetMacro(BumpDistance,
double);
298 void BumpPlane(
int dir,
double factor);
306 void PushPlane(
double distance);
313 void PlaceWidget(
double bounds[6]) VTK_OVERRIDE;
314 void BuildRepresentation() VTK_OVERRIDE;
315 void StartWidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
316 void WidgetInteraction(
double newEventPos[2]) VTK_OVERRIDE;
317 void EndWidgetInteraction(
double newEventPos[2]) VTK_OVERRIDE;
323 double *GetBounds() VTK_OVERRIDE;
325 void ReleaseGraphicsResources(
vtkWindow*) VTK_OVERRIDE;
326 int RenderOpaqueGeometry(
vtkViewport*) VTK_OVERRIDE;
327 int RenderTranslucentPolygonalGeometry(
vtkViewport*) VTK_OVERRIDE;
328 int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
353 vtkSetClampMacro(InteractionState,
int,Outside,Scaling);
361 virtual void SetRepresentationState(
int);
362 vtkGetMacro(RepresentationState,
int);
369 int RepresentationState;
372 double LastEventPosition[3];
380 int LockNormalToCamera;
393 void HighlightOutline(
int highlight);
394 int OutlineTranslation;
397 double WidgetBounds[6];
398 int ConstrainToWidgetBounds;
405 void HighlightPlane(
int highlight);
418 void HighlightNormal(
int highlight);
444 void RegisterPickers() VTK_OVERRIDE;
450 void Rotate(
double X,
double Y,
double *p1,
double *p2,
double *vpn);
451 void TranslatePlane(
double *p1,
double *p2);
452 void TranslateOutline(
double *p1,
double *p2);
453 void TranslateOrigin(
double *p1,
double *p2);
454 void Push(
double *p1,
double *p2);
455 void Scale(
double *p1,
double *p2,
double X,
double Y);
467 void CreateDefaultProperties();
469 void GeneratePlane();
Cut vtkDataSet with user-specified implicit function.
represents an object (geometry & properties) in a rendered scene
abstract specification for Viewports
represent surface properties of a geometric object
map scalar values into colors via a lookup table
concrete dataset represents vertices, lines, polygons, and triangle strips
window superclass for vtkRenderWindow
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
a class defining the representation for a vtkImplicitPlaneWidget2
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...
implicit function for a bounding box