OTB
9.0.0
Orfeo Toolbox
|
#include <otbGroundSpacingImageFunction.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::ContinuousIndexType | ContinuousIndexType |
typedef itk::Vector< ValueType, 2 > | FloatType |
typedef Superclass::IndexType | IndexType |
typedef IndexType::IndexValueType | IndexValueType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputType | OutputType |
typedef itk::SmartPointer< Self > | Pointer |
typedef Superclass::PointType | PointType |
typedef GroundSpacingImageFunction | Self |
typedef itk::ImageFunction< TInputImage, FloatType, TCoordRep > | Superclass |
typedef otb::GenericRSTransform< double > | TransformType |
typedef float | ValueType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
FloatType | EvaluateAtIndex (const IndexType &index) const override |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = InputImageType::ImageDimension |
ValueType | m_R |
ValueType | m_Deg2radCoef |
FloatType | Evaluate (const PointType &point) const override |
FloatType | EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const override |
PointType | GetPixelLocation (const IndexType &index) const |
GroundSpacingImageFunction () | |
~GroundSpacingImageFunction () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
GroundSpacingImageFunction (const Self &)=delete | |
void | operator= (const Self &)=delete |
Calculate the approximate ground spacing in X and Y directions.
This uses the 'Haversine' formula to calculate great-circle distances between the two points (that is, the shortest distance over the Earth's surface) giving an 'as-the-crow-flies' distance between the points (ignoring any hills!).
Definition at line 45 of file otbGroundSpacingImageFunction.h.
typedef itk::SmartPointer<const Self> otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::ConstPointer |
Definition at line 60 of file otbGroundSpacingImageFunction.h.
typedef Superclass::ContinuousIndexType otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::ContinuousIndexType |
Definition at line 72 of file otbGroundSpacingImageFunction.h.
typedef itk::Vector<ValueType, 2> otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::FloatType |
Definition at line 55 of file otbGroundSpacingImageFunction.h.
typedef Superclass::IndexType otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::IndexType |
Definition at line 71 of file otbGroundSpacingImageFunction.h.
typedef IndexType::IndexValueType otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::IndexValueType |
Definition at line 77 of file otbGroundSpacingImageFunction.h.
typedef TInputImage otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::InputImageType |
InputImageType typedef support.
Definition at line 66 of file otbGroundSpacingImageFunction.h.
typedef Superclass::OutputType otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::OutputType |
Definition at line 70 of file otbGroundSpacingImageFunction.h.
typedef itk::SmartPointer<Self> otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::Pointer |
Definition at line 59 of file otbGroundSpacingImageFunction.h.
typedef Superclass::PointType otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::PointType |
Definition at line 73 of file otbGroundSpacingImageFunction.h.
typedef GroundSpacingImageFunction otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::Self |
Standard class typedefs.
Definition at line 50 of file otbGroundSpacingImageFunction.h.
typedef itk::ImageFunction<TInputImage, FloatType, TCoordRep> otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::Superclass |
Definition at line 57 of file otbGroundSpacingImageFunction.h.
typedef otb::GenericRSTransform<double> otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::TransformType |
Definition at line 75 of file otbGroundSpacingImageFunction.h.
typedef float otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::ValueType |
Datatype used for the density
Definition at line 53 of file otbGroundSpacingImageFunction.h.
|
protected |
Constructor
Definition at line 36 of file otbGroundSpacingImageFunction.hxx.
References otb::CONST_PI.
|
inlineoverrideprotected |
Evaluate the function at non-integer positions
Definition at line 104 of file otbGroundSpacingImageFunction.h.
|
privatedelete |
Evaluate the function at non-integer positions
virtual::itk::LightObject::Pointer otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::CreateAnother | ( | void | ) | const |
|
inlineoverride |
Evaluate the function at non-integer positions
Definition at line 85 of file otbGroundSpacingImageFunction.h.
|
inlineoverride |
Evaluate the function at non-integer positions
Definition at line 93 of file otbGroundSpacingImageFunction.h.
|
override |
Evalulate the function at specified index
Definition at line 56 of file otbGroundSpacingImageFunction.hxx.
|
virtual |
Run-time type information (and related methods).
GroundSpacingImageFunction< TInputImage, TCoordRep >::PointType otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::GetPixelLocation | ( | const IndexType & | index | ) | const |
Evaluate the function at non-integer positions
Definition at line 107 of file otbGroundSpacingImageFunction.hxx.
References otb::internal::GetSignedSpacing().
|
static |
Method for creation through the object factory.
|
privatedelete |
Evaluate the function at non-integer positions
|
overrideprotected |
Evaluate the function at non-integer positions
Definition at line 46 of file otbGroundSpacingImageFunction.hxx.
|
static |
Definition at line 79 of file otbGroundSpacingImageFunction.h.
|
private |
Evaluate the function at non-integer positions
Definition at line 114 of file otbGroundSpacingImageFunction.h.
|
private |
Evaluate the function at non-integer positions
Definition at line 113 of file otbGroundSpacingImageFunction.h.