marExperimentCT.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: marExperimentCT.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009/05/14 13:55:07 $
00007   Version:   $Revision: 1.1 $
00008 
00009   Copyright: (c) 2002, 2003
00010   License:
00011   
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notice for more information.
00015 
00016 =========================================================================*/
00017 #ifndef __MAR__KERNEL__EXPERIMENTCT__HXX__
00018 #define __MAR__KERNEL__EXPERIMENTCT__HXX__
00019 
00020 #include <vector>
00021 #include "volume.hxx"
00022 #include "marExperiment.h"
00023 #include "marDynData.h"
00024 #include "GestionBifurcations.h"
00025 #include "marAxisCT.h"
00026 #include "marPoint.h"
00027 
00028 class MAR_KERNEL_EXPORT marExperimentCT : public marExperiment
00029 {
00030 
00031 public:
00032   
00033   marExperimentCT( marParameters* p = NULL );
00034   
00035   marContour*           getContour( int point, int contour );
00036   vtkPoints*            get3Dcontour( int point, int contour );
00037   vtkPolyData*          get2Dcontour( int point, int contour );
00038   vtkPoints*            get2DDiameterMin( int point, int contour );
00039   vtkPoints*            get2DDiameterMax( int point, int contour );
00040   int                           getNumberOfContours(int point);
00041   void                          prepareQuantification( );
00042   void                          RegenerateAxis();
00043   void                          RecalculateAxis();
00044   void                          updateLumenPercentage(int percentage);
00045   void                          updateCalcPercentage(int percentage);
00046   void                          updateDiscontinuityThreshold(int percentage);
00047   int                           getContourType(int point, int index);
00048   void                          histogram(int point);
00049   void                          setCalibration(bool calib);
00050   bool                          getCalibration();
00051   void                          ClearContoursPartial(int start);
00052   void                          setStartIndex(int start);
00053   int                           getPointSize();
00054   marPoint*                     getPoint(int i);
00055   void                          markUpLumen(int point);
00056   void                          generateFile();
00057   void                          replaceContour2D(int size,double *vx,double *vy, int type);
00058   void                          cleanContours(int type);
00059   marIsocontour*        loadMarIsocontour(int size, double *vx, double *vy);
00060   double                        performXOR(int type, std::vector<marIsocontour*> manual);
00061   double                        performAND(int type, std::vector<marIsocontour*> manual);
00062   double                        performUnion(int type, std::vector<marIsocontour*> manual);
00063 
00064 };
00065 
00066 #endif // __MAR__KERNEL__EXPERIMENTCT__HXX__

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1