41 #ifndef vtkImplicitPlaneRepresentation_h
42 #define vtkImplicitPlaneRepresentation_h
44 #include "vtkInteractionWidgetsModule.h"
86 void SetOrigin(
double x,
double y,
double z);
87 void SetOrigin(
double x[3]);
89 void GetOrigin(
double xyz[3]);
96 void SetNormal(
double x,
double y,
double z);
97 void SetNormal(
double x[3]);
98 void SetNormalToCamera();
100 void GetNormal(
double xyz[3]);
111 void SetNormalToXAxis(
int);
112 vtkGetMacro(NormalToXAxis,
int);
114 void SetNormalToYAxis(
int);
115 vtkGetMacro(NormalToYAxis,
int);
117 void SetNormalToZAxis(
int);
118 vtkGetMacro(NormalToZAxis,
int);
128 virtual void SetLockNormalToCamera(
int);
129 vtkGetMacro(LockNormalToCamera,
int);
139 vtkGetMacro(Tubing,
int);
150 void SetDrawPlane(
int plane);
151 vtkGetMacro(DrawPlane,
int);
161 vtkGetMacro(OutlineTranslation,
int);
171 vtkGetMacro(OutsideBounds,
int);
182 vtkSetVector6Macro(WidgetBounds,
double);
183 vtkGetVector6Macro(WidgetBounds,
double);
195 vtkGetMacro(ConstrainToWidgetBounds,
int);
204 vtkGetMacro(ScaleEnabled,
int);
240 void UpdatePlacement(
void);
247 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
256 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
264 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
279 void SetEdgeColor(
double,
double,
double);
280 void SetEdgeColor(
double x[3]);
289 vtkSetClampMacro(BumpDistance,
double,0.000001,1);
290 vtkGetMacro(BumpDistance,
double);
301 void BumpPlane(
int dir,
double factor);
309 void PushPlane(
double distance);
356 vtkSetClampMacro(InteractionState,
int,Outside,Scaling);
364 virtual void SetRepresentationState(
int);
365 vtkGetMacro(RepresentationState,
int);
375 double LastEventPosition[3];
396 void HighlightOutline(
int highlight);
400 double WidgetBounds[6];
408 void HighlightPlane(
int highlight);
421 void HighlightNormal(
int highlight);
453 void Rotate(
double X,
double Y,
double *p1,
double *p2,
double *vpn);
454 void TranslatePlane(
double *p1,
double *p2);
455 void TranslateOutline(
double *p1,
double *p2);
456 void TranslateOrigin(
double *p1,
double *p2);
457 void Push(
double *p1,
double *p2);
458 void Scale(
double *p1,
double *p2,
double X,
double Y);
470 void CreateDefaultProperties();
472 void GeneratePlane();
Cut vtkDataSet with user-specified implicit function.
vtkProperty * EdgesProperty
represents an object (geometry & properties) in a rendered scene
vtkPolyDataMapper * LineMapper
vtkPolyDataMapper * EdgesMapper
vtkConeSource * ConeSource
abstract specification for Viewports
represent surface properties of a geometric object
vtkProperty * SelectedPlaneProperty
vtkOutlineFilter * Outline
vtkProperty * SelectedNormalProperty
vtkLineSource * LineSource2
map scalar values into colors via a lookup table
vtkPolyDataMapper * ConeMapper
vtkProperty * NormalProperty
concrete dataset represents vertices, lines, polygons, and triangle strips
int ConstrainToWidgetBounds
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
vtkProperty * PlaneProperty
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
vtkPolyDataMapper * SphereMapper
perform various plane computations
vtkPolyDataMapper * OutlineMapper
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkLineSource * LineSource
vtkProperty * SelectedOutlineProperty
vtkConeSource * ConeSource2
create a line defined by two end points
map vtkPolyData to graphics primitives
vtkTubeFilter * EdgesTuber
ray-cast cell picker for all kinds of Prop3Ds
vtkPolyDataMapper * LineMapper2
vtkPolyDataMapper * ConeMapper2
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...
vtkProperty * OutlineProperty
implicit function for a bounding box
vtkPolyDataMapper * CutMapper