-// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
// File :
// Author : Alexey PETROV
// Module : VISU
//---------------------------------------------------------------
//! Define an intermediate class which unifies memory size calculation
struct VISU_CONVERTOR_EXPORT TMemoryCheckIDMapper: public virtual TIsVTKDone,
- public virtual TIDMapper
+ public virtual TIDMapper
{
//! Gets memory size used by the instance (bytes).
virtual
//---------------------------------------------------------------
//! Specialize TMesh to provide VTK mapping for nodes
struct VISU_CONVERTOR_EXPORT TMeshImpl: virtual TMesh,
- virtual TIsVTKDone
+ virtual TIsVTKDone
{
PNamedPointCoords myNamedPointCoords; //!< Keeps intermediate representation of the nodes
vtkIdType myNbPoints; //!< Keeps number of the nodes
//! Specialize TSubProfile to provide VTK mapping
struct VISU_CONVERTOR_EXPORT TSubProfileImpl: virtual TSubProfile,
- virtual TUnstructuredGridHolder
+ virtual TUnstructuredGridHolder
{
TSubProfileImpl();
virtual
vtkIdType
GetElemVTKID(vtkIdType theID) const;
+
+ //! Return true in case if it is default profile,
+ //! i.e myName == "" (MED_NOPFL, see med.h)
+ virtual
+ bool
+ isDefault() const;
//! Gets memory size used by the instance (bytes).
virtual
//! Specialize TProfile to provide VTK mapping for MED TIMESTAMP mesh
struct VISU_CONVERTOR_EXPORT TProfileImpl: virtual TProfile,
- virtual TAppendFilterHolder
+ virtual TAppendFilterHolder
{
TProfileImpl();
bool myIsAll; //!< Say, whether the MED TIMESTAMP defined on all MED ENTITY or not
//---------------------------------------------------------------
//! Specialize TIDMapper to provide VTK mapping for MED TIMESTAMP mesh
struct TUnstructuredGridIDMapperImpl: virtual TMergeFilterHolder,
- virtual TUnstructuredGridIDMapper
+ virtual TUnstructuredGridIDMapper
{
PAppendFilterHolder myIDMapper; //!< Responsible for numbering
PCommonCellsFilter myCommonCellsFilter;
//---------------------------------------------------------------
//! Specialize TIDMapper to provide VTK mapping for MED TIMESTAMP mesh
struct TPolyDataIDMapperImpl: virtual TMergeFilterHolder,
- virtual TPolyDataIDMapper
+ virtual TPolyDataIDMapper
{
PAppendPolyDataHolder myIDMapper; //!< Responsible for numbering
virtual
void
LessThan(const PGaussImpl& theGauss,
- bool& theResult) const;
+ bool& theResult) const;
};
//---------------------------------------------------------------
//! Specialize TGaussSubMesh to provide VTK mapping for the entity
struct VISU_CONVERTOR_EXPORT TGaussSubMeshImpl: virtual TGaussSubMesh,
- virtual TPolyDataHolder
+ virtual TPolyDataHolder
{
TGaussSubMeshImpl();
//! Specialize TGaussMesh to provide VTK mapping for the entity
struct VISU_CONVERTOR_EXPORT TGaussMeshImpl: virtual TGaussMesh,
- virtual TAppendPolyDataHolder
+ virtual TAppendPolyDataHolder
{
TGaussMeshImpl();
//---------------------------------------------------------------
//! Specialize TGaussPtsIDMapper to provide VTK mapping for MED TIMESTAMP mesh
struct VISU_CONVERTOR_EXPORT TGaussPtsIDFilter: virtual TPolyDataIDMapperImpl,
- virtual TGaussPtsIDMapper
+ virtual TGaussPtsIDMapper
{
PGaussPtsIDMapper myGaussPtsIDMapper;
//! Specialize TMeshOnEntity to provide VTK mapping for the entity
struct VISU_CONVERTOR_EXPORT TMeshOnEntityImpl: virtual TMeshOnEntity,
- virtual TAppendFilterHolder,
- virtual TSizeCounter
+ virtual TAppendFilterHolder,
+ virtual TSizeCounter
{
TMeshOnEntityImpl();
//! Specialize TFamily to provide VTK mapping for the entity
struct VISU_CONVERTOR_EXPORT TFamilyImpl: virtual TFamily,
- virtual TUnstructuredGridHolder
+ virtual TUnstructuredGridHolder
{
//! Reimplements the TStructured::CopyStructure
virtual
//! Specialize TGroup to provide VTK mapping for the entity
struct VISU_CONVERTOR_EXPORT TGroupImpl: virtual TGroup,
- virtual TAppendFilterHolder
+ virtual TAppendFilterHolder
{
//! Reimplements the TStructured::CopyStructure
virtual
//! To initialize the data structure
void
Init(vtkIdType theNbComp,
- vtkIdType theDataType);
+ vtkIdType theDataType);
//! Gets type idetificator of the mesh data.
vtkIdType
PUnstructuredGridIDMapperImpl myUnstructuredGridIDMapper; //!< Keep VTK representation for ordinary mesh and data
TGeom2Value myGeom2Value; //!< Keep value that is assigned to the mesh
TGeom2NbGauss myGeom2NbGauss; //!< Keep number of Gauss Points
+ bool myIsFilled; //!< Keep the status of the TValForTime (true - already filled, false - not filled);
TValForTimeImpl();