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

Method GetMaxNumberOfComponents

Common/DataModel/vtkGenericAttributeCollection.cxx:123–130  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Maximum number of components encountered among all attributes. \post positive_result: result>=0 \post valid_result: result<=GetNumberOfComponents()

Source from the content-addressed store, hash-verified

121// \post positive_result: result>=0
122// \post valid_result: result<=GetNumberOfComponents()
123int vtkGenericAttributeCollection::GetMaxNumberOfComponents()
124{
125 this->ComputeNumbers();
126
127 assert("post: positive_result" && this->MaxNumberOfComponents >= 0);
128 assert("post: valid_result" && this->MaxNumberOfComponents <= GetNumberOfComponents());
129 return this->MaxNumberOfComponents;
130}
131
132//------------------------------------------------------------------------------
133// Description:

Callers 10

ContourMethod · 0.80
ClipMethod · 0.80
TessellateMethod · 0.80
TriangulateFaceMethod · 0.80
RequestDataMethod · 0.80
TestEmptyFunction · 0.80
TestWithPointsFunction · 0.80
TestWithPointsAndCellsFunction · 0.80

Calls 3

ComputeNumbersMethod · 0.95
GetNumberOfComponentsFunction · 0.70
assertFunction · 0.50

Tested by 4

TestEmptyFunction · 0.64
TestWithPointsFunction · 0.64
TestWithPointsAndCellsFunction · 0.64