X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FmaracasVisuLib%2Fsrc%2Fkernel%2Finclude%2FmarExperimentCT.h;fp=lib%2FmaracasVisuLib%2Fsrc%2Fkernel%2Finclude%2FmarExperimentCT.h;h=79a92628871018ad4a15cd31a17cef7f65ca5260;hb=a4ee3758aa0477f677fb981e2c4d6e29995e8db8;hp=0000000000000000000000000000000000000000;hpb=cc20770ee090848c31a8f18c277d89f2b904e087;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/kernel/include/marExperimentCT.h b/lib/maracasVisuLib/src/kernel/include/marExperimentCT.h new file mode 100644 index 0000000..79a9262 --- /dev/null +++ b/lib/maracasVisuLib/src/kernel/include/marExperimentCT.h @@ -0,0 +1,66 @@ +/*========================================================================= + + Program: wxMaracas + Module: $RCSfile: marExperimentCT.h,v $ + Language: C++ + Date: $Date: 2009/05/14 13:55:07 $ + Version: $Revision: 1.1 $ + + Copyright: (c) 2002, 2003 + License: + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notice for more information. + +=========================================================================*/ +#ifndef __MAR__KERNEL__EXPERIMENTCT__HXX__ +#define __MAR__KERNEL__EXPERIMENTCT__HXX__ + +#include +#include "volume.hxx" +#include "marExperiment.h" +#include "marDynData.h" +#include "GestionBifurcations.h" +#include "marAxisCT.h" +#include "marPoint.h" + +class MAR_KERNEL_EXPORT marExperimentCT : public marExperiment +{ + +public: + + marExperimentCT( marParameters* p = NULL ); + + marContour* getContour( int point, int contour ); + vtkPoints* get3Dcontour( int point, int contour ); + vtkPolyData* get2Dcontour( int point, int contour ); + vtkPoints* get2DDiameterMin( int point, int contour ); + vtkPoints* get2DDiameterMax( int point, int contour ); + int getNumberOfContours(int point); + void prepareQuantification( ); + void RegenerateAxis(); + void RecalculateAxis(); + void updateLumenPercentage(int percentage); + void updateCalcPercentage(int percentage); + void updateDiscontinuityThreshold(int percentage); + int getContourType(int point, int index); + void histogram(int point); + void setCalibration(bool calib); + bool getCalibration(); + void ClearContoursPartial(int start); + void setStartIndex(int start); + int getPointSize(); + marPoint* getPoint(int i); + void markUpLumen(int point); + void generateFile(); + void replaceContour2D(int size,double *vx,double *vy, int type); + void cleanContours(int type); + marIsocontour* loadMarIsocontour(int size, double *vx, double *vy); + double performXOR(int type, std::vector manual); + double performAND(int type, std::vector manual); + double performUnion(int type, std::vector manual); + +}; + +#endif // __MAR__KERNEL__EXPERIMENTCT__HXX__