Salome HOME
projects
/
modules
/
visu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix of 0021175: EDF 1692 VISU: Scalar bar range is not good.
[modules/visu.git]
/
src
/
CONVERTOR
/
VISU_Structures_impl.hxx
diff --git
a/src/CONVERTOR/VISU_Structures_impl.hxx
b/src/CONVERTOR/VISU_Structures_impl.hxx
index baec9a3214b3258ce8d390d171ca799d55b85ab3..5ae6a2f5f1abcf180918b879acd17df2fb5a5f7a 100644
(file)
--- a/
src/CONVERTOR/VISU_Structures_impl.hxx
+++ b/
src/CONVERTOR/VISU_Structures_impl.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
08
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
10
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-19,6
+19,7
@@
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
// File :
// Author : Alexey PETROV
// Module : VISU
// File :
// Author : Alexey PETROV
// Module : VISU
@@
-102,7
+103,7
@@
namespace VISU
//---------------------------------------------------------------
//! Define an intermediate class which unifies memory size calculation
struct VISU_CONVERTOR_EXPORT TMemoryCheckIDMapper: public virtual TIsVTKDone,
//---------------------------------------------------------------
//! 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
{
//! Gets memory size used by the instance (bytes).
virtual
@@
-185,7
+186,7
@@
namespace VISU
//---------------------------------------------------------------
//! Specialize TMesh to provide VTK mapping for nodes
struct VISU_CONVERTOR_EXPORT TMeshImpl: virtual TMesh,
//---------------------------------------------------------------
//! 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
{
PNamedPointCoords myNamedPointCoords; //!< Keeps intermediate representation of the nodes
vtkIdType myNbPoints; //!< Keeps number of the nodes
@@
-209,7
+210,7
@@
namespace VISU
//! Specialize TSubProfile to provide VTK mapping
struct VISU_CONVERTOR_EXPORT TSubProfileImpl: virtual TSubProfile,
//! Specialize TSubProfile to provide VTK mapping
struct VISU_CONVERTOR_EXPORT TSubProfileImpl: virtual TSubProfile,
- virtual TUnstructuredGridHolder
+
virtual TUnstructuredGridHolder
{
TSubProfileImpl();
{
TSubProfileImpl();
@@
-225,6
+226,12
@@
namespace VISU
virtual
vtkIdType
GetElemVTKID(vtkIdType theID) const;
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
//! Gets memory size used by the instance (bytes).
virtual
@@
-248,7
+255,7
@@
namespace VISU
//! Specialize TProfile to provide VTK mapping for MED TIMESTAMP mesh
struct VISU_CONVERTOR_EXPORT TProfileImpl: virtual TProfile,
//! 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
{
TProfileImpl();
bool myIsAll; //!< Say, whether the MED TIMESTAMP defined on all MED ENTITY or not
@@
-315,7
+322,7
@@
namespace VISU
//---------------------------------------------------------------
//! Specialize TIDMapper to provide VTK mapping for MED TIMESTAMP mesh
struct TUnstructuredGridIDMapperImpl: virtual TMergeFilterHolder,
//---------------------------------------------------------------
//! 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;
{
PAppendFilterHolder myIDMapper; //!< Responsible for numbering
PCommonCellsFilter myCommonCellsFilter;
@@
-382,7
+389,7
@@
namespace VISU
//---------------------------------------------------------------
//! Specialize TIDMapper to provide VTK mapping for MED TIMESTAMP mesh
struct TPolyDataIDMapperImpl: virtual TMergeFilterHolder,
//---------------------------------------------------------------
//! Specialize TIDMapper to provide VTK mapping for MED TIMESTAMP mesh
struct TPolyDataIDMapperImpl: virtual TMergeFilterHolder,
- virtual TPolyDataIDMapper
+
virtual TPolyDataIDMapper
{
PAppendPolyDataHolder myIDMapper; //!< Responsible for numbering
{
PAppendPolyDataHolder myIDMapper; //!< Responsible for numbering
@@
-455,14
+462,14
@@
namespace VISU
virtual
void
LessThan(const PGaussImpl& theGauss,
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,
};
//---------------------------------------------------------------
//! Specialize TGaussSubMesh to provide VTK mapping for the entity
struct VISU_CONVERTOR_EXPORT TGaussSubMeshImpl: virtual TGaussSubMesh,
- virtual TPolyDataHolder
+
virtual TPolyDataHolder
{
TGaussSubMeshImpl();
{
TGaussSubMeshImpl();
@@
-513,7
+520,7
@@
namespace VISU
//! Specialize TGaussMesh to provide VTK mapping for the entity
struct VISU_CONVERTOR_EXPORT TGaussMeshImpl: virtual TGaussMesh,
//! Specialize TGaussMesh to provide VTK mapping for the entity
struct VISU_CONVERTOR_EXPORT TGaussMeshImpl: virtual TGaussMesh,
- virtual TAppendPolyDataHolder
+
virtual TAppendPolyDataHolder
{
TGaussMeshImpl();
{
TGaussMeshImpl();
@@
-551,7
+558,7
@@
namespace VISU
//---------------------------------------------------------------
//! Specialize TGaussPtsIDMapper to provide VTK mapping for MED TIMESTAMP mesh
struct VISU_CONVERTOR_EXPORT TGaussPtsIDFilter: virtual TPolyDataIDMapperImpl,
//---------------------------------------------------------------
//! Specialize TGaussPtsIDMapper to provide VTK mapping for MED TIMESTAMP mesh
struct VISU_CONVERTOR_EXPORT TGaussPtsIDFilter: virtual TPolyDataIDMapperImpl,
- virtual TGaussPtsIDMapper
+
virtual TGaussPtsIDMapper
{
PGaussPtsIDMapper myGaussPtsIDMapper;
{
PGaussPtsIDMapper myGaussPtsIDMapper;
@@
-623,8
+630,8
@@
namespace VISU
//! Specialize TMeshOnEntity to provide VTK mapping for the entity
struct VISU_CONVERTOR_EXPORT TMeshOnEntityImpl: virtual TMeshOnEntity,
//! 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();
{
TMeshOnEntityImpl();
@@
-686,7
+693,7
@@
namespace VISU
//! Specialize TFamily to provide VTK mapping for the entity
struct VISU_CONVERTOR_EXPORT TFamilyImpl: virtual TFamily,
//! 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
{
//! Reimplements the TStructured::CopyStructure
virtual
@@
-738,7
+745,7
@@
namespace VISU
//! Specialize TGroup to provide VTK mapping for the entity
struct VISU_CONVERTOR_EXPORT TGroupImpl: virtual TGroup,
//! 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
{
//! Reimplements the TStructured::CopyStructure
virtual
@@
-801,7
+808,7
@@
namespace VISU
//! To initialize the data structure
void
Init(vtkIdType theNbComp,
//! To initialize the data structure
void
Init(vtkIdType theNbComp,
- vtkIdType theDataType);
+
vtkIdType theDataType);
//! Gets type idetificator of the mesh data.
vtkIdType
//! Gets type idetificator of the mesh data.
vtkIdType
@@
-868,6
+875,7
@@
namespace VISU
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
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();
TValForTimeImpl();