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

Method SetCellTypeInfo

Common/DataModel/vtkCellAttribute.cxx:161–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161bool vtkCellAttribute::SetCellTypeInfo(vtkStringToken cellType, const CellTypeInfo& cellTypeInfo)
162{
163 auto it = this->AllArrays.find(cellType);
164 if (it == this->AllArrays.end() || it->second != cellTypeInfo)
165 {
166 this->AllArrays[cellType] = cellTypeInfo;
167 this->Modified();
168 return true;
169 }
170 return false;
171}
172
173bool vtkCellAttribute::SetColormap(vtkScalarsToColors* colormap)
174{

Callers 15

QueryMethod · 0.80
GetNodalAttributesMethod · 0.80
GetElementAttributesMethod · 0.80
ApplyDisplacementsMethod · 0.80
GetShapeFunction · 0.80
QueryMethod · 0.80
CreateCellAttributeMethod · 0.80
QueryMethod · 0.80
QueryMethod · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
ModifiedMethod · 0.45

Tested by 2

AddCoordinatesFunction · 0.64
AddDeRhamFieldsFunction · 0.64