marExperimentCT.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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__