GRE::VIEWPOS Class Reference

Position of "view" relative to "device". More...

#include <gre/viewpos.h>

List of all members.

Public Member Functions

 VIEWPOS ()
 ~VIEWPOS ()
const SPATREF::COORDREFSYSGetCenterCRS () const
const DPOINT2DGetCenterPoint () const
double GetMapScale () const
const VIEWPLACEGetPlace () const
const TRANS2D_AFFINEGetTransViewDevice () const
const DPOINT2DGetZoom () const
void ScaleZoom (double scale)
void SetCenterPoint (const DPOINT2D &CenterPoint)
void SetCenterPoint (const SPATREF::COORDREFSYS &CenterCRS, const DPOINT2D &CenterPoint)
void SetMapScale (double MapScale)
void SetPlace (const VIEWPLACE &ViewPlace)
void SetTransViewDevice (const TRANS2D_AFFINE &TransViewDevice)
void SetZoom (const DPOINT2D &zoom)
void SetZoom (double zoom)
void ValidateZoom (bool AllowDifferXY)

Detailed Description

Position of "view" relative to "device".


Constructor & Destructor Documentation

GRE::VIEWPOS::VIEWPOS (  ) 
GRE::VIEWPOS::~VIEWPOS (  ) 

Member Function Documentation

const SPATREF::COORDREFSYS& GRE::VIEWPOS::GetCenterCRS (  )  const [inline]

Get CRS for center point.

const DPOINT2D& GRE::VIEWPOS::GetCenterPoint (  )  const [inline]

Get center point.

double GRE::VIEWPOS::GetMapScale (  )  const [inline]

Get map scale.

const VIEWPLACE& GRE::VIEWPOS::GetPlace (  )  const [inline]

Get view "place".

const TRANS2D_AFFINE& GRE::VIEWPOS::GetTransViewDevice (  )  const [inline]

Get transformation from "view" to rendering "device".

const DPOINT2D& GRE::VIEWPOS::GetZoom (  )  const [inline]

Get zoom value (1.0 is full view).

void GRE::VIEWPOS::ScaleZoom ( double  scale  )  [inline]

Apply scale to zoom value.

void GRE::VIEWPOS::SetCenterPoint ( const DPOINT2D CenterPoint  )  [inline]

Set center point.

void GRE::VIEWPOS::SetCenterPoint ( const SPATREF::COORDREFSYS CenterCRS,
const DPOINT2D CenterPoint 
) [inline]

Set center CRS and point.

void GRE::VIEWPOS::SetMapScale ( double  MapScale  )  [inline]

Set map scale.

void GRE::VIEWPOS::SetPlace ( const VIEWPLACE ViewPlace  )  [inline]

Set view "place".

void GRE::VIEWPOS::SetTransViewDevice ( const TRANS2D_AFFINE TransViewDevice  )  [inline]

Set tranformation from "view" to rendering "device".

void GRE::VIEWPOS::SetZoom ( const DPOINT2D zoom  )  [inline]

Set zoom.

void GRE::VIEWPOS::SetZoom ( double  zoom  )  [inline]

Set zoom with equal X/Y values.

void GRE::VIEWPOS::ValidateZoom ( bool  AllowDifferXY  ) 

Validate zoom based on whether allowing different X and Y values.


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

Generated on Sun Oct 7 21:34:57 2012 for TNTsdk 2012 by  doxygen 1.6.1