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