casa
5.7.0-16
|
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 casacore::Vector< int > &axes) |
void | setCoords (const casacore::Vector< int > &coords) |
void | setCurveColor (QList< QColor > colors) |
bool | isSelected () const |
void | setSelected (bool selected) |
void | setInterpolationMethod (const casacore::String &method) |
void | setImage (std::shared_ptr< casacore::ImageInterface< float > > img) |
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< casacore::String > &info) |
void | toAscii (QTextStream &) |
void | clearCurve () |
void | addPlotCurve (QwtPlot *plot) |
virtual | ~ImageSlice () |
void | setStatistics (SliceStatistics *statistics) |
X-Axis. More... | |
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 57 of file ImageSlice.qo.h.
casa::ImageSlice::ImageSlice | ( | int | id, |
QWidget * | parent = NULL |
||
) |
|
virtual |
|
private |
|
private |
void casa::ImageSlice::addPlotCurve | ( | QwtPlot * | plot | ) |
|
private |
|
private |
void casa::ImageSlice::clearCurve | ( | ) |
int casa::ImageSlice::getColorCount | ( | ) | const |
QColor casa::ImageSlice::getCurveColor | ( | int | index | ) | const |
bool casa::ImageSlice::isSelected | ( | ) | const |
|
private |
|
private |
|
privateslot |
|
private |
|
private |
|
private |
|
private |
|
private |
void casa::ImageSlice::setAxes | ( | const casacore::Vector< int > & | axes | ) |
void casa::ImageSlice::setCoords | ( | const casacore::Vector< int > & | coords | ) |
void casa::ImageSlice::setCurveColor | ( | QList< QColor > | colors | ) |
void casa::ImageSlice::setImage | ( | std::shared_ptr< casacore::ImageInterface< float > > | img | ) |
void casa::ImageSlice::setInterpolationMethod | ( | const casacore::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< casacore::String > & | info | ) |
|
private |
|
private |
Definition at line 122 of file ImageSlice.qo.h.
|
private |
Definition at line 110 of file ImageSlice.qo.h.
|
private |
Definition at line 109 of file ImageSlice.qo.h.
|
private |
Definition at line 116 of file ImageSlice.qo.h.
|
private |
Definition at line 115 of file ImageSlice.qo.h.
|
private |
Definition at line 111 of file ImageSlice.qo.h.
|
private |
Definition at line 118 of file ImageSlice.qo.h.
|
private |
Definition at line 121 of file ImageSlice.qo.h.
|
private |
Definition at line 120 of file ImageSlice.qo.h.
|
private |
Definition at line 112 of file ImageSlice.qo.h.
|
private |
Definition at line 114 of file ImageSlice.qo.h.
|
private |
Definition at line 119 of file ImageSlice.qo.h.
|
private |
Definition at line 105 of file ImageSlice.qo.h.
|
private |
Definition at line 123 of file ImageSlice.qo.h.
|
private |
Definition at line 113 of file ImageSlice.qo.h.
|
private |
Definition at line 117 of file ImageSlice.qo.h.