15#ifndef vtkLSDynaPart_h
16#define vtkLSDynaPart_h
20#include "vtkIOLSDynaModule.h"
50 const vtkIdType& numGlobalPoints,
const int& sizeOfWord);
97 const bool& isProperty,
const bool& isGeometryPoints);
103 const vtkIdType& currentGlobalPointIndex);
106 const vtkIdType& currentGlobalPointIndex);
116 float* cellProperties,
const vtkIdType& numCells,
const vtkIdType& numPropertiesInCell);
118 double* cellsProperties,
const vtkIdType& numCells,
const vtkIdType& numPropertiesInCell);
140 const bool& isProperty,
const bool& isGeometry);
142 template <
typename T>
170 class InternalCellProperties;
173 class InternalPointsUsed;
174 class DensePointsUsed;
175 class SparsePointsUsed;
179 class InternalCurrentPointInfo;
a simple class to control print indentation
void SetNextCellUserIds(const vtkIdType &value)
InternalCellProperties * CellProperties
void ReadPointBasedProperty(float *data, const vtkIdType &numTuples, const vtkIdType &numComps, const vtkIdType ¤tGlobalPointIndex)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void AddCellProperty(const char *name, const int &offset, const int &numComps)
LSDynaMetaData::LSDYNA_TYPES Type
void AddCell(const int &cellType, const vtkIdType &npts, vtkIdType conn[8])
void AddPointProperty(const char *name, const vtkIdType &numComps, const bool &isIdTypeProperty, const bool &isProperty, const bool &isGeometryPoints)
vtkUnstructuredGrid * Grid
bool DeadCellsAsGhostArray
vtkIdType NumberOfGlobalPoints
vtkUnstructuredGrid * ThresholdGrid
vtkIdType GetUserMaterialId() const
vtkIdType GetMaxGlobalPointId() const
InternalPointsUsed * GlobalPointsUsed
vtkIdType GetPartId() const
InternalCurrentPointInfo * CurrentPointPropInfo
vtkIdType GetMinGlobalPointId() const
void InitPart(vtkStdString name, const vtkIdType &partId, const vtkIdType &userMaterialId, const vtkIdType &numGlobalPoints, const int &sizeOfWord)
void EnableDeadCells(const int &deadCellsAsGhostArray)
bool IsTopologyBuilt() const
void SetCellsDeadState(unsigned char *dead, const vtkIdType &size)
~vtkLSDynaPart() override
vtkUnstructuredGrid * GenerateGrid()
void GetPropertyData(const char *name, const vtkIdType &numComps, const bool &isIdTypeArray, const bool &isProperty, const bool &isGeometry)
void ReadCellProperties(float *cellProperties, const vtkIdType &numCells, const vtkIdType &numPropertiesInCell)
void AllocateCellMemory(const vtkIdType &numCells, const vtkIdType &cellLen)
static vtkLSDynaPart * New()
vtkUnstructuredGrid * RemoveDeletedCells()
void ReadPointBasedProperty(double *data, const vtkIdType &numTuples, const vtkIdType &numComps, const vtkIdType ¤tGlobalPointIndex)
bool hasValidType() const
void ReadCellProperties(double *cellsProperties, const vtkIdType &numCells, const vtkIdType &numPropertiesInCell)
void SetPartType(int type)
void AddPointInformation(T *buffer, T *pointData, const vtkIdType &numTuples, const vtkIdType &numComps, const vtkIdType ¤tGlobalPointIndex)
LSDynaMetaData::LSDYNA_TYPES PartType() const
abstract base class for most VTK objects
represent and manipulate 3D points
Wrapper around std::string to keep symbols short.
dataset represents arbitrary combinations of all possible cell types