Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/visu.git] / idl / VISU_Gen.idl
index f4027093876c1ce7465a760de25403d6b6a26b89..60a4449819b0e02c36e1a2b963a8c491258cb8dd 100644 (file)
@@ -1,27 +1,27 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
-//  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.
+// 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.
 //
-//  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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //  File   : VISU_Gen.idl
 //  Author : Alexey Petrov
-//
+
 /*! \file VISU_Gen.idl This file conatins a set of interfaces of the %VISU module.
  *     This module provides various forms of data visualization in %SALOME application.
  *     These forms include data tables, XY plots, 3d representations
@@ -53,8 +53,18 @@ module VISU {
    * of the scaling, which can be applied on different presentations.
    */
   enum Scaling{ LINEAR, /*!< Linear type of scaling. */
-               LOGARITHMIC /*!< Logarithmic type of scaling. */
-             };
+                LOGARITHMIC /*!< Logarithmic type of scaling. */
+              };
+
+  /*!
+   * This enumeration contains a set of elements defining
+   * what kind of value will be extracted from gauss points data.
+   */
+  enum GaussMetric {
+    AVERAGE, /*!< Average value (default). */
+    MINIMUM, /*!< Minimum value. */
+    MAXIMUM  /*!< Maximum value. */
+  };
 
   /*!
    * This enumeration contains a set of elements defining the
@@ -64,10 +74,67 @@ module VISU {
     NODE, /*!< Node corresponds to a geometrical point. */
     EDGE, /*!< Edge corresponds to a geometrical line connecting two points. */
     FACE, /*!< Face corresponds to a geometrical plane bounded by several lines. */
-    CELL,  /*!< Cell is a volumic element of a mesh */
+    CELL, /*!< Cell is a volumic element of a mesh */
     NONE  /*!< Indicates undefined entity value */
   };
 
+  /*!
+   * Marker type (used for point rendering)
+   */
+  enum MarkerType {
+    MT_NONE,
+    MT_POINT,
+    MT_PLUS,
+    MT_STAR,
+    MT_O,
+    MT_X,
+    MT_O_POINT,
+    MT_O_PLUS,
+    MT_O_STAR,
+    MT_O_X,
+    MT_USER,
+    MT_POINT_SPRITE /*!< VISU specific */
+  };
+
+  /*!
+   * Marker scale (used for point rendering)
+   */
+  enum MarkerScale {
+    MS_NONE,
+    MS_10,
+    MS_15,
+    MS_20,
+    MS_25,
+    MS_30,
+    MS_35,
+    MS_40,
+    MS_45,
+    MS_50,
+    MS_55,
+    MS_60,
+    MS_65,
+    MS_70
+  };
+
+  /*!
+   * Tables' sort order
+   */
+  enum SortOrder {
+    AscendingOrder, /*!< The table items are sorted ascending */
+    DescendingOrder /*!< The table items are sorted descending */
+  };
+
+  /*!
+   * Tables' sort policy (specifies how empty cells are taken into account when sorting)
+   */
+  enum SortPolicy {
+    EmptyLowest,    /*!< Empty cells are considered as lowest values */
+    EmptyHighest,   /*!< Empty cells are considered as highest values */
+    EmptyFirst,     /*!< Empty cells are always first */
+    EmptyLast,      /*!< Empty cells are always last */
+    EmptyIgnore     /*!< Empty cells are ignored (stay at initial positions) */
+  };
+
   /*!
    * This enumeration contains a set of elements defining the type of the %VISU object.
    * This enumeration is used for navigation between a set of %VISU interfaces.
@@ -88,6 +155,7 @@ module VISU {
     TPOINTMAP3D, /*!< 3D presentation for table object */
     TCUTPLANES, /*!< Cut planes 3D presentation object */
     TCUTLINES, /*!< Cut lines 3D presentation object */
+    TCUTSEGMENT, /*!< Cut segment 3D presentation object */
     TVECTORS, /*!< Vectors 3D presentation object */
     TSTREAMLINES, /*!< Streamlines 3D presentation object */
     TVISUGEN, /*!< %VISU generator used for performing operations with different %VISU objects */
@@ -103,6 +171,7 @@ module VISU {
     TFIELD, /*!< Field represents the results of calculations (it can be scalar or vector values), grouped together under one physical concept. */
     TTIMESTAMP, /*!<Time stamp represents a subfield: the results of calculations are taken in one definite moment. */
     TANIMATION, /*!< Represents Animation object. */
+    TEVOLUTION, /*!< Represents Evolution object. */
     TCOLOREDPRS3DHOLDER, /*!< Colored 3D presentation holder */
     TCOLOREDPRS3DCACHE, /*!< Colored 3D presentation cache */
     TPART, /*!< MULTIPR: part of a mesh */
@@ -120,7 +189,7 @@ module VISU {
     boolean isAuto;
     string name;
   };
-    
+
   interface Base {
     /*!
      * Returns ID of the object.
@@ -191,15 +260,15 @@ module VISU {
      * which the curve is constructed on the graphics.
      */
     enum MarkerType { NONE,
-                     CIRCLE,
-                     RECTANGLE,
-                     DIAMOND,
-                     DTRIANGLE,
-                     UTRIANGLE,
-                     LTRIANGLE,
-                     RTRIANGLE,
-                     CROSS,
-                     XCROSS
+                      CIRCLE,
+                      RECTANGLE,
+                      DIAMOND,
+                      DTRIANGLE,
+                      UTRIANGLE,
+                      LTRIANGLE,
+                      RTRIANGLE,
+                      CROSS,
+                      XCROSS
     };
 
     /*!
@@ -244,6 +313,27 @@ module VISU {
      * \return Long value corresponding to the width of the curve line.
      */
     long GetLineWidth();
+
+    /*! Sets scaling coefficient of the curve.
+     * \param coef Double value defining the scale.
+     */
+    void SetScale(in double theCoef);
+
+    /*! Gets the scale coefficient of the curve lines.
+     */
+    double GetScale();
+
+    /*! Sets scaling coefficient of the curve to 1.0.
+     */
+    void RemoveScale();
+
+    /*!
+     * Switches on/off displaying of the deviation labels 
+     * on the curve.
+     * \param flag is used to switch on/off the deviation 
+     * labels on the curve.
+     */
+    void ShowDeviation(in boolean flag);
   };
 
   //-------------------------------------------------------
@@ -283,7 +373,7 @@ module VISU {
    *
    * This is a root class for all 3D presentations, which can be displayed in %VISU module.
    */
-  interface Prs3d : PrsObject, SALOME::GenericObj 
+  interface Prs3d : PrsObject, SALOME::GenericObj
   {
     /*!
      * Move the 3D presentation according to the given offset parameters
@@ -295,6 +385,38 @@ module VISU {
      */
     void GetOffset(out float theDx, out float theDy, out float theDz);
 
+    /*!
+     * Set standard point marker for the object
+     * \param theType standard marker type
+     * \param theScale standard marker scale
+     */
+    void SetMarkerStd(in MarkerType theType, in MarkerScale theScale);
+
+    /*!
+     * Set custom point marker for the object. The texture can be added
+     * by LoadTexture() function
+     * \param theTextureId texture ID
+     */
+    void SetMarkerTexture(in long theTextureId);
+
+    /*!
+     * Get type of the point marker assigned to the object
+     * \return current marker type (MT_NONE if no marker is set)
+     */
+    MarkerType GetMarkerType();
+
+    /*!
+     * Get scale of the point marker assigned to the object
+     * \return current marker scale (MS_NONE if no marker is set)
+     */
+    MarkerScale GetMarkerScale();
+
+    /*!
+     * Get texture idenifier of the point marker assigned to the object
+     * \return marker texture ID (0 if no marker set)
+     */
+    long GetMarkerTexture();
+
     /*!
      * Gets memory size actually used by the presentation (Mb).
      */
@@ -306,12 +428,21 @@ module VISU {
    * type of presentation of the mesh.
    */
   enum PresentationType{ POINT,
-                        WIREFRAME,
-                        SHADED,
-                        INSIDEFRAME,
-                        SURFACEFRAME,
-                        FEATURE_EDGES,
-                        SHRINK
+                         WIREFRAME,
+                         SHADED,
+                         INSIDEFRAME,
+                         SURFACEFRAME,
+                         FEATURE_EDGES,
+                         SHRINK
+  };
+
+  /*!
+   * This enumeration contains a set of elements defining the
+   * type of presentation of the 2D quadratic mesh elements.
+   */
+  enum Quadratic2DPresentationType{
+    LINES,
+    ARCS
   };
 
   /*! \brief Interface of the mesh.
@@ -366,6 +497,21 @@ module VISU {
      */
     PresentationType GetPresentationType();
 
+
+    /*!
+     * Sets the type of representation of a 2D quadratic mesh elements.
+     * \param theType The type of representation of 2D quadratic mesh elements.
+     *                This parameter is taken from
+     *                      <VAR>Quadratic2DPresentationType</VAR> enumeration.
+     */
+    void SetQuadratic2DPresentationType(in Quadratic2DPresentationType theType);
+
+    /*!
+     * Gets the type of representation of the 2D quadratic mesh elements.
+     * \return The type of representation of the 2D quadratic mesh elements.
+     */
+    Quadratic2DPresentationType GetQuadratic2DPresentationType();
+
     /*!
      * Switches shrink mode of presentation
      * Note: SetPresentationType(SHRINK) is same as SetShrink(True)
@@ -415,7 +561,7 @@ module VISU {
     /*!
      * Gets the min boundary of the scalar bar from source data.
      */
-    double GetSourceMin();    
+    double GetSourceMin();
 
     /*!
      * Gets the max boundary of the scalar bar from source data.
@@ -535,7 +681,7 @@ module VISU {
      */
     long GetScalarMode();
 
-    /*!  
+    /*!
      * Set the visibility of a distribution curve.
      * \param theIs is used to switch on/off the visibility of a distribution curve.
      */
@@ -567,7 +713,7 @@ module VISU {
      * \param theGroupName - group name
      */
     void AddMeshOnGroup(in string theGroupName);
-    
+
     /*!
      * PrsMerger method:
      * Remove all groups.(The scalar map will be placed on all mesh).
@@ -605,8 +751,8 @@ module VISU {
      * Apply input parameters to last visited presentation in the cache.
      */
     boolean Apply(in ColoredPrs3d thePrs3d,
-                 in BasicInput theInput,
-                 in View3D theView3D);
+                  in BasicInput theInput,
+                  in View3D theView3D);
 
     /*!
      * Gets the last visited presentation in the cache.
@@ -618,7 +764,7 @@ module VISU {
      */
     VISUType GetPrsType();
 
-    /*! Defines timestamp representation. 
+    /*! Defines timestamp representation.
      */
     struct TimeStampInfo
     {
@@ -626,7 +772,7 @@ module VISU {
       long myNumber;
     };
 
-    /*! Defines representation range of timestamps. 
+    /*! Defines representation range of timestamps.
      */
     typedef sequence<TimeStampInfo> TimeStampsRange;
 
@@ -691,12 +837,12 @@ module VISU {
 
     /*! Creates %ColoredPrs3dHolder.*/
     ColoredPrs3dHolder CreateHolder(in VISUType theType,
-                                   in ColoredPrs3dHolder::BasicInput theInput);
+                                    in ColoredPrs3dHolder::BasicInput theInput);
 
     /*! Gets a memory which is required to create a holder. */
     EnlargeType GetRequiredMemory(in VISUType theType,
-                                 in ColoredPrs3dHolder::BasicInput theInput,
-                                 out float theRequiredMemory);
+                                  in ColoredPrs3dHolder::BasicInput theInput,
+                                  out float theRequiredMemory);
   };
 
 
@@ -709,7 +855,7 @@ module VISU {
    * bar is displayed along with each colored field presentation and serves for
    * consulting the correspondance between colors and data values.
    */
-  
+
   interface ScaledPrs3d {
     /*!
      * Sets the type of scaling of the values reflected by the scalar bar.
@@ -735,6 +881,27 @@ module VISU {
      */
     void SetBarVisible(in boolean theVisible);
 
+    /*!
+     * Sets the gauss metric for the presentation.
+     * \param theGaussMetric The value of this parameter is taken from the <VAR>GaussMetric</VAR> enumeration.
+     */
+    void SetGaussMetric(in GaussMetric theGaussMetric);
+
+    /*!
+     * Gets the gauss metric of the presentation.
+     */
+    GaussMetric GetGaussMetric();
+
+    /*!
+     * Sets the color of mesh links.
+     * \param theColor The color of the links. This parameter is taken from <VAR>Color</VAR> enumeration.
+     */
+    void SetLinkColor(in SALOMEDS::Color theColor);
+
+    /*!
+     * Gets the color of mesh links.
+     */
+    SALOMEDS::Color GetLinkColor();
   };
 
   //-------------------------------------------------------
@@ -743,7 +910,7 @@ module VISU {
    * Presentation parameters of the Gauss Points presentation.
    */
   //-------------------------------------------------------
-  interface GaussPoints : ColoredPrs3d 
+  interface GaussPoints : ColoredPrs3d
   {
     //! Set flag indicating which scalar bar is active.
     void SetIsActiveLocalScalarBar(in boolean theFlag);
@@ -763,7 +930,17 @@ module VISU {
     //! Get value of the distance between global and local scalar bars.
     double GetSpacing();
 
-    /*!  
+    /*!
+     * Returns visibility state of scalar bar
+     */
+    boolean IsBarVisible();
+
+    /*!
+     * Sets visibility state of scalar bar
+     */
+    void SetBarVisible(in boolean theVisible);
+
+    /*!
      * Set the Multicolored mode.
      * \param theIsColored is used to switch between Results and Geometry modes.
      * Multiple colors are using when the presentation is
@@ -812,7 +989,7 @@ module VISU {
     /*!
      * This enumeration contains a set of elements defining the type of representation of the vector head.
      */
-    enum PrimitiveType { 
+    enum PrimitiveType {
       SPRITE,
       POINT,
       SPHERE
@@ -886,6 +1063,8 @@ module VISU {
 
     //! Defines how many faces of can be drawn in the Geometrical Sphere primitive mode
     long GetFaceLimit();
+
+
   };
 
 
@@ -922,7 +1101,7 @@ module VISU {
    *
    * Presentation parameters of the deformed shape presentation.
    */
-  interface DeformedShape : MonoColorPrs 
+  interface DeformedShape : MonoColorPrs
   {
     /*!
      * Sets the scale of the presentatable object.
@@ -960,7 +1139,7 @@ module VISU {
      * \param theFieldName - the name of vectorial field
      */
     void SetVectorialField(in Entity theEntity,
-                          in string theFieldName);
+                           in string theFieldName);
 
     /*!
      * Get vectorial entity
@@ -971,7 +1150,7 @@ module VISU {
      * Get scalar field name
      */
     string GetVectorialFieldName();
-    
+
   };
 
   //-------------------------------------------------------
@@ -999,7 +1178,7 @@ module VISU {
    * Presentation parameters of the scalar map on deformed shape presentation.
    */
   interface DeformedShapeAndScalarMap : ScalarMap {
-    
+
     /*!
      * Sets the scale of the presentatable object.
      * \param theScale Double value defining the scale of this presentable object.
@@ -1018,8 +1197,8 @@ module VISU {
      * \param theTimeStampNumber - the timestamp number for the scalar field
      */
     void SetScalarField(in Entity theEntity,
-                       in string theFieldName,
-                       in long theTimeStampNumber);
+                        in string theFieldName,
+                        in long theTimeStampNumber);
 
 
     /*!
@@ -1090,8 +1269,8 @@ module VISU {
      *  the type of orientation in 3D space of the cutting plane.
      */
     enum Orientation { XY,   /*!< The object is located in the plane formed by X and Y axis. */
-                      YZ,   /*!< The object is located in the plane formed by Y and Z axis. */
-                      ZX }; /*!< The object is located in the plane formed by Z and X axis. */
+                       YZ,   /*!< The object is located in the plane formed by Y and Z axis. */
+                       ZX }; /*!< The object is located in the plane formed by Z and X axis. */
 
     /*!
      *  Sets the orientation in 3D space of cutting plane for the presentation.
@@ -1127,7 +1306,7 @@ module VISU {
      *  \param theIsRelative Define, whether the input position is relative.
      */
     void SetPlanePosition (in double  thePlanePosition,
-                          in boolean theIsRelative);
+                           in boolean theIsRelative);
 
     /*!
      *  Gets the position of the cutting plane
@@ -1191,6 +1370,38 @@ module VISU {
      * \return Long value corresponding to the number of columns of the table
      */
     long GetNbColumns();
+
+    /*!
+     * Sorts the specified row of the table.
+     * \param theRow Index of the row to sort
+     * \param theSortOrder Sort order (see <VAR>SortOrder</VAR> enumeration)
+     * \param theSortPolicy Sort policy (see <VAR>SortPolicy</VAR> enumeration)
+     */
+    void SortRow(in long theRow, in SortOrder theSortOrder, in SortPolicy theSortPolicy);
+
+    /*!
+     * Sorts the specified column of the table.
+     * \param theRow Index of the column to sort
+     * \param theSortOrder Sort order (see <VAR>SortOrder</VAR> enumeration)
+     * \param theSortPolicy Sort policy (see <VAR>SortPolicy</VAR> enumeration)
+     */
+    void SortColumn(in long theColumn, in SortOrder theSortOrder, in SortPolicy theSortPolicy);
+
+    /*!
+     * Sorts the table by the specified row.
+     * \param theRow Index of the row, by which the table has to be sort
+     * \param theSortOrder Sort order (see <VAR>SortOrder</VAR> enumeration)
+     * \param theSortPolicy Sort policy (see <VAR>SortPolicy</VAR> enumeration)
+     */
+    void SortByRow(in long theRow, in SortOrder theSortOrder, in SortPolicy theSortPolicy);
+
+    /*!
+     * Sorts the table by the specified column.
+     * \param theColumn Index of the column, by which the table has to be sort
+     * \param theSortOrder Sort order (see <VAR>SortOrder</VAR> enumeration)
+     * \param theSortPolicy Sort policy (see <VAR>SortPolicy</VAR> enumeration)
+     */
+    void SortByColumn(in long theColumn, in SortOrder theSortOrder, in SortPolicy theSortPolicy);
   };
 
   //-------------------------------------------------------
@@ -1215,7 +1426,7 @@ module VISU {
      */
     enum Orientation {XY, /*!< The object is located in the plane formed by X and Y axis. */
                       YZ, /*!< The object is located in the plane formed by Y and Z axis. */
-                     ZX}; /*!< The object is located in the plane formed by Z and X axis. */
+                      ZX}; /*!< The object is located in the plane formed by Z and X axis. */
 
     /*!
      * Sets the type of orientation in 3D space of cut planes presentation.
@@ -1295,6 +1506,42 @@ module VISU {
     long GetNbPlanes();
   };
 
+  //-------------------------------------------------------
+  /*! \brief Base interface for Cut Lines and Cut Segment tools
+   *
+   */
+  interface CutLinesBase : ScalarMap {
+    /*!
+     * Sets the number of cut lines.
+     * \param theNb The number of cut lines.
+     */
+    void SetNbLines(in long theNb);
+
+    /*!
+     * Gets the number of cut lines.
+     */
+    long GetNbLines();
+
+    /*! Invert all curves of corresponding table
+     * \param theInvert - Invert all curves, if value is TRUE, else not.
+     */
+    void SetAllCurvesInverted(in boolean theInvert);
+
+    /*! Checks the orientation of all curves
+     * \retval TRUE - if all curves are inverted, else FALSE
+     */
+    boolean IsAllCurvesInverted();
+
+    /*! Sets values which cutlines would be shown: aboslute or relative values
+     * \param theAbsLength - boolean value, TRUE or false.
+     */
+    void SetUseAbsoluteLength(in boolean theAbsLength);
+
+    /*! Checks values of cutlines: using aboslute or relative values
+     */
+    boolean IsUseAbsoluteLength();
+  };
+
   //-------------------------------------------------------
   /*! \brief Cut lines presentation.
    *
@@ -1310,7 +1557,7 @@ module VISU {
    *      operation is a regular array of lines in space, belonging to the same plane
    *      and having the same orientation. They are located inside or on the mesh.
    */
-  interface CutLines : ScalarMap {
+  interface CutLines : CutLinesBase {
     /*!
      * Sets the type of orientation in 3D space of the base plane of a cut lines presentation.
      * \param theOrientation The orientation of the base plane in 3D space.
@@ -1430,36 +1677,48 @@ module VISU {
      * \return True if this cutting plane has default position.
      */
     boolean IsDefaultPosition(in long thePlaneNumber);
+  };
 
+  //-------------------------------------------------------
+  /*! \brief Cut segment presentation.
+   *
+   * Presentation parameters of a Cut segment presentation.
+   * Cut Segment is a simplified variant of Cut Lines presentation, which is used
+   * to display a single line instead of set of them. Axis of this line is defined
+   * by coordinates of two points in 3D space.
+   */
+  interface CutSegment : CutLinesBase {
     /*!
-     * Sets the number of cut lines.
-     * \param theNb The number of cut lines.
+     * Sets coordinates of the first point of axis of the segment.
+     * \param theX X coordinate of the point
+     * \param theY Y coordinate of the point
+     * \param theZ Z coordinate of the point
      */
-    void SetNbLines(in long theNb);
+    void SetPoint1(in double theX, in double theY, in double theZ);
 
     /*!
-     * Gets the number of cut lines.
-     */
-    long GetNbLines();
-
-    /*! Invert all curves of corresponding table
-     * \param theInvert - Invert all curves, if value is TRUE, else not.
+     * Gets coordinates of the first point of axis of the segment.
+     * \param theX X coordinate of the point
+     * \param theY Y coordinate of the point
+     * \param theZ Z coordinate of the point
      */
-    void SetAllCurvesInverted(in boolean theInvert);
+    void GetPoint1(out double theX, out double theY, out double theZ);
 
-    /*! Checks the orientation of all curves
-     * \retval TRUE - if all curves are inverted, else FALSE
+    /*!
+     * Sets coordinates of the second point of axis of the segment.
+     * \param theX X coordinate of the point
+     * \param theY Y coordinate of the point
+     * \param theZ Z coordinate of the point
      */
-    boolean IsAllCurvesInverted();
+    void SetPoint2(in double theX, in double theY, in double theZ);
 
-    /*! Sets values which cutlines would be shown: aboslute or relative values
-     * \param theAbsLength - boolean value, TRUE or false.
-     */
-    void SetUseAbsoluteLength(in boolean theAbsLength);
-
-    /*! Checks values of cutlines: using aboslute or relative values
+    /*!
+     * Gets coordinates of the second point of axis of the segment.
+     * \param theX X coordinate of the point
+     * \param theY Y coordinate of the point
+     * \param theZ Z coordinate of the point
      */
-    boolean IsUseAbsoluteLength();
+    void GetPoint2(out double theX, out double theY, out double theZ);
   };
 
   /*! \brief Interface of the stream lines representation
@@ -1476,8 +1735,8 @@ module VISU {
      * for definition of direction of the stream lines.
      */
     enum Direction{ FORWARD,
-                   BACKWARD,
-                   BOTH
+                    BACKWARD,
+                    BOTH
     };
 
     /*! Sets the parameters of the stream lines presentation.
@@ -1501,11 +1760,11 @@ module VISU {
      * \return True if all parameters are properly set.
      */
     boolean SetParams(in double theIntStep,
-                     in double thePropogationTime,
-                     in double theStepLength,
-                     in Prs3d thePrs3d,
-                     in double thePercents,
-                     in Direction theDirection);
+                      in double thePropogationTime,
+                      in double theStepLength,
+                      in Prs3d thePrs3d,
+                      in double thePercents,
+                      in Direction theDirection);
 
     /*! Gets the value of integration step of the stream lines presentation.
      */
@@ -1645,15 +1904,15 @@ module VISU {
    * <BR><B>Time stamp</B> represents a subfield: the results
    * of calculations are taken in one definite moment.
    */
-  interface Animation : Base 
+  interface Animation : Base
   {
     /*!
    * This enumeration contains a set of available animation modes.
    */
     enum AnimationMode{ PARALLEL, /*!< parallel mode of animation. */
-                       SUCCESSIVE /*!< succcessive mode of animation. */
+                        SUCCESSIVE /*!< succcessive mode of animation. */
     };
-    
+
     /*! Defines the field which will be used as a base for generation of the animation.
      * \param theObject The %SObject corresponding to the field.
      */
@@ -1822,6 +2081,16 @@ module VISU {
      */
     string setDumpFormat(in string theFormat);
 
+    /*! Set frequency of timestamps used to generate AVI file.
+     *  \param theFrequency The frequency of timestamps to use.
+     */
+    void setTimeStampFrequency(in long theFrequency);
+
+    /*! Get frequency of timestamps used to generate AVI file.
+     *  \return The frequency of timestamps to use.
+     */
+    long getTimeStampFrequency();
+
     /*! Returns True, if the playback of the animation is cycling.
      */
     boolean isCycling();
@@ -1860,7 +2129,7 @@ module VISU {
     void restoreFromStudy(in SALOMEDS::SObject theSObj);
 
     boolean isSavedInStudy();
-    
+
     /*!
      * Sets the animation mode.
      * \param theMode The value of this parameter is taken from the <VAR>AnimationMode</VAR> enumeration.
@@ -1885,14 +2154,54 @@ module VISU {
       raises (SALOME::SALOME_Exception);
   };
 
-  
+
+  //-------------------------------------------------------
+  interface XYPlot;
+
+  //-------------------------------------------------------
+  /*! \brief Interface %Evolution
+   *
+   */
+  interface Evolution : Base
+  {
+    /*!
+     * Defines the field which will be used as a base for generation of the evolution.
+     * \param theObject The %SObject corresponding to the field.
+     */
+    boolean setField(in SALOMEDS::SObject theObject);
+
+    /*!
+     * Sets id of the point for which the evolution will be generated.
+     * \param thePointId id of the point.
+     */
+    void setPointId(in long thePointId);
+
+    /*!
+     * Sets id of the component for which the evolution will be generated.
+     * \param thePointId id of the component.
+     */
+    void setComponentId(in long theComponentId);
+
+    /*!
+     * Shows the evolution.
+     */
+    boolean showEvolution();
+
+    /*!
+     * Restores the evolution from study.
+     * \param theSObj the study object from which the evolution should be restored.
+     */
+    void restoreFromStudy(in SALOMEDS::SObject theSObj);
+  };
+
+
   /*! \brief Interface %Result
    *
    * This interface serves for inner representation of data generated
    * in other sources (MED object or file). This data is needed
    * for further construction of graphical presentations.
    */
-  interface Result : RemovableObject, SALOME::GenericObj 
+  interface Result : RemovableObject, SALOME::GenericObj
   {
     /*! Reads all data from the corresponding sources. By default the data is loaded on demand.
      */
@@ -1963,7 +2272,11 @@ module VISU {
     long GetNumberOfComponents(in EntityName theMeshName, in Entity theEntity, in EntityName theFieldName);
 
     /*! Gets existing numbers of time stamps for the given mesh name, entity and name of field */
-    TimeStampNumbers GetTimeStampNumbers(in EntityName theMeshName, in Entity theEntity, in EntityName theFieldName);
+    TimeStampNumbers GetTimeStampNumbers(in EntityName theMeshName, in Entity theEntity,
+                                         in EntityName theFieldName);
+
+    /*! Gets time values of time stamps for the given mesh name, entity and name of field */
+    double_array GetTimeStampValues(in EntityName theMeshName, in Entity theEntity, in EntityName theFieldName);
 
     /*! Gets existing parts of multi resolution structure for the given mesh name */
     EntityNames GetPartNames(in EntityName theMeshName);
@@ -1976,7 +2289,7 @@ module VISU {
 
     /*! Gets current resolution of multi resolution structure for the given mesh and part names */
     void SetResolution(in EntityName theMeshName, in EntityName thePartName, in Resolution theResolution);
-    
+
     /*! Gets information about imported MED file */
     SALOME_MED::MedFileInfo GetMEDFileInfo();
 
@@ -1993,7 +2306,7 @@ module VISU {
    * post-processing presentations from given %Result and %Table object reference,
    * using the views provided by %ViewManager.
    */
-  interface VISU_Gen : Engines::Component, SALOMEDS::Driver, Base 
+  interface VISU_Gen : Engines::EngineComponent, SALOMEDS::Driver, Base
   {
     /*! Sets a definite study to be current.
      */
@@ -2010,9 +2323,10 @@ module VISU {
     ViewManager GetViewManager();
 
     /*!
-     * Imports tables from a file and create TableAttribute in Sudy
+     * Imports tables from a file and create TableAttribute in Study
      */
-    SALOMEDS::SObject ImportTables(in string theFileName);
+    SALOMEDS::SObject ImportTables(in string theFileName,
+                                   in boolean theFirstStrAsTitle);
 
     /*!
      * Export table to a file
@@ -2059,18 +2373,18 @@ module VISU {
      * \param theNewName  Name to be given to the study object.
      */
     void RenameEntityInStudy(in Result theResult,
-                            in string theMeshName,
-                            in Entity theEntity,
-                            in string theNewName);
+                             in string theMeshName,
+                             in Entity theEntity,
+                             in string theNewName);
     void RenameFamilyInStudy(in Result theResult,
-                            in string theMeshName,
-                            in Entity theEntity,
-                            in string theSubMeshName,
-                            in string theNewName);
+                             in string theMeshName,
+                             in Entity theEntity,
+                             in string theSubMeshName,
+                             in string theNewName);
     void RenameGroupInStudy(in Result theResult,
-                           in string theMeshName,
-                           in string theSubMeshName,
-                           in string theNewName);
+                            in string theMeshName,
+                            in string theSubMeshName,
+                            in string theNewName);
 
     /*!
      * Creates a mesh on the basis of the data generated in other sources (MED object or file).
@@ -2088,7 +2402,7 @@ module VISU {
      * \param theEntity Type of entity where the field is defined.
      */
     Mesh FamilyMeshOnEntity(in Result theResult, in string theMeshName,
-                           in Entity theEntity, in string theFamilyName);
+                            in Entity theEntity, in string theFamilyName);
 
     /*!
      * Creates a mesh on the basis of a group of families.
@@ -2107,8 +2421,8 @@ module VISU {
      * \param theTimeStampNumber Number of iteration on the field
      */
     ScalarMap ScalarMapOnField(in Result theResult, in string theMeshName,
-                              in Entity theEntity, in string theFieldName,
-                              in long theTimeStampNumber);
+                               in Entity theEntity, in string theFieldName,
+                               in long theTimeStampNumber);
 
     /*!
      * Creates a Gauss Points presentation.
@@ -2119,8 +2433,8 @@ module VISU {
      * \param theTimeStampNumber Number of iteration on the field
      */
     GaussPoints GaussPointsOnField(in Result theResult, in string theMeshName,
-                                  in Entity theEntity, in string theFieldName,
-                                  in long theTimeStampNumber);
+                                   in Entity theEntity, in string theFieldName,
+                                   in long theTimeStampNumber);
 
     /*!
      * Creates a deformed shape presentation.
@@ -2131,8 +2445,8 @@ module VISU {
      * \param theTimeStampNumber Number of iteration on the field
      */
     DeformedShape DeformedShapeOnField(in Result theResult, in string theMeshName,
-                                      in Entity theEntity, in string theFieldName,
-                                      in long theTimeStampNumber);
+                                       in Entity theEntity, in string theFieldName,
+                                       in long theTimeStampNumber);
 
     /*!
      * Creates a deformed shape presentation. This function is obsolete. Use DeformedShapeAndScalarMapOnField instead.
@@ -2143,8 +2457,8 @@ module VISU {
      * \param theTimeStampNumber Number of iteration on the field
      */
     DeformedShapeAndScalarMap ScalarMapOnDeformedShapeOnField(in Result theResult, in string theMeshName,
-                                                             in Entity theEntity, in string theFieldName,
-                                                             in long theTimeStampNumber);
+                                                              in Entity theEntity, in string theFieldName,
+                                                              in long theTimeStampNumber);
 
     /*!
      * Creates a deformed shape presentation.
@@ -2155,8 +2469,8 @@ module VISU {
      * \param theTimeStampNumber Number of iteration on the field
      */
     DeformedShapeAndScalarMap DeformedShapeAndScalarMapOnField(in Result theResult, in string theMeshName,
-                                                              in Entity theEntity, in string theFieldName,
-                                                              in long theTimeStampNumber);
+                                                               in Entity theEntity, in string theFieldName,
+                                                               in long theTimeStampNumber);
 
     /*!
      * Creates a vector presentation.
@@ -2167,8 +2481,8 @@ module VISU {
      * \param theTimeStampNumber Number of iteration on the field
      */
     Vectors VectorsOnField(in Result theResult, in string theMeshName,
-                          in Entity theEntity, in string theFieldName,
-                          in long theTimeStampNumber);
+                           in Entity theEntity, in string theFieldName,
+                           in long theTimeStampNumber);
 
     /*!
      * Creates an iso surface presentation.
@@ -2179,8 +2493,8 @@ module VISU {
      * \param theTimeStampNumber Number of iteration on the field
      */
     IsoSurfaces IsoSurfacesOnField(in Result theResult, in string theMeshName,
-                                  in Entity theEntity, in string theFieldName,
-                                  in long theTimeStampNumber);
+                                   in Entity theEntity, in string theFieldName,
+                                   in long theTimeStampNumber);
 
     /*!
      * Creates an stream lines presentation.
@@ -2191,8 +2505,8 @@ module VISU {
      * \param theTimeStampNumber Number of iteration on the field
      */
     StreamLines StreamLinesOnField(in Result theResult, in string theMeshName,
-                                  in Entity theEntity, in string theFieldName,
-                                  in long theTimeStampNumber);
+                                   in Entity theEntity, in string theFieldName,
+                                   in long theTimeStampNumber);
 
     /*!
      * Creates a presentation of cut planes.
@@ -2203,8 +2517,8 @@ module VISU {
      * \param theTimeStampNumber Number of iteration on the field
      */
     CutPlanes CutPlanesOnField(in Result theResult, in string theMeshName,
-                              in Entity theEntity, in string theFieldName,
-                              in long theTimeStampNumber);
+                               in Entity theEntity, in string theFieldName,
+                               in long theTimeStampNumber);
 
     /*!
      * Creates a presentation of cut lines.
@@ -2215,8 +2529,20 @@ module VISU {
      * \param theTimeStampNumber Number of iteration on the field
      */
     CutLines CutLinesOnField(in Result theResult, in string theMeshName,
-                            in Entity theEntity, in string theFieldName,
-                            in long theTimeStampNumber);
+                             in Entity theEntity, in string theFieldName,
+                             in long theTimeStampNumber);
+
+    /*!
+     * Creates a presentation of cut segment.
+     * \param theResult    Data generated in other sources. (MED object or file)
+     * \param theMeshName  One of the meshes presented in MED file
+     * \param theEntity    Type of entity where the field is defined
+     * \param theFieldName Group of data attributed to the %MESH. The data can be scalar or vector.
+     * \param theTimeStampNumber Number of iteration on the field
+     */
+    CutSegment CutSegmentOnField(in Result theResult, in string theMeshName,
+                                 in Entity theEntity, in string theFieldName,
+                                 in long theTimeStampNumber);
 
     /*!
      * Creates a Plot3D presentation.
@@ -2227,8 +2553,8 @@ module VISU {
      * \param theTimeStampNumber Number of iteration on the field
      */
     Plot3D Plot3DOnField(in Result theResult, in string theMeshName,
-                        in Entity theEntity, in string theFieldName,
-                        in long theTimeStampNumber);
+                         in Entity theEntity, in string theFieldName,
+                         in long theTimeStampNumber);
 
     /*!
      * Creates a table presentation.
@@ -2239,21 +2565,34 @@ module VISU {
     /*!
      * Creates a curve on the basis of points, whose values are taken from the table.
      * \param theTable  Table containing the data for construction of curves.
-     * \param HRow  Index of the row in the table:  abscissa of the point.
-     * \param VRow  Index of the row in the table:  ordinate of the point.
+     * \param theHRow   Index of the row in the table: abscissa of the point.
+     * \param theVRow   Index of the row in the table: ordinate of the point.
      */
     Curve CreateCurve(in Table theTable, in long theHRow, in long theVRow);
-    
+
     /*!
      * Creates a curve on the basis of points, whose values are taken from the table.
-     * Each point has also assigned value, that will be shown as tooltip in Plot2d 
+     * Each point has also assigned value, that will be shown as tooltip in Plot2d
      * \param theTable  Table containing the data for construction of curves.
-     * \param HRow  Index of the row in the table:  abscissa of the point.
-     * \param VRow  Index of the row in the table:  ordinate of the point.
-     * \param ZRow  Index of the row in the table:  assigned value (so-called as Z).
-     */    
+     * \param theHRow   Index of the row in the table: abscissa of the point.
+     * \param theVRow   Index of the row in the table: ordinate of the point.
+     * \param theZRow   Index of the row in the table: assigned value (so-called as Z).
+     */
     Curve CreateCurveWithZ( in Table theTable, in long theHRow, in long theVRow, in long theZRow );
 
+    /*!
+     * Creates a curve on the basis of points, whose values are taken from the table.
+     * Each point has also assigned value, that will be shown as tooltip in Plot2d.
+     * The curve can be displayed using right axis of Plot2d view.
+     * \param theTable  Table containing the data for construction of curves.
+     * \param theHRow   Index of the row in the table: abscissa of the point.
+     * \param theVRow   Index of the row in the table: ordinate of the point.
+     * \param theZRow   Index of the row in the table: assigned value (so-called as Z).
+     * \param theIsV2   Flag allowed to display the curve using right axis of Plot2d view.
+     */
+    Curve CreateCurveWithZExt( in Table theTable, in long theHRow, in long theVRow, in long theZRow,
+                               in boolean theIsV2 );
+
     /*!
      * Creates a presentation form containing an array of references to the curves.
      */
@@ -2264,6 +2603,11 @@ module VISU {
      */
     Animation CreateAnimation(in View3D theView3d);
 
+    /*! Creates an evolution in the XY plot.
+     * \param theXYPlot The XY plot, where the evolution will be rendered.
+     */
+    Evolution CreateEvolution(in XYPlot theXYPlot);
+
     void DeleteResult(in Result theResult);
 
     void DeletePrs3d(in Prs3d thePrs3d);
@@ -2273,33 +2617,33 @@ module VISU {
      */
     ColoredPrs3dCache GetColoredPrs3dCache(in SALOMEDS::Study theStudy);
 
-    
+
     /* Clipping planes management */
 
-    /*Create a clipping plane and return its ID (position in corresponded array) 
+    /*Create a clipping plane and return its ID (position in corresponded array)
       Id of clipping plane could be changed after deletion of other clipping plane
     */
-    long CreateClippingPlane(in double X, in double Y, in double Z, 
-                            in double dX, in double dY, in double dZ, 
-                            in boolean auto, in string name);
-    
-    void EditClippingPlane(in long id, in double X, in double Y, in double Z, 
-                            in double dX, in double dY, in double dZ, 
-                            in boolean auto, in string name);
-    
+    long CreateClippingPlane(in double X, in double Y, in double Z,
+                             in double dX, in double dY, in double dZ,
+                             in boolean auto, in string name);
+
+    void EditClippingPlane(in long id, in double X, in double Y, in double Z,
+                             in double dX, in double dY, in double dZ,
+                             in boolean auto, in string name);
+
     /* Returns clipping plane by its Id */
     ClippingPlane GetClippingPlane(in long id);
-    
+
     /* Deletes clipping plane by its Id */
     boolean DeleteClippingPlane(in long id);
-    
+
     /* Applyes a clipping plane with Id to presentation thePrs */
     boolean ApplyClippingPlane(in Prs3d thePrs, in long id);
 
     /* Detaches a clipping plane with Id from presentation thePrs */
     boolean DetachClippingPlane(in Prs3d thePrs, in long id);
-    
-    
+
+
     /* Get number of clipping planes */
     long GetClippingPlanesNb();
 
@@ -2317,6 +2661,12 @@ module VISU {
                      in string theMeshName,
                      in double_array theTStamps );
 
+    /*!
+     * Load texture from file
+     * \param theTextureFile texture file name
+     * \return unique texture identifier
+     */
+    long LoadTexture(in string theTextureFile);
   };
 
   /*! \brief %View interface
@@ -2325,7 +2675,7 @@ module VISU {
    * the following types: 3d, Table, XY plot.
    * %View interface is a base for all types of %view interfaces.
    */
-  interface View: Base, SALOME::GenericObj 
+  interface View: Base, SALOME::GenericObj
   {
     /*! \brief %ViewRepresentation enumeration
      *
@@ -2640,6 +2990,24 @@ module VISU {
      */
     string SetPresentationType(in ScalarMap thePrs, in PresentationType thePrsType);
 
+
+    /*! Set representation type of 2D quadratic elements
+     *  of the given presentation in this view.
+     *  \param thePrs Object to set a representation type of 2D quadratic elements.
+     *  \param theType Representation type of 2D quadratic elements to be set to the given object.
+     *  \return Empty string in case of success, error description in case of failure.
+     */
+    string SetQuadratic2DPresentationType(in ScalarMap thePrs,in Quadratic2DPresentationType theType);
+
+
+    /*! Get representation type of the 2D quadratic mesh elements of given presentation in this view.
+     *  \param thePrs Object to get a representation type of 2D quadratic mesh elements.
+     *  \return <VAR>Quadratic2DPresentationType</VAR> Representation type of 2D quadratic mesh elements
+     *          in this view.
+     */
+    Quadratic2DPresentationType GetQuadratic2DPresentationType(in ScalarMap thePrs);
+
+
     /*! Get shrink state of the given presentation in this view.
      *  \param thePrs Object to get a shrink state of.
      *  \return TRUE if \a thePrs is shrinked in this view, FALSE overwise.
@@ -2806,10 +3174,10 @@ module VISU {
     /*! Set range of the 2D plot to XY axis of the 2D viewer.
      */
     void FitRange(in double xMin, in double xMax,
-                 in double yMin, in double yMax);
+                  in double yMin, in double yMax);
 
     void GetFitRanges(out double xMin,out double xMax,
-                     out double yMin,out double yMax);
+                      out double yMin,out double yMax);
   };
 
   //-------------------------------------------------------