4 #ifndef vtkLSDynaPartCollection_h
5 #define vtkLSDynaPartCollection_h
8 #include "vtkIOLSDynaModule.h"
11 VTK_ABI_NAMESPACE_BEGIN
39 void GetPartReadInfo(
const int& partType,
vtkIdType& numberOfCells,
vtkIdType& numCellsToSkip,
45 void FinalizeTopology();
51 void RegisterCellIndexToPart(
const int& partType,
const vtkIdType& matIdx,
54 void InitCellInsertion();
62 void InsertCell(
const int& partType,
const vtkIdType& matIdx,
const int& cellType,
67 void SetCellDeadFlags(
70 bool IsActivePart(
const int&
id)
const;
77 int GetNumberOfParts()
const;
79 void DisbleDeadCells();
82 void ReadPointUserIds(
const vtkIdType& numTuples,
const char*
name);
86 const bool& isProperty =
true,
const bool& isGeometryPoints =
false,
87 const bool& isRoadPoints =
false);
102 template <
typename T>
106 this->FillCellUserIdArray(buffer, type, startId, numCells);
117 void BuildPartInfo();
123 template <
typename T>
125 vtkIdType numCells,
const int& numTuples);
127 template <
typename T>
133 void SetupPointPropertyForReading(
const vtkIdType& numTuples,
const vtkIdType& numComps,
134 const char*
name,
const bool& isIdType,
const bool& isProperty,
const bool& isGeometryPoints,
135 const bool& isRoadPoints);
136 template <
typename T>
146 class LSDynaPartStorage;
147 LSDynaPartStorage* Storage;
150 VTK_ABI_NAMESPACE_END
151 #endif // vtkLSDynaPartCollection_h
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of unsigned char
void FillCellUserId(T *buffer, const LSDynaMetaData::LSDYNA_TYPES &type, const vtkIdType &startId, const vtkIdType &numCells)
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent and manipulate 3D points