15 #ifndef __vtkLSDynaPart_h
16 #define __vtkLSDynaPart_h
18 #include "vtkIOLSDynaModule.h"
20 #include "LSDynaMetaData.h"
35 void SetPartType(
int type);
38 LSDynaMetaData::LSDYNA_TYPES
PartType()
const {
return Type; }
41 bool hasValidType()
const;
45 bool HasCells()
const;
52 const int& sizeOfWord);
76 void EnableDeadCells(
const int& deadCellsAsGhostArray);
80 void DisableDeadCells();
84 void SetCellsDeadState(
unsigned char *dead,
const vtkIdType &
size);
88 void EnableCellUserIds();
99 void AddPointProperty(
const char*
name,
const vtkIdType& numComps,
100 const bool& isIdTypeProperty,
const bool &isProperty,
101 const bool& isGeometryPoints);
106 void ReadPointBasedProperty(
float *
data,
109 const vtkIdType& currentGlobalPointIndex);
111 void ReadPointBasedProperty(
double *
data,
114 const vtkIdType& currentGlobalPointIndex);
118 void AddCellProperty(
const char*
name,
const int&
offset,
const int& numComps);
123 void ReadCellProperties(
float *cellProperties,
const vtkIdType& numCells,
125 void ReadCellProperties(
double *cellsProperties,
const vtkIdType& numCells,
144 void BuildUniquePoints();
147 void GetPropertyData(
const char*
name,
const vtkIdType &numComps,
148 const bool &isIdTypeArray,
const bool& isProperty,
const bool& isGeometry);
151 void AddPointInformation(T *buffer,T *pointData,
154 const vtkIdType& currentGlobalPointIndex);
157 LSDynaMetaData::LSDYNA_TYPES
Type;
178 InternalCells *
Cells;
180 class InternalCellProperties;
183 class InternalPointsUsed;
184 class DensePointsUsed;
185 class SparsePointsUsed;
189 class InternalCurrentPointInfo;
197 #endif // VTKLSDYNAPART