]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourExtractData.h
DFCH: Manual Paint Changes (Undo/Redo) 80% :) :)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / Contour / ContourExtractData.h
index b463709d2c5cb94ce79d37f1587e5f424a065475..7003fcd421b3f42b4bb63c5a86ebf38109d5d15b 100644 (file)
@@ -19,7 +19,8 @@
        void SetZtoBeAnalys( int z );
 
        void SetLstManualContourModel( std::vector<manualBaseModel*> lstManConMod);
-       void GetValuesInsideCrown(      std::vector<double> *pLstValue,
+       void GetValuesInsideCrown(      int *numberOfPixels,
+                                                               std::vector<double> *pLstValue,
                                                                std::vector<double> *pLstValuePosX,
                                                                std::vector<double> *pLstValuePosY,
                                                                std::vector<double> *pLstValuePosZ);
                                                                double *vol_average, double *vol_standardeviation);
          
          void ResetImageResult(int z);
-         
+         void SetScalarRange(double min, double max);
+         void InitLstContoursLinesYPoints();
+         bool isInside(int x, int y, int typeOperation );
+       
+         //
+         // Asigns the sizeImageY.
+         // @param pSizeImageY - int
+         void SetSizeImageY(int pSizeImageY);
          
   private:
+       double                                                          scalarRange[2];
        bool                                                            okImagesResults;
 
        //
@@ -65,8 +74,9 @@
        vtkImageData                                            *imagedataValueResult;
        vtkImageData                                            *imagedataMaskResult;
 
-       bool isInside(int x, int y, int typeOperation );
-
+       //Size Y
+       int _sizeImageY;
+       
        //
        // Asigns the minimum and maximum points of the contour model in parameter.
        // @param *minPoint - int
          std::vector< std::vector< std::vector<double> > >             _lstlstlstVecX2;
          std::vector< std::vector< std::vector<double> > >             _lstlstlstVecY2;
          void Fill_lstlstlstVecXY(int iContour, int sizeY);
-         void InitLstContoursLinesYPoints();
+         
+
 
   };