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

Method PrintSelf

Interaction/Widgets/vtkHandleRepresentation.cxx:259–289  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

257
258//------------------------------------------------------------------------------
259void vtkHandleRepresentation::PrintSelf(ostream& os, vtkIndent indent)
260{
261 // Superclass typedef defined in vtkTypeMacro() found in vtkSetGet.h
262 this->Superclass::PrintSelf(os, indent);
263
264 double p[3];
265 this->GetDisplayPosition(p);
266 os << indent << "Display Position: (" << p[0] << ", " << p[1] << ", " << p[2] << ")\n";
267
268 this->GetWorldPosition(p);
269 os << indent << "World Position: (" << p[0] << ", " << p[1] << ", " << p[2] << ")\n";
270
271 os << indent << "Constrained: " << (this->Constrained ? "On" : "Off") << "\n";
272
273 os << indent << "Tolerance: " << this->Tolerance << "\n";
274
275 os << indent << "Active Representation: " << (this->ActiveRepresentation ? "On" : "Off") << "\n";
276
277 if (this->PointPlacer)
278 {
279 os << indent << "PointPlacer:\n";
280 this->PointPlacer->PrintSelf(os, indent.GetNextIndent());
281 }
282 else
283 {
284 os << indent << "PointPlacer: (none)\n";
285 }
286
287 // this->InteractionState is printed in superclass
288 // this is commented to avoid PrintSelf errors
289}
290VTK_ABI_NAMESPACE_END

Callers

nothing calls this directly

Calls 3

GetDisplayPositionMethod · 0.95
GetWorldPositionMethod · 0.95
GetNextIndentMethod · 0.80

Tested by

no test coverage detected