OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::ViewSettings Class Reference

#include <otbViewSettings.h>

+ Inheritance diagram for otb::ViewSettings:
+ Collaboration diagram for otb::ViewSettings:

Public Types

typedef itk::SmartPointer
< const Self
typedef otb::ImageKeywordlist KeywordListType
typedef itk::SmartPointer< SelfPointer
typedef itk::Point< double, 2 > PointType
typedef ViewSettings Self
typedef itk::Size< 2 > SizeType
typedef itk::Vector< double, 2 > SpacingType
typedef itk::Object Superclass
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef Object Self
typedef LightObject Superclass
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef LightObject Self

Public Member Functions

void Center (const PointType &center)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual bool GetGeometryChanged () const
virtual const KeywordListTypeGetKeywordList () const
virtual const PointTypeGetOrigin () const
virtual const double & GetRotationAngle () const
virtual const PointTypeGetRotationCenter () const
double GetScale (const PointType &origin, const PointType &extent, bool isSigned) const
virtual const SpacingTypeGetSpacing () const
virtual bool GetUseProjection () const
PointType GetViewportCenter () const
void GetViewportExtent (double &ulx, double &uly, double &lrx, double &lry) const
virtual const SizeTypeGetViewportSize () const
virtual const std::string & GetWkt () const
void Reset ()
void ScreenToViewPortTransform (const double &xscreen, const double &yscreen, double &xvp, double &yvp) const
virtual void SetGeometryChanged (bool _arg)
void SetKeywordList (const KeywordListType &kwl)
void SetNorthUpAngle ()
virtual void SetOrigin (PointType _arg)
void SetPersepectiveAngle ()
void SetRotationAngle (const double &angle)
void SetRotationCenter (const PointType &center)
virtual void SetSpacing (SpacingType _arg)
void SetUseProjection (bool usep)
virtual void SetViewportSize (SizeType _arg)
void SetWkt (const std::string &wkt)
void UpdateRotation (const PointType &newCenter, double newAngle)
virtual void UseProjectionOff ()
virtual void UseProjectionOn ()
void ViewportToScreenTransform (const double &xvp, const double &yvp, double &xscreen, double &yscreen) const
void Zoom (const PointType &zoomCenter, double scale=1.1)
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
const MetaDataDictionaryGetMetaDataDictionary () const
MetaDataDictionaryGetMetaDataDictionary ()
virtual ModifiedTimeType GetMTime () const
virtual const char * GetNameOfClass () const
virtual const std::string & GetObjectName () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const override
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetObjectName (std::string _arg)
virtual void SetReferenceCount (int) override
virtual void UnRegister () const noexceptoverride
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const

Static Public Member Functions

static Pointer New ()
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static Pointer New ()
static void SetGlobalWarningDisplay (bool flag)
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
static Pointer New ()

Protected Member Functions

 ViewSettings ()
 ~ViewSettings () override
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void PrintSelf (std::ostream &os, Indent indent) const override
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

void operator= (const Self &)
 ViewSettings (const Self &)

Private Attributes

bool m_GeometryChanged: 1
KeywordListType m_KeywordList
PointType m_Origin
double m_RotationAngle
PointType m_RotationCenter
SpacingType m_Spacing
bool m_UseProjection: 1
SizeType m_ViewportSize
std::string m_Wkt

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount

Detailed Description

Definition at line 37 of file otbViewSettings.h.

Member Typedef Documentation

Definition at line 44 of file otbViewSettings.h.

Definition at line 49 of file otbViewSettings.h.

Definition at line 43 of file otbViewSettings.h.

Definition at line 46 of file otbViewSettings.h.

Definition at line 41 of file otbViewSettings.h.

Definition at line 48 of file otbViewSettings.h.

Definition at line 47 of file otbViewSettings.h.

Definition at line 42 of file otbViewSettings.h.

Constructor & Destructor Documentation

otb::ViewSettings::ViewSettings ( )
otb::ViewSettings::~ViewSettings ( )
otb::ViewSettings::ViewSettings ( const Self )

Member Function Documentation

void otb::ViewSettings::Center ( const PointType center)
virtual::itk::LightObject::Pointer otb::ViewSettings::CreateAnother ( void  ) const

Reimplemented from itk::Object.

virtual bool otb::ViewSettings::GetGeometryChanged ( ) const
virtual const KeywordListType& otb::ViewSettings::GetKeywordList ( ) const
virtual const PointType& otb::ViewSettings::GetOrigin ( ) const
virtual const double& otb::ViewSettings::GetRotationAngle ( ) const
virtual const PointType& otb::ViewSettings::GetRotationCenter ( ) const
double otb::ViewSettings::GetScale ( const PointType origin,
const PointType extent,
bool  isSigned 
) const
virtual const SpacingType& otb::ViewSettings::GetSpacing ( ) const
virtual bool otb::ViewSettings::GetUseProjection ( ) const
PointType otb::ViewSettings::GetViewportCenter ( ) const
void otb::ViewSettings::GetViewportExtent ( double &  ulx,
double &  uly,
double &  lrx,
double &  lry 
) const
virtual const SizeType& otb::ViewSettings::GetViewportSize ( ) const
virtual const std::string& otb::ViewSettings::GetWkt ( ) const
static Pointer otb::ViewSettings::New ( )
void otb::ViewSettings::operator= ( const Self )
void otb::ViewSettings::Reset ( )
void otb::ViewSettings::ScreenToViewPortTransform ( const double &  xscreen,
const double &  yscreen,
double &  xvp,
double &  yvp 
) const
virtual void otb::ViewSettings::SetGeometryChanged ( bool  _arg)
void otb::ViewSettings::SetKeywordList ( const KeywordListType kwl)

Definition at line 113 of file otbViewSettings.h.

void otb::ViewSettings::SetNorthUpAngle ( )
virtual void otb::ViewSettings::SetOrigin ( PointType  _arg)
void otb::ViewSettings::SetPersepectiveAngle ( )
void otb::ViewSettings::SetRotationAngle ( const double &  angle)

Definition at line 70 of file otbViewSettings.h.

void otb::ViewSettings::SetRotationCenter ( const PointType center)

Definition at line 64 of file otbViewSettings.h.

virtual void otb::ViewSettings::SetSpacing ( SpacingType  _arg)
void otb::ViewSettings::SetUseProjection ( bool  usep)

Definition at line 94 of file otbViewSettings.h.

virtual void otb::ViewSettings::SetViewportSize ( SizeType  _arg)
void otb::ViewSettings::SetWkt ( const std::string &  wkt)

Definition at line 78 of file otbViewSettings.h.

void otb::ViewSettings::UpdateRotation ( const PointType newCenter,
double  newAngle 
virtual void otb::ViewSettings::UseProjectionOff ( )
virtual void otb::ViewSettings::UseProjectionOn ( )
void otb::ViewSettings::ViewportToScreenTransform ( const double &  xvp,
const double &  yvp,
double &  xscreen,
double &  yscreen 
) const
void otb::ViewSettings::Zoom ( const PointType zoomCenter,
double  scale = 1.1 

Member Data Documentation

bool otb::ViewSettings::m_GeometryChanged

Definition at line 167 of file otbViewSettings.h.

KeywordListType otb::ViewSettings::m_KeywordList

Definition at line 163 of file otbViewSettings.h.

PointType otb::ViewSettings::m_Origin

Definition at line 159 of file otbViewSettings.h.

double otb::ViewSettings::m_RotationAngle

Definition at line 165 of file otbViewSettings.h.

PointType otb::ViewSettings::m_RotationCenter

Definition at line 164 of file otbViewSettings.h.

SpacingType otb::ViewSettings::m_Spacing

Definition at line 160 of file otbViewSettings.h.

bool otb::ViewSettings::m_UseProjection

Definition at line 166 of file otbViewSettings.h.

SizeType otb::ViewSettings::m_ViewportSize

Definition at line 161 of file otbViewSettings.h.

std::string otb::ViewSettings::m_Wkt

Definition at line 162 of file otbViewSettings.h.

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