casa
$Rev:20696$
|
#include <MakeRegion.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, 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 | hideRegionInImage () |
Public Member Functions | |
MakeRegion (QtDisplayPanel *qdp) | |
~MakeRegion () | |
Protected Slots | |
void | loadRegionFromImage () |
load masks from the image | |
void | saveRegionToImage () |
save masks to the image | |
void | deleteRegionFromImage () |
delete region from the image | |
void | deleteAll () |
delete all masks | |
void | showHideAll () |
toggle show or hide, but does not delete any | |
void | showHideGroup () |
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) |
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 * | removeAll |
QMenu * | showHideMenu |
QPushButton * | showHide |
QComboBox * | color |
QLineEdit * | chan |
QLineEdit * | corr |
QLineEdit * | name |
QPushButton * | load |
QPushButton * | save |
Definition at line 51 of file MakeRegion.qo.h.
casa::MakeRegion::~MakeRegion | ( | ) | [inline] |
Definition at line 58 of file MakeRegion.qo.h.
void casa::MakeRegion::activate | ( | Record | ) | [slot] |
handle single click to select a box
void casa::MakeRegion::addBox | ( | RegionShape * | ) | [protected] |
void casa::MakeRegion::addRegionsToShape | ( | RSComposite *& | theShapes, |
const WCRegion *& | wcreg | ||
) | [protected] |
void casa::MakeRegion::changeAxis | ( | String | , |
String | , | ||
String | , | ||
int | |||
) | [slot] |
handle switch display axis
virtual void casa::MakeRegion::closeEvent | ( | QCloseEvent * | event | ) | [virtual, slot] |
void casa::MakeRegion::colorAll | ( | const QString & | ) | [protected, slot] |
use a different color
void casa::MakeRegion::deleteAll | ( | ) | [protected, slot] |
delete all masks
void casa::MakeRegion::deleteBox | ( | RegionShape * | ) | [protected] |
void casa::MakeRegion::deleteRegionFromImage | ( | ) | [protected, slot] |
delete region from the image
void casa::MakeRegion::doIt | ( | ) | [protected, slot] |
the work horse for all the edit commands
void casa::MakeRegion::drawRegion | ( | Record | mousereg, |
WorldCanvasHolder * | wch | ||
) | [slot] |
handle double click that announces a box is ready
void casa::MakeRegion::hideRegionInImage | ( | ) | [signal] |
void casa::MakeRegion::loadRegionFromImage | ( | ) | [protected, slot] |
load masks from the image
void casa::MakeRegion::newRegion_ | ( | String | imgFilename | ) | [slot] |
React to new region creation in display panel.
bool casa::MakeRegion::planeAllowed | ( | String | , |
String | |||
) | [protected] |
void casa::MakeRegion::pPlaneChanged | ( | ) | [protected, slot] |
void casa::MakeRegion::reDraw | ( | ) | [protected] |
RSComposite* casa::MakeRegion::regionToShape | ( | QtDisplayData * | qdd, |
const ImageRegion * | wcreg | ||
) | [protected] |
convert region to shape
void casa::MakeRegion::reShape | ( | const QString & | ) | [protected, slot] |
create new box of this shape
void casa::MakeRegion::rotateBox | ( | int | cb | ) | [protected] |
void casa::MakeRegion::saveRegionToImage | ( | ) | [protected, slot] |
save masks to the image
void casa::MakeRegion::showHelp | ( | ) | [protected, slot] |
show help text
void casa::MakeRegion::showHideAll | ( | ) | [protected, slot] |
toggle show or hide, but does not delete any
void casa::MakeRegion::showHideGroup | ( | ) | [protected, slot] |
toggle show or hide, but does not delete any
WCUnion* casa::MakeRegion::unfoldCompositeRegionToSimpleUnion | ( | const WCRegion *& | wcreg | ) | [protected] |
void casa::MakeRegion::unfoldIntoSimpleRegionPtrs | ( | PtrBlock< const WCRegion * > & | outRegPtrs, |
const WCRegion *& | wcreg | ||
) | [protected] |
void casa::MakeRegion::wcChanged | ( | const String | , |
const Vector< Double > | , | ||
const Vector< Double > | |||
) | [slot] |
this is not used, it emits for any wc change, too often
void casa::MakeRegion::zPlaneChanged | ( | ) | [protected, slot] |
RegionShape* casa::MakeRegion::activeShape [private] |
Definition at line 144 of file MakeRegion.qo.h.
int casa::MakeRegion::cb [private] |
Definition at line 149 of file MakeRegion.qo.h.
QLineEdit* casa::MakeRegion::chan [private] |
Definition at line 160 of file MakeRegion.qo.h.
QComboBox* casa::MakeRegion::color [private] |
Definition at line 158 of file MakeRegion.qo.h.
QLineEdit* casa::MakeRegion::corr [private] |
Definition at line 161 of file MakeRegion.qo.h.
bool casa::MakeRegion::flash [private] |
Definition at line 147 of file MakeRegion.qo.h.
QPushButton* casa::MakeRegion::load [private] |
Definition at line 163 of file MakeRegion.qo.h.
QLineEdit* casa::MakeRegion::name [private] |
Definition at line 162 of file MakeRegion.qo.h.
int casa::MakeRegion::pIndex [private] |
Definition at line 151 of file MakeRegion.qo.h.
QtDisplayPanel* casa::MakeRegion::qdp_ [private] |
Definition at line 139 of file MakeRegion.qo.h.
DisplayData* casa::MakeRegion::regData [private] |
Definition at line 142 of file MakeRegion.qo.h.
QPushButton* casa::MakeRegion::removeAll [private] |
Definition at line 155 of file MakeRegion.qo.h.
QPushButton* casa::MakeRegion::save [private] |
Definition at line 164 of file MakeRegion.qo.h.
QPushButton* casa::MakeRegion::showHide [private] |
Definition at line 157 of file MakeRegion.qo.h.
QMenu* casa::MakeRegion::showHideMenu [private] |
Definition at line 156 of file MakeRegion.qo.h.
QGroupBox* casa::MakeRegion::tGroup [private] |
Definition at line 154 of file MakeRegion.qo.h.
QTimer* casa::MakeRegion::timer [private] |
Definition at line 146 of file MakeRegion.qo.h.
PtrBlock<const ImageRegion*> casa::MakeRegion::unionRegions_p [private] |
Definition at line 141 of file MakeRegion.qo.h.
String casa::MakeRegion::zAxis [private] |
Definition at line 152 of file MakeRegion.qo.h.
int casa::MakeRegion::zIndex [private] |
Definition at line 150 of file MakeRegion.qo.h.