casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
casa::QtRegionManager Class Reference

#include <QtRegionManager.qo.h>

Inheritance diagram for casa::QtRegionManager:

Public Slots

void changeAxis (casacore::String, casacore::String, casacore::String)
 
void activate (casacore::Record)
 

Signals

void extendRegion (casacore::String, casacore::String)
 

Public Member Functions

 QtRegionManager (QtDisplayPanel *qdp, QWidget *parent=0)
 
 ~QtRegionManager ()
 
bool planeAllowed (int, casacore::String &, casacore::String &)
 

Protected Slots

void drawRegion (casacore::Record mousereg, WorldCanvasHolder *wch)
 draw region on viewer More...
 
void newRegion_ (casacore::String imgFilename)
 React to new region creation in display panel. More...
 
void loadRegionFromImage ()
 Load region from current displayed image. More...
 
void loadRegionFromFile ()
 Load region from ds9 or aipsbox or rgn file. More...
 
void saveRegionInImage ()
 save region into image More...
 
void saveRegionInFile ()
 react to SaveRgnn, save region to file More...
 
void removeRegion ()
 remove region from image More...
 
void toggleImageRegion ()
 
void zPlaneChanged ()
 
void currentRegionChanged (const QString &)
 
void showHelp ()
 
void showHelpActive ()
 
RSCompositeregionToShape (QtDisplayData *qdd, const casacore::ImageRegion *wcreg)
 convert region to shape More...
 
void cleanup ()
 Cleanup on destruction. More...
 
void deleteActiveBox ()
 
void insertActiveBox ()
 
void singlePlane ()
 set up plane only or extending by channel and pol More...
 
void extendChan ()
 
void extendPol ()
 
void resetRegionExtension ()
 
void loadRegionsImageFromFile ()
 
DisplayDatagetImageData (QString)
 
DisplayDatagetBoundingBoxData (QString)
 
void deleteRegion ()
 delete region from image More...
 
void showHideRegion ()
 show/hide region More...
 
void flashActive ()
 
void exportRegions ()
 

Protected Member Functions

void addRegionsToShape (RSComposite *&theShapes, const casacore::WCRegion *&wcreg)
 
casacore::WCUnionunfoldCompositeRegionToSimpleUnion (const casacore::WCRegion *&wcreg)
 
void displaySelectedRegion ()
 
void showRegion (const casacore::String &regName)
 
bool deleteBox (QString &, int)
 
bool insertBox (QString &)
 
void rotateBox (int)
 
void addRegionToMenu (const QString &, const QString &)
 

Protected Attributes

QtDisplayPanelqdp_
 
QWidget * parent_
 

Private Member Functions

void unfoldIntoSimpleRegionPtrs (casacore::PtrBlock< const casacore::WCRegion * > &outRegPtrs, const casacore::WCRegion *&wcreg)
 

Private Attributes

casacore::PtrBlock< const
casacore::ImageRegion * > 
unionRegions_p
 
std::list< RegionShape * > regShapes_p
 
QHash< QString, DisplayData * > regData
 
QHash< QString, bool > regState
 
QMenu * showHideMenu
 
QMenu * deleteMenu
 
QString activeGroup
 
int activeBox
 
RegionShapeactiveShape
 
QTimer * timer
 
bool flash
 
int cb
 

Detailed Description

Definition at line 63 of file QtRegionManager.qo.h.

Constructor & Destructor Documentation

casa::QtRegionManager::QtRegionManager ( QtDisplayPanel qdp,
QWidget *  parent = 0 
)
casa::QtRegionManager::~QtRegionManager ( )
inline

Definition at line 72 of file QtRegionManager.qo.h.

Member Function Documentation

void casa::QtRegionManager::activate ( casacore::Record  )
slot
void casa::QtRegionManager::addRegionsToShape ( RSComposite *&  theShapes,
const casacore::WCRegion *&  wcreg 
)
protected
void casa::QtRegionManager::addRegionToMenu ( const QString &  ,
const QString &   
)
protected
void casa::QtRegionManager::changeAxis ( casacore::String  ,
casacore::String  ,
casacore::String   
)
slot
void casa::QtRegionManager::cleanup ( )
protectedslot

Cleanup on destruction.

void casa::QtRegionManager::currentRegionChanged ( const QString &  )
protectedslot
void casa::QtRegionManager::deleteActiveBox ( )
protectedslot
bool casa::QtRegionManager::deleteBox ( QString &  ,
int   
)
protected
void casa::QtRegionManager::deleteRegion ( )
protectedslot

delete region from image

void casa::QtRegionManager::displaySelectedRegion ( )
protected
void casa::QtRegionManager::drawRegion ( casacore::Record  mousereg,
WorldCanvasHolder wch 
)
protectedslot

draw region on viewer

void casa::QtRegionManager::exportRegions ( )
protectedslot
void casa::QtRegionManager::extendChan ( )
protectedslot
void casa::QtRegionManager::extendPol ( )
protectedslot
void casa::QtRegionManager::extendRegion ( casacore::String  ,
casacore::String   
)
signal
void casa::QtRegionManager::flashActive ( )
protectedslot
DisplayData* casa::QtRegionManager::getBoundingBoxData ( QString  )
protectedslot
DisplayData* casa::QtRegionManager::getImageData ( QString  )
protectedslot
void casa::QtRegionManager::insertActiveBox ( )
protectedslot
bool casa::QtRegionManager::insertBox ( QString &  )
protected
void casa::QtRegionManager::loadRegionFromFile ( )
protectedslot

Load region from ds9 or aipsbox or rgn file.

void casa::QtRegionManager::loadRegionFromImage ( )
protectedslot

Load region from current displayed image.

void casa::QtRegionManager::loadRegionsImageFromFile ( )
protectedslot
void casa::QtRegionManager::newRegion_ ( casacore::String  imgFilename)
protectedslot

React to new region creation in display panel.

bool casa::QtRegionManager::planeAllowed ( int  ,
casacore::String ,
casacore::String  
)
RSComposite* casa::QtRegionManager::regionToShape ( QtDisplayData qdd,
const casacore::ImageRegion wcreg 
)
protectedslot

convert region to shape

void casa::QtRegionManager::removeRegion ( )
protectedslot

remove region from image

void casa::QtRegionManager::resetRegionExtension ( )
protectedslot
void casa::QtRegionManager::rotateBox ( int  )
protected
void casa::QtRegionManager::saveRegionInFile ( )
protectedslot

react to SaveRgnn, save region to file

void casa::QtRegionManager::saveRegionInImage ( )
protectedslot

save region into image

void casa::QtRegionManager::showHelp ( )
protectedslot
void casa::QtRegionManager::showHelpActive ( )
protectedslot
void casa::QtRegionManager::showHideRegion ( )
protectedslot

show/hide region

void casa::QtRegionManager::showRegion ( const casacore::String regName)
protected
void casa::QtRegionManager::singlePlane ( )
protectedslot

set up plane only or extending by channel and pol

void casa::QtRegionManager::toggleImageRegion ( )
protectedslot
casacore::WCUnion* casa::QtRegionManager::unfoldCompositeRegionToSimpleUnion ( const casacore::WCRegion *&  wcreg)
protected
void casa::QtRegionManager::unfoldIntoSimpleRegionPtrs ( casacore::PtrBlock< const casacore::WCRegion * > &  outRegPtrs,
const casacore::WCRegion *&  wcreg 
)
private
void casa::QtRegionManager::zPlaneChanged ( )
protectedslot

Member Data Documentation

int casa::QtRegionManager::activeBox
private

Definition at line 160 of file QtRegionManager.qo.h.

QString casa::QtRegionManager::activeGroup
private

Definition at line 159 of file QtRegionManager.qo.h.

RegionShape* casa::QtRegionManager::activeShape
private

Definition at line 161 of file QtRegionManager.qo.h.

int casa::QtRegionManager::cb
private

Definition at line 165 of file QtRegionManager.qo.h.

QMenu* casa::QtRegionManager::deleteMenu
private

Definition at line 157 of file QtRegionManager.qo.h.

bool casa::QtRegionManager::flash
private

Definition at line 163 of file QtRegionManager.qo.h.

QWidget* casa::QtRegionManager::parent_
protected

Definition at line 148 of file QtRegionManager.qo.h.

QtDisplayPanel* casa::QtRegionManager::qdp_
protected

Definition at line 147 of file QtRegionManager.qo.h.

QHash<QString, DisplayData*> casa::QtRegionManager::regData
private

Definition at line 154 of file QtRegionManager.qo.h.

std::list<RegionShape*> casa::QtRegionManager::regShapes_p
private

Definition at line 152 of file QtRegionManager.qo.h.

QHash<QString, bool> casa::QtRegionManager::regState
private

Definition at line 155 of file QtRegionManager.qo.h.

QMenu* casa::QtRegionManager::showHideMenu
private

Definition at line 156 of file QtRegionManager.qo.h.

QTimer* casa::QtRegionManager::timer
private

Definition at line 162 of file QtRegionManager.qo.h.

casacore::PtrBlock<const casacore::ImageRegion * > casa::QtRegionManager::unionRegions_p
private

Definition at line 151 of file QtRegionManager.qo.h.


The documentation for this class was generated from the following file: