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

Function PrintSelf

Common/DataModel/vtkDataSetAttributesFieldList.cxx:77–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76
77 void PrintSelf(ostream& os, vtkIndent indent) const
78 {
79 if (this->IsEmpty())
80 {
81 os << indent << "FieldInfo (" << this << "): Empty" << endl;
82 }
83 else
84 {
85 os << indent << "FieldInfo (" << this << ")\n";
86 os << indent.GetNextIndent() << "Name: " << this->Name << endl;
87 os << indent.GetNextIndent() << "Type: " << this->Type << endl;
88 os << indent.GetNextIndent() << "NumberOfComponents: " << this->NumberOfComponents << endl;
89 os << indent.GetNextIndent() << "LUT: " << this->LUT << endl;
90 os << indent.GetNextIndent() << "Information: " << this->Information << endl;
91 os << indent.GetNextIndent() << "Location: [ ";
92 for (const int& loc : this->Location)
93 {
94 os << loc << " ";
95 }
96 os << "]" << endl;
97 os << indent.GetNextIndent() << "OutputLocation: " << this->OutputLocation << endl;
98 }
99 }
100
101 bool IsEmpty() const { return this->Type == VTK_VOID; }
102

Callers

nothing calls this directly

Calls 2

GetNextIndentMethod · 0.80
IsEmptyMethod · 0.45

Tested by

no test coverage detected