casa
5.7.0-16
|
#include <DisplayCoordinateSystem.h>
Static Public Member Functions | |
static DisplayCoordinateSystem | restore (const casacore::RecordInterface &container, const casacore::String &fieldName) |
Private Types | |
typedef std::vector< std::pair < casacore::Vector< int > , casacore::Vector< int > > > | transposition_log_t |
Private Attributes | |
casacore::CoordinateSystem | cs_ |
transposition_log_t | transposition_log |
Definition at line 38 of file DisplayCoordinateSystem.h.
|
private |
Definition at line 230 of file DisplayCoordinateSystem.h.
|
inline |
Definition at line 41 of file DisplayCoordinateSystem.h.
|
inline |
Definition at line 42 of file DisplayCoordinateSystem.h.
|
inline |
Definition at line 44 of file DisplayCoordinateSystem.h.
|
virtual |
|
inline |
Definition at line 159 of file DisplayCoordinateSystem.h.
References casacore::CoordinateSystem::addCoordinate(), and cs_.
|
inline |
Definition at line 152 of file DisplayCoordinateSystem.h.
References casacore::CoordinateSystem::coordinate(), and cs_.
casacore::Vector<int> casa::DisplayCoordinateSystem::directionAxesNumbers | ( | ) | const |
|
inline |
Definition at line 115 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::directionCoordinate().
|
inline |
coordinate mapping...
Definition at line 171 of file DisplayCoordinateSystem.h.
References cs_, and casacore::Coordinate::errorMessage().
|
inline |
Definition at line 154 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::findCoordinate().
|
inline |
Definition at line 149 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::findPixelAxis().
|
inline |
Definition at line 147 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::findWorldAxis().
casacore::String casa::DisplayCoordinateSystem::format | ( | casacore::String & | units, |
casacore::Coordinate::formatType | format, | ||
double | worldValue, | ||
unsigned int | worldAxis, | ||
bool | isAbsolute = true , |
||
bool | showAsAbsolute = true , |
||
int | precision = -1 , |
||
bool | usePrecForMixed = false |
||
) | const |
|
inline |
Definition at line 114 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::hasDirectionCoordinate().
|
inline |
Definition at line 126 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::hasPolarizationCoordinate().
|
inline |
Definition at line 119 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::hasSpectralAxis().
|
inline |
Definition at line 189 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::increment().
|
inline |
is the first direction axis RA or Dec...
Definition at line 68 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::isDirectionAbscissaLongitude().
|
inline |
Definition at line 124 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::linearCoordinate().
void casa::DisplayCoordinateSystem::makePixelAbsolute | ( | casacore::Vector< double > & | pixel | ) | const |
void casa::DisplayCoordinateSystem::makePixelRelative | ( | casacore::Vector< double > & | pixel | ) | const |
void casa::DisplayCoordinateSystem::makeWorldAbsolute | ( | casacore::Vector< double > & | world | ) | const |
void casa::DisplayCoordinateSystem::makeWorldRelative | ( | casacore::Vector< double > & | world | ) | const |
void casa::DisplayCoordinateSystem::match | ( | const DisplayCoordinateSystem & | other | ) |
adjust this coordinate system to match the 'other' coordinate system
|
inline |
Definition at line 63 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::nCoordinates().
|
inline |
Definition at line 90 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::near().
|
inline |
Definition at line 92 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::near().
|
inline |
Definition at line 64 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::nPixelAxes().
|
inline |
Definition at line 65 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::nWorldAxes().
|
inline |
Definition at line 71 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::obsInfo().
|
inline |
Definition at line 47 of file DisplayCoordinateSystem.h.
References cs_.
|
inline |
Definition at line 49 of file DisplayCoordinateSystem.h.
References cs_, and transposition_log.
|
inline |
Definition at line 54 of file DisplayCoordinateSystem.h.
References cs_, and transposition_log.
casacore::Vector<int> casa::DisplayCoordinateSystem::pixelAxes | ( | casacore::uInt | whichCoord | ) | const |
|
inline |
Definition at line 144 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::pixelAxisToWorldAxis().
|
inline |
Definition at line 128 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::polarizationAxisNumber().
|
inline |
Definition at line 139 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::qualityAxisNumber().
|
inline |
Definition at line 137 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::qualityCoordinate().
|
inline |
Definition at line 100 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::referencePixel().
|
inline |
Definition at line 104 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::referenceValue().
|
inline |
Definition at line 213 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateUtil::removeAxes().
|
inline |
Definition at line 211 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateUtil::removePixelAxes().
|
inline |
Definition at line 163 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::removePixelAxis().
|
inline |
Definition at line 161 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::removeWorldAxis().
|
inline |
Definition at line 156 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::replaceCoordinate().
|
static |
|
inline |
Definition at line 192 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::save().
|
inline |
Definition at line 205 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateUtil::setDirectionUnit().
|
inline |
Definition at line 108 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::setIncrement().
|
inline |
Definition at line 207 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateUtil::setNiceAxisLabelUnits().
|
inline |
Definition at line 73 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::setObsInfo().
|
inline |
Definition at line 102 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::setReferencePixel().
|
inline |
Definition at line 106 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::setReferenceValue().
|
inline |
casacore::CoordinateUtil wrappers...
Definition at line 197 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::setRestFrequency().
|
inline |
Definition at line 201 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::setSpectralConversion().
|
inline |
Definition at line 203 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateUtil::setSpectralFormatting().
|
inline |
Definition at line 199 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateUtil::setSpectralState().
|
inline |
Definition at line 209 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateUtil::setVelocityState().
bool casa::DisplayCoordinateSystem::setWorldAxisNames | ( | const casacore::Vector< casacore::String > & | names | ) |
bool casa::DisplayCoordinateSystem::setWorldAxisUnits | ( | const casacore::Vector< casacore::String > & | units | ) |
|
inline |
Definition at line 87 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::setWorldMixRanges().
|
inline |
Definition at line 60 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::showType().
|
inline |
Definition at line 122 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::spectralAxisNumber().
Referenced by casa::viewer::ImageProperties::spectralAxisNumber().
|
inline |
Definition at line 120 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::spectralCoordinate().
|
inline |
Definition at line 131 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::stokesCoordinate().
|
inline |
Definition at line 185 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::subImageInSitu().
|
inline |
Definition at line 134 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::tabularCoordinate().
bool casa::DisplayCoordinateSystem::toMix | ( | casacore::Vector< double > & | worldOut, |
casacore::Vector< double > & | pixelOut, | ||
const casacore::Vector< double > & | worldIn, | ||
const casacore::Vector< double > & | pixelIn, | ||
const casacore::Vector< bool > & | worldAxes, | ||
const casacore::Vector< bool > & | pixelAxes, | ||
const casacore::Vector< double > & | worldMin, | ||
const casacore::Vector< double > & | worldMax | ||
) | const |
bool casa::DisplayCoordinateSystem::toPixel | ( | casacore::Vector< double > & | pixel, |
const casacore::Vector< double > & | world | ||
) | const |
bool casa::DisplayCoordinateSystem::toWorld | ( | casacore::Vector< double > & | world, |
const casacore::Vector< double > & | pixel | ||
) | const |
void casa::DisplayCoordinateSystem::transpose | ( | const casacore::Vector< int > & | newWorldOrder, |
const casacore::Vector< int > & | newPixelOrder | ||
) |
casacore::Vector<int> casa::DisplayCoordinateSystem::transposeShape | ( | const casacore::Vector< int > & | original_shape, |
bool | world = true |
||
) |
|
inline |
Definition at line 112 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::type().
casacore::Vector<int> casa::DisplayCoordinateSystem::worldAxes | ( | casacore::uInt | whichCoord | ) | const |
casacore::Vector<casacore::String> casa::DisplayCoordinateSystem::worldAxisNames | ( | ) | const |
|
inline |
Definition at line 142 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::worldAxisToPixelAxis().
casacore::Vector<casacore::String> casa::DisplayCoordinateSystem::worldAxisUnits | ( | ) | const |
|
inline |
Definition at line 85 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::worldMixMax().
|
inline |
Definition at line 83 of file DisplayCoordinateSystem.h.
References cs_, and casacore::CoordinateSystem::worldMixMin().
|
inline |
from ImageUtilities...
Definition at line 219 of file DisplayCoordinateSystem.h.
References cs_, and casa::SkyComponentFactory::worldWidthsToPixel().
|
private |
Definition at line 229 of file DisplayCoordinateSystem.h.
Referenced by addCoordinate(), coordinate(), directionCoordinate(), errorMessage(), findCoordinate(), findPixelAxis(), findWorldAxis(), hasDirectionCoordinate(), hasPolarizationCoordinate(), hasSpectralAxis(), increment(), isDirectionAbscissaLongitude(), linearCoordinate(), nCoordinates(), near(), nPixelAxes(), nWorldAxes(), obsInfo(), operator const casacore::CoordinateSystem &(), operator=(), pixelAxisToWorldAxis(), polarizationAxisNumber(), qualityAxisNumber(), qualityCoordinate(), referencePixel(), referenceValue(), removeAxes(), removePixelAxes(), removePixelAxis(), removeWorldAxis(), replaceCoordinate(), save(), setDirectionUnit(), setIncrement(), setNiceAxisLabelUnits(), setObsInfo(), setReferencePixel(), setReferenceValue(), setRestFrequency(), setSpectralConversion(), setSpectralFormatting(), setSpectralState(), setVelocityState(), setWorldMixRanges(), showType(), spectralAxisNumber(), spectralCoordinate(), stokesCoordinate(), subImageInSitu(), tabularCoordinate(), type(), worldAxisToPixelAxis(), worldMixMax(), worldMixMin(), and worldWidthsToPixel().
|
private |
Definition at line 231 of file DisplayCoordinateSystem.h.
Referenced by operator=().