HYDRODATA_EXPORT Handle(HYDROData_Image) CreateImage(
Handle_HYDROData_Document theDoc, const ImageComposer_Operator* theOperator);
- /**
- * Updates an Image object in the data structure. If it is changed,
- * sets "MustBeUpdated" flag to other depended images.
- * \param theDoc document of this image (needed to update other images flags)
- * \param theImage the updated image
- */
- HYDRODATA_EXPORT void UpdateImage(
- Handle_HYDROData_Document theDoc, Handle(HYDROData_Image) theImage);
-
/**
* Returns the operator, initialized by the properties of theImage
* \param theImage data structures object, that contains all arguments
Handle(HYDROData_Image) theImage) const;
-protected:
-
- //! Not public constructor that creates only one, global instance of this factory.
- HYDROOperations_Factory();
-
/**
* Returns the appropriate operator by the name
* \param theName name of the operator, equals to the operation_name constructor
* \returns NULL if operator with such name is not registered yet
*/
- ImageComposer_Operator* Operator(const QString theName) const;
-
- /**
- * Enables "MustBeUpdated" flag for Images that are depended on "MustBeUpdated" images.
- * \param theDoc document where this operation is performed
- */
- void SetMustBeUpdatedImages(Handle_HYDROData_Document theDoc) const;
+ HYDRODATA_EXPORT ImageComposer_Operator* Operator(const QString theName) const;
+
+protected:
+
+ //! Not public constructor that creates only one, global instance of this factory.
+ HYDROOperations_Factory();
private:
//! Map that stores all operators, isentified by strings