casa
$Rev:20696$
|
#include <FileBox.qo.h>
Public Slots | |
void | drawRegion (Record mousereg, WorldCanvasHolder *wch) |
handle double click that announces a box is ready | |
void | newRegion_ (String imgFilename) |
React to new region creation in display panel. | |
void | changeAxis (String, String, String, std::vector< int >) |
handle switch display axis | |
void | activate (Record) |
handle single click to select a box | |
void | wcChanged (const String, const Vector< Double >, const Vector< Double >) |
this is not used, it emits for any wc change, too often | |
virtual void | closeEvent (QCloseEvent *event) |
Signals | |
void | hideFileBox () |
Public Member Functions | |
FileBox (QtDisplayPanel *qdp) | |
~FileBox () | |
Protected Slots | |
void | loadRegionFromFile () |
load masks from a file | |
void | saveRegionToFile () |
save masks to a file | |
void | deleteAll () |
delete all masks | |
void | showHideAll () |
toggle show or hide, but does not delete any | |
void | colorAll (const QString &) |
use a different color | |
void | doIt () |
the work horse for all the edit commands | |
void | showHelp () |
show help text | |
void | reShape (const QString &) |
create new box of this shape | |
void | zPlaneChanged () |
void | pPlaneChanged () |
Protected Member Functions | |
void | rotateBox (int cb) |
void | addBox (RegionShape *) |
void | deleteBox (RegionShape *) |
void | reDraw () |
void | addRegionsToShape (RSComposite *&theShapes, const WCRegion *&wcreg) |
WCUnion * | unfoldCompositeRegionToSimpleUnion (const WCRegion *&wcreg) |
void | unfoldIntoSimpleRegionPtrs (PtrBlock< const WCRegion * > &outRegPtrs, const WCRegion *&wcreg) |
RSComposite * | regionToShape (QtDisplayData *qdd, const ImageRegion *wcreg) |
convert region to shape | |
bool | planeAllowed (String, String) |
bool | chanAllowed (const Double, const Double) |
bool | polAllowed (const Double, const Double) |
Private Attributes | |
QtDisplayPanel * | qdp_ |
PtrBlock< const ImageRegion * > | unionRegions_p |
DisplayData * | regData |
RegionShape * | activeShape |
QTimer * | timer |
bool | flash |
int | cb |
int | zIndex |
int | pIndex |
String | zAxis |
QGroupBox * | tGroup |
QPushButton * | load |
QPushButton * | save |
QPushButton * | showHide |
QPushButton * | removeAll |
QComboBox * | color |
QLineEdit * | chan |
QLineEdit * | corr |
Definition at line 51 of file FileBox.qo.h.
casa::FileBox::FileBox | ( | QtDisplayPanel * | qdp | ) |
casa::FileBox::~FileBox | ( | ) | [inline] |
Definition at line 58 of file FileBox.qo.h.
void casa::FileBox::activate | ( | Record | ) | [slot] |
handle single click to select a box
void casa::FileBox::addBox | ( | RegionShape * | ) | [protected] |
void casa::FileBox::addRegionsToShape | ( | RSComposite *& | theShapes, |
const WCRegion *& | wcreg | ||
) | [protected] |
bool casa::FileBox::chanAllowed | ( | const Double | , |
const Double | |||
) | [protected] |
void casa::FileBox::changeAxis | ( | String | , |
String | , | ||
String | , | ||
std::vector< int > | |||
) | [slot] |
handle switch display axis
virtual void casa::FileBox::closeEvent | ( | QCloseEvent * | event | ) | [virtual, slot] |
void casa::FileBox::colorAll | ( | const QString & | ) | [protected, slot] |
use a different color
void casa::FileBox::deleteAll | ( | ) | [protected, slot] |
delete all masks
void casa::FileBox::deleteBox | ( | RegionShape * | ) | [protected] |
void casa::FileBox::doIt | ( | ) | [protected, slot] |
the work horse for all the edit commands
void casa::FileBox::drawRegion | ( | Record | mousereg, |
WorldCanvasHolder * | wch | ||
) | [slot] |
handle double click that announces a box is ready
void casa::FileBox::hideFileBox | ( | ) | [signal] |
void casa::FileBox::loadRegionFromFile | ( | ) | [protected, slot] |
load masks from a file
void casa::FileBox::newRegion_ | ( | String | imgFilename | ) | [slot] |
React to new region creation in display panel.
bool casa::FileBox::planeAllowed | ( | String | , |
String | |||
) | [protected] |
bool casa::FileBox::polAllowed | ( | const Double | , |
const Double | |||
) | [protected] |
void casa::FileBox::pPlaneChanged | ( | ) | [protected, slot] |
void casa::FileBox::reDraw | ( | ) | [protected] |
RSComposite* casa::FileBox::regionToShape | ( | QtDisplayData * | qdd, |
const ImageRegion * | wcreg | ||
) | [protected] |
convert region to shape
void casa::FileBox::reShape | ( | const QString & | ) | [protected, slot] |
create new box of this shape
void casa::FileBox::rotateBox | ( | int | cb | ) | [protected] |
void casa::FileBox::saveRegionToFile | ( | ) | [protected, slot] |
save masks to a file
void casa::FileBox::showHelp | ( | ) | [protected, slot] |
show help text
void casa::FileBox::showHideAll | ( | ) | [protected, slot] |
toggle show or hide, but does not delete any
WCUnion* casa::FileBox::unfoldCompositeRegionToSimpleUnion | ( | const WCRegion *& | wcreg | ) | [protected] |
void casa::FileBox::unfoldIntoSimpleRegionPtrs | ( | PtrBlock< const WCRegion * > & | outRegPtrs, |
const WCRegion *& | wcreg | ||
) | [protected] |
void casa::FileBox::wcChanged | ( | const String | , |
const Vector< Double > | , | ||
const Vector< Double > | |||
) | [slot] |
this is not used, it emits for any wc change, too often
void casa::FileBox::zPlaneChanged | ( | ) | [protected, slot] |
RegionShape* casa::FileBox::activeShape [private] |
Definition at line 140 of file FileBox.qo.h.
int casa::FileBox::cb [private] |
Definition at line 145 of file FileBox.qo.h.
QLineEdit* casa::FileBox::chan [private] |
Definition at line 158 of file FileBox.qo.h.
QComboBox* casa::FileBox::color [private] |
Definition at line 156 of file FileBox.qo.h.
QLineEdit* casa::FileBox::corr [private] |
Definition at line 159 of file FileBox.qo.h.
bool casa::FileBox::flash [private] |
Definition at line 143 of file FileBox.qo.h.
QPushButton* casa::FileBox::load [private] |
Definition at line 152 of file FileBox.qo.h.
int casa::FileBox::pIndex [private] |
Definition at line 147 of file FileBox.qo.h.
QtDisplayPanel* casa::FileBox::qdp_ [private] |
Definition at line 135 of file FileBox.qo.h.
DisplayData* casa::FileBox::regData [private] |
Definition at line 138 of file FileBox.qo.h.
QPushButton* casa::FileBox::removeAll [private] |
Definition at line 155 of file FileBox.qo.h.
QPushButton* casa::FileBox::save [private] |
Definition at line 153 of file FileBox.qo.h.
QPushButton* casa::FileBox::showHide [private] |
Definition at line 154 of file FileBox.qo.h.
QGroupBox* casa::FileBox::tGroup [private] |
Definition at line 151 of file FileBox.qo.h.
QTimer* casa::FileBox::timer [private] |
Definition at line 142 of file FileBox.qo.h.
PtrBlock<const ImageRegion*> casa::FileBox::unionRegions_p [private] |
Definition at line 137 of file FileBox.qo.h.
String casa::FileBox::zAxis [private] |
Definition at line 148 of file FileBox.qo.h.
int casa::FileBox::zIndex [private] |
Definition at line 146 of file FileBox.qo.h.