#include <marContourVO.h>
Public Member Functions | |
marContour * | getContour () |
void | setContour (marContour *cont) |
vtkPoints * | get3DContour () |
void | set3DContour (vtkPoints *cont) |
vtkPolyData * | get2DContour () |
void | set2DContour (vtkPolyData *cont) |
vtkPoints * | get2DDiameterMin () |
void | set2DDiameterMin (vtkPoints *diam) |
vtkPoints * | get2DDiameterMax () |
void | set2DDiameterMax (vtkPoints *diam) |
double | getSignal () |
void | setSignal (double cont) |
int | getType () |
void | setType (int cont) |
vtkContourFilter * | getIsocontour () |
void | setIsocontour (vtkContourFilter *iso) |
vtkCleanPolyData * | getIsocontourCpd () |
void | setIsocontourCpd (vtkCleanPolyData *isocpd) |
vtkCleanPolyData * | getIsocontourCpd2 () |
void | setIsocontourCpd2 (vtkCleanPolyData *isocpd) |
vtkPolyDataConnectivityFilter * | getIsocontourDcf () |
void | setIsocontourDcf (vtkPolyDataConnectivityFilter *isodcf) |
vtkStripper * | getIsocontourStripped () |
void | setIsocontourStripped (vtkStripper *isoStripped) |
bool | isReplaced () |
void | setReplaced (bool rep) |
~marContourVO () | |
marContourVO () | |
Private Attributes | |
marContour * | _contours |
vtkPoints * | _3Dcontour |
vtkPolyData * | _2Dcontours |
vtkPoints * | _2DDiameterMin |
vtkPoints * | _2DDiameterMax |
double | _signal |
int | _contType |
vtkContourFilter * | _isocontour |
vtkCleanPolyData * | _isocontour_cpd |
vtkPolyDataConnectivityFilter * | _isocontour_dcf |
vtkCleanPolyData * | _isocontour_cpd2 |
vtkStripper * | _isocontour_stripped |
bool | _replaced |
Definition at line 32 of file marContourVO.h.
marContourVO::~marContourVO | ( | ) |
Definition at line 153 of file marContourVO.cpp.
References _2Dcontours, _2DDiameterMax, _2DDiameterMin, _3Dcontour, _contours, _contType, _isocontour, _isocontour_cpd, _isocontour_cpd2, _isocontour_dcf, and _signal.
00154 { 00155 if (_contours != NULL) { delete _contours; } 00156 if (_3Dcontour != NULL) { _3Dcontour->Delete(); } 00157 if (_2Dcontours != NULL) { _2Dcontours->Delete(); } 00158 if (_2DDiameterMin != NULL) { _2DDiameterMin->Delete(); } 00159 if (_2DDiameterMax != NULL) { _2DDiameterMax->Delete(); } 00160 _signal = 0.0; 00161 _contType = -1; 00162 if (_isocontour != NULL) { _isocontour->Delete(); } 00163 if (_isocontour_cpd != NULL) { _isocontour_cpd->Delete(); } 00164 if (_isocontour_dcf != NULL) { _isocontour_dcf->Delete(); } 00165 if (_isocontour_cpd2 != NULL) { _isocontour_cpd2->Delete(); } 00166 }
marContourVO::marContourVO | ( | ) |
Definition at line 180 of file marContourVO.cpp.
References _replaced.
00181 { 00182 _replaced = false; 00183 }
marContour * marContourVO::getContour | ( | ) |
Definition at line 21 of file marContourVO.cpp.
References _contours.
Referenced by marAxisCT::createContours().
00021 { 00022 return _contours; 00023 }
void marContourVO::setContour | ( | marContour * | cont | ) |
Definition at line 26 of file marContourVO.cpp.
References _contours.
Referenced by marAxisCT::createContours().
00026 { 00027 _contours = cont; 00028 }
vtkPoints * marContourVO::get3DContour | ( | ) |
Definition at line 31 of file marContourVO.cpp.
References _3Dcontour.
Referenced by marAxisCT::create3Dcontours(), and marAxisCT::get3Dcontour().
00031 { 00032 return _3Dcontour; 00033 }
void marContourVO::set3DContour | ( | vtkPoints * | cont | ) |
Definition at line 36 of file marContourVO.cpp.
References _3Dcontour.
Referenced by marAxisCT::create3Dcontours().
00036 { 00037 _3Dcontour = cont; 00038 }
vtkPolyData * marContourVO::get2DContour | ( | ) |
Definition at line 41 of file marContourVO.cpp.
References _2Dcontours.
Referenced by marAxisCT::adjustContour(), marAxisCT::create2Dcontours(), marAxisCT::createContours(), marAxisCT::extractLumen(), marAxisCT::get2Dcontour(), marAxisCT::parsePolyDataToMarIsocontour(), and marAxisCT::updateLumenPercentage().
00041 { 00042 return _2Dcontours; 00043 }
void marContourVO::set2DContour | ( | vtkPolyData * | cont | ) |
Definition at line 46 of file marContourVO.cpp.
References _2Dcontours.
Referenced by marAxisCT::create2Dcontours(), marAxisCT::extractLumen(), and marAxisCT::replaceContour2D().
00046 { 00047 _2Dcontours = cont; 00048 }
vtkPoints * marContourVO::get2DDiameterMin | ( | ) |
Definition at line 51 of file marContourVO.cpp.
References _2DDiameterMin.
Referenced by marAxisCT::create2DDiametersMin(), and marAxisCT::get2DDiameterMin().
00051 { 00052 return _2DDiameterMin; 00053 }
void marContourVO::set2DDiameterMin | ( | vtkPoints * | diam | ) |
Definition at line 56 of file marContourVO.cpp.
References _2DDiameterMin.
Referenced by marAxisCT::create2DDiametersMin().
00056 { 00057 _2DDiameterMin = diam; 00058 }
vtkPoints * marContourVO::get2DDiameterMax | ( | ) |
Definition at line 61 of file marContourVO.cpp.
References _2DDiameterMax.
Referenced by marAxisCT::create2DDiametersMax(), and marAxisCT::get2DDiameterMax().
00061 { 00062 return _2DDiameterMax; 00063 }
void marContourVO::set2DDiameterMax | ( | vtkPoints * | diam | ) |
Definition at line 66 of file marContourVO.cpp.
References _2DDiameterMax.
Referenced by marAxisCT::create2DDiametersMax().
00066 { 00067 _2DDiameterMax = diam; 00068 }
double marContourVO::getSignal | ( | ) |
Definition at line 71 of file marContourVO.cpp.
References _signal.
Referenced by marAxisCT::updateLumenPercentage().
00071 { 00072 return _signal; 00073 }
void marContourVO::setSignal | ( | double | cont | ) |
Definition at line 76 of file marContourVO.cpp.
References _signal.
Referenced by marAxisCT::create2Dcontours(), and marAxisCT::extractLumen().
00076 { 00077 _signal = signal; 00078 00079 }
int marContourVO::getType | ( | ) |
Definition at line 82 of file marContourVO.cpp.
References _contType.
Referenced by marAxisContours::addContour(), and marAxisCT::updateLumenPercentage().
00082 { 00083 return _contType; 00084 }
void marContourVO::setType | ( | int | cont | ) |
Definition at line 87 of file marContourVO.cpp.
References _contType.
Referenced by marAxisCT::create2Dcontours(), marAxisCT::extractLumen(), and marAxisCT::replaceContour2D().
00087 { 00088 _contType = cont; 00089 }
vtkContourFilter * marContourVO::getIsocontour | ( | ) |
Definition at line 92 of file marContourVO.cpp.
References _isocontour.
Referenced by marAxisCT::adjustContour(), marAxisCT::create2Dcontours(), marAxisCT::extractLumen(), and marAxisCT::updateLumenPercentage().
00093 { 00094 return _isocontour; 00095 }
void marContourVO::setIsocontour | ( | vtkContourFilter * | iso | ) |
Definition at line 98 of file marContourVO.cpp.
References _isocontour.
Referenced by marAxisCT::create2Dcontours(), and marAxisCT::extractLumen().
00099 { 00100 _isocontour = iso; 00101 }
vtkCleanPolyData * marContourVO::getIsocontourCpd | ( | ) |
Definition at line 104 of file marContourVO.cpp.
References _isocontour_cpd.
Referenced by marAxisCT::create2Dcontours(), and marAxisCT::extractLumen().
00105 { 00106 return _isocontour_cpd; 00107 }
void marContourVO::setIsocontourCpd | ( | vtkCleanPolyData * | isocpd | ) |
Definition at line 110 of file marContourVO.cpp.
References _isocontour_cpd.
Referenced by marAxisCT::create2Dcontours(), and marAxisCT::extractLumen().
00111 { 00112 _isocontour_cpd = isocpd; 00113 }
vtkCleanPolyData * marContourVO::getIsocontourCpd2 | ( | ) |
Definition at line 116 of file marContourVO.cpp.
References _isocontour_cpd2.
Referenced by marAxisCT::create2Dcontours(), and marAxisCT::extractLumen().
00117 { 00118 return _isocontour_cpd2; 00119 }
void marContourVO::setIsocontourCpd2 | ( | vtkCleanPolyData * | isocpd | ) |
Definition at line 123 of file marContourVO.cpp.
References _isocontour_cpd2.
Referenced by marAxisCT::create2Dcontours(), and marAxisCT::extractLumen().
00124 { 00125 _isocontour_cpd2 = isocpd; 00126 }
vtkPolyDataConnectivityFilter * marContourVO::getIsocontourDcf | ( | ) |
Definition at line 129 of file marContourVO.cpp.
References _isocontour_dcf.
Referenced by marAxisCT::create2Dcontours(), and marAxisCT::extractLumen().
00130 { 00131 return _isocontour_dcf; 00132 }
void marContourVO::setIsocontourDcf | ( | vtkPolyDataConnectivityFilter * | isodcf | ) |
Definition at line 135 of file marContourVO.cpp.
References _isocontour_dcf.
Referenced by marAxisCT::create2Dcontours(), and marAxisCT::extractLumen().
00136 { 00137 _isocontour_dcf = isodcf; 00138 }
vtkStripper * marContourVO::getIsocontourStripped | ( | ) |
Definition at line 141 of file marContourVO.cpp.
References _isocontour_stripped.
Referenced by marAxisCT::create2Dcontours(), marAxisCT::extractLumen(), and marAxisCT::parsePolyDataToMarIsocontour().
00142 { 00143 return _isocontour_stripped; 00144 }
void marContourVO::setIsocontourStripped | ( | vtkStripper * | isoStripped | ) |
Definition at line 147 of file marContourVO.cpp.
References _isocontour_stripped.
Referenced by marAxisCT::create2Dcontours(), and marAxisCT::extractLumen().
00148 { 00149 _isocontour_stripped = isoStripped; 00150 }
bool marContourVO::isReplaced | ( | ) |
Definition at line 169 of file marContourVO.cpp.
References _replaced.
Referenced by marAxisCT::parsePolyDataToMarIsocontour(), and marAxisCT::updateLumenPercentage().
00170 { 00171 return _replaced; 00172 }
void marContourVO::setReplaced | ( | bool | rep | ) |
Definition at line 175 of file marContourVO.cpp.
References _replaced.
Referenced by marAxisCT::replaceContour2D().
00176 { 00177 _replaced = rep; 00178 }
marContour* marContourVO::_contours [private] |
Definition at line 83 of file marContourVO.h.
Referenced by getContour(), setContour(), and ~marContourVO().
vtkPoints* marContourVO::_3Dcontour [private] |
Definition at line 84 of file marContourVO.h.
Referenced by get3DContour(), set3DContour(), and ~marContourVO().
vtkPolyData* marContourVO::_2Dcontours [private] |
Definition at line 85 of file marContourVO.h.
Referenced by get2DContour(), set2DContour(), and ~marContourVO().
vtkPoints* marContourVO::_2DDiameterMin [private] |
Definition at line 86 of file marContourVO.h.
Referenced by get2DDiameterMin(), set2DDiameterMin(), and ~marContourVO().
vtkPoints* marContourVO::_2DDiameterMax [private] |
Definition at line 87 of file marContourVO.h.
Referenced by get2DDiameterMax(), set2DDiameterMax(), and ~marContourVO().
double marContourVO::_signal [private] |
Definition at line 88 of file marContourVO.h.
Referenced by getSignal(), setSignal(), and ~marContourVO().
int marContourVO::_contType [private] |
Definition at line 89 of file marContourVO.h.
Referenced by getType(), setType(), and ~marContourVO().
vtkContourFilter* marContourVO::_isocontour [private] |
Definition at line 90 of file marContourVO.h.
Referenced by getIsocontour(), setIsocontour(), and ~marContourVO().
vtkCleanPolyData* marContourVO::_isocontour_cpd [private] |
Definition at line 91 of file marContourVO.h.
Referenced by getIsocontourCpd(), setIsocontourCpd(), and ~marContourVO().
vtkPolyDataConnectivityFilter* marContourVO::_isocontour_dcf [private] |
Definition at line 92 of file marContourVO.h.
Referenced by getIsocontourDcf(), setIsocontourDcf(), and ~marContourVO().
vtkCleanPolyData* marContourVO::_isocontour_cpd2 [private] |
Definition at line 93 of file marContourVO.h.
Referenced by getIsocontourCpd2(), setIsocontourCpd2(), and ~marContourVO().
vtkStripper* marContourVO::_isocontour_stripped [private] |
Definition at line 94 of file marContourVO.h.
Referenced by getIsocontourStripped(), and setIsocontourStripped().
bool marContourVO::_replaced [private] |
Definition at line 95 of file marContourVO.h.
Referenced by isReplaced(), marContourVO(), and setReplaced().