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

Method GetNumberOfComponents

Testing/GenericBridge/vtkBridgeAttribute.cxx:46–51  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Dimension of the attribute. (1 for scalar, 3 for velocity) \post positive_result: result>=0

Source from the content-addressed store, hash-verified

44// Dimension of the attribute. (1 for scalar, 3 for velocity)
45// \post positive_result: result>=0
46int vtkBridgeAttribute::GetNumberOfComponents()
47{
48 int result = this->Data->GetArray(this->AttributeNumber)->GetNumberOfComponents();
49 assert("post: positive_result" && result >= 0);
50 return result;
51}
52
53//------------------------------------------------------------------------------
54// Description:

Callers 15

GetTypeMethod · 0.95
GetRangeMethod · 0.95
GetTupleMethod · 0.95
DeepCopyMethod · 0.95
ShallowCopyMethod · 0.95
InitWithPointDataMethod · 0.95
InitWithCellDataMethod · 0.95
InterpolateTupleMethod · 0.45
DerivativesMethod · 0.45
ExecuteMethod · 0.45
operator()Method · 0.45

Calls 2

assertFunction · 0.50
GetArrayMethod · 0.45

Tested by 6

ExecuteMethod · 0.36
operator()Method · 0.36
ArrayErrorHandlerFunction · 0.36
DataSetPointMapperMethod · 0.36
CheckTreeEqualFunction · 0.36