42 #include <QPushButton>
82 virtual void closeEvent ( QCloseEvent * event );
void showHideAll()
toggle show or hide, but does not delete any
void deleteAll()
delete all masks
void doIt()
the work horse for all the edit commands
RegionShape * activeShape
casacore::WCUnion * unfoldCompositeRegionToSimpleUnion(const casacore::WCRegion *&wcreg)
bool planeAllowed(casacore::String, casacore::String)
void loadRegionFromFile()
load masks from a file
virtual void closeEvent(QCloseEvent *event)
bool polAllowed(const double, const double)
Subclass of RegionShape used for drawing composite regions.
void changeAxis(casacore::String, casacore::String, casacore::String, std::vector< int >)
handle switch display axis
void wcChanged(const casacore::String, const casacore::Vector< double >, const casacore::Vector< double >)
this is not used, it emits for any wc change, too often
void addBox(RegionShape *)
void drawRegion(casacore::Record mousereg, WorldCanvasHolder *wch)
handle double click that announces a box is ready
void addRegionsToShape(RSComposite *&theShapes, const casacore::WCRegion *&wcreg)
void deleteBox(RegionShape *)
void reShape(const QString &)
create new box of this shape
void activate(casacore::Record)
handle single click to select a box
void saveRegionToFile()
save masks to a file
casacore::PtrBlock< const casacore::ImageRegion * > unionRegions_p
A hierarchical collection of named fields of various types.
Parent class for all RegionShapes.
void showHelp()
show help text
void unfoldIntoSimpleRegionPtrs(casacore::PtrBlock< const casacore::WCRegion * > &outRegPtrs, const casacore::WCRegion *&wcreg)
Class to hold a region of interest in an image.
A holder to interface between DisplayDatas and a WorldCanvas.
Base class to define world coordinate regions of interest in an image.
String: the storage and methods of handling collections of characters.
RSComposite * regionToShape(QtDisplayData *qdd, const casacore::ImageRegion *wcreg)
convert region to shape
void colorAll(const QString &)
use a different color
Base class for display objects.
void newRegion_(casacore::String imgFilename)
React to new region creation in display panel.
FileBox(QtDisplayPanel *qdp)
Make the union of 2 or more image regions.
bool chanAllowed(const double, const double)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.