All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::layout::GridModel Class Referenceabstract

#include <GridModel.h>

Inheritance diagram for te::layout::GridModel:
te::layout::GridGeodesicModel te::layout::GridPlanarModel

Public Member Functions

virtual void draw (te::map::Canvas *canvas, te::gm::Envelope box, int srid)=0
 
virtual std::string getName ()
 
virtual te::layout::Property getProperty ()=0
 
 GridModel ()
 
virtual bool isVisible ()
 
virtual void setBoundingBoxItemMM (te::gm::Envelope box)
 
virtual void setBoxMapMM (te::gm::Envelope box)
 
virtual void setMapScale (double scale)
 
virtual void setName (std::string name)
 
virtual void setVisible (bool visible)
 
virtual void setWorldBox (te::gm::Envelope box)
 
virtual void updateProperty (Property property)=0
 
virtual ~GridModel ()
 

Protected Member Functions

virtual void calculateGaps (te::gm::Envelope box)=0
 
virtual void drawHorizontalLines (te::map::Canvas *canvas, te::gm::Envelope box)=0
 
virtual void drawVerticalLines (te::map::Canvas *canvas, te::gm::Envelope box)=0
 

Protected Attributes

bool m_bottomRotateText
 
bool m_bottomText
 
te::gm::Envelope m_boundingBoxItemMM
 
te::gm::Envelope m_boxMapMM
 
std::string m_fontText
 
LayoutGridStyle m_gridStyle
 
double m_initialGridPointX
 
double m_initialGridPointY
 
bool m_leftRotateText
 
bool m_leftText
 
te::color::RGBAColor m_lineColor
 
te::map::LineDashStyle m_lineStyle
 
int m_lineWidth
 
double m_lneHrzDisplacement
 
double m_lneHrzGap
 
double m_lneVrtDisplacement
 
double m_lneVrtGap
 
double m_mapScale
 
std::string m_name
 
int m_pointTextSize
 
te::layout::Property m_property
 
bool m_rightRotateText
 
bool m_rightText
 
int m_srid
 
bool m_superscriptText
 
te::color::RGBAColor m_textColor
 
bool m_topRotateText
 
bool m_topText
 
bool m_visible
 
bool m_visibleAllTexts
 
te::gm::Envelope m_worldBox
 

Detailed Description

Definition at line 42 of file GridModel.h.

Constructor & Destructor Documentation

te::layout::GridModel::GridModel ( )

Definition at line 37 of file GridModel.cpp.

te::layout::GridModel::~GridModel ( )
virtual

Definition at line 67 of file GridModel.cpp.

Member Function Documentation

virtual void te::layout::GridModel::calculateGaps ( te::gm::Envelope  box)
protectedpure virtual
virtual void te::layout::GridModel::draw ( te::map::Canvas canvas,
te::gm::Envelope  box,
int  srid 
)
pure virtual
virtual void te::layout::GridModel::drawHorizontalLines ( te::map::Canvas canvas,
te::gm::Envelope  box 
)
protectedpure virtual
virtual void te::layout::GridModel::drawVerticalLines ( te::map::Canvas canvas,
te::gm::Envelope  box 
)
protectedpure virtual
std::string te::layout::GridModel::getName ( )
virtual

Definition at line 72 of file GridModel.cpp.

virtual te::layout::Property te::layout::GridModel::getProperty ( )
pure virtual
bool te::layout::GridModel::isVisible ( )
virtual

Definition at line 82 of file GridModel.cpp.

void te::layout::GridModel::setBoundingBoxItemMM ( te::gm::Envelope  box)
virtual

Definition at line 107 of file GridModel.cpp.

void te::layout::GridModel::setBoxMapMM ( te::gm::Envelope  box)
virtual

Definition at line 102 of file GridModel.cpp.

void te::layout::GridModel::setMapScale ( double  scale)
virtual

Definition at line 92 of file GridModel.cpp.

void te::layout::GridModel::setName ( std::string  name)
virtual

Definition at line 77 of file GridModel.cpp.

void te::layout::GridModel::setVisible ( bool  visible)
virtual

Definition at line 87 of file GridModel.cpp.

void te::layout::GridModel::setWorldBox ( te::gm::Envelope  box)
virtual

Definition at line 97 of file GridModel.cpp.

virtual void te::layout::GridModel::updateProperty ( Property  property)
pure virtual

Member Data Documentation

bool te::layout::GridModel::m_bottomRotateText
protected

Definition at line 116 of file GridModel.h.

bool te::layout::GridModel::m_bottomText
protected

Definition at line 112 of file GridModel.h.

te::gm::Envelope te::layout::GridModel::m_boundingBoxItemMM
protected

Definition at line 84 of file GridModel.h.

te::gm::Envelope te::layout::GridModel::m_boxMapMM
protected

Definition at line 83 of file GridModel.h.

std::string te::layout::GridModel::m_fontText
protected

Definition at line 104 of file GridModel.h.

LayoutGridStyle te::layout::GridModel::m_gridStyle
protected

Definition at line 95 of file GridModel.h.

double te::layout::GridModel::m_initialGridPointX
protected

Definition at line 91 of file GridModel.h.

double te::layout::GridModel::m_initialGridPointY
protected

Definition at line 92 of file GridModel.h.

bool te::layout::GridModel::m_leftRotateText
protected

Definition at line 117 of file GridModel.h.

bool te::layout::GridModel::m_leftText
protected

Definition at line 113 of file GridModel.h.

te::color::RGBAColor te::layout::GridModel::m_lineColor
protected

Definition at line 99 of file GridModel.h.

te::map::LineDashStyle te::layout::GridModel::m_lineStyle
protected

Definition at line 98 of file GridModel.h.

int te::layout::GridModel::m_lineWidth
protected

Definition at line 100 of file GridModel.h.

double te::layout::GridModel::m_lneHrzDisplacement
protected
double te::layout::GridModel::m_lneHrzGap
protected

Definition at line 89 of file GridModel.h.

double te::layout::GridModel::m_lneVrtDisplacement
protected
double te::layout::GridModel::m_lneVrtGap
protected

Definition at line 90 of file GridModel.h.

double te::layout::GridModel::m_mapScale
protected

Definition at line 79 of file GridModel.h.

std::string te::layout::GridModel::m_name
protected
int te::layout::GridModel::m_pointTextSize
protected

Definition at line 103 of file GridModel.h.

te::layout::Property te::layout::GridModel::m_property
protected

Definition at line 78 of file GridModel.h.

bool te::layout::GridModel::m_rightRotateText
protected

Definition at line 118 of file GridModel.h.

bool te::layout::GridModel::m_rightText
protected

Definition at line 114 of file GridModel.h.

int te::layout::GridModel::m_srid
protected

Definition at line 81 of file GridModel.h.

bool te::layout::GridModel::m_superscriptText
protected

Definition at line 109 of file GridModel.h.

te::color::RGBAColor te::layout::GridModel::m_textColor
protected

Definition at line 105 of file GridModel.h.

bool te::layout::GridModel::m_topRotateText
protected

Definition at line 119 of file GridModel.h.

bool te::layout::GridModel::m_topText
protected

Definition at line 115 of file GridModel.h.

bool te::layout::GridModel::m_visible
protected

Definition at line 88 of file GridModel.h.

bool te::layout::GridModel::m_visibleAllTexts
protected

Definition at line 108 of file GridModel.h.

te::gm::Envelope te::layout::GridModel::m_worldBox
protected

Definition at line 85 of file GridModel.h.


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