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

Method SetDataBoundsToSpatialBounds

Common/DataModel/vtkOctreePointLocator.cxx:198–210  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

196
197//------------------------------------------------------------------------------
198void vtkOctreePointLocator::SetDataBoundsToSpatialBounds(vtkOctreePointLocatorNode* octant)
199{
200 octant->SetMinDataBounds(octant->GetMinBounds());
201 octant->SetMaxDataBounds(octant->GetMaxBounds());
202
203 if (octant->GetChild(0))
204 {
205 for (int i = 0; i < 8; i++)
206 {
207 vtkOctreePointLocator::SetDataBoundsToSpatialBounds(octant->GetChild(i));
208 }
209 }
210}
211
212//------------------------------------------------------------------------------
213int vtkOctreePointLocator::DivideTest(int size, int level)

Callers

nothing calls this directly

Calls 3

SetMinDataBoundsMethod · 0.80
SetMaxDataBoundsMethod · 0.80
GetChildMethod · 0.45

Tested by

no test coverage detected