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

Method GetRange

Testing/GenericBridge/vtkBridgeAttribute.cxx:147–153  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Range of the attribute component `component'. It returns double, even if GetType()==VTK_INT. NOT THREAD SAFE \pre valid_component: (component>=-1)&&(component<GetNumberOfComponents()) \post result_exists: result!=0

Source from the content-addressed store, hash-verified

145// \pre valid_component: (component>=-1)&&(component<GetNumberOfComponents())
146// \post result_exists: result!=0
147double* vtkBridgeAttribute::GetRange(int component)
148{
149 assert(
150 "pre: valid_component" && (component >= -1) && (component < this->GetNumberOfComponents()));
151 this->Data->GetRange(this->AttributeNumber, this->Range, component);
152 return this->Range;
153}
154
155//------------------------------------------------------------------------------
156// Description:

Callers

nothing calls this directly

Calls 2

GetNumberOfComponentsMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected