25 #ifndef MOMENTSETTINGSWIDGETRADIO_QO_H
26 #define MOMENTSETTINGSWIDGETRADIO_QO_H
31 #include <QProgressDialog>
35 #include <display/QtPlotter/MomentSettingsWidgetRadio.ui.h>
40 template <
class T>
class ImageInterface;
45 class MomentCollapseThreadRadio;
46 class ThresholdingBinPlotDialog;
61 std::shared_ptr<casacore::ImageInterface<float> >
getImage()
const {
69 std::shared_ptr<casacore::ImageInterface<float> >
image;
89 std::vector<CollapseResult>
getResults()
const;
179 Ui::MomentSettingsWidgetRadio
ui;
195 void getChannelMinMax(
int channelIndex, QString& minStr, QString& maxStr )
const;
198 Converter* converter,
int row,
int col,
bool toPixels,
210 #endif // MOMENTSETTINGSWIDGETRADIO_QO_H
void stepCountChanged(int count)
void stepsCompletedChanged(int count)
casacore::Vector< casacore::String > method
casacore::String getOutputFileName() const
This class generates moments from an image.
casacore::Vector< casacore::String > smoothtypes
void setChannelStr(casacore::String str)
bool getOutputFileName(casacore::String &outName, int moment, const casacore::String &channelStr) const
std::shared_ptr< casacore::ImageInterface< float > > image
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
casacore::Vector< QString > momentNames
CollapseResult(const casacore::String &outputName, bool tmp, std::shared_ptr< casacore::ImageInterface< float >> img)
ImageMoments< float > * analysis
void setMomentNames(const casacore::Vector< QString > &momentNames)
~MomentCollapseThreadRadio()
std::vector< CollapseResult > getResults() const
Note: ImageMomentsProgressMonitor is an interface that provides this class with updates concerning th...
bool isTemporaryOutput() const
This is just an interface class for monitoring the progress of collapsing and image through calculati...
void setStepCount(int count)
Methods from the ImageMomentsProgressMonitor interface.
std::shared_ptr< casacore::ImageInterface< float > > getImage() const
casacore::Vector< int > smoothaxes
std::vector< CollapseResult > collapseResults
A hierarchical collection of named fields of various types.
void setOutputFileName(QString name)
casacore::String channelStr
Interconvert pixel and frequency values.
This dialog displays a histogram that allows the user to set a minimum/maximum moment collapse thresh...
casacore::Vector< float > includepix
void setStepsCompleted(int count)
String: the storage and methods of handling collections of characters.
MomentCollapseThreadRadio(ImageMoments< float > *imageAnalysis)
void setData(const casacore::Vector< int > &moments, const int axis, const casacore::Vector< casacore::String > &method, const casacore::Vector< int > &smoothaxes, const casacore::Vector< casacore::String > &smoothtypes, const casacore::Vector< casacore::Quantity > &smoothwidths, const casacore::Vector< float > &includepix, const casacore::Vector< float > &excludepix, const double peaksnr, const double stddev, const casacore::String &doppler="RADIO", const casacore::String &baseName="")
casacore::Vector< int > moments
casacore::String baseName
casacore::Vector< float > excludepix
casacore::Vector< casacore::Quantity > smoothwidths
casacore::String getErrorMessage() const
casacore::String errorMsg
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
casacore::String outputFileName