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

Method PrintSelf

Common/DataModel/vtkSelectionNode.cxx:128–165  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

126
127//------------------------------------------------------------------------------
128void vtkSelectionNode::PrintSelf(ostream& os, vtkIndent indent)
129{
130 this->Superclass::PrintSelf(os, indent);
131
132 os << indent << "ContentType: ";
133 if (this->GetContentType() < SelectionContent::NUM_CONTENT_TYPES)
134 {
135 os << vtkSelectionNode::GetContentTypeAsString(this->GetContentType());
136 }
137 else
138 {
139 os << "UNKNOWN";
140 }
141 os << endl;
142
143 os << indent << "FieldType: ";
144 if (this->GetFieldType() < SelectionField::NUM_FIELD_TYPES)
145 {
146 os << vtkSelectionNode::GetFieldTypeAsString(this->GetFieldType());
147 }
148 else
149 {
150 os << "UNKNOWN";
151 }
152 os << endl;
153
154 os << indent << "Properties: " << (this->Properties ? "" : "(none)") << endl;
155 if (this->Properties)
156 {
157 this->Properties->PrintSelf(os, indent.GetNextIndent());
158 }
159 os << indent << "SelectionData: " << (this->SelectionData ? "" : "(none)") << endl;
160 if (this->SelectionData)
161 {
162 this->SelectionData->PrintSelf(os, indent.GetNextIndent());
163 }
164 os << indent << "QueryString: " << (this->QueryString ? this->QueryString : "nullptr") << endl;
165}
166
167//------------------------------------------------------------------------------
168void vtkSelectionNode::ShallowCopy(vtkSelectionNode* input)

Callers

nothing calls this directly

Calls 3

GetContentTypeMethod · 0.95
GetFieldTypeMethod · 0.95
GetNextIndentMethod · 0.80

Tested by

no test coverage detected