//-------------------------------------------------------
typedef string IdType;
+ typedef sequence<string> string_array;
+
/*!
* This enumeration contains a set of elements defining the type
* of the scaling, which can be applied on different presentations.
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 */
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
*
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();
+
};
//-------------------------------------------------------
/*!
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.