From d48d0fbc9caa3b007483a99fe584568300f2c42e Mon Sep 17 00:00:00 2001 From: abd Date: Tue, 7 Oct 2008 13:13:49 +0000 Subject: [PATCH] Fix compilation problems on Win32 Platform: - remove class without any definitions - export classes --- src/CONVERTOR/VISU_Structures_impl.hxx | 35 ++++---------------------- 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/src/CONVERTOR/VISU_Structures_impl.hxx b/src/CONVERTOR/VISU_Structures_impl.hxx index ffd9fbb4..ca14506f 100644 --- a/src/CONVERTOR/VISU_Structures_impl.hxx +++ b/src/CONVERTOR/VISU_Structures_impl.hxx @@ -53,7 +53,7 @@ namespace VISU //--------------------------------------------------------------- //! Define a container for VTK representation - class TPolyDataHolder: public virtual TSizeCounter + class VISU_CONVERTOR_EXPORT TPolyDataHolder: public virtual TSizeCounter { protected: mutable PPolyData mySource; @@ -134,37 +134,12 @@ namespace VISU GetUnstructuredGridOutput(); }; - /*! - This container allow to combine other VTK representation into single one. - */ - class VISU_CONVERTOR_EXPORT TCommonCellsFilterHolder: public virtual TMemoryCheckIDMapper - { - protected: - mutable PCommonCellsFilter myFilter; - mutable PMergeFilter myMergeFilter; - public: - TCommonCellsFilterHolder(); - - //! This method allow to create corresponding VTK filter by demand (not at once) - const PCommonCellsFilter& - GetFilter() const; - - //! Reimplement the TNamedIDMapper::GetUnstructuredGridOutput - virtual - vtkUnstructuredGrid* - GetUnstructuredGridOutput(); - - virtual - unsigned long int - GetMemorySize(); - }; - //--------------------------------------------------------------- //! Define a container for VTK representation /*! This container allow to combine other VTK representation into single one. */ - class TAppendPolyDataHolder: public virtual TMemoryCheckIDMapper + class VISU_CONVERTOR_EXPORT TAppendPolyDataHolder: public virtual TMemoryCheckIDMapper { protected: mutable PAppendPolyData myFilter; @@ -187,7 +162,7 @@ namespace VISU /*! This container allow to assign data to mesh and represent them into single VTK representation */ - class TMergeFilterHolder: public virtual TMemoryCheckIDMapper + class VISU_CONVERTOR_EXPORT TMergeFilterHolder: public virtual TMemoryCheckIDMapper { protected: mutable PMergeFilter myFilter; @@ -404,7 +379,7 @@ namespace VISU //--------------------------------------------------------------- //! Specialize TIDMapper to provide VTK mapping for MED TIMESTAMP mesh - struct TPolyDataIDMapperImpl: virtual TMergeFilterHolder, + struct VISU_CONVERTOR_EXPORT TPolyDataIDMapperImpl: virtual TMergeFilterHolder, virtual TPolyDataIDMapper { PAppendPolyDataHolder myIDMapper; //!< Responsible for numbering @@ -843,7 +818,7 @@ namespace VISU //--------------------------------------------------------------- typedef std::map TGeom2MeshValue; - class TGeom2Value: public virtual TBaseStructure + class VISU_CONVERTOR_EXPORT TGeom2Value: public virtual TBaseStructure { TGeom2MeshValue myGeom2MeshValue; public: -- 2.39.2