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

Method SetDataBoundsToSpatialBounds

Common/DataModel/vtkKdTree.cxx:1148–1158  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1146
1147//------------------------------------------------------------------------------
1148void vtkKdTree::SetDataBoundsToSpatialBounds(vtkKdNode* kd)
1149{
1150 kd->SetMinDataBounds(kd->GetMinBounds());
1151 kd->SetMaxDataBounds(kd->GetMaxBounds());
1152
1153 if (kd->GetLeft())
1154 {
1155 vtkKdTree::SetDataBoundsToSpatialBounds(kd->GetLeft());
1156 vtkKdTree::SetDataBoundsToSpatialBounds(kd->GetRight());
1157 }
1158}
1159
1160//------------------------------------------------------------------------------
1161int vtkKdTree::SelectCutDirection(vtkKdNode* kd)

Callers

nothing calls this directly

Calls 2

SetMinDataBoundsMethod · 0.80
SetMaxDataBoundsMethod · 0.80

Tested by

no test coverage detected