casa::MakeMask Class Reference
#include <MakeMask.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, 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 | hideRegionInFile () |
Public Member Functions |
| MakeMask (QtDisplayPanel *qdp) |
| ~MakeMask () |
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) |
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 |
Detailed Description
Definition at line 51 of file MakeMask.qo.h.
Constructor & Destructor Documentation
casa::MakeMask::~MakeMask |
( |
|
) |
[inline] |
Member Function Documentation
void casa::MakeMask::activate |
( |
Record |
|
) |
[slot] |
handle single click to select a box
void casa::MakeMask::addBox |
( |
RegionShape * |
|
) |
[protected] |
void casa::MakeMask::addRegionsToShape |
( |
RSComposite *& |
theShapes, |
|
|
const WCRegion *& |
wcreg | |
|
) |
| | [protected] |
void casa::MakeMask::changeAxis |
( |
String |
, |
|
|
String |
, |
|
|
String |
, |
|
|
std::vector< int > |
| |
|
) |
| | [slot] |
virtual void casa::MakeMask::closeEvent |
( |
QCloseEvent * |
event |
) |
[virtual, slot] |
void casa::MakeMask::colorAll |
( |
const QString & |
|
) |
[protected, slot] |
void casa::MakeMask::deleteAll |
( |
|
) |
[protected, slot] |
void casa::MakeMask::deleteBox |
( |
RegionShape * |
|
) |
[protected] |
void casa::MakeMask::doIt |
( |
|
) |
[protected, slot] |
the work horse for all the edit commands
handle double click that announces a box is ready
void casa::MakeMask::hideRegionInFile |
( |
|
) |
[signal] |
void casa::MakeMask::loadRegionFromFile |
( |
|
) |
[protected, slot] |
void casa::MakeMask::newRegion_ |
( |
String |
imgFilename |
) |
[slot] |
React to new region creation in display panel.
bool casa::MakeMask::planeAllowed |
( |
String |
, |
|
|
String |
| |
|
) |
| | [protected] |
void casa::MakeMask::pPlaneChanged |
( |
|
) |
[protected, slot] |
void casa::MakeMask::reDraw |
( |
|
) |
[protected] |
void casa::MakeMask::reShape |
( |
const QString & |
|
) |
[protected, slot] |
create new box of this shape
void casa::MakeMask::rotateBox |
( |
int |
cb |
) |
[protected] |
void casa::MakeMask::saveRegionToFile |
( |
|
) |
[protected, slot] |
void casa::MakeMask::showHelp |
( |
|
) |
[protected, slot] |
void casa::MakeMask::showHideAll |
( |
|
) |
[protected, slot] |
toggle show or hide, but does not delete any
WCUnion* casa::MakeMask::unfoldCompositeRegionToSimpleUnion |
( |
const WCRegion *& |
wcreg |
) |
[protected] |
void casa::MakeMask::unfoldIntoSimpleRegionPtrs |
( |
PtrBlock< const WCRegion * > & |
outRegPtrs, |
|
|
const WCRegion *& |
wcreg | |
|
) |
| | [protected] |
void casa::MakeMask::wcChanged |
( |
const |
String, |
|
|
const Vector< Double > |
, |
|
|
const Vector< Double > |
| |
|
) |
| | [slot] |
this is not used, it emits for any wc change, too often
void casa::MakeMask::zPlaneChanged |
( |
|
) |
[protected, slot] |
Member Data Documentation
The documentation for this class was generated from the following file: