150 #ifndef __vtkLSDynaReader_h
151 #define __vtkLSDynaReader_h
155 class vtkLSDynaReaderPrivate;
189 void Dump( ostream &os );
196 int CanReadFile(
const char* fname );
201 virtual void SetDatabaseDirectory(
const char* );
202 const char* GetDatabaseDirectory();
203 int IsDatabaseValid();
211 virtual void SetFileName(
const char* );
212 const char* GetFileName();
224 int GetDimensionality();
288 vtkGetVector2Macro(TimeStepRange,
int);
289 vtkSetVector2Macro(TimeStepRange,
int);
295 int GetNumberOfPointArrays();
296 const char* GetPointArrayName(
int);
297 virtual void SetPointArrayStatus(
int arr,
int status );
298 virtual void SetPointArrayStatus(
const char* arrName,
int status );
299 int GetPointArrayStatus(
int arr );
300 int GetPointArrayStatus(
const char* arrName );
301 int GetNumberOfComponentsInPointArray(
int arr );
302 int GetNumberOfComponentsInPointArray(
const char* arrName );
310 int GetNumberOfCellArrays(
int cellType );
311 const char* GetCellArrayName(
int cellType,
int arr );
312 virtual void SetCellArrayStatus(
int cellType,
int arr,
int status );
313 virtual void SetCellArrayStatus(
int cellType,
const char* arrName,
int status );
314 int GetCellArrayStatus(
int cellType,
int arr );
315 int GetCellArrayStatus(
int cellType,
const char* arrName );
316 int GetNumberOfComponentsInCellArray(
int cellType,
int arr );
317 int GetNumberOfComponentsInCellArray(
int cellType,
const char* arrName );
323 int GetNumberOfSolidArrays();
324 const char* GetSolidArrayName(
int);
325 virtual void SetSolidArrayStatus(
int arr,
int status );
326 virtual void SetSolidArrayStatus(
const char* arrName,
int status );
327 int GetSolidArrayStatus(
int arr );
328 int GetSolidArrayStatus(
const char* arrName );
331 int GetNumberOfComponentsInSolidArray(
int a );
332 int GetNumberOfComponentsInSolidArray(
const char* arrName );
337 int GetNumberOfThickShellArrays();
338 const char* GetThickShellArrayName(
int);
339 virtual void SetThickShellArrayStatus(
int arr,
int status );
340 virtual void SetThickShellArrayStatus(
const char* arrName,
int status );
341 int GetThickShellArrayStatus(
int arr );
342 int GetThickShellArrayStatus(
const char* arrName );
345 int GetNumberOfComponentsInThickShellArray(
int a );
346 int GetNumberOfComponentsInThickShellArray(
const char* arrName );
351 int GetNumberOfShellArrays();
352 const char* GetShellArrayName(
int);
353 virtual void SetShellArrayStatus(
int arr,
int status );
354 virtual void SetShellArrayStatus(
const char* arrName,
int status );
355 int GetShellArrayStatus(
int arr );
356 int GetShellArrayStatus(
const char* arrName );
359 int GetNumberOfComponentsInShellArray(
int a );
360 int GetNumberOfComponentsInShellArray(
const char* arrName );
365 int GetNumberOfRigidBodyArrays();
366 const char* GetRigidBodyArrayName(
int);
367 virtual void SetRigidBodyArrayStatus(
int arr,
int status );
368 virtual void SetRigidBodyArrayStatus(
const char* arrName,
int status );
369 int GetRigidBodyArrayStatus(
int arr );
370 int GetRigidBodyArrayStatus(
const char* arrName );
373 int GetNumberOfComponentsInRigidBodyArray(
int a );
374 int GetNumberOfComponentsInRigidBodyArray(
const char* arrName );
379 int GetNumberOfRoadSurfaceArrays();
380 const char* GetRoadSurfaceArrayName(
int);
381 virtual void SetRoadSurfaceArrayStatus(
int arr,
int status );
382 virtual void SetRoadSurfaceArrayStatus(
const char* arrName,
int status );
383 int GetRoadSurfaceArrayStatus(
int arr );
384 int GetRoadSurfaceArrayStatus(
const char* arrName );
387 int GetNumberOfComponentsInRoadSurfaceArray(
int a );
388 int GetNumberOfComponentsInRoadSurfaceArray(
const char* arrName );
393 int GetNumberOfBeamArrays();
394 const char* GetBeamArrayName(
int);
395 virtual void SetBeamArrayStatus(
int arr,
int status );
396 virtual void SetBeamArrayStatus(
const char* arrName,
int status );
397 int GetBeamArrayStatus(
int arr );
398 int GetBeamArrayStatus(
const char* arrName );
401 int GetNumberOfComponentsInBeamArray(
int a );
402 int GetNumberOfComponentsInBeamArray(
const char* arrName );
407 int GetNumberOfParticleArrays();
408 const char* GetParticleArrayName(
int);
409 virtual void SetParticleArrayStatus(
int arr,
int status );
410 virtual void SetParticleArrayStatus(
const char* arrName,
int status );
411 int GetParticleArrayStatus(
int arr );
412 int GetParticleArrayStatus(
const char* arrName );
415 int GetNumberOfComponentsInParticleArray(
int a );
416 int GetNumberOfComponentsInParticleArray(
const char* arrName );
422 vtkSetMacro(DeformedMesh,
int);
423 vtkGetMacro(DeformedMesh,
int);
424 vtkBooleanMacro(DeformedMesh,
int);
436 vtkSetMacro(RemoveDeletedCells,
int);
437 vtkGetMacro(RemoveDeletedCells,
int);
438 vtkBooleanMacro(RemoveDeletedCells,
int);
445 vtkSetMacro(SplitByMaterialId,
int);
446 vtkGetMacro(SplitByMaterialId,
int);
447 vtkBooleanMacro(SplitByMaterialId,
int);
460 vtkSetStringMacro(InputDeck);
461 vtkGetStringMacro(InputDeck);
473 int GetNumberOfPartArrays();
474 const char* GetPartArrayName(
int);
475 virtual void SetPartArrayStatus(
int arr,
int status );
476 virtual void SetPartArrayStatus(
const char* partName,
int status );
477 int GetPartArrayStatus(
int arr );
478 int GetPartArrayStatus(
const char* partName );
504 int TimeStepRange[2];
518 int ReadHeaderInformation(
int currentAdaptLevel );
527 int ScanDatabaseTimeSteps();
539 virtual int ReadNodes();
540 virtual int ReadConnectivityAndMaterial();
541 virtual int ReadUserIds();
543 virtual int ReadDeletion();
549 virtual int ReadInputDeck();
554 virtual int ReadUserMaterialIds();
559 int ReadInputDeckXML( ifstream& deck );
560 int ReadInputDeckKeywords( ifstream& deck );
565 int WriteInputDeckSummary(
const char* fname );
575 virtual int ReadDeletionArray(
vtkDataArray* arr,
int& anyDeleted );
581 vtkLSDynaReaderPrivate* P;
594 vtkWarningMacro(
"Point array \"" << arrName <<
"\" does not exist" );
633 vtkWarningMacro(
"Cell array \"" << arrName <<
"\" (type " << cellType <<
") does not exist" );
672 vtkWarningMacro(
"Solid array \"" << arrName <<
"\" does not exist" );
711 vtkWarningMacro(
"Thick shell array \"" << arrName <<
"\" does not exist" );
750 vtkWarningMacro(
"Shell array \"" << arrName <<
"\" does not exist" );
789 vtkWarningMacro(
"Beam array \"" << arrName <<
"\" does not exist" );
828 vtkWarningMacro(
"Particle array \"" << arrName <<
"\" does not exist" );
867 vtkWarningMacro(
"Rigid body array \"" << arrName <<
"\" does not exist" );
906 vtkWarningMacro(
"Road surface array \"" << arrName <<
"\" does not exist" );
945 vtkWarningMacro(
"Part \"" << arrName <<
"\" does not exist" );
961 #endif // __vtkLSDynaReader_h
vtkUnstructuredGrid * OutputBeams
virtual void SetThickShellArrayStatus(int arr, int status)
int GetShellArrayStatus(int arr)
const char * GetPartArrayName(int)
int GetNumberOfCellArrays(int cellType)
int GetNumberOfPointArrays()
int GetThickShellArrayStatus(int arr)
const char * GetPointArrayName(int)
int GetNumberOfComponentsInBeamArray(int a)
int GetNumberOfBeamArrays()
int GetNumberOfSolidArrays()
int GetRoadSurfaceArrayStatus(int arr)
Read LS-Dyna databases (d3plot)
const char * GetParticleArrayName(int)
const char * GetThickShellArrayName(int)
int GetNumberOfComponentsInCellArray(int cellType, int arr)
virtual void SetRigidBodyArrayStatus(int arr, int status)
int GetNumberOfComponentsInSolidArray(int a)
int GetNumberOfThickShellArrays()
const char * GetSolidArrayName(int)
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual void SetSolidArrayStatus(int arr, int status)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void SetRoadSurfaceArrayStatus(int arr, int status)
static vtkMultiBlockDataSetAlgorithm * New()
int GetPointArrayStatus(int arr)
int GetRigidBodyArrayStatus(int arr)
int GetNumberOfParticleArrays()
virtual void SetShellArrayStatus(int arr, int status)
int GetCellArrayStatus(int cellType, int arr)
int GetNumberOfPartArrays()
int GetNumberOfRoadSurfaceArrays()
const char * GetRigidBodyArrayName(int)
a simple class to control print indentation
int GetNumberOfRigidBodyArrays()
int GetSolidArrayStatus(int arr)
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
int GetNumberOfShellArrays()
vtkUnstructuredGrid * OutputRoadSurface
int GetNumberOfComponentsInShellArray(int a)
vtkUnstructuredGrid * OutputSolid
int GetNumberOfComponentsInRigidBodyArray(int a)
const char * GetCellArrayName(int cellType, int arr)
int GetPartArrayStatus(int arr)
int GetParticleArrayStatus(int arr)
int GetNumberOfComponentsInThickShellArray(int a)
vtkUnstructuredGrid * OutputParticles
Composite dataset that organizes datasets into blocks.
int GetBeamArrayStatus(int arr)
void PrintSelf(ostream &os, vtkIndent indent)
virtual void SetBeamArrayStatus(int arr, int status)
virtual void SetCellArrayStatus(int cellType, int arr, int status)
const char * GetShellArrayName(int)
vtkUnstructuredGrid * OutputThickShell
virtual void SetParticleArrayStatus(int arr, int status)
virtual void SetPartArrayStatus(int arr, int status)
virtual void SetPointArrayStatus(int arr, int status)
int GetNumberOfComponentsInRoadSurfaceArray(int a)
const char * GetBeamArrayName(int)
vtkUnstructuredGrid * OutputRigidBody
vtkUnstructuredGrid * OutputShell
int GetNumberOfComponentsInParticleArray(int a)
represent and manipulate 3D points
const char * GetRoadSurfaceArrayName(int)
int GetNumberOfComponentsInPointArray(int arr)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)