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

Method GetScalarType

Common/DataModel/vtkCartesianGrid.cxx:460–468  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

458
459//------------------------------------------------------------------------------
460int vtkCartesianGrid::GetScalarType()
461{
462 vtkDataArray* scalars = this->GetPointData()->GetScalars();
463 if (!scalars)
464 {
465 return VTK_DOUBLE;
466 }
467 return scalars->GetDataType();
468}
469
470//------------------------------------------------------------------------------
471bool vtkCartesianGrid::HasScalarType(vtkInformation* meta_data)

Callers 15

RunBenchmarkFunction · 0.45
vtkImageFooExecute1Function · 0.45
ThreadedRequestDataMethod · 0.45
RequestDataMethod · 0.45
GetScalarTypeAsStringFunction · 0.45
GetScalarSizeMethod · 0.45
GetScalarTypeMinMethod · 0.45
GetScalarTypeMaxMethod · 0.45
GetArrayMethod · 0.45
runMethod · 0.45
InternalUpdateMethod · 0.45

Calls 4

GetScalarsMethod · 0.45
GetPointDataMethod · 0.45
GetDataTypeMethod · 0.45
GetMethod · 0.45

Tested by 1

runMethod · 0.36