+ /// The message that results from the validation
+ std::string mMess;
+
+ /// Multi-thread image reader
+ MultiThreadImageReader mReader;
+ /// Internal type of image reading event
+ /// If the image pointer is non null then the image is available (loaded)
+ /// else it has been unloaded
+ struct ImageEventType
+ {
+ ImageEventType( tree::Node* no = 0,
+ int sel_index = -1,
+ ImagePointerHolder* ph= 0)
+ : node(no), index(sel_index), pointerHolder(ph){}
+ ImageEventType(vtkImageData* im )
+ : image(im) {}
+ tree::Node* node;
+ vtkImageData* image;
+ int index;
+ ImagePointerHolder* pointerHolder;
+ };
+ typedef std::map<std::string,ImageEventType> ImageEventTypeMap;
+ /// Map of images' names to ImageEventType
+ /// Used to associated a filename to a the data of a request
+ ImageEventTypeMap mImageEventMap;
+ // queue of image event
+ typedef std::deque<ImageEventType> ImageEventQueueType;
+ //ImageEventQueueType mImageEventQueue;
+
+ ///The current image extent
+ ImageExtent* mImageExtent;
+ ///The validation signal
+ ValidationSignalType mValidationSignal;
+ ///Boolean that determines if the selection is valid
+ bool valid;
+ ///Boolean that determines if the reader has been started
+ bool mReaderStarted;