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

Method SetInputDataInfo

Common/DataModel/vtkKdTree.cxx:2833–2845  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2831
2832//------------------------------------------------------------------------------
2833void vtkKdTree::SetInputDataInfo(int i, int dims[3], double origin[3], double spacing[3])
2834{
2835 int idx = 9 * i;
2836 this->LastInputDataInfo[idx++] = static_cast<double>(dims[0]);
2837 this->LastInputDataInfo[idx++] = static_cast<double>(dims[1]);
2838 this->LastInputDataInfo[idx++] = static_cast<double>(dims[2]);
2839 this->LastInputDataInfo[idx++] = origin[0];
2840 this->LastInputDataInfo[idx++] = origin[1];
2841 this->LastInputDataInfo[idx++] = origin[2];
2842 this->LastInputDataInfo[idx++] = spacing[0];
2843 this->LastInputDataInfo[idx++] = spacing[1];
2844 this->LastInputDataInfo[idx++] = spacing[2];
2845}
2846
2847//------------------------------------------------------------------------------
2848int vtkKdTree::CheckInputDataInfo(int i, int dims[3], double origin[3], double spacing[3])

Callers 1

UpdateBuildTimeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected