1 /*=========================================================================
4 Module: $RCSfile: marContourVO.h,v $
6 Date: $Date: 2008/10/31 16:32:54 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notice for more information.
16 =========================================================================*/
17 #ifndef __MAR__KERNEL__CONTOURVO__HXX__
18 #define __MAR__KERNEL__CONTOURVO__HXX__
20 #include "marContour.h"
21 #include <vtkPolyData.h>
22 #include <vtkProbeFilter.h>
23 #include <vtkContourFilter.h>
24 #include <vtkCleanPolyData.h>
25 #include <vtkPolyDataConnectivityFilter.h>
26 #include <vtkStripper.h>
32 class MAR_KERNEL_EXPORT marContourVO
38 marContour* getContour( );
39 void setContour(marContour* cont);
41 vtkPoints* get3DContour( );
42 void set3DContour(vtkPoints* cont);
44 vtkPolyData* get2DContour( );
45 void set2DContour(vtkPolyData* cont);
47 vtkPoints* get2DDiameterMin( );
48 void set2DDiameterMin(vtkPoints* diam);
50 vtkPoints* get2DDiameterMax( );
51 void set2DDiameterMax(vtkPoints* diam);
54 void setSignal(double cont);
57 void setType(int cont);
59 vtkContourFilter* getIsocontour();
60 void setIsocontour(vtkContourFilter* iso);
62 vtkCleanPolyData* getIsocontourCpd();
63 void setIsocontourCpd(vtkCleanPolyData* isocpd);
65 vtkCleanPolyData* getIsocontourCpd2();
66 void setIsocontourCpd2(vtkCleanPolyData* isocpd);
68 vtkPolyDataConnectivityFilter* getIsocontourDcf();
69 void setIsocontourDcf(vtkPolyDataConnectivityFilter* isodcf);
71 vtkStripper* getIsocontourStripped();
72 void setIsocontourStripped(vtkStripper* isoStripped);
75 void setReplaced(bool rep);
83 marContour* _contours; // DATA-MODEL-2D Axis Contours
84 vtkPoints* _3Dcontour; // VISUALISATION_VTK 3D Axis perpendicular Contour
85 vtkPolyData* _2Dcontours; // VISUALISATION_VTK 2D Axis perpendicular Contour
86 vtkPoints* _2DDiameterMin; // VISUALISATION_VTK 2D Line diameter Minimum
87 vtkPoints* _2DDiameterMax; // VISUALISATION_VTK 2D Line diameter Maximum
88 double _signal; // Axis intensity signal
89 int _contType; // ContourType
90 vtkContourFilter* _isocontour;
91 vtkCleanPolyData* _isocontour_cpd;
92 vtkPolyDataConnectivityFilter* _isocontour_dcf;
93 vtkCleanPolyData* _isocontour_cpd2;
94 vtkStripper* _isocontour_stripped;
99 #endif // __MAR__KERNEL__CONTOUR_VO__HXX__