PCL
pcl::LinearWorldTransformation Class Reference

WCS linear world coordinate transformation. More...

#include <WorldTransformation.h>

+ Inheritance diagram for pcl::LinearWorldTransformation:

Public Member Functions

 LinearWorldTransformation (const LinearTransformation &transIW)
 
 LinearWorldTransformation (const LinearWorldTransformation &)=default
 
 LinearWorldTransformation (LinearWorldTransformation &&)=default
 
 ~LinearWorldTransformation () override
 
const LinearTransformationApproximateLinearTransform () const override
 
WorldTransformationClone () const override
 
DPoint Direct (const DPoint &p) const override
 
DPoint Inverse (const DPoint &p) const override
 
bool IsEmpty () const override
 
- Public Member Functions inherited from pcl::WorldTransformation
 WorldTransformation ()=default
 
 WorldTransformation (const WorldTransformation &)=default
 
virtual ~WorldTransformation ()
 

Detailed Description

Definition at line 155 of file WorldTransformation.h.

Constructor & Destructor Documentation

◆ LinearWorldTransformation() [1/3]

pcl::LinearWorldTransformation::LinearWorldTransformation ( const LinearTransformation transIW)
inline

Constructor from a linear transformation. The specified transformation transIW must transform from image coordinates to native spherical coordinates.

Definition at line 164 of file WorldTransformation.h.

◆ LinearWorldTransformation() [2/3]

pcl::LinearWorldTransformation::LinearWorldTransformation ( const LinearWorldTransformation )
default

Copy constructor.

◆ LinearWorldTransformation() [3/3]

pcl::LinearWorldTransformation::LinearWorldTransformation ( LinearWorldTransformation &&  )
default

Move constructor.

◆ ~LinearWorldTransformation()

pcl::LinearWorldTransformation::~LinearWorldTransformation ( )
inlineoverride

Destroys a LinearWorldTransformation object.

Definition at line 183 of file WorldTransformation.h.

Member Function Documentation

◆ ApproximateLinearTransform()

const LinearTransformation& pcl::LinearWorldTransformation::ApproximateLinearTransform ( ) const
inlineoverridevirtual

Returns a reference to the internal linear transformation (from image to native spherical coordinates).

Implements pcl::WorldTransformation.

Definition at line 220 of file WorldTransformation.h.

◆ Clone()

WorldTransformation* pcl::LinearWorldTransformation::Clone ( ) const
inlineoverridevirtual

Returns a dynamically allocated copy of this object.

Implements pcl::WorldTransformation.

Definition at line 197 of file WorldTransformation.h.

◆ Direct()

DPoint pcl::LinearWorldTransformation::Direct ( const DPoint p) const
inlineoverridevirtual

Transforms from native spherical coordinates to image coordinates.

The point p contains native spherical coordinates: p.x is the native longitude and p.y is the native latitude, both expressed in degrees. Returns image coordinates in pixels corresponding to p.

Implements pcl::WorldTransformation.

Definition at line 204 of file WorldTransformation.h.

◆ Inverse()

DPoint pcl::LinearWorldTransformation::Inverse ( const DPoint p) const
inlineoverridevirtual

Transforms from image coordinates to native spherical coordinates.

The specified point p contains image coordinates in pixels. Returns a point q where q.x is the native longitude and q.y is the native latitude, both expressed in degrees, corresponding to p.

Implements pcl::WorldTransformation.

Definition at line 211 of file WorldTransformation.h.

◆ IsEmpty()

bool pcl::LinearWorldTransformation::IsEmpty ( ) const
inlineoverridevirtual

Returns false, since a linear WCS transformation cannot be empty.

Reimplemented from pcl::WorldTransformation.

Definition at line 190 of file WorldTransformation.h.


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