VISU_Convertor Class Reference

This class defines interface to read VTK interpretation of MED entities. More...

#include <VISU_Convertor.hxx>

Inheritance diagram for VISU_Convertor:

Inheritance graph

Public Types

typedef VISU::TVTKOutput TOutput
 Defines what subtype of vtkDataSet is used for MED to VTK mapping.

Public Member Functions

virtual ~VISU_Convertor ()
virtual const std::stringGetName ()
 Get brief name of the corresponding source MED file.
virtual int IsDone () const
 Let known whether the source MED file parsed or not.
virtual VISU_ConvertorBuild ()=0
 This method perform first parsing of MED file to get known what MED entities are pressent in it.
virtual VISU_ConvertorBuildEntities ()=0
 This method perform first parsing of MED file to get known what MED mesh entities are pressent in it.
virtual VISU_ConvertorBuildFields ()=0
 This method perform first parsing of MED file to get known what MED fields are pressent in it.
virtual VISU_ConvertorBuildMinMax ()=0
 This min /max calculation over existing MED fields.
virtual VISU_ConvertorBuildGroups ()=0
 This method perform first parsing of MED file to get known what MED groups are pressent in it.
virtual const VISU::TMeshMapGetMeshMap ()
 This method allow to get known what MED entities are present is the MED file.
virtual vtkFloatingPointType GetSize ()=0
 Get amount of memory to build VTK representations for all existing MED entities.
virtual VISU::PNamedIDMapper GetMeshOnEntity (const std::string &theMeshName, const VISU::TEntity &theEntity)=0
 Get mesh for corresponding MED ENTITY.
virtual vtkFloatingPointType GetMeshOnEntitySize (const std::string &theMeshName, const VISU::TEntity &theEntity)=0
 Get amount of memory to build mesh for corresponding MED ENTITY.
virtual VISU::PIDMapper GetFamilyOnEntity (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFamilyName)=0
 Get mesh for corresponding MED FAMILY.
virtual vtkFloatingPointType GetFamilyOnEntitySize (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFamilyName)=0
 Get amount of memory to build mesh for corresponding MED FAMILY.
virtual VISU::PIDMapper GetMeshOnGroup (const std::string &theMeshName, const std::string &theGroupName)=0
 Get mesh for corresponding MED GROUP.
virtual vtkFloatingPointType GetMeshOnGroupSize (const std::string &theMeshName, const std::string &theGroupName)=0
 Get amount of memory to build mesh for corresponding MED GROUP.
virtual VISU::PIDMapper GetTimeStampOnMesh (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFieldName, int theStampsNum)=0
 Get mesh with attached values for corresponding MED TIMESTAMP.
virtual VISU::PGaussPtsIDMapper GetTimeStampOnGaussPts (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFieldName, int theStampsNum)=0
 Get Gauss Points mesh with attached values for corresponding MED TIMESTAMP.
virtual vtkFloatingPointType GetTimeStampSize (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFieldName, int theStampsNum)=0
 Get amount of memory to build mesh for corresponding MED TIMESTAMP.
virtual vtkFloatingPointType GetFieldOnMeshSize (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFieldName)=0
 Get amount of memory to build all MED TIMESTAMPS for corresponding MED FIELD.
virtual const VISU::PField GetField (const std::string &theMeshName, VISU::TEntity theEntity, const std::string &theFieldName)=0
 Find MED FIELD container.
virtual const VISU::PValForTime GetTimeStamp (const std::string &theMeshName, const VISU::TEntity &theEntity, const std::string &theFieldName, int theStampsNum)=0
 Find MED TIMESTAMP container.

Static Public Member Functions

static std::string GenerateName (const VISU::TTime &aTime)
 Allow to generate pretty name for MED TIMESTAMP.
static std::string GenerateName (const std::string &theName, unsigned int theTimeId)

Protected Attributes

std::string myName
VISU::TMeshMap myMeshMap
int myIsDone

Detailed Description

It is the main class of the VISU CONVERTER package. Following MED entities can be retrived from any MED file:


Member Typedef Documentation

typedef VISU::TVTKOutput VISU_Convertor.TOutput
 


Constructor & Destructor Documentation

virtual VISU_Convertor.~VISU_Convertor  )  [virtual]
 


Member Function Documentation

virtual const std::string& VISU_Convertor.GetName  )  [virtual]
 

virtual int VISU_Convertor.IsDone  )  const [virtual]
 

virtual VISU_Convertor* VISU_Convertor.Build  )  [pure virtual]
 

Implemented in VISU_Convertor_impl, VISU_MEDConvertor, and VISU_MEDFieldConvertor.

virtual VISU_Convertor* VISU_Convertor.BuildEntities  )  [pure virtual]
 

Implemented in VISU_Convertor_impl, and VISU_MedConvertor.

virtual VISU_Convertor* VISU_Convertor.BuildFields  )  [pure virtual]
 

Implemented in VISU_Convertor_impl, and VISU_MedConvertor.

virtual VISU_Convertor* VISU_Convertor.BuildMinMax  )  [pure virtual]
 

Implemented in VISU_Convertor_impl, and VISU_MedConvertor.

virtual VISU_Convertor* VISU_Convertor.BuildGroups  )  [pure virtual]
 

Implemented in VISU_Convertor_impl, and VISU_MedConvertor.

const VISU::TMeshMap & VISU_Convertor::GetMeshMap  )  [virtual]
 

virtual vtkFloatingPointType VISU_Convertor.GetSize  )  [pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual VISU::PNamedIDMapper VISU_Convertor.GetMeshOnEntity const std::string theMeshName,
const VISU::TEntity theEntity
[pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual vtkFloatingPointType VISU_Convertor.GetMeshOnEntitySize const std::string theMeshName,
const VISU::TEntity theEntity
[pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual VISU::PIDMapper VISU_Convertor.GetFamilyOnEntity const std::string theMeshName,
const VISU::TEntity theEntity,
const std::string theFamilyName
[pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual vtkFloatingPointType VISU_Convertor.GetFamilyOnEntitySize const std::string theMeshName,
const VISU::TEntity theEntity,
const std::string theFamilyName
[pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual VISU::PIDMapper VISU_Convertor.GetMeshOnGroup const std::string theMeshName,
const std::string theGroupName
[pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual vtkFloatingPointType VISU_Convertor.GetMeshOnGroupSize const std::string theMeshName,
const std::string theGroupName
[pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual VISU::PIDMapper VISU_Convertor.GetTimeStampOnMesh const std::string theMeshName,
const VISU::TEntity theEntity,
const std::string theFieldName,
int  theStampsNum
[pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual VISU::PGaussPtsIDMapper VISU_Convertor.GetTimeStampOnGaussPts const std::string theMeshName,
const VISU::TEntity theEntity,
const std::string theFieldName,
int  theStampsNum
[pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual vtkFloatingPointType VISU_Convertor.GetTimeStampSize const std::string theMeshName,
const VISU::TEntity theEntity,
const std::string theFieldName,
int  theStampsNum
[pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual vtkFloatingPointType VISU_Convertor.GetFieldOnMeshSize const std::string theMeshName,
const VISU::TEntity theEntity,
const std::string theFieldName
[pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual const VISU::PField VISU_Convertor.GetField const std::string theMeshName,
VISU::TEntity  theEntity,
const std::string theFieldName
[pure virtual]
 

Implemented in VISU_Convertor_impl.

virtual const VISU::PValForTime VISU_Convertor.GetTimeStamp const std::string theMeshName,
const VISU::TEntity theEntity,
const std::string theFieldName,
int  theStampsNum
[pure virtual]
 

Implemented in VISU_Convertor_impl.

string VISU_Convertor::GenerateName const VISU::TTime aTime  )  [static]
 

string VISU_Convertor::GenerateName const std::string theName,
unsigned int  theTimeId
[static]
 


Field Documentation

std::string VISU_Convertor.myName [protected]
 

VISU::TMeshMap VISU_Convertor.myMeshMap [protected]
 

int VISU_Convertor.myIsDone [protected]