From: abd Date: Tue, 7 Oct 2008 13:15:16 +0000 (+0000) Subject: Fix compilation problems on Win32 Platform: X-Git-Tag: V4_1_0_maintainance_20081009~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1368450888f422307cc17cb972278f14c5650c94;p=modules%2Fvisu.git Fix compilation problems on Win32 Platform: - export classes abd functions --- diff --git a/src/CONVERTOR/VISU_IDMapper.hxx b/src/CONVERTOR/VISU_IDMapper.hxx index 4ef68e30..9a711d20 100644 --- a/src/CONVERTOR/VISU_IDMapper.hxx +++ b/src/CONVERTOR/VISU_IDMapper.hxx @@ -53,7 +53,7 @@ namespace VISU //--------------------------------------------------------------- - class TStructuredId + class VISU_CONVERTOR_EXPORT TStructuredId { vtkIdType myData[3]; diff --git a/src/CONVERTOR/VISU_TableReader.hxx b/src/CONVERTOR/VISU_TableReader.hxx index 1b724c34..cccd77d1 100644 --- a/src/CONVERTOR/VISU_TableReader.hxx +++ b/src/CONVERTOR/VISU_TableReader.hxx @@ -101,6 +101,7 @@ namespace VISU //--------------------------------------------------------------- typedef std::vector TTableContainer; + VISU_CONVERTOR_EXPORT void ImportTables( const char* theFileName, TTableContainer& theContainer ); diff --git a/src/PIPELINE/VISU_DeformationPL.cxx b/src/PIPELINE/VISU_DeformationPL.cxx index 2189b228..034d4cf7 100755 --- a/src/PIPELINE/VISU_DeformationPL.cxx +++ b/src/PIPELINE/VISU_DeformationPL.cxx @@ -88,6 +88,8 @@ VISU_DeformationPL::GetMTime(){ aTime = std::max(aTime,myInputPassFilter->GetMTime()); aTime = std::max(aTime,myOutputPassFiler->GetMTime()); aTime = std::max(aTime,myCellDataToPointData->GetMTime()); + + return aTime; } //---------------------------------------------------------------------------- diff --git a/src/PIPELINE/VISU_ElnoAssembleFilter.hxx b/src/PIPELINE/VISU_ElnoAssembleFilter.hxx index 8f586c66..469ea561 100644 --- a/src/PIPELINE/VISU_ElnoAssembleFilter.hxx +++ b/src/PIPELINE/VISU_ElnoAssembleFilter.hxx @@ -20,9 +20,11 @@ #ifndef VISU_ElnoAssembleFilter_H #define VISU_ElnoAssembleFilter_H +#include "VISU_PipeLine.hxx" + #include -class VISU_ElnoAssembleFilter : public vtkPointSetAlgorithm +class VISU_PIPELINE_EXPORT VISU_ElnoAssembleFilter : public vtkPointSetAlgorithm { public: typedef vtkPointSetAlgorithm Superclass; diff --git a/src/PIPELINE/VISU_ElnoDisassembleFilter.hxx b/src/PIPELINE/VISU_ElnoDisassembleFilter.hxx index 0053c13e..5b8ef47d 100644 --- a/src/PIPELINE/VISU_ElnoDisassembleFilter.hxx +++ b/src/PIPELINE/VISU_ElnoDisassembleFilter.hxx @@ -20,9 +20,11 @@ #ifndef VISU_ElnoDisassembleFilter_H #define VISU_ElnoDisassembleFilter_H +#include "VISU_PipeLine.hxx" + #include -class VISU_ElnoDisassembleFilter : public vtkUnstructuredGridAlgorithm +class VISU_PIPELINE_EXPORT VISU_ElnoDisassembleFilter : public vtkUnstructuredGridAlgorithm { public: typedef vtkUnstructuredGridAlgorithm Superclass;