LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #ifndef ASTSHIM_ZOOMMAP_H
23 #define ASTSHIM_ZOOMMAP_H
62 :
Mapping(reinterpret_cast<AstMapping *>(astZoomMap(ncoord,
zoom,
"%s", options.c_str()))) {
82 return copyImpl<ZoomMap, AstZoomMap>();
86 explicit ZoomMap(AstZoomMap *rawptr) :
Mapping(reinterpret_cast<AstMapping *>(rawptr)) {
89 os <<
"this is a " <<
getClassName() <<
", which is not a ZoomMap";
float getF(std::string const &attrib) const
Get the value of an attribute as a float.
ZoomMap(int ncoord, double zoom, std::string const &options="")
Create a ZoomMap.
void assertOK(AstObject *rawPtr1=nullptr, AstObject *rawPtr2=nullptr)
Throw std::runtime_error if AST's state is bad.
An abstract base class for objects which transform one set of coordinates to another.
ZoomMap & operator=(ZoomMap const &)=delete
A Mapping which "zooms" a set of points about the origin by multiplying all coordinate values by the ...
Abstract base class for all AST objects.
ZoomMap(AstZoomMap *rawptr)
Construct a ZoomMap from a raw AST pointer.
ZoomMap & operator=(ZoomMap &&)=default
std::string getClassName() const
Get Class: the name of the class (e.g.
ZoomMap(ZoomMap const &)=default
Copy constructor: make a deep copy.
double getZoom() const
Get Zoom: scale factor.
ZoomMap(ZoomMap &&)=default
AST wrapper classes and functions.
virtual std::shared_ptr< Object > copyPolymorphic() const override
Return a deep copy of this object.
AstObject const * getRawPtr() const
Get the raw AST pointer.
std::shared_ptr< ZoomMap > copy() const
Return a deep copy of this object.
def zoom(zoomfac=None, colc=None, rowc=None, frame=None, origin=afwImage.PARENT)