55 QList<QColor> accumulateCurveColors);
70 bool toAscii(
const QString& fileName );
98 const QList<double> & linearX,
const QList<double> & linearY,
99 const QList<int> &pixelX,
const QList<int> & pixelY);
100 void setXAxis(
const QString& newAxis );
113 void initAxisFont(
int axisId,
const QString& axisTitle );
118 const QList<double>& worldY,
const QList<int>& pixelX,
119 const QList<int>& pixelY);
127 std::shared_ptr<casacore::ImageInterface<float> >
image;
void clearCurves()
Wipe out only the curves that shouldn't be displayed under the current settings.
void setViewerCurveColor(int regionId, const QString &colorName)
void setStatisticsLayout(QLayout *layout)
static const QString DISTANCE_AXIS
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 setInterpolationMethod(const casacore::String &method)
void xAxisUnitsChanged(const QString &units)
SliceStatisticsFactory * factory
void markPositionChanged(int regionId, int segmentIndex, float percentage)
QString getAxisLabel() const
static const QString UNIT_X_ARCSEC
static const QString UNIT_X_ARCDEG
static const QString UNIT_X_PIXEL
void resetExistingCurveColors()
static const QString UNIT_X_ARCMIN
QList< QColor > curveColors
QMap< int, ImageSlice * > sliceMap
void setSampleCount(int sampleCount)
Setting slice parameters.
void setImage(std::shared_ptr< casacore::ImageInterface< float > > img)
Data.
void updateSelectedRegionId(int selectedRegionId)
static const QString POSITION_X_AXIS
void addPlotCurve(int regionId)
void setPlotPreferences(int lineWidth, int markerSize)
casacore::Vector< int > axes
Specialization for Quantum<Vector<T> >
void clearCurvesAll()
Wipe out all curves.
int getColorIndex(int regionId) const
void sliceFinished(int regionId)
void markerVisibilityChanged(int regionId, bool showMarker)
casacore::String interpolationMethod
SlicePlot(QWidget *parent=NULL, bool fullVersion=false)
void deletePolyLine(int regionId)
std::shared_ptr< casacore::ImageInterface< float > > image
void resetCurveColors(bool viewerColors, bool polylineColorUnit, QList< QColor > accumulateCurveColors)
Look and feel.
Represents a slice cut of an image.
bool toAscii(const QString &fileName)
ImageSlice * getSlicerFor(int regionId)
SlicePlot operator=(const SlicePlot &other)
void markVisibilityChanged(int regionId, bool showMarker)
void addStatistic(int regionId)
Statistics.
void updateChannel(int channel)
void segmentMarkerVisibilityChanged(bool visible)
void setXAxis(const QString &newAxis)
void removeStatistic(int regionId)
bool setRegionSelected(int regionId, bool selected)
void setAccumulateSlices(bool accumulate)
void updatePositionInformation(int id, const QVector< casacore::String > &info)
void initAxisFont(int axisId, const QString &axisTitle)
void markerPositionChanged(int regionId, int segmentIndex, float percentage)
SliceStatisticsFactory::AxisXUnits getUnitMode() const
int assignCurveColors(int initialColorIndex, int regionId)
void setUseViewerColors(bool viewerColors)
String: the storage and methods of handling collections of characters.
casacore::Vector< int > coords
GRID LAYOUT CLASSES casacore::Coordinate for a grid layout
static const QString POSITION_Y_AXIS
SliceStatisticsFactory::AxisXChoice getXAxis() const
Returns SliceStatistics appropriate to what is displayed on the x-axis and the units being used...
bool isFullVersion() const