marContourVO.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: marContourVO.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__CONTOURVO__HXX__
00018 #define __MAR__KERNEL__CONTOURVO__HXX__
00019 
00020 #include "marContour.h"
00021 #include <vtkPolyData.h>
00022 #include <vtkProbeFilter.h>
00023 #include <vtkContourFilter.h>
00024 #include <vtkCleanPolyData.h>
00025 #include <vtkPolyDataConnectivityFilter.h>
00026 #include <vtkStripper.h>
00027 
00028 class vtkPoints;
00029 class vtkCellArray;
00030 
00031 
00032 class MAR_KERNEL_EXPORT  marContourVO 
00033 {
00034 
00035    public:
00036 
00037            
00038            marContour* getContour( );
00039            void setContour(marContour* cont);
00040 
00041            vtkPoints* get3DContour( );
00042            void set3DContour(vtkPoints* cont);
00043 
00044            vtkPolyData* get2DContour( );
00045            void set2DContour(vtkPolyData* cont);
00046 
00047            vtkPoints* get2DDiameterMin( );
00048            void set2DDiameterMin(vtkPoints* diam);
00049 
00050            vtkPoints* get2DDiameterMax( );
00051            void set2DDiameterMax(vtkPoints* diam);
00052 
00053            double getSignal( );
00054            void setSignal(double cont);
00055 
00056            int getType( );
00057            void setType(int cont);
00058 
00059            vtkContourFilter* getIsocontour();
00060            void setIsocontour(vtkContourFilter* iso);
00061 
00062            vtkCleanPolyData* getIsocontourCpd();
00063            void setIsocontourCpd(vtkCleanPolyData* isocpd);
00064 
00065            vtkCleanPolyData* getIsocontourCpd2();
00066            void setIsocontourCpd2(vtkCleanPolyData* isocpd);
00067 
00068            vtkPolyDataConnectivityFilter* getIsocontourDcf();
00069            void setIsocontourDcf(vtkPolyDataConnectivityFilter* isodcf);
00070 
00071            vtkStripper* getIsocontourStripped();
00072            void setIsocontourStripped(vtkStripper* isoStripped);
00073 
00074            bool isReplaced();
00075            void setReplaced(bool rep);
00076 
00077            ~marContourVO();
00078                 marContourVO();
00079 
00080    private:
00081 
00082             
00083         marContour*             _contours;                                      //  DATA-MODEL-2D                       Axis Contours
00084         vtkPoints*                      _3Dcontour;                                     //  VISUALISATION_VTK 3D        Axis perpendicular Contour
00085         vtkPolyData*            _2Dcontours;                            //  VISUALISATION_VTK 2D        Axis perpendicular Contour
00086         vtkPoints*                      _2DDiameterMin;                         //  VISUALISATION_VTK 2D        Line diameter Minimum
00087         vtkPoints*                      _2DDiameterMax;                         //  VISUALISATION_VTK 2D        Line diameter Maximum
00088         double                          _signal;                                        //  Axis intensity signal
00089         int                                     _contType;                                      //  ContourType
00090         vtkContourFilter*       _isocontour;
00091         vtkCleanPolyData*       _isocontour_cpd;
00092         vtkPolyDataConnectivityFilter*  _isocontour_dcf;
00093         vtkCleanPolyData*       _isocontour_cpd2;
00094         vtkStripper*            _isocontour_stripped;
00095         bool                            _replaced;
00096 
00097  
00098 }; 
00099 #endif // __MAR__KERNEL__CONTOUR_VO__HXX__
00100 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1