]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuContourVOI.cxx
volume rendering qt with composite mip
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuContourVOI.cxx
index dfdfb8d4953955ed507f295c55b399a2cb421d4c..8c3fbaaf00e2d79d6ef59bf527e3671debbbb1c3 100644 (file)
@@ -3,6 +3,9 @@
 
 #include "bbmaracasvisuContourVOI.h"
 #include "bbcreaMaracasVisuPackage.h"
+
+
+
 namespace bbcreaMaracasVisu
 {
 
@@ -164,6 +167,9 @@ void ContourVOI::Process()
 
                std::cout<<"ContourVOI index "<<Index<<" size "<<Size<<std::endl;
 
+       /*EED 20 Juin 2011      
+         This go out of the box ... see ExtractVtkImageFilter ...
+        
                //JCP
                if(_extract!=NULL){             
                        _extract->Delete();
@@ -176,7 +182,7 @@ void ContourVOI::Process()
                _extract->Update();
                bbSetOutputVOI(_extract->GetOutput());
                //JCP
-                
+  */
 
                
                bbSetOutputIndex( Index );
@@ -198,12 +204,12 @@ void ContourVOI::CreateWidget(wxWindow*  parent)
 }
 
 //------------------------------------------------------
-void ContourVOI::bbUserConstructor()
+void ContourVOI::bbUserSetDefaultValues()
 {
 
        _img = NULL;
        _base = NULL;
-       _extract =NULL;
+//EED 20Juin2011       _extract =NULL;
        bbSetInputwxVtkBaseView(NULL);
        bbSetInputIn(NULL);
        bbSetOutputWidget(NULL);
@@ -214,20 +220,18 @@ void ContourVOI::bbUserConstructor()
 
 }
 
-//------------------------------------------------------
-void ContourVOI::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
-{
-       _img = NULL;
-       _base = NULL;
-       _extract =NULL;
-
-}
-
-//------------------------------------------------------
-void ContourVOI::bbUserDestructor()
-{
-}
-
+       //-----------------------------------------------------------------     
+       void ContourVOI::bbUserInitializeProcessing()
+       {
+       }
+       
+       //-----------------------------------------------------------------     
+       void ContourVOI::bbUserFinalizeProcessing()
+       {
+       }
+       
+       //-----------------------------------------------------------------     
+       
 
 }
 // EO namespace bbcreaMaracasVisu