4 #ifndef vtkLSDynaPart_h
5 #define vtkLSDynaPart_h
8 #include "vtkIOLSDynaModule.h"
12 VTK_ABI_NAMESPACE_BEGIN
25 void SetPartType(
int type);
31 bool hasValidType()
const;
35 bool HasCells()
const;
39 const vtkIdType& numGlobalPoints,
const int& sizeOfWord);
63 void EnableDeadCells(
const int& deadCellsAsGhostArray);
67 void DisableDeadCells();
71 void SetCellsDeadState(
unsigned char* dead,
const vtkIdType&
size);
75 void EnableCellUserIds();
85 void AddPointProperty(
const char*
name,
const vtkIdType& numComps,
const bool& isIdTypeProperty,
86 const bool& isProperty,
const bool& isGeometryPoints);
92 const vtkIdType& currentGlobalPointIndex);
95 const vtkIdType& currentGlobalPointIndex);
99 void AddCellProperty(
const char*
name,
const int&
offset,
const int& numComps);
104 void ReadCellProperties(
105 float* cellProperties,
const vtkIdType& numCells,
const vtkIdType& numPropertiesInCell);
106 void ReadCellProperties(
107 double* cellsProperties,
const vtkIdType& numCells,
const vtkIdType& numPropertiesInCell);
125 void BuildUniquePoints();
128 void GetPropertyData(
const char*
name,
const vtkIdType& numComps,
const bool& isIdTypeArray,
129 const bool& isProperty,
const bool& isGeometry);
131 template <
typename T>
132 void AddPointInformation(T* buffer, T* pointData,
const vtkIdType& numTuples,
157 InternalCells*
Cells;
159 class InternalCellProperties;
162 class InternalPointsUsed;
163 class DensePointsUsed;
164 class SparsePointsUsed;
168 class InternalCurrentPointInfo;
176 VTK_ABI_NAMESPACE_END
177 #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