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

Method Initialize

Filters/HyperTree/vtkHyperTreeGridCellCenterStrategy.cxx:32–40  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

30
31//------------------------------------------------------------------------------
32void vtkHyperTreeGridCellCenterStrategy::Initialize(vtkHyperTreeGrid* inputHTG)
33{
34 this->CellCentersArray->SetName(this->ArrayName.c_str());
35 this->CellCentersArray->SetNumberOfComponents(3);
36 this->CellCentersArray->SetNumberOfTuples(inputHTG->GetNumberOfCells());
37 this->CellCentersArray->Fill(0);
38
39 this->InputGhost = inputHTG->GetGhostCells();
40}
41
42//------------------------------------------------------------------------------
43void vtkHyperTreeGridCellCenterStrategy::Compute(vtkHyperTreeGridNonOrientedGeometryCursor* cursor)

Callers

nothing calls this directly

Calls 7

GetGhostCellsMethod · 0.80
SetNameMethod · 0.45
c_strMethod · 0.45
SetNumberOfComponentsMethod · 0.45
SetNumberOfTuplesMethod · 0.45
GetNumberOfCellsMethod · 0.45
FillMethod · 0.45

Tested by

no test coverage detected