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

Method GetScalarIndexForExtent

Common/DataModel/vtkImageData.cxx:985–988  ·  view source on GitHub ↗

------------------------------------------------------------------------------ This Method returns an index to a location in the vtkImageData. Coordinates are in pixel units and are relative to the whole image origin.

Source from the content-addressed store, hash-verified

983// Coordinates are in pixel units and are relative to the whole
984// image origin.
985vtkIdType vtkImageData::GetScalarIndexForExtent(int extent[6])
986{
987 return this->GetTupleIndexForExtent(this->GetPointData()->GetScalars(), extent);
988}
989
990//------------------------------------------------------------------------------
991vtkIdType vtkImageData::GetScalarIndex(int coordinate[3])

Callers

nothing calls this directly

Calls 3

GetScalarsMethod · 0.45
GetPointDataMethod · 0.45

Tested by

no test coverage detected