42 #include <QPushButton>
void reShape(const QString &)
create new box of this shape
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
bool planeAllowed(casacore::String, casacore::String)
void changeAxis(casacore::String, casacore::String, casacore::String, int)
handle switch display axis
void doIt()
the work horse for all the edit commands
void activate(casacore::Record)
handle single click to select a box
RegionShape * activeShape
Subclass of RegionShape used for drawing composite regions.
void showHideAll()
toggle show or hide, but does not delete any
void saveRegionToImage()
save masks to the image
void showHelp()
show help text
void addBox(RegionShape *)
void unfoldIntoSimpleRegionPtrs(casacore::PtrBlock< const casacore::WCRegion * > &outRegPtrs, const casacore::WCRegion *&wcreg)
casacore::PtrBlock< const casacore::ImageRegion * > unionRegions_p
void deleteAll()
delete all masks
void drawRegion(casacore::Record mousereg, WorldCanvasHolder *wch)
handle double click that announces a box is ready
void deleteRegionFromImage()
delete region from the image
void addRegionsToShape(RSComposite *&theShapes, const casacore::WCRegion *&wcreg)
void colorAll(const QString &)
use a different color
A hierarchical collection of named fields of various types.
Parent class for all RegionShapes.
MakeRegion(QtDisplayPanel *qdp)
casacore::WCUnion * unfoldCompositeRegionToSimpleUnion(const casacore::WCRegion *&wcreg)
void showHideGroup()
toggle show or hide, but does not delete any
Class to hold a region of interest in an image.
virtual void closeEvent(QCloseEvent *event)
void newRegion_(casacore::String imgFilename)
React to new region creation in display panel.
RSComposite * regionToShape(QtDisplayData *qdd, const casacore::ImageRegion *wcreg)
convert region to shape
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.
Base class for display objects.
void loadRegionFromImage()
load masks from the image
Make the union of 2 or more image regions.
void deleteBox(RegionShape *)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.