PCL
pcl::ZenithalProjectionBase Class Referenceabstract

Base class of zenithal projection systems. More...

#include <ZenithalProjections.h>

+ Inheritance diagram for pcl::ZenithalProjectionBase:

Protected Member Functions

 ZenithalProjectionBase ()
 
 ZenithalProjectionBase (const ZenithalProjectionBase &)=default
 
virtual ProjectionBaseClone () const override=0
 
virtual IsoString Identifier () const override=0
 
virtual IsoString Name () const override=0
 
virtual IsoString ProjCode () const override=0
 
bool Project (DPoint &pW, const DPoint &pN) const noexcept override
 
bool Unproject (DPoint &pN, const DPoint &pW) const noexcept override
 
- Protected Member Functions inherited from pcl::ProjectionBase
 ProjectionBase ()=default
 
 ProjectionBase (const ProjectionBase &)=default
 
void InitFromRefPoint (double lng0, double lat0, const Optional< double > &lonpole=Optional< double >())
 
void InitFromWCS (const WCSKeywords &)
 

Additional Inherited Members

- Public Member Functions inherited from pcl::ProjectionBase
virtual ~ProjectionBase ()
 
Vector CelestialPoleNativeCoordinates () const
 
virtual bool Direct (DPoint &pW, const DPoint &pRD) const noexcept
 
virtual void GetWCS (WCSKeywords &wcs) const
 
virtual bool Inverse (DPoint &pRD, const DPoint &pW) const noexcept
 
virtual DPoint ProjectionOrigin () const
 
Vector ReferenceCelestialCoordinates () const
 
Vector ReferenceNativeCoordinates () const
 
- Static Public Member Functions inherited from pcl::ProjectionBase
static double Distance (const DPoint &p1, const DPoint &p2)
 
static double DistanceFast (const DPoint &p1, const DPoint &p2)
 
static IsoString ProjectionIdentifierToWCSCode (const IsoString &identifier)
 
static IsoString WCSCodeToProjectionIdentifier (const IsoString &wcsCode)
 

Detailed Description

Definition at line 76 of file ZenithalProjections.h.

Constructor & Destructor Documentation

◆ ZenithalProjectionBase() [1/2]

pcl::ZenithalProjectionBase::ZenithalProjectionBase ( )
inlineprotected

Default constructor.

Definition at line 83 of file ZenithalProjections.h.

◆ ZenithalProjectionBase() [2/2]

pcl::ZenithalProjectionBase::ZenithalProjectionBase ( const ZenithalProjectionBase )
protecteddefault

Copy constructor.

Member Function Documentation

◆ Clone()

virtual ProjectionBase* pcl::ZenithalProjectionBase::Clone ( ) const
overrideprotectedpure virtual

Returns a dynamically allocated duplicate of this object.

Implements pcl::ProjectionBase.

Implemented in pcl::StereographicProjection, and pcl::ZenithalEqualAreaProjection.

◆ Identifier()

virtual IsoString pcl::ZenithalProjectionBase::Identifier ( ) const
overrideprotectedpure virtual

Returns the XISF serializable projection identifier.

Implements pcl::ProjectionBase.

Implemented in pcl::StereographicProjection, and pcl::ZenithalEqualAreaProjection.

◆ Name()

virtual IsoString pcl::ZenithalProjectionBase::Name ( ) const
overrideprotectedpure virtual

Returns the readable name of this projection system.

Implements pcl::ProjectionBase.

Implemented in pcl::StereographicProjection, and pcl::ZenithalEqualAreaProjection.

◆ ProjCode()

virtual IsoString pcl::ZenithalProjectionBase::ProjCode ( ) const
overrideprotectedpure virtual

Returns the WCS projection identifier for this projection system.

Implements pcl::ProjectionBase.

Implemented in pcl::StereographicProjection, and pcl::ZenithalEqualAreaProjection.

◆ Project()

bool pcl::ZenithalProjectionBase::Project ( DPoint pW,
const DPoint pN 
) const
inlineoverrideprotectedvirtualnoexcept

Transforms from world coordinates to native spherical coordinates.

Implements pcl::ProjectionBase.

Definition at line 118 of file ZenithalProjections.h.

References pcl::Rad(), and pcl::SinCos().

◆ Unproject()

bool pcl::ZenithalProjectionBase::Unproject ( DPoint pN,
const DPoint pW 
) const
inlineoverrideprotectedvirtualnoexcept

Transforms from native spherical coordinates to world coordinates.

Implements pcl::ProjectionBase.

Definition at line 131 of file ZenithalProjections.h.

References pcl::ArcTan(), pcl::Deg(), and pcl::Sqrt().


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