*/
interface Prs3d : PrsObject, SALOME::GenericObj
{
- /*!
- * Applies a set basic input parameters to the 3D presentation
- * \return True of the set of input parameters is correct and was succesfully applied,
- * False otherwise
- */
- boolean Apply(in boolean theReInit);
-
- //! Sets Result object used by presentation to obtain its input
- void SetResultObject(in Result theResult);
-
- //! Gets Result object used by presentation to obtain its input
- Result GetResultObject();
-
- //! Sets name of the mesh used by presentation to obtain its input
- void SetMeshName(in string theMeshName);
-
- //! Gets name of the mesh used by presentation to obtain its input
- string GetMeshName();
-
/*!
* Move the 3D presentation according to the given offset parameters
*/
void SetOffset(in float theDx, in float theDy, in float theDz);
-
/*!
* Gets offset parameters for the 3D presentation
*/
*/
interface ColoredPrs3d : Prs3d
{
- /*! Sets Entity input parameter that defines where the parent mesh to be taken from.
- */
- void SetEntity(in Entity theEntity);
- /*! Gets Entity input parameter that defines where the parent mesh is taken from.
- */
- Entity GetEntity();
-
- /*! Sets name of field input parameter that defines what phisical data to be retrived.
- */
- void SetFieldName(in string theName);
- /*! Gets name of field input parameter that defines what phisical data is retrived.
- */
- string GetFieldName();
-
- /*! Sets number of timestamp input parameter that defines what time of phisical data to be retrived.
- */
- void SetTimeStampNumber(in long theTimeStampNumber);
- /*! Gets number of timestamp input parameter that defines what time of phisical data is retrived.
- */
- long GetTimeStampNumber();
-
- /*! Defines timestamp representation.
- */
- struct TimeStampInfo
- {
- string myTime;
- long myNumber;
- };
-
- /*! Defines representation range of timestamps.
- */
- typedef sequence<TimeStampInfo> TimeStampsRange;
-
- /*! Gets available range of timestamps.
- */
- TimeStampsRange GetTimeStampsRange();
-
/*! Defines whether this presentation is bound to timestamp or not.
*/
boolean IsTimeStampFixed();
interface View3D;
interface ColoredPrs3dCache;
+
+ //-------------------------------------------------------
/*! \brief %ColoredPrs3dHolder interface.
* Interface of 3d presentation's holder, which represents colored 3d presentations,
* created on fields. It is publishing in the object browser in a separate folder
*/
VISUType GetPrsType();
+ /*! Defines timestamp representation.
+ */
+ struct TimeStampInfo
+ {
+ string myTime;
+ long myNumber;
+ };
+
+ /*! Defines representation range of timestamps.
+ */
+ typedef sequence<TimeStampInfo> TimeStampsRange;
+
/*!
* Gets TimeStampsRange information from the last visited presentation.
*/
- ColoredPrs3d::TimeStampsRange GetTimeStampsRange();
+ TimeStampsRange GetTimeStampsRange();
/*!
* Gets input parameters of the last visited presentation.
/*!
* Sets the scalar field
- * \param theMeshName - mesh name
- * \param theFieldName - the name of scalar field
- * \param theIteration - the iteration number for scalar field
* \param theEntity - entity of scalar field
+ * \param theFieldName - the name of scalar field
+ * \param theTimeStampNumber - the timestamp number for the scalar field
*/
- void SetScalarField(in string theMeshName,in string theFieldName,
- in long theIteration,in Entity theEntity);
-
+ void SetScalarField(in Entity theEntity,
+ in string theFieldName,
+ in long theTimeStampNumber);
- /*!
- * Get scalar iteration number
- */
- long GetScalarLIteration();
/*!
* Get scalar entity
*/
- Entity GetScalarEEntity();
+ Entity GetScalarEntity();
/*!
* Get scalar field name
*/
- string GetScalarCFieldName();
+ string GetScalarFieldName();
/*!
- * Get mesh name
+ * Get timestamp number for the scalar field
*/
- string GetScalarCMeshName();
-
+ long GetScalarTimeStampNumber();
};
+
+
//-------------------------------------------------------
/*!
* \brief Plot3D interface