15 #ifndef vtkLSDynaPart_h 16 #define vtkLSDynaPart_h 19 #include "vtkIOLSDynaModule.h" 36 void SetPartType(
int type);
42 bool hasValidType()
const;
46 bool HasCells()
const;
53 const int& sizeOfWord);
77 void EnableDeadCells(
const int& deadCellsAsGhostArray);
81 void DisableDeadCells();
85 void SetCellsDeadState(
unsigned char *dead,
const vtkIdType &
size);
89 void EnableCellUserIds();
100 void AddPointProperty(
const char* name,
const vtkIdType& numComps,
101 const bool& isIdTypeProperty,
const bool &isProperty,
102 const bool& isGeometryPoints);
107 void ReadPointBasedProperty(
float *
data,
110 const vtkIdType& currentGlobalPointIndex);
112 void ReadPointBasedProperty(
double *data,
115 const vtkIdType& currentGlobalPointIndex);
119 void AddCellProperty(
const char* name,
const int&
offset,
const int& numComps);
124 void ReadCellProperties(
float *cellProperties,
const vtkIdType& numCells,
126 void ReadCellProperties(
double *cellsProperties,
const vtkIdType& numCells,
145 void BuildUniquePoints();
148 void GetPropertyData(
const char* name,
const vtkIdType &numComps,
149 const bool &isIdTypeArray,
const bool& isProperty,
const bool& isGeometry);
152 void AddPointInformation(T *buffer,T *pointData,
155 const vtkIdType& currentGlobalPointIndex);
179 InternalCells *
Cells;
181 class InternalCellProperties;
184 class InternalPointsUsed;
185 class DensePointsUsed;
186 class SparsePointsUsed;
190 class InternalCurrentPointInfo;
199 #endif // VTKLSDYNAPART
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