casa::MakeRegion Class Reference
#include <MakeRegion.qo.h>
List of all members.
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 |
Detailed Description
Definition at line 51 of file MakeRegion.qo.h.
Constructor & Destructor Documentation
casa::MakeRegion::~MakeRegion |
( |
|
) |
[inline] |
Member Function Documentation
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] |
virtual void casa::MakeRegion::closeEvent |
( |
QCloseEvent * |
event |
) |
[virtual, slot] |
void casa::MakeRegion::colorAll |
( |
const QString & |
|
) |
[protected, slot] |
void casa::MakeRegion::deleteAll |
( |
|
) |
[protected, slot] |
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] |
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] |
void casa::MakeRegion::showHelp |
( |
|
) |
[protected, slot] |
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] |
Member Data Documentation
The documentation for this class was generated from the following file: