15 #ifndef __vtkLSDynaPart_h
16 #define __vtkLSDynaPart_h
19 #include "LSDynaMetaData.h"
34 void SetPartType(
int type);
37 LSDynaMetaData::LSDYNA_TYPES
PartType()
const {
return Type; }
40 bool hasValidType()
const;
44 bool HasCells()
const;
51 const int& sizeOfWord);
75 void EnableDeadCells(
const int& deadCellsAsGhostArray);
79 void DisableDeadCells();
83 void SetCellsDeadState(
unsigned char *dead,
const vtkIdType &
size);
87 void EnableCellUserIds();
98 void AddPointProperty(
const char*
name,
const vtkIdType& numComps,
99 const bool& isIdTypeProperty,
const bool &isProperty,
100 const bool& isGeometryPoints);
105 void ReadPointBasedProperty(
float *
data,
108 const vtkIdType& currentGlobalPointIndex);
110 void ReadPointBasedProperty(
double *
data,
113 const vtkIdType& currentGlobalPointIndex);
117 void AddCellProperty(
const char*
name,
const int&
offset,
const int& numComps);
122 void ReadCellProperties(
float *cellProperties,
const vtkIdType& numCells,
124 void ReadCellProperties(
double *cellsProperties,
const vtkIdType& numCells,
143 void BuildUniquePoints();
146 void GetPropertyData(
const char*
name,
const vtkIdType &numComps,
147 const bool &isIdTypeArray,
const bool& isProperty,
const bool& isGeometry);
150 void AddPointInformation(T *buffer,T *pointData,
153 const vtkIdType& currentGlobalPointIndex);
156 LSDynaMetaData::LSDYNA_TYPES
Type;
177 InternalCells *
Cells;
179 class InternalCellProperties;
182 class InternalPointsUsed;
183 class DensePointsUsed;
184 class SparsePointsUsed;
188 class InternalCurrentPointInfo;
196 #endif // VTKLSDYNAPART