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

Method GetScalarPointerForExtent

Common/DataModel/vtkImageData.cxx:953–956  ·  view source on GitHub ↗

------------------------------------------------------------------------------ This Method returns a pointer 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

951// Coordinates are in pixel units and are relative to the whole
952// image origin.
953void* vtkImageData::GetScalarPointerForExtent(int extent[6])
954{
955 return this->GetArrayPointerForExtent(this->GetPointData()->GetScalars(), extent);
956}
957
958//------------------------------------------------------------------------------
959void* vtkImageData::GetScalarPointer(int coordinate[3])

Callers 15

WriteMINCDataMethod · 0.80
vtkImageFooExecute1Function · 0.80
ThreadedRequestDataMethod · 0.80
RequestDataMethod · 0.80
CopyDataMethod · 0.80
vtkImageDataCastExecuteFunction · 0.80
CopyAndCastFromMethod · 0.80
CheckerboardImageMethod · 0.80

Calls 3

GetScalarsMethod · 0.45
GetPointDataMethod · 0.45

Tested by

no test coverage detected