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

Method GetShapeAttribute

Common/DataModel/vtkCellGrid.cxx:663–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663vtkCellAttribute* vtkCellGrid::GetShapeAttribute()
664{
665 if (!this->HaveShape)
666 {
667 return nullptr;
668 }
669 auto it = this->Attributes.find(this->ShapeAttribute.GetId());
670 if (it == this->Attributes.end())
671 {
672 return nullptr;
673 }
674 return it->second.GetPointer();
675}
676
677bool vtkCellGrid::SetShapeAttribute(vtkCellAttribute* shape)
678{

Callers 15

ComputeBoundsInternalMethod · 0.95
ToJSONMethod · 0.80
RoundTripFunction · 0.80
GetNodalAttributesMethod · 0.80
GetElementAttributesMethod · 0.80
ApplyDisplacementsMethod · 0.80
updateGlyphSourcesFunction · 0.80
testConstructionMethod · 0.80
testReaderMethod · 0.80
DrawShapesMethod · 0.80

Calls 4

findMethod · 0.45
GetIdMethod · 0.45
endMethod · 0.45
GetPointerMethod · 0.45

Tested by 10

RoundTripFunction · 0.64
testConstructionMethod · 0.64
testReaderMethod · 0.64
testCopyNoArraysMethod · 0.64
testPartialDeepCopyMethod · 0.64
testShapeOnlyCopyMethod · 0.64
testCopyStructureMethod · 0.64
EvaluateBasisFunctionsFunction · 0.64
TestDeRhamBasesFunction · 0.64