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

Method PrintSelf

Common/DataModel/vtkGenericAttributeCollection.cxx:57–85  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

55
56//------------------------------------------------------------------------------
57void vtkGenericAttributeCollection::PrintSelf(ostream& os, vtkIndent indent)
58{
59 this->Superclass::PrintSelf(os, indent);
60
61 int i;
62 int c = this->GetNumberOfAttributes();
63
64 os << indent << "Number Of Attributes: " << this->GetNumberOfAttributes() << "\n";
65 for (i = 0; i < c; ++i)
66 {
67 os << indent << "Attribute #" << i << ":\n";
68 this->GetAttribute(i)->PrintSelf(os, indent.GetNextIndent());
69 }
70
71 c = this->GetNumberOfAttributesToInterpolate();
72 os << indent << "Number Of Attributes to interpolate: " << c << endl;
73
74 os << indent << "Attributes to interpolate:";
75
76 for (i = 0; i < c; ++i)
77 {
78 os << ' ' << this->AttributesToInterpolate[i];
79 }
80 os << endl;
81
82 os << indent << "Active Attribute: " << this->ActiveAttribute << endl;
83
84 os << indent << "Active Component" << this->ActiveComponent << endl;
85}
86
87//------------------------------------------------------------------------------
88// Description:

Callers

nothing calls this directly

Calls 3

GetNumberOfAttributesMethod · 0.95
GetAttributeMethod · 0.95
GetNextIndentMethod · 0.80

Tested by

no test coverage detected