30 #ifndef QTREGIONMANAGER_H
31 #define QTREGIONMANAGER_H
45 #include <display/QtViewer/QtRegionMgr.ui.h>
54 template <
class T>
class PtrBlock;
void deleteRegion()
delete region from image
QHash< QString, bool > regState
bool insertBox(QString &)
void addRegionsToShape(RSComposite *&theShapes, const casacore::WCRegion *&wcreg)
void saveRegionInImage()
save region into image
Subclass of RegionShape used for drawing composite regions.
void singlePlane()
set up plane only or extending by channel and pol
void displaySelectedRegion()
QHash< QString, DisplayData * > regData
DisplayData * getImageData(QString)
void extendRegion(casacore::String, casacore::String)
void loadRegionFromImage()
Load region from current displayed image.
void addRegionToMenu(const QString &, const QString &)
casacore::WCUnion * unfoldCompositeRegionToSimpleUnion(const casacore::WCRegion *&wcreg)
QtRegionManager(QtDisplayPanel *qdp, QWidget *parent=0)
void changeAxis(casacore::String, casacore::String, casacore::String)
void showHideRegion()
show/hide region
void loadRegionsImageFromFile()
DisplayData * getBoundingBoxData(QString)
A hierarchical collection of named fields of various types.
void cleanup()
Cleanup on destruction.
Parent class for all RegionShapes.
RSComposite * regionToShape(QtDisplayData *qdd, const casacore::ImageRegion *wcreg)
convert region to shape
casacore::PtrBlock< const casacore::ImageRegion * > unionRegions_p
A drop-in replacement for Block<T*>.
void activate(casacore::Record)
void resetRegionExtension()
Class to hold a region of interest in an image.
void newRegion_(casacore::String imgFilename)
React to new region creation in display panel.
RegionShape * activeShape
bool planeAllowed(int, casacore::String &, casacore::String &)
A holder to interface between DisplayDatas and a WorldCanvas.
void loadRegionFromFile()
Load region from ds9 or aipsbox or rgn file.
void unfoldIntoSimpleRegionPtrs(casacore::PtrBlock< const casacore::WCRegion * > &outRegPtrs, const casacore::WCRegion *&wcreg)
Base class to define world coordinate regions of interest in an image.
std::list< RegionShape * > regShapes_p
bool deleteBox(QString &, int)
String: the storage and methods of handling collections of characters.
Base class for display objects.
void currentRegionChanged(const QString &)
Make the union of 2 or more image regions.
void showRegion(const casacore::String ®Name)
void removeRegion()
remove region from image
void drawRegion(casacore::Record mousereg, WorldCanvasHolder *wch)
draw region on viewer
void saveRegionInFile()
react to SaveRgnn, save region to file
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.