Salome HOME
projects
/
modules
/
med.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated copyright comment
[modules/med.git]
/
src
/
MEDCalc
/
gui
/
DatasourceController.hxx
diff --git
a/src/MEDCalc/gui/DatasourceController.hxx
b/src/MEDCalc/gui/DatasourceController.hxx
index 69b9f8cb639f158fceb4cab92e853f310c037293..ec318fdf0e9836f07c495ab1240582b72a27d871 100644
(file)
--- a/
src/MEDCalc/gui/DatasourceController.hxx
+++ b/
src/MEDCalc/gui/DatasourceController.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16 CEA/DEN, EDF R&D
+// Copyright (C) 2007-20
24 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-31,8
+31,6
@@
#include <MEDPresentation.hxx>
#include "XmedDataModel.hxx"
#include <MEDPresentation.hxx>
#include "XmedDataModel.hxx"
-#include "DlgChangeUnderlyingMesh.hxx"
-#include "DlgInterpolateField.hxx"
#include "MEDCALCGUI.hxx"
//
// The DatasourceController defines data structures and classes to
#include "MEDCALCGUI.hxx"
//
// The DatasourceController defines data structures and classes to
@@
-67,7
+65,7
@@
typedef struct {
EVENT_ADD_PRESENTATION
};
int eventtype;
EVENT_ADD_PRESENTATION
};
int eventtype;
- XmedDataObject
* objectdata;
+ XmedDataObject* objectdata;
QString objectalias;
} DatasourceEvent;
QString objectalias;
} DatasourceEvent;
@@
-82,47
+80,30
@@
class MEDCALCGUI_EXPORT DatasourceController: public QObject {
Q_OBJECT
public:
Q_OBJECT
public:
- DatasourceController(MEDModule
* salomeModule);
+ DatasourceController(MEDModule* salomeModule);
~DatasourceController();
void createActions();
public slots:
~DatasourceController();
void createActions();
public slots:
- // Callback connected to dialog box validation signals
- void OnChangeUnderlyingMeshInputValidated();
- void OnInterpolateFieldInputValidated();
- void processWorkspaceEvent(const MEDCALC::MedEvent * event);
+ void processWorkspaceEvent(const MEDCALC::MedEvent* event);
signals:
signals:
- void datasourceSignal(const DatasourceEvent
* event);
+ void datasourceSignal(const DatasourceEvent* event);
protected slots:
void OnAddDatasource();
void OnAddImagesource();
void OnExpandField();
protected slots:
void OnAddDatasource();
void OnAddImagesource();
void OnExpandField();
- void OnVisualizeScalarMap();
- void OnVisualizeContour();
- void OnVisualizeVectorField();
- void OnVisualizeSlices();
- void OnVisualizeDeflectionShape();
- void OnVisualizePointSprite();
void OnUseInWorkspace();
void OnUseInWorkspace();
- void OnChangeUnderlyingMesh();
- void OnInterpolateField();
private:
private:
- void visualize(DatasourceEvent::EventType);
void addDatasource(const char* filename);
void updateTreeViewWithNewDatasource(const MEDCALC::DatasourceHandler*);
void addDatasource(const char* filename);
void updateTreeViewWithNewDatasource(const MEDCALC::DatasourceHandler*);
- void updateTreeViewWithNewPresentation(long fieldId, long presentationId);
private:
MEDModule* _salomeModule;
private:
MEDModule* _salomeModule;
- SALOME_AppStudyEditor * _studyEditor;
-
- DlgChangeUnderlyingMesh * _dlgChangeUnderlyingMesh;
- DlgInterpolateField * _dlgInterpolateField;
-
+ SALOME_AppStudyEditor* _studyEditor; // borrowed to MEDModule
};
#endif
};
#endif