76 #ifndef __vtkImplicitPlaneWidget_h
77 #define __vtkImplicitPlaneWidget_h
111 {this->Superclass::PlaceWidget();}
112 void PlaceWidget(
double xmin,
double xmax,
double ymin,
double ymax,
113 double zmin,
double zmax)
114 {this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);}
119 virtual void SetOrigin(
double x,
double y,
double z);
120 virtual void SetOrigin(
double x[3]);
122 void GetOrigin(
double xyz[3]);
127 void SetNormal(
double x,
double y,
double z);
128 void SetNormal(
double x[3]);
130 void GetNormal(
double xyz[3]);
138 void SetNormalToXAxis(
int);
139 vtkGetMacro(NormalToXAxis,
int);
140 vtkBooleanMacro(NormalToXAxis,
int);
141 void SetNormalToYAxis(
int);
142 vtkGetMacro(NormalToYAxis,
int);
143 vtkBooleanMacro(NormalToYAxis,
int);
144 void SetNormalToZAxis(
int);
145 vtkGetMacro(NormalToZAxis,
int);
146 vtkBooleanMacro(NormalToZAxis,
int);
152 vtkSetMacro(Tubing,
int);
153 vtkGetMacro(Tubing,
int);
154 vtkBooleanMacro(Tubing,
int);
162 void SetDrawPlane(
int plane);
163 vtkGetMacro(DrawPlane,
int);
164 vtkBooleanMacro(DrawPlane,
int);
170 vtkSetMacro(OutlineTranslation,
int);
171 vtkGetMacro(OutlineTranslation,
int);
172 vtkBooleanMacro(OutlineTranslation,
int);
178 vtkSetMacro(OutsideBounds,
int);
179 vtkGetMacro(OutsideBounds,
int);
180 vtkBooleanMacro(OutsideBounds,
int);
185 vtkSetMacro(ScaleEnabled,
int);
186 vtkGetMacro(ScaleEnabled,
int);
187 vtkBooleanMacro(ScaleEnabled,
int);
193 vtkSetMacro(OriginTranslation,
int);
194 vtkGetMacro(OriginTranslation,
int);
195 vtkBooleanMacro(OriginTranslation,
int);
201 vtkSetClampMacro(DiagonalRatio,
double,0,2);
202 vtkGetMacro(DiagonalRatio,
double);
230 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
237 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
243 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
273 void* clientdata,
void* calldata);
276 void OnLeftButtonDown();
277 void OnLeftButtonUp();
278 void OnMiddleButtonDown();
279 void OnMiddleButtonUp();
280 void OnRightButtonDown();
281 void OnRightButtonUp();
288 void UpdateRepresentation();
298 void HighlightOutline(
int highlight);
308 virtual void HighlightPlane(
int highlight);
324 void HighlightNormal(
int highlight);
354 void ConstrainOrigin(
double x[3]);
355 void Rotate(
int X,
int Y,
double *p1,
double *p2,
double *vpn);
356 void TranslatePlane(
double *p1,
double *p2);
357 void TranslateOutline(
double *p1,
double *p2);
358 void TranslateOrigin(
double *p1,
double *p2);
359 void Push(
double *p1,
double *p2);
360 void Scale(
double *p1,
double *p2,
int X,
int Y);
371 void CreateDefaultProperties();
373 void GeneratePlane();