MCPcopy Create free account
hub / github.com/Kitware/ParaView / GetRange

Method GetRange

Wrapping/Python/paraview/servermanager.py:1903–1907  ·  view source on GitHub ↗

Given a component, returns its value range as a tuple of 2 values.

(self, component=0)

Source from the content-addressed store, hash-verified

1901 return "Array: " + self.Name
1902
1903 def GetRange(self, component=0):
1904 """Given a component, returns its value range as a tuple of 2 values."""
1905 array = self.FieldData.GetFieldData().GetArrayInformation(self.Name)
1906 range = array.GetComponentRange(component)
1907 return (range[0], range[1])
1908
1909 def __eq__(self, other):
1910 if (self is None and other is None):

Callers 11

RangeMethod · 0.95
writeArrayMethod · 0.45
expandRangeMethod · 0.45
writeDataMethod · 0.45
getLutImageMethod · 0.45
getLutImagesMethod · 0.45
getDataInformationMethod · 0.45
getProxyAsPipelineNodeFunction · 0.45
_extract_array_infoFunction · 0.45
demo2Function · 0.45
demo2Function · 0.45

Calls 3

GetFieldDataMethod · 0.80
GetComponentRangeMethod · 0.80
GetArrayInformationMethod · 0.45

Tested by

no test coverage detected