------------------------------------------------------------------------------
| 257 | |
| 258 | //------------------------------------------------------------------------------ |
| 259 | void 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 | } |
| 290 | VTK_ABI_NAMESPACE_END |
nothing calls this directly
no test coverage detected