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

Method vtkKdTree

Common/DataModel/vtkKdTree.cxx:179–224  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

177
178//------------------------------------------------------------------------------
179vtkKdTree::vtkKdTree()
180{
181 this->FudgeFactor = 0;
182 this->MaxWidth = 0.0;
183 this->MaxLevel = 20;
184 this->Level = 0;
185
186 this->NumberOfRegionsOrLess = 0;
187 this->NumberOfRegionsOrMore = 0;
188
189 this->ValidDirections = (1 << vtkKdTree::XDIM) | (1 << vtkKdTree::YDIM) | (1 << vtkKdTree::ZDIM);
190
191 this->MinCells = 100;
192 this->NumberOfRegions = 0;
193
194 this->DataSets = vtkDataSetCollection::New();
195
196 this->Top = nullptr;
197 this->RegionList = nullptr;
198
199 this->Timing = 0;
200 this->TimerLog = nullptr;
201
202 this->IncludeRegionBoundaryCells = 0;
203 this->GenerateRepresentationUsingDataBounds = 0;
204
205 this->InitializeCellLists();
206 this->CellRegionList = nullptr;
207
208 this->NumberOfLocatorPoints = 0;
209 this->LocatorPoints = nullptr;
210 this->LocatorIds = nullptr;
211 this->LocatorRegionLocation = nullptr;
212
213 this->LastDataCacheSize = 0;
214 this->LastNumDataSets = 0;
215 this->ClearLastBuildCache();
216
217 this->BSPCalculator = nullptr;
218 this->Cuts = nullptr;
219 this->UserDefinedCuts = 0;
220
221 this->Progress = 0;
222 this->ProgressOffset = 0;
223 this->ProgressScale = 1.0;
224}
225
226//------------------------------------------------------------------------------
227void vtkKdTree::DeleteAllDescendants(vtkKdNode* nd)

Callers

nothing calls this directly

Calls 3

InitializeCellListsMethod · 0.95
ClearLastBuildCacheMethod · 0.95
NewFunction · 0.50

Tested by

no test coverage detected