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

Method GetFiniteRange

Common/DataModel/vtkFieldData.cxx:670–682  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

668
669//------------------------------------------------------------------------------
670bool vtkFieldData::GetFiniteRange(const char* name, double range[2], int comp)
671{
672 int index;
673 this->GetAbstractArray(name, index);
674 if (index == -1)
675 {
676 constexpr double NaN = std::numeric_limits<double>::quiet_NaN();
677 range[0] = NaN;
678 range[1] = NaN;
679 return false;
680 }
681 return this->GetFiniteRange(index, range, comp);
682}
683
684//------------------------------------------------------------------------------
685bool vtkFieldData::GetFiniteRange(int index, double range[2], int comp)

Callers 12

operator()Method · 0.80
TestComputeRangeFunction · 0.80
vtkDataArray.hFile · 0.80
GetFiniteRangeFunction · 0.80
TestDataArrayFunction · 0.80
TestGhostAwareRangeFunction · 0.80
LoadTextureMethod · 0.80
SelectTextureFormatMethod · 0.80
RenderAsParticlesFunction · 0.80
QueryMethod · 0.80

Calls 2

GetAbstractArrayMethod · 0.95
GetRangeImplFunction · 0.85

Tested by 5

TestComputeRangeFunction · 0.64
TestDataArrayFunction · 0.64
TestGhostAwareRangeFunction · 0.64