15 #ifndef vtkLSDynaPart_h
16 #define vtkLSDynaPart_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
Wrapper around std::string to keep symbols short.
abstract base class for most VTK objects
vtkIdType GetUserMaterialId() const
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
InternalCellProperties * CellProperties
bool DeadCellsAsGhostArray
dataset represents arbitrary combinations of all possible cell types
vtkUnstructuredGrid * Grid
LSDynaMetaData::LSDYNA_TYPES PartType() const
InternalPointsUsed * GlobalPointsUsed
bool IsTopologyBuilt() const
CellTypeInDataSet cellType(vtkDataSet *input)
LSDynaMetaData::LSDYNA_TYPES Type
vtkIdType GetPartId() const
#define VTKIOLSDYNA_EXPORT
InternalCurrentPointInfo * CurrentPointPropInfo
vtkIdType NumberOfGlobalPoints
vtkUnstructuredGrid * ThresholdGrid
represent and manipulate 3D points