40 #ifndef __vtkImplicitPlaneRepresentation_h
41 #define __vtkImplicitPlaneRepresentation_h
43 #include "vtkInteractionWidgetsModule.h"
47 class vtkPolyDataMapper;
74 void PrintSelf(ostream& os, vtkIndent indent);
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);
172 void GetPlane(vtkPlane *plane);
177 void UpdatePlacement(
void);
181 vtkGetObjectMacro(NormalProperty,vtkProperty);
182 vtkGetObjectMacro(SelectedNormalProperty,vtkProperty);
188 vtkGetObjectMacro(PlaneProperty,vtkProperty);
189 vtkGetObjectMacro(SelectedPlaneProperty,vtkProperty);
194 vtkGetObjectMacro(OutlineProperty,vtkProperty);
195 vtkGetObjectMacro(SelectedOutlineProperty,vtkProperty);
201 vtkGetObjectMacro(EdgesProperty,vtkProperty);
205 void SetEdgeColor(vtkLookupTable*);
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);
243 virtual void GetActors(vtkPropCollection *pc);
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
vtkPolyDataMapper * LineMapper
vtkPolyDataMapper * EdgesMapper
vtkConeSource * ConeSource
vtkProperty * SelectedPlaneProperty
vtkOutlineFilter * Outline
vtkProperty * SelectedNormalProperty
vtkLineSource * LineSource2
vtkPolyDataMapper * ConeMapper
vtkProperty * NormalProperty
concrete dataset represents vertices, lines, polygons, and triangle strips
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 class defining the representation for a vtkImplicitPlaneWidget2
extract boundary, non-manifold, and/or sharp edges from polygonal data
vtkPolyDataMapper * SphereMapper
vtkPolyDataMapper * OutlineMapper
vtkLineSource * LineSource
vtkProperty * SelectedOutlineProperty
vtkConeSource * ConeSource2
create a line defined by two end points
vtkTubeFilter * EdgesTuber
vtkPolyDataMapper * LineMapper2
vtkPolyDataMapper * ConeMapper2
vtkProperty * OutlineProperty
implicit function for a bounding box
vtkPolyDataMapper * CutMapper