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

Method PrintSelf

Filters/Sources/vtkHandleSource.cxx:31–50  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

29
30//------------------------------------------------------------------------------
31void vtkHandleSource::PrintSelf(ostream& os, vtkIndent indent)
32{
33 this->Superclass::PrintSelf(os, indent);
34
35 os << indent << "Directional: " << this->Directional << "\n";
36 os << indent << "Position: (" << this->GetPosition()[0] << ", " << this->GetPosition()[1] << ", "
37 << this->GetPosition()[2] << ")\n";
38
39 if (this->Directional)
40 {
41 os << indent << "Direction: (" << this->GetDirection()[0] << ", " << this->GetDirection()[1]
42 << ", " << this->GetDirection()[2] << ")\n";
43 }
44 else
45 {
46 os << indent << "Direction: (none)\n";
47 }
48
49 os << indent << "Size: " << this->GetSize() << "\n";
50}
51VTK_ABI_NAMESPACE_END

Callers

nothing calls this directly

Calls 3

GetPositionMethod · 0.95
GetDirectionMethod · 0.95
GetSizeMethod · 0.45

Tested by

no test coverage detected