#include <GridPlanarModel.h>
Public Member Functions | |
virtual void | draw (te::map::Canvas *canvas, te::gm::Envelope box, int srid) |
virtual std::string | getName () |
virtual te::layout::Property | getProperty () |
GridPlanarModel () | |
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 (te::layout::Property property) |
virtual | ~GridPlanarModel () |
Protected Member Functions | |
virtual void | calculateGaps (te::gm::Envelope box) |
virtual void | drawHorizontalLines (te::map::Canvas *canvas, te::gm::Envelope box) |
virtual void | drawVerticalLines (te::map::Canvas *canvas, te::gm::Envelope box) |
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 |
PlanarGridSettingsConfigProperties * | m_settingsConfig |
int | m_srid |
bool | m_superscriptText |
te::color::RGBAColor | m_textColor |
bool | m_topRotateText |
bool | m_topText |
LayoutUnit | m_unit |
bool | m_visible |
bool | m_visibleAllTexts |
te::gm::Envelope | m_worldBox |
Definition at line 41 of file GridPlanarModel.h.
te::layout::GridPlanarModel::GridPlanarModel | ( | ) |
Definition at line 38 of file GridPlanarModel.cpp.
References te::layout::GridModel::m_lneHrzDisplacement, te::layout::GridModel::m_lneVrtDisplacement, te::layout::GridModel::m_name, and m_settingsConfig.
|
virtual |
Definition at line 48 of file GridPlanarModel.cpp.
|
protectedvirtual |
Implements te::layout::GridModel.
Definition at line 169 of file GridPlanarModel.cpp.
References te::gm::Envelope::getLowerLeftX(), and te::gm::Envelope::getLowerLeftY().
|
virtual |
Implements te::layout::GridModel.
Definition at line 57 of file GridPlanarModel.cpp.
References te::layout::Context::getInstance(), te::layout::Context::getUtils(), te::gm::Envelope::isValid(), and te::map::Canvas::setLineColor().
|
protectedvirtual |
Implements te::layout::GridModel.
Definition at line 123 of file GridPlanarModel.cpp.
References te::layout::Utils::createSimpleLine(), te::layout::Utils::drawLineW(), te::layout::Context::getInstance(), te::gm::Envelope::getLowerLeftX(), te::gm::Envelope::getLowerLeftY(), te::gm::Envelope::getUpperRightX(), te::gm::Envelope::getUpperRightY(), and te::layout::Context::getUtils().
|
protectedvirtual |
Implements te::layout::GridModel.
Definition at line 78 of file GridPlanarModel.cpp.
References te::layout::Utils::createSimpleLine(), te::layout::Utils::drawLineW(), te::layout::Context::getInstance(), te::gm::Envelope::getLowerLeftX(), te::gm::Envelope::getLowerLeftY(), te::gm::Envelope::getUpperRightX(), te::gm::Envelope::getUpperRightY(), and te::layout::Context::getUtils().
|
virtualinherited |
Definition at line 72 of file GridModel.cpp.
|
virtual |
Implements te::layout::GridModel.
Definition at line 191 of file GridPlanarModel.cpp.
References te::layout::Property::clear(), te::layout::DataTypeBool, te::layout::DataTypeColor, te::layout::DataTypeDouble, te::layout::DataTypeGridSettings, te::layout::DataTypeInt, te::layout::DataTypeString, te::layout::getLayoutDashStyle(), te::layout::getLayoutGridStyle(), te::layout::Property::setName(), and te::layout::Property::setValue().
|
virtualinherited |
Definition at line 82 of file GridModel.cpp.
|
virtualinherited |
Definition at line 107 of file GridModel.cpp.
|
virtualinherited |
Definition at line 102 of file GridModel.cpp.
|
virtualinherited |
Definition at line 92 of file GridModel.cpp.
|
virtualinherited |
Definition at line 77 of file GridModel.cpp.
|
virtualinherited |
Definition at line 87 of file GridModel.cpp.
|
virtualinherited |
Definition at line 97 of file GridModel.cpp.
|
virtual |
Implements te::layout::GridModel.
Definition at line 336 of file GridPlanarModel.cpp.
References te::layout::Property::containsSubProperty(), te::layout::getLayoutEnumDashStyle(), te::layout::getLayoutEnumGridStyle(), te::layout::Property::getValue(), te::layout::Property::isNull(), te::layout::Variant::toBool(), te::layout::Variant::toColor(), te::layout::Variant::toDouble(), te::layout::Variant::toInt(), and te::layout::Variant::toString().
|
protectedinherited |
Definition at line 116 of file GridModel.h.
|
protectedinherited |
Definition at line 112 of file GridModel.h.
|
protectedinherited |
Definition at line 84 of file GridModel.h.
|
protectedinherited |
Definition at line 83 of file GridModel.h.
|
protectedinherited |
Definition at line 104 of file GridModel.h.
|
protectedinherited |
Definition at line 95 of file GridModel.h.
|
protectedinherited |
Definition at line 91 of file GridModel.h.
|
protectedinherited |
Definition at line 92 of file GridModel.h.
|
protectedinherited |
Definition at line 117 of file GridModel.h.
|
protectedinherited |
Definition at line 113 of file GridModel.h.
|
protectedinherited |
Definition at line 99 of file GridModel.h.
|
protectedinherited |
Definition at line 98 of file GridModel.h.
|
protectedinherited |
Definition at line 100 of file GridModel.h.
|
protectedinherited |
Definition at line 111 of file GridModel.h.
Referenced by te::layout::GridGeodesicModel::GridGeodesicModel(), and GridPlanarModel().
|
protectedinherited |
Definition at line 89 of file GridModel.h.
|
protectedinherited |
Definition at line 110 of file GridModel.h.
Referenced by te::layout::GridGeodesicModel::GridGeodesicModel(), and GridPlanarModel().
|
protectedinherited |
Definition at line 90 of file GridModel.h.
|
protectedinherited |
Definition at line 79 of file GridModel.h.
|
protectedinherited |
Definition at line 80 of file GridModel.h.
Referenced by te::layout::GridGeodesicModel::GridGeodesicModel(), and GridPlanarModel().
|
protectedinherited |
Definition at line 103 of file GridModel.h.
|
protectedinherited |
Definition at line 78 of file GridModel.h.
|
protectedinherited |
Definition at line 118 of file GridModel.h.
|
protectedinherited |
Definition at line 114 of file GridModel.h.
|
protected |
Definition at line 65 of file GridPlanarModel.h.
Referenced by GridPlanarModel().
|
protectedinherited |
Definition at line 81 of file GridModel.h.
|
protectedinherited |
Definition at line 109 of file GridModel.h.
|
protectedinherited |
Definition at line 105 of file GridModel.h.
|
protectedinherited |
Definition at line 119 of file GridModel.h.
|
protectedinherited |
Definition at line 115 of file GridModel.h.
|
protected |
Definition at line 64 of file GridPlanarModel.h.
|
protectedinherited |
Definition at line 88 of file GridModel.h.
|
protectedinherited |
Definition at line 108 of file GridModel.h.
|
protectedinherited |
Definition at line 85 of file GridModel.h.