From 1368450888f422307cc17cb972278f14c5650c94 Mon Sep 17 00:00:00 2001 From: abd Date: Tue, 7 Oct 2008 13:15:16 +0000 Subject: [PATCH] Fix compilation problems on Win32 Platform: - export classes abd functions --- src/CONVERTOR/VISU_IDMapper.hxx | 2 +- src/CONVERTOR/VISU_TableReader.hxx | 1 + src/PIPELINE/VISU_DeformationPL.cxx | 2 ++ src/PIPELINE/VISU_ElnoAssembleFilter.hxx | 4 +++- src/PIPELINE/VISU_ElnoDisassembleFilter.hxx | 4 +++- 5 files changed, 10 insertions(+), 3 deletions(-) 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; -- 2.39.2