15 #ifndef vtkLSDynaPartCollection_h
16 #define vtkLSDynaPartCollection_h
19 #include "vtkIOLSDynaModule.h"
49 void GetPartReadInfo(
const int& partType,
vtkIdType& numberOfCells,
vtkIdType& numCellsToSkip,
55 void FinalizeTopology();
61 void RegisterCellIndexToPart(
const int& partType,
const vtkIdType& matIdx,
64 void InitCellInsertion();
72 void InsertCell(
const int& partType,
const vtkIdType& matIdx,
const int& cellType,
77 void SetCellDeadFlags(
80 bool IsActivePart(
const int&
id)
const;
87 int GetNumberOfParts()
const;
89 void DisbleDeadCells();
92 void ReadPointUserIds(
const vtkIdType& numTuples,
const char*
name);
96 const bool& isProperty =
true,
const bool& isGeometryPoints =
false,
97 const bool& isRoadPoints =
false);
102 const int& numComps);
112 template <
typename T>
116 this->FillCellUserIdArray(buffer, type, startId, numCells);
127 void BuildPartInfo();
133 template <
typename T>
135 vtkIdType numCells,
const int& numTuples);
137 template <
typename T>
143 void SetupPointPropertyForReading(
const vtkIdType& numTuples,
const vtkIdType& numComps,
144 const char*
name,
const bool& isIdType,
const bool& isProperty,
const bool& isGeometryPoints,
145 const bool& isRoadPoints);
146 template <
typename T>
156 class LSDynaPartStorage;
157 LSDynaPartStorage* Storage;
160 #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