casa
$Rev:20696$
|
#include <SlicePlot.qo.h>
Public Slots | |
void | updatePolyLine (int regionId, viewer::region::RegionChanges regionChanges, const QList< double > &linearX, const QList< double > &linearY, const QList< int > &pixelX, const QList< int > &pixelY) |
void | setXAxis (const QString &newAxis) |
void | xAxisUnitsChanged (const QString &units) |
void | segmentMarkerVisibilityChanged (bool visible) |
Signals | |
void | markerPositionChanged (int regionId, int segmentIndex, float percentage) |
void | markerVisibilityChanged (int regionId, bool showMarker) |
Public Member Functions | |
SlicePlot (QWidget *parent=NULL, bool fullVersion=false) | |
void | setImage (ImageInterface< float > *img) |
Data. | |
void | updateChannel (int channel) |
void | setRegionSelected (int regionId, bool selected) |
void | resetCurveColors (bool viewerColors, bool polylineColorUnit, QList< QColor > accumulateCurveColors) |
Look and feel. | |
void | setViewerCurveColor (int regionId, const QString &colorName) |
void | setUseViewerColors (bool viewerColors) |
void | setPlotPreferences (int lineWidth, int markerSize) |
void | setSampleCount (int sampleCount) |
Setting slice parameters. | |
void | setInterpolationMethod (const String &method) |
void | setAccumulateSlices (bool accumulate) |
void | clearCurves () |
Wipe out only the curves that shouldn't be displayed under the current settings. | |
void | clearCurvesAll () |
Wipe out all curves. | |
bool | toAscii (const QString &fileName) |
void | addStatistic (int regionId) |
Statistics. | |
void | removeStatistics () |
void | removeStatistic (int regionId) |
void | setStatisticsLayout (QLayout *layout) |
void | updatePositionInformation (int id, const QVector< String > &info) |
void | markPositionChanged (int regionId, int segmentIndex, float percentage) |
void | markVisibilityChanged (int regionId, bool showMarker) |
bool | isFullVersion () const |
virtual | ~SlicePlot () |
Static Public Attributes | |
static const QString | DISTANCE_AXIS |
static const QString | POSITION_X_AXIS |
static const QString | POSITION_Y_AXIS |
static const QString | UNIT_X_PIXEL |
static const QString | UNIT_X_ARCSEC |
static const QString | UNIT_X_ARCMIN |
static const QString | UNIT_X_ARCDEG |
Private Member Functions | |
SlicePlot (const SlicePlot &other) | |
SlicePlot | operator= (const SlicePlot &other) |
ImageSlice * | getSlicerFor (int regionId) |
SliceStatisticsFactory::AxisXUnits | getUnitMode () const |
SliceStatisticsFactory::AxisXChoice | getXAxis () const |
void | initPlot () |
void | resetCurves () |
void | addPlotCurve (int regionId) |
void | initAxisFont (int axisId, const QString &axisTitle) |
void | sliceFinished (int regionId) |
QString | getAxisLabel () const |
void | updateSelectedRegionId (int selectedRegionId) |
void | updatePolyLine (int regionId, const QList< double > &worldX, const QList< double > &worldY, const QList< int > &pixelX, const QList< int > &pixelY) |
void | deletePolyLine (int regionId) |
int | getColorIndex (int regionId) const |
int | assignCurveColors (int initialColorIndex, int regionId) |
void | resetExistingCurveColors () |
Private Attributes | |
QList< QColor > | curveColors |
ImageInterface< float > * | image |
ImageAnalysis * | imageAnalysis |
QMap< int, ImageSlice * > | sliceMap |
Vector< Int > | coords |
int | curveWidth |
int | markerSize |
bool | accumulateSlices |
bool | fullVersion |
bool | viewerColors |
bool | polylineColorUnit |
bool | segmentMarkers |
int | sampleCount |
int | currentRegionId |
const int | AXIS_FONT_SIZE |
String | interpolationMethod |
QString | xAxis |
QString | xAxisUnits |
Vector< Int > | axes |
QLayout * | statLayout |
SliceStatisticsFactory * | factory |
Definition at line 43 of file SlicePlot.qo.h.
casa::SlicePlot::SlicePlot | ( | QWidget * | parent = NULL , |
bool | fullVersion = false |
||
) |
virtual casa::SlicePlot::~SlicePlot | ( | ) | [virtual] |
casa::SlicePlot::SlicePlot | ( | const SlicePlot & | other | ) | [private] |
void casa::SlicePlot::addPlotCurve | ( | int | regionId | ) | [private] |
void casa::SlicePlot::addStatistic | ( | int | regionId | ) |
Statistics.
int casa::SlicePlot::assignCurveColors | ( | int | initialColorIndex, |
int | regionId | ||
) | [private] |
void casa::SlicePlot::clearCurves | ( | ) |
Wipe out only the curves that shouldn't be displayed under the current settings.
void casa::SlicePlot::clearCurvesAll | ( | ) |
Wipe out all curves.
void casa::SlicePlot::deletePolyLine | ( | int | regionId | ) | [private] |
QString casa::SlicePlot::getAxisLabel | ( | ) | const [private] |
int casa::SlicePlot::getColorIndex | ( | int | regionId | ) | const [private] |
ImageSlice* casa::SlicePlot::getSlicerFor | ( | int | regionId | ) | [private] |
SliceStatisticsFactory::AxisXUnits casa::SlicePlot::getUnitMode | ( | ) | const [private] |
SliceStatisticsFactory::AxisXChoice casa::SlicePlot::getXAxis | ( | ) | const [private] |
void casa::SlicePlot::initAxisFont | ( | int | axisId, |
const QString & | axisTitle | ||
) | [private] |
void casa::SlicePlot::initPlot | ( | ) | [private] |
bool casa::SlicePlot::isFullVersion | ( | ) | const |
void casa::SlicePlot::markerPositionChanged | ( | int | regionId, |
int | segmentIndex, | ||
float | percentage | ||
) | [signal] |
void casa::SlicePlot::markerVisibilityChanged | ( | int | regionId, |
bool | showMarker | ||
) | [signal] |
void casa::SlicePlot::markPositionChanged | ( | int | regionId, |
int | segmentIndex, | ||
float | percentage | ||
) |
void casa::SlicePlot::markVisibilityChanged | ( | int | regionId, |
bool | showMarker | ||
) |
void casa::SlicePlot::removeStatistic | ( | int | regionId | ) |
void casa::SlicePlot::removeStatistics | ( | ) |
void casa::SlicePlot::resetCurveColors | ( | bool | viewerColors, |
bool | polylineColorUnit, | ||
QList< QColor > | accumulateCurveColors | ||
) |
Look and feel.
void casa::SlicePlot::resetCurves | ( | ) | [private] |
void casa::SlicePlot::resetExistingCurveColors | ( | ) | [private] |
void casa::SlicePlot::segmentMarkerVisibilityChanged | ( | bool | visible | ) | [slot] |
void casa::SlicePlot::setAccumulateSlices | ( | bool | accumulate | ) |
void casa::SlicePlot::setImage | ( | ImageInterface< float > * | img | ) |
Data.
void casa::SlicePlot::setInterpolationMethod | ( | const String & | method | ) |
void casa::SlicePlot::setPlotPreferences | ( | int | lineWidth, |
int | markerSize | ||
) |
void casa::SlicePlot::setRegionSelected | ( | int | regionId, |
bool | selected | ||
) |
void casa::SlicePlot::setSampleCount | ( | int | sampleCount | ) |
Setting slice parameters.
void casa::SlicePlot::setStatisticsLayout | ( | QLayout * | layout | ) |
void casa::SlicePlot::setUseViewerColors | ( | bool | viewerColors | ) |
void casa::SlicePlot::setViewerCurveColor | ( | int | regionId, |
const QString & | colorName | ||
) |
void casa::SlicePlot::setXAxis | ( | const QString & | newAxis | ) | [slot] |
void casa::SlicePlot::sliceFinished | ( | int | regionId | ) | [private] |
bool casa::SlicePlot::toAscii | ( | const QString & | fileName | ) |
void casa::SlicePlot::updateChannel | ( | int | channel | ) |
void casa::SlicePlot::updatePolyLine | ( | int | regionId, |
viewer::region::RegionChanges | regionChanges, | ||
const QList< double > & | linearX, | ||
const QList< double > & | linearY, | ||
const QList< int > & | pixelX, | ||
const QList< int > & | pixelY | ||
) | [slot] |
void casa::SlicePlot::updatePolyLine | ( | int | regionId, |
const QList< double > & | worldX, | ||
const QList< double > & | worldY, | ||
const QList< int > & | pixelX, | ||
const QList< int > & | pixelY | ||
) | [private] |
void casa::SlicePlot::updatePositionInformation | ( | int | id, |
const QVector< String > & | info | ||
) |
void casa::SlicePlot::updateSelectedRegionId | ( | int | selectedRegionId | ) | [private] |
void casa::SlicePlot::xAxisUnitsChanged | ( | const QString & | units | ) | [slot] |
bool casa::SlicePlot::accumulateSlices [private] |
Definition at line 136 of file SlicePlot.qo.h.
Vector<Int> casa::SlicePlot::axes [private] |
Definition at line 147 of file SlicePlot.qo.h.
const int casa::SlicePlot::AXIS_FONT_SIZE [private] |
Definition at line 143 of file SlicePlot.qo.h.
Vector<Int> casa::SlicePlot::coords [private] |
Definition at line 133 of file SlicePlot.qo.h.
int casa::SlicePlot::currentRegionId [private] |
Definition at line 142 of file SlicePlot.qo.h.
QList<QColor> casa::SlicePlot::curveColors [private] |
Definition at line 128 of file SlicePlot.qo.h.
int casa::SlicePlot::curveWidth [private] |
Definition at line 134 of file SlicePlot.qo.h.
const QString casa::SlicePlot::DISTANCE_AXIS [static] |
Definition at line 86 of file SlicePlot.qo.h.
SliceStatisticsFactory* casa::SlicePlot::factory [private] |
Definition at line 149 of file SlicePlot.qo.h.
bool casa::SlicePlot::fullVersion [private] |
Definition at line 137 of file SlicePlot.qo.h.
ImageInterface<float>* casa::SlicePlot::image [private] |
Definition at line 129 of file SlicePlot.qo.h.
ImageAnalysis* casa::SlicePlot::imageAnalysis [private] |
Definition at line 130 of file SlicePlot.qo.h.
String casa::SlicePlot::interpolationMethod [private] |
Definition at line 144 of file SlicePlot.qo.h.
int casa::SlicePlot::markerSize [private] |
Definition at line 135 of file SlicePlot.qo.h.
bool casa::SlicePlot::polylineColorUnit [private] |
Definition at line 139 of file SlicePlot.qo.h.
const QString casa::SlicePlot::POSITION_X_AXIS [static] |
Definition at line 87 of file SlicePlot.qo.h.
const QString casa::SlicePlot::POSITION_Y_AXIS [static] |
Definition at line 88 of file SlicePlot.qo.h.
int casa::SlicePlot::sampleCount [private] |
Definition at line 141 of file SlicePlot.qo.h.
bool casa::SlicePlot::segmentMarkers [private] |
Definition at line 140 of file SlicePlot.qo.h.
QMap<int, ImageSlice*> casa::SlicePlot::sliceMap [private] |
Definition at line 131 of file SlicePlot.qo.h.
QLayout* casa::SlicePlot::statLayout [private] |
Definition at line 148 of file SlicePlot.qo.h.
const QString casa::SlicePlot::UNIT_X_ARCDEG [static] |
Definition at line 92 of file SlicePlot.qo.h.
const QString casa::SlicePlot::UNIT_X_ARCMIN [static] |
Definition at line 91 of file SlicePlot.qo.h.
const QString casa::SlicePlot::UNIT_X_ARCSEC [static] |
Definition at line 90 of file SlicePlot.qo.h.
const QString casa::SlicePlot::UNIT_X_PIXEL [static] |
Definition at line 89 of file SlicePlot.qo.h.
bool casa::SlicePlot::viewerColors [private] |
Definition at line 138 of file SlicePlot.qo.h.
QString casa::SlicePlot::xAxis [private] |
Definition at line 145 of file SlicePlot.qo.h.
QString casa::SlicePlot::xAxisUnits [private] |
Definition at line 146 of file SlicePlot.qo.h.