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

Method GetNumberOfCells

Common/DataModel/vtkAMRBox.cxx:592–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592void vtkAMRBox::GetNumberOfCells(int ext[3]) const
593{
594 ext[0] = this->HiCorner[0] - this->LoCorner[0] + 1;
595 ext[1] = this->HiCorner[1] - this->LoCorner[1] + 1;
596 ext[2] = this->HiCorner[2] - this->LoCorner[2] + 1;
597}
598
599vtkIdType vtkAMRBox::GetNumberOfCells() const
600{

Callers 15

InitializeGridMethod · 0.95
FillRegionFunction · 0.45
GetNumberOfElementsMethod · 0.45
PrintSelfMethod · 0.45
ContourMethod · 0.45
Serialize_vtkCellArrayFunction · 0.45
AppendMethod · 0.45
GetMaxCellSizeMethod · 0.45
IsHomogeneousMethod · 0.45

Calls

no outgoing calls

Tested by 15

testConstructionMethod · 0.36
testReaderMethod · 0.36
testCutterTrianglesMethod · 0.36
testCutterNoTrianglesMethod · 0.36
TestSqueezeFunction · 0.36
TestGetNumberOfCellsFunction · 0.36
TestSetDataImplFunction · 0.36
TestInsertNextCellFunction · 0.36
TestDeepCopyFunction · 0.36
TestShallowCopyFunction · 0.36
TestAppendImplFunction · 0.36