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

Method SetStorage

IO/Exodus/vtkCPExodusIIElementBlockCellIterator.cxx:83–100  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

81
82//------------------------------------------------------------------------------
83void vtkCPExodusIIElementBlockCellIterator::SetStorage(vtkCPExodusIIElementBlock* eb)
84{
85 if (eb != nullptr)
86 {
87 this->Storage = eb->GetInternals();
88 this->DataSetPoints = eb->GetPoints();
89 if (this->DataSetPoints)
90 {
91 this->Points->SetDataType(this->DataSetPoints->GetDataType());
92 }
93 }
94 else
95 {
96 this->Storage = nullptr;
97 this->DataSetPoints = nullptr;
98 }
99 this->CellId = 0;
100}
101VTK_ABI_NAMESPACE_END

Callers

nothing calls this directly

Calls 4

GetInternalsMethod · 0.45
GetPointsMethod · 0.45
SetDataTypeMethod · 0.45
GetDataTypeMethod · 0.45

Tested by

no test coverage detected