vtkbone
|
A class to read Abaqus Data files. More...
#include <AbaqusInputReaderHelper.h>
Public Types | |
typedef void(* | messageHandler_t) (vtkObject *, const std::string &) |
![]() | |
typedef int(CommandStyleFileReader::* | CommandHandler_t) () |
typedef std::map< std::string, CommandHandler_t > | CommandContext_t |
Public Member Functions | |
AbaqusInputReaderHelper (std::istream &stream, long streamSize, vtkAlgorithm *boss, vtkboneFiniteElementModel *model) | |
int | GetAbortStatus () |
void | RegisterMessageObject (vtkObject *obj, messageHandler_t debugCall, messageHandler_t warningCall) |
![]() | |
CommandStyleFileReader (std::istream &stream) | |
virtual int | Read () |
virtual void | DebugOn () |
virtual void | DebugOff () |
virtual void | SetDebug (int d) |
int | GetErrorStatus () |
const char * | GetErrorMsg () |
Static Public Attributes | |
static const int | progessInterval = 1000 |
Protected Types | |
typedef std::map< std::string, std::string > | parameters_t |
Protected Member Functions | |
virtual int | Finish () |
virtual void | DebugMessage (const std::string &msg) |
virtual void | WarningMessage (const std::string &msg) |
int | GetLine () |
int | IsCommand () |
int | IsCommentLine () |
int | Read_HEADING () |
int | Read_NODE () |
int | Read_ELEMENT () |
int | Read_NSET () |
int | Read_ELSET () |
int | Read_MATERIAL () |
int | Read_ELASTIC () |
int | Read_SOLID_SECTION () |
int | Read_STEP () |
int | Read_STATIC () |
int | Read_BOUNDARY () |
int | Read_CLOAD () |
int | Read_END_STEP () |
![]() | |
int | RegisterCommandHandler (const char *commandName, CommandHandler_t handler) |
virtual int | CallCommandHandler (CommandHandler_t handler) |
virtual int | FindCommand () |
virtual int | ProcessCommand () |
virtual void | SetError (const std::string &msg) |
Protected Attributes | |
vtkObject * | messageObject |
messageHandler_t | debugHandler |
messageHandler_t | warningHandler |
long | streamSize |
vtkAlgorithm * | boss |
vtkboneFiniteElementModel * | model |
int | abortExecute |
parameters_t | parameters |
std::string | currentMaterial |
std::string | allElementsSet |
![]() | |
std::istream & | stream |
std::string | commandName |
long | lineCount |
int | repeatLastCommand |
std::string | line |
std::stack< CommandContext_t > | commandContextStack |
int | debug |
int | errorStatus |
std::string | errorMsg |
A class to read Abaqus Data files.
The data will be written in a VTK object of type vtkboneFiniteElementModel.
This object is not itself a VTK object and is intended to be encapsulated inside a VTK obect (vtkboneAbaqusInputReader). The purpose of this keep to public interface of vtkboneAbaqusInputReader as simple as possible. As well, this hides from the VTK interface C++ STL objects that are used for the implementation. Having them publically visible in the interface would break wrapping (python and TK).
This object supports only a limited subset of Abaqus element types, namely what we have needed.
Definition at line 38 of file AbaqusInputReaderHelper.h.
typedef void(* AbaqusInputReaderHelper::messageHandler_t) (vtkObject *, const std::string &) |
Definition at line 61 of file AbaqusInputReaderHelper.h.
|
protected |
Definition at line 110 of file AbaqusInputReaderHelper.h.
AbaqusInputReaderHelper::AbaqusInputReaderHelper | ( | std::istream & | stream, |
long | streamSize, | ||
vtkAlgorithm * | boss, | ||
vtkboneFiniteElementModel * | model | ||
) |
|
inline |
Definition at line 58 of file AbaqusInputReaderHelper.h.
void AbaqusInputReaderHelper::RegisterMessageObject | ( | vtkObject * | obj, |
messageHandler_t | debugCall, | ||
messageHandler_t | warningCall | ||
) |
|
protectedvirtual |
Reimplemented from CommandStyleFileReader.
|
protectedvirtual |
Reimplemented from CommandStyleFileReader.
|
protectedvirtual |
Reimplemented from CommandStyleFileReader.
|
protectedvirtual |
Reimplemented from CommandStyleFileReader.
|
protectedvirtual |
Implements CommandStyleFileReader.
|
protectedvirtual |
Implements CommandStyleFileReader.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
Definition at line 43 of file AbaqusInputReaderHelper.h.
|
protected |
Definition at line 101 of file AbaqusInputReaderHelper.h.
|
protected |
Definition at line 102 of file AbaqusInputReaderHelper.h.
|
protected |
Definition at line 103 of file AbaqusInputReaderHelper.h.
|
protected |
Definition at line 105 of file AbaqusInputReaderHelper.h.
|
protected |
Definition at line 106 of file AbaqusInputReaderHelper.h.
|
protected |
Definition at line 107 of file AbaqusInputReaderHelper.h.
|
protected |
Definition at line 108 of file AbaqusInputReaderHelper.h.
|
protected |
Definition at line 111 of file AbaqusInputReaderHelper.h.
|
protected |
Definition at line 113 of file AbaqusInputReaderHelper.h.
|
protected |
Definition at line 114 of file AbaqusInputReaderHelper.h.