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

Method GetComponentType

Testing/GenericBridge/vtkBridgeAttribute.cxx:116–119  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Type of the components of the attribute: int, float, double \post valid_result: (result==VTK_BIT) ||(result==VTK_CHAR) ||(result==VTK_UNSIGNED_CHAR) ||(result==VTK_SHORT) ||(result==VTK_UNSIGNED_SHORT)||(result==VTK_INT) ||(result==VTK_UNSIGNED_INT) ||(result==VTK_LONG) ||(result==VTK_UNSIGNED_LO

Source from the content-addressed store, hash-verified

114// ||(result==VTK_UNSIGNED_LONG) ||(result==VTK_FLOAT)
115// ||(result==VTK_DOUBLE) ||(result==VTK_ID_TYPE)
116int vtkBridgeAttribute::GetComponentType()
117{
118 return this->Data->GetArray(this->AttributeNumber)->GetDataType();
119}
120
121//------------------------------------------------------------------------------
122// Description:

Callers 8

RequestDataMethod · 0.80
IntegrateMethod · 0.80
RequestDataMethod · 0.80
RequestDataMethod · 0.80
RequestDataMethod · 0.80
RequestDataMethod · 0.80
RequestDataMethod · 0.80

Calls 2

GetDataTypeMethod · 0.45
GetArrayMethod · 0.45

Tested by 1