MCPcopy Create free account
hub / github.com/Kitware/VTK / PrintSelf

Method PrintSelf

Interaction/Widgets/vtkPointWidget.cxx:196–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196void vtkPointWidget::PrintSelf(ostream& os, vtkIndent indent)
197{
198 this->Superclass::PrintSelf(os, indent);
199
200 if (this->Property)
201 {
202 os << indent << "Property: " << this->Property << "\n";
203 }
204 else
205 {
206 os << indent << "Property: (none)\n";
207 }
208 if (this->SelectedProperty)
209 {
210 os << indent << "Selected Property: " << this->SelectedProperty << "\n";
211 }
212 else
213 {
214 os << indent << "Selected Property: (none)\n";
215 }
216
217 double* pos = this->Cursor3D->GetFocalPoint();
218 os << indent << "Position: (" << pos[0] << ", " << pos[1] << ", " << pos[2] << ")\n";
219
220 os << indent << "Outline: " << (this->GetOutline() ? "On\n" : "Off\n");
221 os << indent << "XShadows: " << (this->GetXShadows() ? "On\n" : "Off\n");
222 os << indent << "YShadows: " << (this->GetYShadows() ? "On\n" : "Off\n");
223 os << indent << "ZShadows: " << (this->GetZShadows() ? "On\n" : "Off\n");
224
225 os << indent << "Translation Mode: " << (this->Cursor3D->GetTranslationMode() ? "On\n" : "Off\n");
226
227 os << indent << "Hot Spot Size: " << this->HotSpotSize << "\n";
228}
229
230void vtkPointWidget::Highlight(int highlight)
231{

Callers

nothing calls this directly

Calls 1

GetOutlineMethod · 0.80

Tested by

no test coverage detected