Go to the documentation of this file.
15 #ifndef vtkLSDynaPartCollection_h
16 #define vtkLSDynaPartCollection_h
19 #include "vtkIOLSDynaModule.h"
81 const int& deadCellsAsGhostArray);
102 const bool &isProperty=
true,
103 const bool& isGeometryPoints=
false,
104 const bool& isRoadPoints=
false);
111 const int&
offset,
const int& numComps);
114 const int& numPropertiesInCell);
117 const int& numPropertiesInCell);
128 this->FillCellUserIdArray(buffer,
type,startId,numCells);
159 const bool& isIdType,
160 const bool& isProperty,
161 const bool& isGeometryPoints,
162 const bool& isRoadPoints);
174 class LSDynaPartStorage;
175 LSDynaPartStorage* Storage;
179 #endif // LSDYNAPARTS_H
represent and manipulate 3D points
void AddProperty(const LSDynaMetaData::LSDYNA_TYPES &type, const char *name, const int &offset, const int &numComps)
void RegisterCellIndexToPart(const int &partType, const vtkIdType &matIdx, const vtkIdType &cellIndex, const vtkIdType &npts)
void ReadCellUserIds(const LSDynaMetaData::LSDYNA_TYPES &type, const int &status)
void InsertCell(const int &partType, const vtkIdType &matIdx, const int &cellType, const vtkIdType &npts, vtkIdType conn[8])
void FillPointProperty(const vtkIdType &numTuples, const vtkIdType &numComps, vtkLSDynaPart **parts, const vtkIdType numParts)
void FillCellProperties(double *buffer, const LSDynaMetaData::LSDYNA_TYPES &type, const vtkIdType &startId, const vtkIdType &numCells, const int &numPropertiesInCell)
dynamic, self-adjusting array of unsigned char
void GetPartReadInfo(const int &partType, vtkIdType &numberOfCells, vtkIdType &numCellsToSkip, vtkIdType &numCellsToSkipEnd) const
static vtkLSDynaPartCollection * New()
abstract base class for most VTK objects
void ReadPointUserIds(const vtkIdType &numTuples, const char *name)
abstract superclass for arrays of numeric data
void ReadPointProperty(const vtkIdType &numTuples, const vtkIdType &numComps, const char *name, const bool &isProperty=true, const bool &isGeometryPoints=false, const bool &isRoadPoints=false)
vtkUnstructuredGrid * GetGridForPart(const int &index) const
bool IsActivePart(const int &id) const
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkLSDynaPartCollection() override
void InitCollection(LSDynaMetaData *metaData, vtkIdType *mins=nullptr, vtkIdType *maxs=nullptr)
a simple class to control print indentation
void FillCellUserIdArray(T *buffer, const LSDynaMetaData::LSDYNA_TYPES &type, const vtkIdType &startId, vtkIdType numCells)
void SetCellDeadFlags(const int &partType, vtkUnsignedCharArray *death, const int &deadCellsAsGhostArray)
void FillCellProperties(float *buffer, const LSDynaMetaData::LSDYNA_TYPES &type, const vtkIdType &startId, const vtkIdType &numCells, const int &numPropertiesInCell)
void SetupPointPropertyForReading(const vtkIdType &numTuples, const vtkIdType &numComps, const char *name, const bool &isIdType, const bool &isProperty, const bool &isGeometryPoints, const bool &isRoadPoints)
void FillCellArray(T *buffer, const LSDynaMetaData::LSDYNA_TYPES &type, const vtkIdType &startId, vtkIdType numCells, const int &numTuples)
int GetNumberOfParts() const
void FillCellUserId(T *buffer, const LSDynaMetaData::LSDYNA_TYPES &type, const vtkIdType &startId, const vtkIdType &numCells)
dataset represents arbitrary combinations of all possible cell types
vtkLSDynaPartCollection()