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

Method IsDoneWithTraversal

Common/DataModel/vtkDataObjectTreeIterator.cxx:115–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 }
114
115 bool IsDoneWithTraversal()
116 {
117 if (!this->DataObject)
118 {
119 return true;
120 }
121
122 if (this->PassSelf)
123 {
124 return false;
125 }
126
127 if (!this->CompositeDataSet)
128 {
129 return true;
130 }
131
132 if (this->Reverse &&
133 this->ReverseIter == this->GetInternals(this->CompositeDataSet)->Children.rend())
134 {
135 return true;
136 }
137
138 if (!this->Reverse &&
139 this->Iter == this->GetInternals(this->CompositeDataSet)->Children.end())
140 {
141 return true;
142 }
143 return false;
144 }
145
146 // Should not be called is this->IsDoneWithTraversal() returns true.
147 vtkDataObject* GetCurrentDataObject()

Callers 2

InSubTreeMethod · 0.95
GetCurrentIndexMethod · 0.95

Calls 3

GetInternalsMethod · 0.95
rendMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected