15 #ifndef vtkLSDynaPart_h
16 #define vtkLSDynaPart_h
19 #include "vtkIOLSDynaModule.h"
35 void SetPartType(
int type);
41 bool hasValidType()
const;
45 bool HasCells()
const;
49 const vtkIdType& numGlobalPoints,
const int& sizeOfWord);
73 void EnableDeadCells(
const int& deadCellsAsGhostArray);
77 void DisableDeadCells();
81 void SetCellsDeadState(
unsigned char* dead,
const vtkIdType&
size);
85 void EnableCellUserIds();
95 void AddPointProperty(
const char*
name,
const vtkIdType& numComps,
const bool& isIdTypeProperty,
96 const bool& isProperty,
const bool& isGeometryPoints);
102 const vtkIdType& currentGlobalPointIndex);
105 const vtkIdType& currentGlobalPointIndex);
109 void AddCellProperty(
const char*
name,
const int&
offset,
const int& numComps);
114 void ReadCellProperties(
115 float* cellProperties,
const vtkIdType& numCells,
const vtkIdType& numPropertiesInCell);
116 void ReadCellProperties(
117 double* cellsProperties,
const vtkIdType& numCells,
const vtkIdType& numPropertiesInCell);
135 void BuildUniquePoints();
138 void GetPropertyData(
const char*
name,
const vtkIdType& numComps,
const bool& isIdTypeArray,
139 const bool& isProperty,
const bool& isGeometry);
141 template <
typename T>
142 void AddPointInformation(T* buffer, T* pointData,
const vtkIdType& numTuples,
167 InternalCells*
Cells;
169 class InternalCellProperties;
172 class InternalPointsUsed;
173 class DensePointsUsed;
174 class SparsePointsUsed;
178 class InternalCurrentPointInfo;
186 #endif // vtkLSDynaPart_h
Wrapper around std::string to keep symbols short.
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.
vtkIdType GetUserMaterialId() const
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
LSDynaMetaData::LSDYNA_TYPES Type
vtkIdType GetPartId() const
InternalCurrentPointInfo * CurrentPointPropInfo
vtkIdType NumberOfGlobalPoints
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkUnstructuredGrid * ThresholdGrid
represent and manipulate 3D points