X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCalc%2Fgui%2FPresentationEvent.hxx;h=2ed922bda4c937a2cfd01a31f2370dd44b0ca9d6;hb=refs%2Fheads%2FV9_9_BR;hp=92b8dc4f9691e997c7f985f9b8fb564cca4b9750;hpb=7d544dd8676fb5c514b5bc2c175967b45d10cc67;p=modules%2Fmed.git diff --git a/src/MEDCalc/gui/PresentationEvent.hxx b/src/MEDCalc/gui/PresentationEvent.hxx index 92b8dc4f9..2ed922bda 100644 --- a/src/MEDCalc/gui/PresentationEvent.hxx +++ b/src/MEDCalc/gui/PresentationEvent.hxx @@ -1,3 +1,22 @@ +// Copyright (C) 2016-2022 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// + #ifndef SRC_MEDCALC_GUI_PRESENTATIONEVENT_HXX_ #define SRC_MEDCALC_GUI_PRESENTATIONEVENT_HXX_ @@ -9,6 +28,9 @@ typedef struct { EVENT_VIEW_OBJECT_CONTOUR, EVENT_VIEW_OBJECT_DEFLECTION_SHAPE, EVENT_VIEW_OBJECT_POINT_SPRITE, + EVENT_VIEW_OBJECT_PLOT3D, + EVENT_VIEW_OBJECT_STREAM_LINES, + EVENT_VIEW_OBJECT_CUT_SEGMENT, EVENT_VIEW_OBJECT_SCALAR_MAP, EVENT_VIEW_OBJECT_SLICES, EVENT_VIEW_OBJECT_VECTOR_FIELD, @@ -24,15 +46,45 @@ typedef struct { EVENT_CHANGE_NB_CONTOUR, EVENT_CHANGE_SLICE_ORIENTATION, - EVENT_CHANGE_NB_SLICES + EVENT_CHANGE_NB_SLICES, + + EVENT_CHANGE_NORMAL, + EVENT_CHANGE_PLANE_POS, + + EVENT_CHANGE_INTEGR_DIR, + + EVENT_CHANGE_CUT_POINT1, + EVENT_CHANGE_CUT_POINT2, + + EVENT_CHANGE_CONTOUR_COMPONENT, + + EVENT_CHANGE_SCALE_FACTOR, + EVENT_CHANGE_CUSTOM_SCALE_FACTOR, + + EVENT_DISPLAY_PRESENTATION, + EVENT_ERASE_PRESENTATION, + + EVENT_SCALAR_BAR_VISIBILITY_CHANGED, + + EVENT_CUSTOM_RANGE_CHANGED, + + EVENT_HIDE_DATA_OUTSIDE_CUSTOM_RANGE_CHANGED }; EventType eventtype; MEDCALC::FieldHandler * fieldHandler; + MEDCALC::MeshHandler * meshHandler; int presentationId; + std::string presentationType; // presentation type (can be empty) int anInteger; // multi-purpose variable //int anInteger2; // multi-purpose variable std::string aString; // multi-purpose variable + double aDouble1; // multi-purpose variable + double aDouble2; // multi-purpose variable + double aDouble3; + double aDoubleN[3]; // multi-purpose variable + double aDoubleP1[3]; // multi-purpose variable + double aDoubleP2[3]; // multi-purpose variable } PresentationEvent; #endif