src/CONVERTOR/VISU_Convertor_impl.cxx File Reference

#include "VISU_Convertor_impl.hxx"
#include "VISU_ConvertorUtils.hxx"
#include "VTKViewer_AppendFilter.h"
#include "VISU_MergeFilter.hxx"
#include "VTKViewer_CellLocationsArray.h"
#include "VISU_CommonCellsFilter.hxx"
#include <vtkPoints.h>
#include <vtkUnstructuredGrid.h>
#include <vtkIdList.h>
#include <vtkCellType.h>
#include <vtkCellArray.h>
#include <vtkFloatArray.h>
#include <vtkIntArray.h>
#include <vtkUnsignedCharArray.h>
#include <vtkPointData.h>
#include <vtkCellData.h>
#include <vtkCellLinks.h>
#include <qstring.h>
#include <qfileinfo.h>
#include <valarray>
#include <memory>

Include dependency graph for VISU_Convertor_impl.cxx:


Namespaces

namespace  VISU

Typedefs

typedef VISU::TCoord(* TGetCoord )(const VISU::TCCoordSlice &theCoordSlice)
typedef std::auto_ptr< TCoordHelper > TCoordHelperPtr

Enumerations

enum  ECoordName { eX, eY, eZ, eNone }

Functions

bool VISU.operator< (const PSubProfile &theLeft, const PSubProfile &theRight)
bool VISU.operator< (const PGaussSubMesh &theLeft, const PGaussSubMesh &theRight)
vtkIdType VISU.VISUGeom2NbNodes (EGeometry theGeom)
 Get number of nodes for defined geometrical type.
vtkIdType VISU.VISUGeom2VTK (EGeometry theGeom)
 Maps VISU geometrical type to VTK one.
template<class T>
std::string dtos (const std::string &fmt, T val)
template<ECoordName TCoordId>
VISU::TCoord GetCoord (const VISU::TCCoordSlice &theCoordSlice)
template<>
VISU::TCoord GetCoord< eNone > (const VISU::TCCoordSlice &theCoordSlice)
vtkUnstructuredGrid * GetPointsSource (const PMeshImpl &theMesh)
void PrintCells (int &theStartId, vtkCellArray *theConnectivity, const VISU::TConnect &theVector)
void GetCellsOnSubMesh (const TVTKSource &theSource, const PMeshOnEntityImpl &theMeshOnEntity, const PSubMeshImpl &theSubMesh, const vtkIdType theGeom)
void GetCellsOnFamily (const TVTKSource &theSource, const PMeshOnEntityImpl &theMeshOnEntity, const PFamilyImpl &theFamily)
std::string GenerateFieldName (const PFieldImpl &theField, const PValForTimeImpl &theValForTime)
void GetTimeStampOnProfile (const TVTKSource &theSource, const PFieldImpl &theField, const PValForTimeImpl &theValForTime, const VISU::TEntity &theEntity)
void GetCells (const TVTKSource &theSource, const PSubProfileImpl &theSubProfile, const PProfileImpl &theProfile, const PMeshOnEntityImpl &theMeshOnEntity)
void GetMeshOnSubProfile (const PMeshImpl &theMesh, const PMeshOnEntityImpl &theMeshOnEntity, const PProfileImpl &theProfile, const PSubProfileImpl &theSubProfile)
bool GetMeshOnProfile (const PMeshImpl &theMesh, const PMeshOnEntityImpl &theMeshOnEntity, const PProfileImpl &theProfile)
void GetTimeStampOnGaussMesh (const TVTKSource &theSource, const PFieldImpl &theField, const PValForTimeImpl &theValForTime)
void GetSource (const TVTKSource &theSource, const PGaussSubMeshImpl &theGaussSubMesh, const PMeshOnEntityImpl &theMeshOnEntity)
void GetGaussSubMesh (const PMeshImpl &theMesh, const PMeshOnEntityImpl &theMeshOnEntity, const PGaussMeshImpl &theGaussMesh, const PGaussSubMeshImpl &theGaussSubMesh)
void BuildGaussMesh (const PMeshImpl &theMesh, const PMeshOnEntityImpl &theMeshOnEntity, const PGaussMeshImpl &theGaussMesh)
void PrintMemorySize (vtkUnstructuredGrid *theDataSet)

Variables

static vtkFloatingPointType ERR_SIZE_CALC = 1.00
static int MYVTKDEBUG = 0
static int MYDEBUG = 0
static int MYDEBUGWITHFILES = 0
TGetCoord aXYZGetCoord [3]
TGetCoord aXYGetCoord [3]
TGetCoord aYZGetCoord [3]
TGetCoord aXZGetCoord [3]
TGetCoord aXGetCoord [3]
TGetCoord aYGetCoord [3]
TGetCoord aZGetCoord [3]
TGetCoordmyGetCoord

Typedef Documentation

typedef VISU::TCoord(* TGetCoord)(const VISU::TCCoordSlice &theCoordSlice) [static]
 

typedef std::auto_ptr<TCoordHelper> TCoordHelperPtr [static]
 


Enumeration Type Documentation

enum ECoordName
 

Enumerator:
eX 
eY 
eZ 
eNone 


Function Documentation

template<class T>
std::string @0.dtos const std::string fmt,
val
[static]
 

template<ECoordName TCoordId>
VISU::TCoord @0.GetCoord const VISU::TCCoordSlice theCoordSlice  )  [static]
 

template<>
VISU::TCoord @0.GetCoord< eNone > const VISU::TCCoordSlice theCoordSlice  )  [static]
 

vtkUnstructuredGrid* @0.GetPointsSource const PMeshImpl theMesh  )  [static]
 

void @0.PrintCells int &  theStartId,
vtkCellArray *  theConnectivity,
const VISU::TConnect theVector
[static]
 

void @0.GetCellsOnSubMesh const TVTKSource theSource,
const PMeshOnEntityImpl theMeshOnEntity,
const PSubMeshImpl theSubMesh,
const vtkIdType  theGeom
[static]
 

void @0.GetCellsOnFamily const TVTKSource theSource,
const PMeshOnEntityImpl theMeshOnEntity,
const PFamilyImpl theFamily
[static]
 

std::string @0.GenerateFieldName const PFieldImpl theField,
const PValForTimeImpl theValForTime
[static]
 

void @0.GetTimeStampOnProfile const TVTKSource theSource,
const PFieldImpl theField,
const PValForTimeImpl theValForTime,
const VISU::TEntity theEntity
[static]
 

void @0.GetCells const TVTKSource theSource,
const PSubProfileImpl theSubProfile,
const PProfileImpl theProfile,
const PMeshOnEntityImpl theMeshOnEntity
[static]
 

void @0.GetMeshOnSubProfile const PMeshImpl theMesh,
const PMeshOnEntityImpl theMeshOnEntity,
const PProfileImpl theProfile,
const PSubProfileImpl theSubProfile
[static]
 

bool @0.GetMeshOnProfile const PMeshImpl theMesh,
const PMeshOnEntityImpl theMeshOnEntity,
const PProfileImpl theProfile
[static]
 

void @0.GetTimeStampOnGaussMesh const TVTKSource theSource,
const PFieldImpl theField,
const PValForTimeImpl theValForTime
[static]
 

void @0.GetSource const TVTKSource theSource,
const PGaussSubMeshImpl theGaussSubMesh,
const PMeshOnEntityImpl theMeshOnEntity
[static]
 

void @0.GetGaussSubMesh const PMeshImpl theMesh,
const PMeshOnEntityImpl theMeshOnEntity,
const PGaussMeshImpl theGaussMesh,
const PGaussSubMeshImpl theGaussSubMesh
[static]
 

void @0.BuildGaussMesh const PMeshImpl theMesh,
const PMeshOnEntityImpl theMeshOnEntity,
const PGaussMeshImpl theGaussMesh
[static]
 

void @0.PrintMemorySize vtkUnstructuredGrid *  theDataSet  )  [static]
 


Variable Documentation

vtkFloatingPointType ERR_SIZE_CALC = 1.00 [static]
 

int MYVTKDEBUG = 0 [static]
 

int MYDEBUG = 0 [static]
 

int MYDEBUGWITHFILES = 0 [static]
 

TGetCoord aXYZGetCoord[3] [static]
 

Initial value:

 {
    &GetCoord<eX>, 
    &GetCoord<eY>, 
    &GetCoord<eZ>
  }

TGetCoord aXYGetCoord[3] [static]
 

Initial value:

 {
    &GetCoord<eX>, 
    &GetCoord<eY>, 
    &GetCoord<eNone>
  }

TGetCoord aYZGetCoord[3] [static]
 

Initial value:

 {
    &GetCoord<eNone>,
    &GetCoord<eX>, 
    &GetCoord<eY>
  }

TGetCoord aXZGetCoord[3] [static]
 

Initial value:

 {
    &GetCoord<eX>, 
    &GetCoord<eNone>,
    &GetCoord<eY>
  }

TGetCoord aXGetCoord[3] [static]
 

Initial value:

 {
    &GetCoord<eX>, 
    &GetCoord<eNone>,
    &GetCoord<eNone>
  }

TGetCoord aYGetCoord[3] [static]
 

Initial value:

 {
    &GetCoord<eNone>,
    &GetCoord<eX>, 
    &GetCoord<eNone>
  }

TGetCoord aZGetCoord[3] [static]
 

Initial value:

 {
    &GetCoord<eNone>,
    &GetCoord<eNone>,
    &GetCoord<eX>
  }

TGetCoord* myGetCoord