|
static QHBoxLayout * | hlayout (QWidget *parent=NULL) |
| Returns a new layout with the given parent, and calls setupLayout on it;. More...
|
|
static QVBoxLayout * | vlayout (QWidget *parent=NULL) |
|
static void | setupLayout (QLayout *layout) |
| Sets up the given layout by setting: 1) margins to 0, 2) spacing to 3. More...
|
|
static QWidget * | hline () |
| Returns a horizontal or vertical line (QFrame). More...
|
|
static QWidget * | vline () |
|
static QtColorWidget * | colorWidget (bool showButton=false, casacore::String setColor="", QWidget *parent=NULL) |
| Returns a new color widget. More...
|
|
static bool | hasDirectionCoordinate (const DisplayCoordinateSystem &cs) |
| Returns whether or not the given coordinate system has a direction coordinate or not. More...
|
|
static bool | hasDirectionCoordinate (const WorldCanvas *wc) |
|
static bool | hasDirectionCoordinate (const WorldCanvasHolder &wch) |
|
static casacore::MDirection::Types | worldSystem (const DisplayCoordinateSystem &cs) |
| Returns the world system type for the given coordinate system. More...
|
|
static casacore::MDirection::Types | worldSystem (const WorldCanvas *wc) |
| Returns the world system type for the given WorldCanvas. More...
|
|
static casacore::MDirection::Types | worldSystem (const WorldCanvasHolder &wch) |
| Returns the world system type for the given WorldCanvasHolder. More...
|
|
static bool | convertWCS (const casacore::Quantum< casacore::Vector< double > > &from, casacore::MDirection::Types fromSys, casacore::Quantum< casacore::Vector< double > > &to, casacore::MDirection::Types toSys) |
| Converts between coordinate systems. More...
|
|
static bool | worldToPixel (const casacore::Quantum< casacore::Vector< double > > &worldX, const casacore::Quantum< casacore::Vector< double > > &worldY, casacore::Vector< double > &pixelX, casacore::Vector< double > &pixelY, WorldCanvasHolder &wch, casacore::MDirection::Types fromSys, bool wrap=true, casacore::String *error=NULL) |
| Converts the given coordinates between different systems, using the given WorldCanvas and world system (if applicable). More...
|
|
static bool | pixelToWorld (const casacore::Vector< double > &pixelX, const casacore::Vector< double > &pixelY, casacore::Quantum< casacore::Vector< double > > &worldX, casacore::Quantum< casacore::Vector< double > > &worldY, WorldCanvasHolder &wch, casacore::MDirection::Types toSys, bool wrap=true, casacore::String *error=NULL) |
|
static bool | worldToLinear (const casacore::Quantum< casacore::Vector< double > > &worldX, const casacore::Quantum< casacore::Vector< double > > &worldY, casacore::Vector< double > &linearX, casacore::Vector< double > &linearY, WorldCanvasHolder &wch, casacore::MDirection::Types fromSys, bool wrap=true, casacore::String *error=NULL) |
|
static bool | pixelToLinear (const casacore::Vector< double > &pixelX, const casacore::Vector< double > &pixelY, casacore::Vector< double > &linearX, casacore::Vector< double > &linearY, WorldCanvasHolder &wch, casacore::String *error=NULL) |
|
static bool | linearToScreen (const casacore::Vector< double > &linearX, const casacore::Vector< double > &linearY, casacore::Vector< double > &screenX, casacore::Vector< double > &screenY, WorldCanvasHolder &wch, casacore::String *error=NULL) |
|
static bool | worldToScreen (const casacore::Quantum< casacore::Vector< double > > &worldX, const casacore::Quantum< casacore::Vector< double > > &worldY, casacore::Vector< double > &screenX, casacore::Vector< double > &screenY, WorldCanvasHolder &wch, casacore::MDirection::Types fromSys, bool wrap=true, casacore::String *error=NULL) |
|
static bool | pixelToScreen (const casacore::Vector< double > &pixelX, const casacore::Vector< double > &pixelY, casacore::Vector< double > &screenX, casacore::Vector< double > &screenY, WorldCanvasHolder &wch, casacore::String *error=NULL) |
|
static bool | screenToLinear (const casacore::Vector< double > &screenX, const casacore::Vector< double > &screenY, casacore::Vector< double > &linearX, casacore::Vector< double > &linearY, WorldCanvasHolder &wch, casacore::String *error=NULL) |
|
static bool | linearToWorld (const casacore::Vector< double > &linearX, const casacore::Vector< double > &linearY, casacore::Quantum< casacore::Vector< double > > &worldX, casacore::Quantum< casacore::Vector< double > > &worldY, WorldCanvasHolder &wch, casacore::MDirection::Types toSys, const std::vector< int > &xSign, const std::vector< int > &ySign, bool wrap=true, casacore::String *error=NULL) |
|
static bool | linearToWorld (const casacore::Vector< double > &linearX, const casacore::Vector< double > &linearY, casacore::Quantum< casacore::Vector< double > > &worldX, casacore::Quantum< casacore::Vector< double > > &worldY, WorldCanvasHolder &wch, casacore::MDirection::Types toSys, casacore::String *error=NULL) |
|
static bool | linearToPixel (const casacore::Vector< double > &linearX, const casacore::Vector< double > &linearY, casacore::Vector< double > &pixelX, casacore::Vector< double > &pixelY, WorldCanvasHolder &wch, casacore::String *error=NULL) |
|
static bool | screenToWorld (const casacore::Vector< double > &screenX, const casacore::Vector< double > &screenY, casacore::Quantum< casacore::Vector< double > > &worldX, casacore::Quantum< casacore::Vector< double > > &worldY, WorldCanvasHolder &wch, casacore::MDirection::Types toSys, casacore::String *error=NULL) |
|
static bool | screenToWorld (const casacore::Vector< double > &screenX, const casacore::Vector< double > &screenY, casacore::Quantum< casacore::Vector< double > > &worldX, casacore::Quantum< casacore::Vector< double > > &worldY, WorldCanvasHolder &wch, casacore::MDirection::Types toSys, const std::vector< int > &xSign, const std::vector< int > &ySign, casacore::String *error=NULL) |
|
static bool | screenToPixel (const casacore::Vector< double > &screenX, const casacore::Vector< double > &screenY, casacore::Vector< double > &pixelX, casacore::Vector< double > &pixelY, WorldCanvasHolder &wch, casacore::String *error=NULL) |
|
static void | appendUniqueMessage (stringstream &ss, const casacore::String &message) |
| Appends the given message to the given stream, if the stream does not already contain an identical message. More...
|
|
static void | appendUniqueMessage (stringstream *ss, const casacore::String &message) |
|
static void | appendUniqueMessage (casacore::String &ss, const casacore::String &message) |
|
static void | appendUniqueMessage (casacore::String *ss, const casacore::String &message) |
|
Common utilities/constants for region shapes.
Definition at line 49 of file RSUtils.qo.h.