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

Method GetNumberOfNodes

Common/DataModel/vtkAMRBox.cxx:647–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647void vtkAMRBox::GetNumberOfNodes(int* ext) const
648{
649 ext[0] = this->HiCorner[0] - this->LoCorner[0] + 2;
650 ext[1] = this->HiCorner[1] - this->LoCorner[1] + 2;
651 ext[2] = this->HiCorner[2] - this->LoCorner[2] + 2;
652 assert(ext[0] >= 1 && ext[1] >= 1 && ext[2] >= 1);
653}
654
655//------------------------------------------------------------------------------
656vtkIdType vtkAMRBox::GetNumberOfNodes() const

Callers 15

InitializeGridMethod · 0.95
PaintMethod · 0.45
UpdateMethod · 0.45
MakeSelectionMethod · 0.45
UpdateMethod · 0.45
PaintMethod · 0.45
FindCellMethod · 0.45
CheckValidityMethod · 0.45

Calls 1

assertFunction · 0.50

Tested by 4

TestSelectionExpressionFunction · 0.36
PrintSelectionNodesFunction · 0.36
TestSelectionSubtractFunction · 0.36