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

Method GetCellArrayInternal

Common/DataModel/vtkPolyData.h:852–866  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

850
851//------------------------------------------------------------------------------
852inline vtkCellArray* vtkPolyData::GetCellArrayInternal(vtkPolyData::TaggedCellId tag)
853{
854 switch (tag.GetTarget())
855 {
856 case vtkPolyData_detail::Target::Verts:
857 return this->Verts;
858 case vtkPolyData_detail::Target::Lines:
859 return this->Lines;
860 case vtkPolyData_detail::Target::Polys:
861 return this->Polys;
862 case vtkPolyData_detail::Target::Strips:
863 return this->Strips;
864 }
865 return nullptr; // unreachable
866}
867
868//------------------------------------------------------------------------------
869inline void vtkPolyData::ReplaceCellPoint(vtkIdType cellId, vtkIdType oldPtId, vtkIdType newPtId)

Callers 8

ReplaceCellPointMethod · 0.95
GetCellPointsMethod · 0.95
GetCellMethod · 0.95
GetCellBoundsMethod · 0.95
GetCellPointsMethod · 0.95
InsertNextCellMethod · 0.95
ReverseCellMethod · 0.95
ReplaceCellMethod · 0.95

Calls 1

GetTargetMethod · 0.80

Tested by

no test coverage detected