From: enk Date: Wed, 18 Oct 2006 12:17:50 +0000 (+0000) Subject: PrsMerger was added. X-Git-Tag: mergeto_V3_2_0_maintainance_30Nov06~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=43b636ee42dc3472f0407558dc547a7091f968f0;p=modules%2Fvisu.git PrsMerger was added. Added methods for smalarmap on deformed shape --- diff --git a/idl/VISU_Gen.idl b/idl/VISU_Gen.idl index 2f1d27f9..999f3115 100644 --- a/idl/VISU_Gen.idl +++ b/idl/VISU_Gen.idl @@ -43,6 +43,8 @@ module VISU { //------------------------------------------------------- typedef string IdType; + typedef sequence string_array; + /*! * This enumeration contains a set of elements defining the type * of the scaling, which can be applied on different presentations. @@ -76,6 +78,7 @@ module VISU { TDEFORMEDSHAPE, /*!< Deformed shape 3D presentation object */ TSCALARMAPONDEFORMEDSHAPE, /*!< Scalar map on deformed shape 3D presentation object */ TGAUSSPOINTS, /*!< Gauss Points 3D presentation object */ + TPRSMERGER, /*!< PRS merger 3D presentation object */ TPLOT3D, /*!< Plot3D 3D presentation object */ TCUTPLANES, /*!< Cut planes 3D presentation object */ TCUTLINES, /*!< Cut lines 3D presentation object */ @@ -583,6 +586,39 @@ module VISU { void SetColor(in SALOMEDS::Color theColor); }; + + /*! \brief Presentation merger interface + * + * Presentation parameters of the prsmerger shape presentation. + */ + interface PrsMerger : ScalarMap { + + void SetMeshOnGroup(in string theMeshName, + in string theGroupName); + + long AddMeshOnGroup(in string theMeshName, + in string theGroupName); + + void RemoveGeometryById(in long theId); + + string_array getGroupNames(); + + void SetFamilyOnEntity(in string theMeshName, + in Entity theEntity, + in string theFamilyName); + + void SetMeshOnEntity(in string theMeshName, + in Entity theEntity); + + void SetScalarMap(in string theMeshName, + in Entity theEntity, + in string theFieldName, + in long theStampsNum); + + long GetMeshGeometryPlace(in long theId); + + }; + //------------------------------------------------------- /*! \brief Scalar Map on Deformed shape presentation interface * @@ -624,6 +660,27 @@ module VISU { void SetScalarField(in string theMeshName,in string theFieldName, in long theIteration,in Entity theEntity); + + /*! + * Get scalar iteration number + */ + long GetScalarLIteration(); + + /*! + * Get scalar entity + */ + Entity GetScalarEEntity(); + + /*! + * Get scalar field name + */ + string GetScalarCFieldName(); + + /*! + * Get mesh name + */ + string GetScalarCMeshName(); + }; //------------------------------------------------------- /*! @@ -1581,6 +1638,18 @@ module VISU { in Entity theEntity, in string theFieldName, in double theIteration); + /*! + * Creates a prs merger presentation. + * \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 theIteration Number of iteration on the field + */ + PrsMerger PrsMergerOnField(in Result theResult, in string theMeshName, + in Entity theEntity, in string theFieldName, + in double theIteration); + /*! * Creates a table presentation. * \param theTableEntry The entry of the table which will be displayed.