X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src2%2FcreaImageIOGimmickView.h;h=389fd07029bd25fc38e75eb61b1837be5afb1442;hb=34d2d6b1860321978fd19668bbf6fd0606ac1e80;hp=6fca80290652d87ee96c74b3a55f86aeb6702254;hpb=a67d921cdc10d438852b48c2985f14d91320e016;p=creaImageIO.git diff --git a/src2/creaImageIOGimmickView.h b/src2/creaImageIOGimmickView.h index 6fca802..389fd07 100644 --- a/src2/creaImageIOGimmickView.h +++ b/src2/creaImageIOGimmickView.h @@ -39,7 +39,7 @@ namespace creaImageIO { public: /// Ctor - GimmickView(Gimmick*, int number_of_threads = 0 ); + GimmickView(boost::shared_ptr, int number_of_threads = 0 ); /// Virtual destructor virtual ~GimmickView(); /// Initializes the view : @@ -96,6 +96,8 @@ namespace creaImageIO { GimmickError("INTERNAL ERROR : SaveAs not implemented"); } + /// No selected image + bool NoValidateSelected(); ///Validates the dimension compliance of the images with the maximum and minimum given, and between their sizes bool ValidateSelected (tree::Node* sel, int min_dim, int max_dim); @@ -191,7 +193,7 @@ namespace creaImageIO //ImageEventQueueType mImageEventQueue; ///The current image extent - ImageExtent* mImageExtent; + boost::shared_ptr mImageExtent; ///The validation signal ValidationSignalType mValidationSignal; ///Boolean that determines if the selection is valid