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

Method GetHash

Common/DataModel/vtkCellAttribute.cxx:126–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126vtkStringToken::Hash vtkCellAttribute::GetHash() const
127{
128 std::ostringstream str;
129 str << this->GetNumberOfComponents() << "-" << this->GetName().Data() << "-"
130 << "-" << this->GetSpace().Data();
131 vtkStringToken result(str.str());
132 return result.GetId();
133}
134
135vtkCellAttribute::CellTypeInfo vtkCellAttribute::GetCellTypeInfo(vtkStringToken cellType) const
136{

Callers 15

PrintSelfMethod · 0.95
AddLabelFunction · 0.80
RequestDataMethod · 0.80
AddCellAttributeMethod · 0.80
RemoveCellAttributeMethod · 0.80
GetCellAttributeRangeMethod · 0.80
SetShapeAttributeMethod · 0.80
ReplaceShaderPositionMethod · 0.80

Calls 5

GetNumberOfComponentsMethod · 0.45
DataMethod · 0.45
GetNameMethod · 0.45
strMethod · 0.45
GetIdMethod · 0.45

Tested by

no test coverage detected