]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOGimmickView.h
Validation changed and added number of children to the database.
[creaImageIO.git] / src2 / creaImageIOGimmickView.h
index 57ed312e35461b5a4354be043229dcca24d8b322..a87602a8bcd28c41b973b89287a8ca018985f5a5 100644 (file)
@@ -30,7 +30,7 @@ namespace creaImageIO
        * \ingroup View
        */
         
-
+       class ImageExtent;
     //=====================================================================
     
     //=====================================================================
@@ -38,7 +38,6 @@ namespace creaImageIO
        class GimmickView: public MultiThreadImageReaderUser
     {
     public:
-       
       /// Ctor
       GimmickView(Gimmick*, int number_of_threads = 0 );
       /// Virtual destructor
@@ -90,8 +89,8 @@ namespace creaImageIO
       std::string GetMessage(){return mMess;}
       ///Obtains the message of the state
       void SetMessage(std::string mess){mMess=mess;}
-         ///Clears status and begins a new selection
-         void ClearStatus();
+         ///Resets the data of the extent and begins a new selection
+         void ResetExtent();
 
       /// Create the tree views 
       void CreateTreeViews();
@@ -129,6 +128,7 @@ namespace creaImageIO
 
 
     private:
+       
       /// Controller which manages the interaction with the model
       Gimmick* mGimmick;
       /// The views 
@@ -162,11 +162,8 @@ namespace creaImageIO
       typedef std::deque<ImageEventType> ImageEventQueueType;
       //ImageEventQueueType mImageEventQueue;
 
+         ImageExtent* mImageExtent;
          ValidationSignalType mValidationSignal;
-         std::string row;
-         std::string col;
-         std::string plane;
-         int selectionSize;
          bool valid;
       
        };