#include <casacore/coordinates/Coordinates/CoordinateSystem.h>
#include <carta-protobuf/enums.pb.h>
|
std::unordered_map< CARTA::RegionType, std::string > | carta::GetRegionTypeNames (CARTA::FileType region_file_type) |
| Return map from CARTA region type to string for region file type.
|
|
std::string | carta::GetImageDirectionFrame (std::shared_ptr< casacore::CoordinateSystem > coord_sys) |
| Return name of coordinate frame from coordinate system direction coordinate, if any.
|
|
bool | carta::ConvertPointToPixels (std::shared_ptr< casacore::CoordinateSystem > coord_sys, std::string ®ion_frame, std::vector< casacore::Quantity > &point, casacore::Vector< casacore::Double > &pixel_coords) |
| Convert point control points in world coordinates to pixel coordinates in region frame.
|
|
std::string | carta::FormatColor (const std::string &color) |
| Format input color string as expected for import or export.
|
|
|
static std::unordered_map< CARTA::TextAnnotationPosition, std::string > | carta::text_positions |
| Map from CARTA text position to string.
|
|
static std::unordered_map< CARTA::RegionType, std::string > | carta::region_names |
| Map from CARTA region type to string, common to all region file types.
|
|