40 #ifndef vtkImplicitPlaneRepresentation_h
41 #define vtkImplicitPlaneRepresentation_h
79 void SetOrigin(
double x,
double y,
double z);
80 void SetOrigin(
double x[3]);
82 void GetOrigin(
double xyz[3]);
87 void SetNormal(
double x,
double y,
double z);
88 void SetNormal(
double x[3]);
89 void SetNormalToCamera();
91 void GetNormal(
double xyz[3]);
99 void SetNormalToXAxis(
int);
100 vtkGetMacro(NormalToXAxis,
int);
101 vtkBooleanMacro(NormalToXAxis,
int);
102 void SetNormalToYAxis(
int);
103 vtkGetMacro(NormalToYAxis,
int);
104 vtkBooleanMacro(NormalToYAxis,
int);
105 void SetNormalToZAxis(
int);
106 vtkGetMacro(NormalToZAxis,
int);
107 vtkBooleanMacro(NormalToZAxis,
int);
114 virtual void SetLockNormalToCamera(
int);
115 vtkGetMacro(LockNormalToCamera,
int);
116 vtkBooleanMacro(LockNormalToCamera,
int);
122 vtkSetMacro(Tubing,
int);
123 vtkGetMacro(Tubing,
int);
124 vtkBooleanMacro(Tubing,
int);
132 void SetDrawPlane(
int plane);
133 vtkGetMacro(DrawPlane,
int);
134 vtkBooleanMacro(DrawPlane,
int);
140 vtkSetMacro(OutlineTranslation,
int);
141 vtkGetMacro(OutlineTranslation,
int);
142 vtkBooleanMacro(OutlineTranslation,
int);
148 vtkSetMacro(OutsideBounds,
int);
149 vtkGetMacro(OutsideBounds,
int);
150 vtkBooleanMacro(OutsideBounds,
int);
155 vtkSetMacro(ScaleEnabled,
int);
156 vtkGetMacro(ScaleEnabled,
int);
157 vtkBooleanMacro(ScaleEnabled,
int);
177 void UpdatePlacement(
void);
182 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
189 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
195 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
206 void SetEdgeColor(
double,
double,
double);
207 void SetEdgeColor(
double x[3]);
214 vtkSetClampMacro(BumpDistance,
double,0.000001,1);
215 vtkGetMacro(BumpDistance,
double);
223 void BumpPlane(
int dir,
double factor);
229 void PushPlane(
double distance);
271 vtkSetClampMacro(InteractionState,
int,Outside,Scaling);
277 virtual void SetRepresentationState(
int);
278 vtkGetMacro(RepresentationState,
int);
288 double LastEventPosition[3];
309 void HighlightOutline(
int highlight);
319 void HighlightPlane(
int highlight);
332 void HighlightNormal(
int highlight);
364 void ConstrainOrigin(
double x[3]);
365 void Rotate(
double X,
double Y,
double *p1,
double *p2,
double *vpn);
366 void TranslatePlane(
double *p1,
double *p2);
367 void TranslateOutline(
double *p1,
double *p2);
368 void TranslateOrigin(
double *p1,
double *p2);
369 void Push(
double *p1,
double *p2);
370 void Scale(
double *p1,
double *p2,
double X,
double Y);
382 void CreateDefaultProperties();
384 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
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
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
vtkProperty * OutlineProperty
implicit function for a bounding box
vtkPolyDataMapper * CutMapper