// Copyright (C) 2003 CEA/DEN, EDF R&D // // // // File : VISU_Gen.idl // Author : Alexey Petrov /*! \file VISU_Gen.idl This file conatins a set of interfaces of %VISU module. This module will provide various forms of data visualization in %SALOME application. These forms include data tables, XY plots, 3d representations and combination of these forms. */ /*! \defgroup Visu SALOME VISU module */ #ifndef __VISU_GEN__ #define __VISU_GEN__ #include "SALOME_Exception.idl" #include "SALOME_Component.idl" #include "SALOMEDS.idl" #include "SALOMEDS_Attributes.idl" #include "MED.idl" /*! \ingroup Visu The main package of interfaces of the module %VISU. */ module VISU { //------------------------------------------------------- typedef string IdType; enum Scaling{ LINEAR, LOGARITHMIC}; enum Entity{ NODE, EDGE, FACE, CELL}; /*! This enumeration contains a set of elements defining the type of the module. */ enum VISUType{ TNONE, TCURVE, TTABLE, TCONTAINER, TMESH, TSCALARMAP, TISOSURFACE, TDEFORMEDSHAPE, TCUTPLANES, TCUTLINES, TVECTORS, TSTREAMLINES, TVISUGEN, TVIEWMANAGER, TRESULT, TXYPLOT, TTABLEVIEW, TVIEW3D, TENTITY, TFAMILY, TGROUP, TFIELD, TTIMESTAMP, TALL}; interface Base { /*! Returns ID of the object. */ IdType GetID(); /*! Returns the type of the presentable object */ VISUType GetType(); }; /*! \brief Presentable object interface It is the root class of all presentable objects. */ interface PrsObject : Base{ }; //------------------------------------------------------- /*! \brief %Table representation interface Presentation parameters of the %Table view. */ interface Table : PrsObject { /*! Sets the title of the table. */ void SetTitle(in string theTitle); /*! Gets the title of the table. */ string GetTitle(); /*! This enumeration contains a set of elements defining the orientation of the table. */ enum Orientation{ HORIZONTAL, /*!Returns nil if there are no views currently opened. */ View GetCurrentView(); /*! \brief Creation of a 3d %View. Returns an object reference to the newly created 3d %View. */ View3D Create3DView(); TableView CreateTableView(in Table theTable); XYPlot CreateXYPlot(); void Destroy(in View theView); }; }; #endif