*/
HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+ /**
+ * Updates object state.
+ * Reimplemented to update an Image object in the data structure.
+ * Call this method whenever you made changes for operator or reference objects.
+ * If it is changed, sets "MustBeUpdated" flag to other depended images.
+ * \param theIsForce force reupdating of data object
+ */
+ HYDRODATA_EXPORT virtual void Update( const bool theIsForce = true );
+
+ /**
+ * Returns data of object wrapped to QVariant.
+ * Reimplemented to wrap and return saved image.
+ * Transformation are applied to result image.
+ */
+ HYDRODATA_EXPORT virtual QVariant GetDataVariant();
+
/**
* Stores the image
* \param theImage new image
* Appends reference to other object (image or polyline).
* \param theReferenced the object referenced by this
*/
- HYDRODATA_EXPORT void AppendReference(Handle(HYDROData_Object) theReferenced);
+ HYDRODATA_EXPORT void AppendReference( const Handle(HYDROData_Object)& theReferenced );
/**
* Returns the number of referenced objects