76 #ifndef __vtkPointWidget_h
77 #define __vtkPointWidget_h
102 {this->Superclass::PlaceWidget();}
103 void PlaceWidget(
double xmin,
double xmax,
double ymin,
double ymax,
104 double zmin,
double zmax)
105 {this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);}
116 void SetPosition(
double x,
double y,
double z)
117 {this->Cursor3D->SetFocalPoint(x,y,z);}
118 void SetPosition(
double x[3])
120 double* GetPosition()
121 {
return this->Cursor3D->GetFocalPoint();}
122 void GetPosition(
double xyz[3])
123 {this->Cursor3D->GetFocalPoint(xyz);}
128 void SetOutline(
int o)
129 {this->Cursor3D->SetOutline(o);}
131 {
return this->Cursor3D->GetOutline();}
133 {this->Cursor3D->OutlineOn();}
135 {this->Cursor3D->OutlineOff();}
140 void SetXShadows(
int o)
141 {this->Cursor3D->SetXShadows(o);}
143 {
return this->Cursor3D->GetXShadows();}
145 {this->Cursor3D->XShadowsOn();}
147 {this->Cursor3D->XShadowsOff();}
152 void SetYShadows(
int o)
153 {this->Cursor3D->SetYShadows(o);}
155 {
return this->Cursor3D->GetYShadows();}
157 {this->Cursor3D->YShadowsOn();}
159 {this->Cursor3D->YShadowsOff();}
164 void SetZShadows(
int o)
165 {this->Cursor3D->SetZShadows(o);}
167 {
return this->Cursor3D->GetZShadows();}
169 {this->Cursor3D->ZShadowsOn();}
171 {this->Cursor3D->ZShadowsOff();}
178 void SetTranslationMode(
int mode)
179 { this->Cursor3D->SetTranslationMode(mode); this->Cursor3D->Update(); }
180 int GetTranslationMode()
181 {
return this->Cursor3D->GetTranslationMode(); }
182 void TranslationModeOn()
183 { this->SetTranslationMode(1); }
184 void TranslationModeOff()
185 { this->SetTranslationMode(0); }
218 vtkSetClampMacro(HotSpotSize,
double,0.0,1.0);
219 vtkGetMacro(HotSpotSize,
double);
259 void Highlight(
int highlight);
266 void Translate(
double *p1,
double *p2);
267 void Scale(
double *p1,
double *p2,
int X,
int Y);
268 void MoveFocus(
double *p1,
double *p2);
279 int DetermineConstraintAxis(
int constraint,
double *x);