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

Method GetMaxCellSize

Common/DataModel/vtkPolyData.cxx:588–613  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

586
587//------------------------------------------------------------------------------
588int vtkPolyData::GetMaxCellSize()
589{
590 int maxCellSize = 0;
591
592 if (this->Verts)
593 {
594 maxCellSize = std::max(maxCellSize, this->Verts->GetMaxCellSize());
595 }
596
597 if (this->Lines)
598 {
599 maxCellSize = std::max(maxCellSize, this->Lines->GetMaxCellSize());
600 }
601
602 if (this->Polys)
603 {
604 maxCellSize = std::max(maxCellSize, this->Polys->GetMaxCellSize());
605 }
606
607 if (this->Strips)
608 {
609 maxCellSize = std::max(maxCellSize, this->Strips->GetMaxCellSize());
610 }
611
612 return maxCellSize;
613}
614
615//------------------------------------------------------------------------------
616int vtkPolyData::GetMaxSpatialDimension()

Callers 15

EvaluateFunctionMethod · 0.45
EvaluateGradientMethod · 0.45
UpdateInternalWeightsMethod · 0.45
ComputeCellCentersMethod · 0.45
ComputeCellCenterMethod · 0.45
vtkMVCPolyIteratorMethod · 0.45
vtkCellProcessorMethod · 0.45
TestGetMaxCellSizeFunction · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45
AllocateMethod · 0.45

Calls 1

maxFunction · 0.50

Tested by 1

TestGetMaxCellSizeFunction · 0.36