Salome HOME
SIP: HYDROData_Digue is included.
[modules/hydro.git] / src / HYDROPy / HYDROData_Image.sip
index ca4ded28ee6a12c7223ea47dd03f6d688698a82d..33eceb9cdcc05829c0b6ce85455d30d65262a9b8 100644 (file)
@@ -63,188 +63,6 @@ public:
    */
   QImage                     Image();
 
-  /**
-   * Stores the image transformation
-   * \param theTrsf new transformation
-   */
-  void                       SetTrsf( const QTransform& theTrsf );
-
-  /**
-   * Returns the kept transformation, or "identity" if not yet stored
-   */
-  QTransform                 Trsf();
-
-  /**
-   * Stores the image transformation points (3 input + 3 output)
-   * \param thePointA input point A
-   * \param thePointB input point B
-   * \param thePointC input point C
-   * \param theLambertPointA output point A in Lambert93 coordinates
-   * \param theLambertPointB output point B in Lambert93 coordinates
-   * \param theLambertPointC output point C in Lambert93 coordinates
-   * \param theCartesianPointA output point A in Cartesian coordinates
-   * \param theCartesianPointB output point B in Cartesian coordinates
-   * \param theCartesianPointC output point C in Cartesian coordinates
-   */
-  void                       SetTrsfPoints( const QPoint& thePointA,
-                                            const QPoint& thePointB,
-                                            const QPoint& thePointC,
-                                            const QPointF& theLambertPointA,
-                                            const QPointF& theLambertPointB,
-                                            const QPointF& theLambertPointC,
-                                            const QPointF& theCartesianPointA,
-                                            const QPointF& theCartesianPointB,
-                                            const QPointF& theCartesianPointC );
-
-  /**
-   * Returns the image transformation points (3 input + 3 output)
-   * \param thePointA input point A
-   * \param thePointB input point B
-   * \param thePointC input point C
-   * \param theLambertPointA output point A in Lambert93 coordinates
-   * \param theLambertPointB output point B in Lambert93 coordinates
-   * \param theLambertPointC output point C in Lambert93 coordinates
-   * \param theCartesianPointA output point A in Cartesian coordinates
-   * \param theCartesianPointB output point B in Cartesian coordinates
-   * \param theCartesianPointC output point C in Cartesian coordinates
-   */
-  void                       TrsfPoints( QPoint& thePointA,
-                                         QPoint& thePointB,
-                                         QPoint& thePointC,
-                                         QPointF& theLambertPointA,
-                                         QPointF& theLambertPointB,
-                                         QPointF& theLambertPointC,
-                                         QPointF& theCartesianPointA,
-                                         QPointF& theCartesianPointB,
-                                         QPointF& theCartesianPointC ) const;
-
-  /**
-   * Returns true if the image has stored transformation points
-   */
-  bool                       HasTrsfPoints() const;
-
-  /**
-   * Stores the transformation mode (0 - Lambert93, 1 - Cartesian)
-   */
-  void                       SetTrsfMode(const int theMode);
-
-  /**
-   * Returns the transformation mode (0 - Lambert93, 1 - Cartesian)
-   */
-  int                        TrsfMode() const;
-
-
-  /**
-   * Returns the number of referenced images
-   * \return zero if there is no references
-   */
-  int                        NbReferences();
-
-  /**
-   * Appends reference to other image.
-   * \param theReferenced the image referenced by this
-   */
-  void AppendReference( HYDROData_Entity theReferenced ) [void (Handle_HYDROData_Entity)];
-  %MethodCode
-
-    Handle(HYDROData_Entity) aRefObj = createHandle( a0 );
-    if ( !aRefObj.IsNull() )
-    {
-      Py_BEGIN_ALLOW_THREADS
-      sipSelfWasArg ? sipCpp->HYDROData_Image::AppendReference( aRefObj ) : 
-                      sipCpp->AppendReference( aRefObj );
-      Py_END_ALLOW_THREADS
-    }
-
-  %End
-
-  /**
-   * Returns reference by index.
-   * \param theIndex number of reference [0; NbReference)
-   * \returns the referenced image, or Null if index is invalid
-   */
-  HYDROData_Entity Reference( const int theIndex ) const [Handle_HYDROData_Entity (const int)];
-  %MethodCode
-
-    Handle(HYDROData_Entity) aRefObj;
-    
-    Py_BEGIN_ALLOW_THREADS
-    aRefObj = sipSelfWasArg ? sipCpp->HYDROData_Image::Reference( a0 ) : 
-                              sipCpp->Reference( a0 );
-    Py_END_ALLOW_THREADS
-    
-    sipRes = createPointer( aRefObj );
-  
-  %End
-
-  /**
-   * Updates reference by index. If index is one-bigger than \a NbReferences, 
-   * this method appends it to the end (NbReferences is incremented).
-   * \param theIndex number of reference [0; NbReference]
-   * \param theReferenced the image referenced by this
-   */
-  void ChangeReference( const int theIndex, HYDROData_Entity theReferenced ) [void (const int, Handle_HYDROData_Entity)];
-  %MethodCode
-
-    Handle(HYDROData_Entity) aRefObj = createHandle( a1 );
-    if ( !aRefObj.IsNull() )
-    {
-      Py_BEGIN_ALLOW_THREADS
-      sipSelfWasArg ? sipCpp->HYDROData_Image::ChangeReference( a0, aRefObj ) : 
-                      sipCpp->ChangeReference( a0, aRefObj );
-      Py_END_ALLOW_THREADS
-    }
-  
-  %End
-
-  /**
-   * Removes reference by index
-   * \param theIndex number of reference [0; NbReference)
-   */
-  void                       RemoveReference( const int theIndex );
-
-  /**
-   * Removes all references.
-   */
-  void                       ClearReferences();
-
-  /**
-   * Stores the operator name
-   * \param theOpName name of the operator that must be executed for image update
-   */
-  void                       SetOperatorName( const QString theOpName );
-
-  /**
-   * Returns the operator name
-   * \returns the name of the operator that must be executed for image update
-   */
-  QString                    OperatorName();
-
-  /**
-   * Stores the operator arguments
-   * \param theArgs array that stores the operator arguments, needed for execution
-   */
-  void                       SetArgs( const QByteArray& theArgs );
-
-  /**
-   * Returns the operator arguments
-   * \returns array that stores the operator arguments, needed for execution
-   */
-  QByteArray                 Args();
-  
-  /**
-   * Sets the "MustBeUpdated" flag: if image is depended on updated features.
-   * \param theFlag is true for images that must be updated, false for up-to-date
-   */
-  void                       MustBeUpdated( bool theFlag );
-
-  /**
-   * Returns the "MustBeUpdated" flag: is image must be recomputed or not
-   * \returns false if image is up to date
-   */
-  bool                       MustBeUpdated();
-
-
 protected:
 
   /**