15 #ifndef vtkLSDynaPartCollection_h
16 #define vtkLSDynaPartCollection_h
18 #include "vtkIOLSDynaModule.h"
50 void GetPartReadInfo(
const int& partType,
vtkIdType& numberOfCells,
56 void FinalizeTopology();
63 void RegisterCellIndexToPart(
const int& partType,
const vtkIdType& matIdx,
66 void InitCellInsertion();
74 void InsertCell(
const int& partType,
const vtkIdType& matIdx,
80 const int& deadCellsAsGhostArray);
82 bool IsActivePart(
const int&
id)
const;
89 int GetNumberOfParts()
const;
91 void DisbleDeadCells();
94 void ReadPointUserIds(
const vtkIdType& numTuples,
const char*
name);
97 void ReadPointProperty(
101 const bool &isProperty=
true,
102 const bool& isGeometryPoints=
false,
103 const bool& isRoadPoints=
false);
110 const int&
offset,
const int& numComps);
113 const int& numPropertiesInCell);
116 const int& numPropertiesInCell);
120 void ReadCellUserIds(
127 this->FillCellUserIdArray(buffer,type,startId,numCells);
138 void BuildPartInfo();
154 void SetupPointPropertyForReading(
158 const bool& isIdType,
159 const bool& isProperty,
160 const bool& isGeometryPoints,
161 const bool& isRoadPoints);
163 void FillPointProperty(
const vtkIdType& numTuples,
173 class LSDynaPartStorage;
174 LSDynaPartStorage* Storage;
179 #endif // LSDYNAPARTS_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
CellTypeInDataSet cellType(vtkDataSet *input)
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