casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Slots | Private Member Functions | Private Attributes
casa::ImageSlice Class Reference

Represents a slice cut of an image. More...

#include <ImageSlice.qo.h>

List of all members.

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

SliceStatisticsstatistics
int markerSize
int curveWidth
int regionId
bool selected
bool useViewerColors
bool showCorners
bool polylineUnit
bool minimized
QColor viewerColor
QList< QColor > segmentColors
SliceWorkersliceWorker
QList< SliceSegment * > segments
QList< QwtPlotMarker * > segmentCorners
ImageSliceColorBarcolorBar
Ui::ImageSliceClass ui

Detailed Description

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.


Constructor & Destructor Documentation

casa::ImageSlice::ImageSlice ( int  id,
QWidget *  parent = NULL 
)
virtual casa::ImageSlice::~ImageSlice ( ) [virtual]
casa::ImageSlice::ImageSlice ( const ImageSlice other) [private]

Member Function Documentation

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]
QColor casa::ImageSlice::getCurveColor ( int  index) const
void casa::ImageSlice::openCloseDisplay ( ) [private, slot]
ImageSlice casa::ImageSlice::operator= ( const ImageSlice other) [private]
void casa::ImageSlice::removeSegment ( SliceSegment segment) [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::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)

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)

Member Data Documentation

Definition at line 121 of file ImageSlice.qo.h.

Definition at line 109 of file ImageSlice.qo.h.

Definition at line 108 of file ImageSlice.qo.h.

Definition at line 115 of file ImageSlice.qo.h.

Definition at line 114 of file ImageSlice.qo.h.

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.

Definition at line 119 of file ImageSlice.qo.h.

Definition at line 111 of file ImageSlice.qo.h.

Definition at line 113 of file ImageSlice.qo.h.

Definition at line 118 of file ImageSlice.qo.h.

Definition at line 104 of file ImageSlice.qo.h.

Ui::ImageSliceClass casa::ImageSlice::ui [private]

Definition at line 122 of file ImageSlice.qo.h.

Definition at line 112 of file ImageSlice.qo.h.

Definition at line 116 of file ImageSlice.qo.h.


The documentation for this class was generated from the following file: