casa
$Rev:20696$
|
Represents a slice cut of an image. More...
#include <ImageSlice.qo.h>
Public Member Functions | |
ImageSlice (int id, QWidget *parent=NULL) | |
QColor | getCurveColor (int index) const |
int | getColorCount () const |
void | setShowCorners (bool show) |
void | setSampleCount (int count) |
void | setAxes (const Vector< Int > &axes) |
void | setCoords (const Vector< Int > &coords) |
void | setCurveColor (QList< QColor > colors) |
bool | isSelected () const |
void | setSelected (bool selected) |
void | setInterpolationMethod (const String &method) |
void | setImageAnalysis (ImageAnalysis *analysis) |
void | setUseViewerColors (bool useViewerColors) |
void | setPolylineColorUnit (bool polyline) |
void | setPlotPreferences (int curveWidth, int markerSize) |
void | setViewerCurveColor (const QString &colorName) |
void | updatePolyLine (const QList< int > &pixelX, const QList< int > &pixelY, const QList< double > &worldX, const QList< double > &worldY) |
void | updatePositionInformation (const QVector< String > &info) |
void | toAscii (QTextStream &) |
void | clearCurve () |
void | addPlotCurve (QwtPlot *plot) |
virtual | ~ImageSlice () |
void | setStatistics (SliceStatistics *statistics) |
X-Axis. | |
Private Slots | |
void | openCloseDisplay () |
Private Member Functions | |
void | minimizeDisplay () |
void | maximizeDisplay () |
void | resetPlotCurve () |
void | updateSliceStatistics () |
void | clearCorners () |
void | addCorner (double xValue, double yValue, QwtPlot *plot) |
void | addSegment (SliceSegment *segment) |
void | removeSegment (SliceSegment *segment) |
void | resetSegmentColors () |
void | runSliceWorker () |
ImageSlice (const ImageSlice &other) | |
ImageSlice | operator= (const ImageSlice &other) |
Private Attributes | |
SliceStatistics * | statistics |
int | markerSize |
int | curveWidth |
int | regionId |
bool | selected |
bool | useViewerColors |
bool | showCorners |
bool | polylineUnit |
bool | minimized |
QColor | viewerColor |
QList< QColor > | segmentColors |
SliceWorker * | sliceWorker |
QList< SliceSegment * > | segments |
QList< QwtPlotMarker * > | segmentCorners |
ImageSliceColorBar * | colorBar |
Ui::ImageSliceClass | ui |
Represents a slice cut of an image.
The slice cut may be a polygonal chain or a single line segment.
Definition at line 56 of file ImageSlice.qo.h.
casa::ImageSlice::ImageSlice | ( | int | id, |
QWidget * | parent = NULL |
||
) |
virtual casa::ImageSlice::~ImageSlice | ( | ) | [virtual] |
casa::ImageSlice::ImageSlice | ( | const ImageSlice & | other | ) | [private] |
void casa::ImageSlice::addCorner | ( | double | xValue, |
double | yValue, | ||
QwtPlot * | plot | ||
) | [private] |
void casa::ImageSlice::addPlotCurve | ( | QwtPlot * | plot | ) |
void casa::ImageSlice::addSegment | ( | SliceSegment * | segment | ) | [private] |
void casa::ImageSlice::clearCorners | ( | ) | [private] |
void casa::ImageSlice::clearCurve | ( | ) |
int casa::ImageSlice::getColorCount | ( | ) | const |
QColor casa::ImageSlice::getCurveColor | ( | int | index | ) | const |
bool casa::ImageSlice::isSelected | ( | ) | const |
void casa::ImageSlice::maximizeDisplay | ( | ) | [private] |
void casa::ImageSlice::minimizeDisplay | ( | ) | [private] |
void casa::ImageSlice::openCloseDisplay | ( | ) | [private, slot] |
ImageSlice casa::ImageSlice::operator= | ( | const ImageSlice & | other | ) | [private] |
void casa::ImageSlice::removeSegment | ( | SliceSegment * | segment | ) | [private] |
void casa::ImageSlice::resetPlotCurve | ( | ) | [private] |
void casa::ImageSlice::resetSegmentColors | ( | ) | [private] |
void casa::ImageSlice::runSliceWorker | ( | ) | [private] |
void casa::ImageSlice::setAxes | ( | const Vector< Int > & | axes | ) |
void casa::ImageSlice::setCoords | ( | const Vector< Int > & | coords | ) |
void casa::ImageSlice::setCurveColor | ( | QList< QColor > | colors | ) |
void casa::ImageSlice::setImageAnalysis | ( | ImageAnalysis * | analysis | ) |
void casa::ImageSlice::setInterpolationMethod | ( | const String & | method | ) |
void casa::ImageSlice::setPlotPreferences | ( | int | curveWidth, |
int | markerSize | ||
) |
void casa::ImageSlice::setPolylineColorUnit | ( | bool | polyline | ) |
void casa::ImageSlice::setSampleCount | ( | int | count | ) |
void casa::ImageSlice::setSelected | ( | bool | selected | ) |
void casa::ImageSlice::setShowCorners | ( | bool | show | ) |
void casa::ImageSlice::setStatistics | ( | SliceStatistics * | statistics | ) |
X-Axis.
void casa::ImageSlice::setUseViewerColors | ( | bool | useViewerColors | ) |
void casa::ImageSlice::setViewerCurveColor | ( | const QString & | colorName | ) |
void casa::ImageSlice::toAscii | ( | QTextStream & | ) |
void casa::ImageSlice::updatePolyLine | ( | const QList< int > & | pixelX, |
const QList< int > & | pixelY, | ||
const QList< double > & | worldX, | ||
const QList< double > & | worldY | ||
) |
void casa::ImageSlice::updatePositionInformation | ( | const QVector< String > & | info | ) |
void casa::ImageSlice::updateSliceStatistics | ( | ) | [private] |
ImageSliceColorBar* casa::ImageSlice::colorBar [private] |
Definition at line 121 of file ImageSlice.qo.h.
int casa::ImageSlice::curveWidth [private] |
Definition at line 109 of file ImageSlice.qo.h.
int casa::ImageSlice::markerSize [private] |
Definition at line 108 of file ImageSlice.qo.h.
bool casa::ImageSlice::minimized [private] |
Definition at line 115 of file ImageSlice.qo.h.
bool casa::ImageSlice::polylineUnit [private] |
Definition at line 114 of file ImageSlice.qo.h.
int casa::ImageSlice::regionId [private] |
Definition at line 110 of file ImageSlice.qo.h.
QList<QColor> casa::ImageSlice::segmentColors [private] |
Definition at line 117 of file ImageSlice.qo.h.
QList<QwtPlotMarker*> casa::ImageSlice::segmentCorners [private] |
Definition at line 120 of file ImageSlice.qo.h.
QList<SliceSegment*> casa::ImageSlice::segments [private] |
Definition at line 119 of file ImageSlice.qo.h.
bool casa::ImageSlice::selected [private] |
Definition at line 111 of file ImageSlice.qo.h.
bool casa::ImageSlice::showCorners [private] |
Definition at line 113 of file ImageSlice.qo.h.
SliceWorker* casa::ImageSlice::sliceWorker [private] |
Definition at line 118 of file ImageSlice.qo.h.
SliceStatistics* casa::ImageSlice::statistics [private] |
Definition at line 104 of file ImageSlice.qo.h.
Ui::ImageSliceClass casa::ImageSlice::ui [private] |
Definition at line 122 of file ImageSlice.qo.h.
bool casa::ImageSlice::useViewerColors [private] |
Definition at line 112 of file ImageSlice.qo.h.
QColor casa::ImageSlice::viewerColor [private] |
Definition at line 116 of file ImageSlice.qo.h.