OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | List of all members
otb::GeoInterface Class Reference

#include <otbGeoInterface.h>

+ Inheritance diagram for otb::GeoInterface:

Public Types

typedef itk::Point
< itk::SpacePrecisionType, 2 > 
Point2
 
typedef itk::Point< double, 2 > Point2d
 
typedef itk::Vector
< itk::SpacePrecisionType, 2 > 
Spacing2
 

Public Member Functions

virtual bool GetKwl (ImageKeywordlist &) const
 
virtual const Spacing2GetSpacing () const
 
virtual std::string GetWkt () const
 
virtual bool HasKwl () const
 
virtual bool TransformFromViewport (Point2d &out, const Point2d &in, bool isPhysical=true) const
 
virtual bool TransformToViewport (Point2d &out, const Point2d &in, bool isPhysical=true) const
 

Protected Member Functions

 GeoInterface ()
 
virtual ~GeoInterface ()
 

Detailed Description

Definition at line 50 of file otbGeoInterface.h.

Member Typedef Documentation

Definition at line 56 of file otbGeoInterface.h.

typedef itk::Point< double, 2 > otb::GeoInterface::Point2d

Double precision point-type.

Definition at line 61 of file otbGeoInterface.h.

Spacing-type based on ITK floating-point prevision.

Definition at line 66 of file otbGeoInterface.h.

Constructor & Destructor Documentation

otb::GeoInterface::GeoInterface ( )
protected
virtual otb::GeoInterface::~GeoInterface ( )
protectedvirtual

Member Function Documentation

virtual bool otb::GeoInterface::GetKwl ( ImageKeywordlist ) const
virtual

Reimplemented in otb::GlImageActor.

virtual const Spacing2& otb::GeoInterface::GetSpacing ( ) const
virtual
virtual std::string otb::GeoInterface::GetWkt ( ) const
virtual

Reimplemented in otb::GlVectorActor, and otb::GlImageActor.

virtual bool otb::GeoInterface::HasKwl ( ) const
virtual

Reimplemented in otb::GlImageActor.

virtual bool otb::GeoInterface::TransformFromViewport ( Point2d out,
const Point2d in,
bool  isPhysical = true 
) const
virtual

Transform given point from viewport coordinate-system to this actor coordinate-system.

By default this method return false. It should be implemented in derived classes if needed.

Parameters
outThe transformed point (in this actor coordinate-system).
inThe given point (in viewport coordinate-system).
isPhysicalIndicate physical coordates are desired.
Returns
true if the operation has succeeded; false otherwise.

Reimplemented in otb::GlImageActor, and otb::GlVectorActor.

Referenced by otb::GlView::ReprojectFromView(), and otb::GlView::ZoomToFull().

virtual bool otb::GeoInterface::TransformToViewport ( Point2d out,
const Point2d in,
bool  isPhysical = true 
) const
virtual

Transform given point from viewport coordinate-system to this actor coordinate-system.

By default this method return false. It should be implemented in derived classes if needed.

Parameters
outThe transformed point (in this actor coordinate-system).
inThe given point (in viewport coordinate-system).
isPhysicalIndicate physical coordates are desired.
Returns
true if the operation has succeeded; false otherwise.

Reimplemented in otb::GlImageActor.


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