casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
casa::QtRegionManager Class Reference

#include <QtRegionManager.qo.h>

List of all members.

Public Slots

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

Signals

void extendRegion (String, String)

Public Member Functions

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

Protected Slots

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

Protected Member Functions

void addRegionsToShape (RSComposite *&theShapes, const WCRegion *&wcreg)
WCUnionunfoldCompositeRegionToSimpleUnion (const WCRegion *&wcreg)
void displaySelectedRegion ()
void showRegion (const 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 (PtrBlock< const WCRegion * > &outRegPtrs, const WCRegion *&wcreg)

Private Attributes

PtrBlock< const ImageRegion * > unionRegions_p
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 59 of file QtRegionManager.qo.h.


Constructor & Destructor Documentation

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

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


Member Function Documentation

void casa::QtRegionManager::addRegionsToShape ( RSComposite *&  theShapes,
const WCRegion *&  wcreg 
) [protected]
void casa::QtRegionManager::addRegionToMenu ( const QString &  ,
const QString &   
) [protected]
void casa::QtRegionManager::changeAxis ( String  ,
String  ,
String   
) [slot]
void casa::QtRegionManager::cleanup ( ) [protected, slot]

Cleanup on destruction.

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

delete region from image

void casa::QtRegionManager::drawRegion ( Record  mousereg,
WorldCanvasHolder wch 
) [protected, slot]

draw region on viewer

void casa::QtRegionManager::exportRegions ( ) [protected, slot]
void casa::QtRegionManager::extendChan ( ) [protected, slot]
void casa::QtRegionManager::extendPol ( ) [protected, slot]
void casa::QtRegionManager::flashActive ( ) [protected, slot]
DisplayData* casa::QtRegionManager::getBoundingBoxData ( QString  ) [protected, slot]
DisplayData* casa::QtRegionManager::getImageData ( QString  ) [protected, slot]
void casa::QtRegionManager::insertActiveBox ( ) [protected, slot]
bool casa::QtRegionManager::insertBox ( QString &  ) [protected]
void casa::QtRegionManager::loadRegionFromFile ( ) [protected, slot]

Load region from ds9 or aipsbox or rgn file.

void casa::QtRegionManager::loadRegionFromImage ( ) [protected, slot]

Load region from current displayed image.

void casa::QtRegionManager::newRegion_ ( String  imgFilename) [protected, slot]

React to new region creation in display panel.

bool casa::QtRegionManager::planeAllowed ( int  ,
String ,
String  
)
RSComposite* casa::QtRegionManager::regionToShape ( QtDisplayData qdd,
const ImageRegion wcreg 
) [protected, slot]

convert region to shape

void casa::QtRegionManager::removeRegion ( ) [protected, slot]

remove region from image

void casa::QtRegionManager::resetRegionExtension ( ) [protected, slot]
void casa::QtRegionManager::rotateBox ( int  ) [protected]
void casa::QtRegionManager::saveRegionInFile ( ) [protected, slot]

react to SaveRgnn, save region to file

void casa::QtRegionManager::saveRegionInImage ( ) [protected, slot]

save region into image

void casa::QtRegionManager::showHelp ( ) [protected, slot]
void casa::QtRegionManager::showHelpActive ( ) [protected, slot]
void casa::QtRegionManager::showHideRegion ( ) [protected, slot]

show/hide region

void casa::QtRegionManager::showRegion ( const String regName) [protected]
void casa::QtRegionManager::singlePlane ( ) [protected, slot]

set up plane only or extending by channel and pol

void casa::QtRegionManager::toggleImageRegion ( ) [protected, slot]
void casa::QtRegionManager::unfoldIntoSimpleRegionPtrs ( PtrBlock< const WCRegion * > &  outRegPtrs,
const WCRegion *&  wcreg 
) [private]
void casa::QtRegionManager::zPlaneChanged ( ) [protected, slot]

Member Data Documentation

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

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

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

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

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

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

QWidget* casa::QtRegionManager::parent_ [protected]

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

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

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

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

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

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

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

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

QTimer* casa::QtRegionManager::timer [private]

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

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


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