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

Class that represents a "Model" part of GridMap MVC component. Its coordinate system is the same of scene (millimeters). He is also the son of ItemModelObservable, so it can become observable. More...

#include <GridMapModel.h>

Inheritance diagram for te::layout::GridMapModel:
te::layout::ItemModelObservable te::layout::AbstractVisitor te::layout::Observable te::layout::GridGeodesicModel te::layout::GridPlanarModel

Public Member Functions

virtual bool addChildren (ItemObserver *item)
 Reimplemented from Observable. More...
 
virtual bool addObserver (Observer *o)
 Reimplemented from Observable. More...
 
virtual bool contains (const te::gm::Coord2D &coord) const
 Checks if the coordinate is contained within the bounding rectangle. More...
 
virtual void disassociate ()
 Separate this object from visitable. More...
 
virtual void draw (ContextItem context)
 Drawing method of the MVC component. More...
 
virtual double getAngle ()
 Returns the value of rotation. More...
 
virtual te::color::RGBAColor getBackgroundColor ()
 Returns the background color of the MVC component. More...
 
virtual te::color::RGBAColor getBorderColor ()
 Returns the border color of the MVC component. More...
 
virtual te::gm::Envelope getBox ()
 Reimplemented from Observable. More...
 
virtual te::gm::Envelope getBoxMapMM ()
 
virtual std::set< ItemObserver * > getChildren () const
 Reimplemented from Observable. More...
 
virtual std::string getFontFamily ()
 
virtual std::map
< te::gm::Point *, std::string > 
getGridInfo ()
 
virtual EnumTypegetGridStyle ()
 
virtual int getHashCode ()
 Reimplemented from Observable. More...
 
virtual int getId ()
 Reimplemented from Observable. More...
 
virtual double getInitialGridPointX ()
 
virtual double getInitialGridPointY ()
 
virtual te::color::RGBAColor getLineColor ()
 
virtual EnumTypegetLineStyle ()
 
virtual int getLineWidth ()
 
virtual double getLneHrzDisplacement ()
 
virtual double getLneHrzGap ()
 
virtual double getLneVrtDisplacement ()
 
virtual double getLneVrtGap ()
 
virtual double getMapDisplacementX ()
 
virtual double getMapDisplacementY ()
 
virtual std::string getMapName ()
 
virtual double getMapScale ()
 
virtual std::string getName ()
 Reimplemented from Observable. More...
 
virtual double getOldAngle ()
 Returns the value of old rotation. More...
 
virtual te::gm::Coord2D getOldPos ()
 Returns the value of old position. More...
 
virtual PropertiesgetProperties () const
 Reimplemented from Observable. More...
 
virtual te::layout::PropertiesgetPublicProperties () const
 Reimplemented from Observable. More...
 
virtual int getSRID ()
 
virtual te::color::RGBAColor getTextColor ()
 
virtual int getTextPointSize ()
 
virtual EnumTypegetType ()
 Reimplemented from Observable. More...
 
virtual VisitablegetVisitable ()
 Return the object to be visited. More...
 
virtual te::gm::Envelope getWorldBox ()
 
virtual int getZValue ()
 Reimplemented from Observable. More...
 
 GridMapModel ()
 Constructor. More...
 
 GridMapModel (GridSettingsConfigProperties *settingsConfig)
 Constructor. More...
 
virtual bool isBorder ()
 Returns whether the border should be drawn or not. More...
 
virtual bool isBottomRotateText ()
 
virtual bool isBottomText ()
 
virtual bool isEnableChildren ()
 Returns true if MVC component can have children, false otherwise. More...
 
virtual bool isLeftRotateText ()
 
virtual bool isLeftText ()
 
virtual bool isResizable ()
 Reimplemented from Observable. More...
 
virtual bool isRightRotateText ()
 
virtual bool isRightText ()
 
virtual bool isSuperscriptText ()
 
virtual bool isTopRotateText ()
 
virtual bool isTopText ()
 
virtual bool isVisible ()
 
virtual bool isVisibleAllTexts ()
 
virtual bool removeChildren (int hashCode)
 Reimplemented from Observable. More...
 
virtual bool removeObserver (Observer *o)
 Reimplemented from Observable. More...
 
virtual void resize (double w, double h)
 Resize the bounding rectangle of the MVC component. More...
 
virtual void setAngle (double angle)
 Change the value of rotation of the MVC component. More...
 
virtual void setBackgroundColor (te::color::RGBAColor color)
 Change the background color of the MVC component. More...
 
virtual void setBorder (bool value)
 Change whether the border should be drawn or not. More...
 
virtual void setBorderColor (te::color::RGBAColor color)
 Change the background color of the MVC component. More...
 
virtual void setBoundingBoxItemMM (te::gm::Envelope box)
 
virtual void setBox (te::gm::Envelope box)
 Change the bounding rectangle. More...
 
virtual void setBoxMapMM (te::gm::Envelope box)
 
virtual void setEnableChildren (bool value)
 Sets true if MVC component can have children, false otherwise. More...
 
virtual void setId (int id)
 Reimplemented from Observable. More...
 
virtual void setMapDisplacementX (double displacement)
 
virtual void setMapDisplacementY (double displacement)
 
virtual void setMapName (std::string name)
 
virtual void setMapScale (double scale)
 
virtual void setName (std::string name)
 Change the name of the MVC component. More...
 
virtual void setPosition (const double &x, const double &y)
 Change coordinate llx,lly of the MVC component. More...
 
virtual void setResizable (bool resize)
 Reimplemented from Observable. More...
 
virtual void setSystematic (Systematic *sys)
 
virtual void setType (EnumType *type)
 Reimplemented from Observable. More...
 
virtual void setVisible (bool visible)
 
virtual void setVisibleAllTexts (bool visible)
 
virtual void setWorldBox (te::gm::Envelope box)
 
virtual void setZValue (int zValue)
 Reimplemented from Observable. More...
 
virtual void updateProperties (te::layout::Properties *properties)
 Reimplemented from Observable. More...
 
virtual void visit (Visitable *visitable)
 Constructor. More...
 
virtual ~GridMapModel ()
 Destructor. More...
 

Protected Member Functions

virtual void addChildrenProperties (Properties *properties)
 
virtual void calculateGaps (te::gm::Envelope box)
 
virtual int calculateHashCode ()
 Returns a new hashcode. More...
 
virtual void drawBackground (ContextItem context)
 Draws the background of the MVC component. More...
 
virtual ContextItem getContextItem ()
 Returns context maintaining the drawing context of a MVC component. More...
 
virtual void gridTextFreeMemory ()
 
virtual void init ()
 
virtual void notifyAll (ContextItem context)
 Reimplemented from Observable. More...
 
virtual void updateChildrenProperties (Property prop)
 
virtual void visitDependent (ContextItem context)
 visit and if necessary redraw More...
 

Protected Attributes

double m_angle
 value of rotation More...
 
te::color::RGBAColor m_backgroundColor
 background color More...
 
bool m_border
 true if should be drawn border, false otherwise More...
 
te::color::RGBAColor m_borderColor
 border color More...
 
bool m_bottomRotateText
 
bool m_bottomText
 
te::gm::Envelope m_boundingBoxItemMM
 
te::gm::Envelope m_box
 bounding rectangle More...
 
te::gm::Envelope m_boxMapMM
 
te::gm::Coord2D m_centerCoordinate
 center coordinate of the bounding rectangle More...
 
std::set< ItemObserver * > m_children
 children components More...
 
bool m_enableChildren
 true if MVC component can have children, false otherwise More...
 
std::string m_fontText
 
EnumTypem_gridStyle
 
std::map< te::gm::Point
*, std::string > 
m_gridTexts
 
int m_hashCode
 
int m_id
 hashcode More...
 
double m_initialGridPointX
 
double m_initialGridPointY
 
bool m_leftRotateText
 
bool m_leftText
 
te::color::RGBAColor m_lineColor
 
EnumTypem_lineStyle
 
int m_lineWidth
 
double m_lneHrzDisplacement
 
double m_lneHrzGap
 
double m_lneVrtDisplacement
 
double m_lneVrtGap
 
double m_mapDisplacementX
 
double m_mapDisplacementY
 
std::string m_mapName
 
double m_mapScale
 
std::string m_name
 name of the MVC component More...
 
std::set< Observer * > m_observers
 set of observers of this object More...
 
double m_oldAngle
 value of old rotation More...
 
te::gm::Coord2D m_oldPos
 value of old position More...
 
int m_pointTextSize
 
Propertiesm_properties
 properties More...
 
Propertiesm_publicProperties
 public properties More...
 
bool m_resizable
 true if resizable, false otherwise More...
 
bool m_rightRotateText
 
bool m_rightText
 
GridSettingsConfigPropertiesm_settingsConfig
 
SharedPropertiesm_sharedProps
 Names of common properties among all MVC components. More...
 
int m_srid
 
bool m_superscriptText
 
Systematicm_systematic
 
te::color::RGBAColor m_textColor
 
bool m_topRotateText
 
bool m_topText
 
EnumTypem_type
 type of the MVC component More...
 
bool m_visible
 
bool m_visibleAllTexts
 
Visitablem_visitable
 object to be visited More...
 
te::gm::Envelope m_worldBox
 
int m_zValue
 The Z value decides the stacking order of drawing. More...
 

Detailed Description

Class that represents a "Model" part of GridMap MVC component. Its coordinate system is the same of scene (millimeters). He is also the son of ItemModelObservable, so it can become observable.

See also
te::layout::ItemModelObservable

Definition at line 67 of file GridMapModel.h.

Constructor & Destructor Documentation

te::layout::GridMapModel::GridMapModel ( )

Constructor.

Definition at line 43 of file GridMapModel.cpp.

References init().

te::layout::GridMapModel::GridMapModel ( GridSettingsConfigProperties settingsConfig)

Constructor.

Definition at line 77 of file GridMapModel.cpp.

References init().

te::layout::GridMapModel::~GridMapModel ( )
virtual

Destructor.

Definition at line 131 of file GridMapModel.cpp.

Member Function Documentation

bool te::layout::ItemModelObservable::addChildren ( ItemObserver item)
virtualinherited
void te::layout::ItemModelObservable::addChildrenProperties ( Properties properties)
protectedvirtualinherited
bool te::layout::ItemModelObservable::addObserver ( Observer o)
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 103 of file ItemModelObservable.cpp.

void te::layout::GridMapModel::calculateGaps ( te::gm::Envelope  box)
protectedvirtual

Reimplemented in te::layout::GridGeodesicModel, and te::layout::GridPlanarModel.

Definition at line 574 of file GridMapModel.cpp.

int te::layout::ItemModelObservable::calculateHashCode ( )
protectedvirtualinherited

Returns a new hashcode.

Returns
hashCode

Implements te::layout::Observable.

Definition at line 476 of file ItemModelObservable.cpp.

Referenced by te::layout::ItemModelObservable::ItemModelObservable().

bool te::layout::ItemModelObservable::contains ( const te::gm::Coord2D coord) const
virtualinherited

Checks if the coordinate is contained within the bounding rectangle.

Parameters
coordcoordinated to be verified
Returns
true if contains, false otherwise

Definition at line 280 of file ItemModelObservable.cpp.

References te::gm::Envelope::isValid(), te::gm::Coord2D::x, and te::gm::Coord2D::y.

Referenced by te::layout::ItemController::contains().

void te::layout::AbstractVisitor::disassociate ( )
virtualinherited

Separate this object from visitable.

Definition at line 72 of file AbstractVisitor.cpp.

Referenced by te::layout::Visitable::unacceptVisitor().

void te::layout::ItemModelObservable::draw ( ContextItem  context)
virtualinherited

Drawing method of the MVC component.

Parameters
contextmaintaining the drawing context of a MVC component

Reimplemented in te::layout::LegendModel, te::layout::MapModel, and te::layout::LegendChildModel.

Definition at line 532 of file ItemModelObservable.cpp.

Referenced by te::layout::ItemController::redraw().

void te::layout::ItemModelObservable::drawBackground ( ContextItem  context)
protectedvirtualinherited
double te::layout::ItemModelObservable::getAngle ( )
virtualinherited

Returns the value of rotation.

Returns
value of rotation

Definition at line 466 of file ItemModelObservable.cpp.

Referenced by te::layout::ItemGroup::applyRotation(), and te::layout::ParentItem< T >::applyRotation().

te::color::RGBAColor te::layout::ItemModelObservable::getBackgroundColor ( )
virtualinherited
te::color::RGBAColor te::layout::ItemModelObservable::getBorderColor ( )
virtualinherited

Returns the border color of the MVC component.

Returns
border color

Definition at line 244 of file ItemModelObservable.cpp.

Referenced by te::layout::ParentItem< T >::drawBorder(), and te::layout::PaperItem::drawPaper().

te::gm::Envelope te::layout::GridMapModel::getBoxMapMM ( )
virtual

Definition at line 609 of file GridMapModel.cpp.

std::set< te::layout::ItemObserver * > te::layout::ItemModelObservable::getChildren ( ) const
virtualinherited

Reimplemented from Observable.

Definition at line 547 of file ItemModelObservable.cpp.

std::string te::layout::GridMapModel::getFontFamily ( )
virtual
std::map< te::gm::Point *, std::string > te::layout::GridMapModel::getGridInfo ( )
virtual

Definition at line 196 of file GridMapModel.cpp.

te::layout::EnumType * te::layout::GridMapModel::getGridStyle ( )
virtual

Definition at line 639 of file GridMapModel.cpp.

int te::layout::ItemModelObservable::getHashCode ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 471 of file ItemModelObservable.cpp.

int te::layout::ItemModelObservable::getId ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 401 of file ItemModelObservable.cpp.

Referenced by te::layout::ItemUtils::maxTypeId().

double te::layout::GridMapModel::getInitialGridPointX ( )
virtual

Definition at line 629 of file GridMapModel.cpp.

double te::layout::GridMapModel::getInitialGridPointY ( )
virtual

Definition at line 634 of file GridMapModel.cpp.

te::color::RGBAColor te::layout::GridMapModel::getLineColor ( )
virtual
te::layout::EnumType * te::layout::GridMapModel::getLineStyle ( )
virtual

Definition at line 644 of file GridMapModel.cpp.

int te::layout::GridMapModel::getLineWidth ( )
virtual

Definition at line 654 of file GridMapModel.cpp.

double te::layout::GridMapModel::getLneHrzDisplacement ( )
virtual

Definition at line 689 of file GridMapModel.cpp.

double te::layout::GridMapModel::getLneHrzGap ( )
virtual

Definition at line 619 of file GridMapModel.cpp.

double te::layout::GridMapModel::getLneVrtDisplacement ( )
virtual

Definition at line 684 of file GridMapModel.cpp.

double te::layout::GridMapModel::getLneVrtGap ( )
virtual

Definition at line 624 of file GridMapModel.cpp.

double te::layout::GridMapModel::getMapDisplacementX ( )
virtual

Definition at line 584 of file GridMapModel.cpp.

double te::layout::GridMapModel::getMapDisplacementY ( )
virtual

Definition at line 589 of file GridMapModel.cpp.

std::string te::layout::GridMapModel::getMapName ( )
virtual

Definition at line 594 of file GridMapModel.cpp.

double te::layout::GridMapModel::getMapScale ( )
virtual

Definition at line 599 of file GridMapModel.cpp.

std::string te::layout::ItemModelObservable::getName ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 260 of file ItemModelObservable.cpp.

Referenced by visitDependent().

double te::layout::ItemModelObservable::getOldAngle ( )
virtualinherited

Returns the value of old rotation.

Returns
value of old rotation

Definition at line 522 of file ItemModelObservable.cpp.

Referenced by te::layout::ItemGroup::applyRotation(), and te::layout::ParentItem< T >::applyRotation().

te::gm::Coord2D te::layout::ItemModelObservable::getOldPos ( )
virtualinherited

Returns the value of old position.

Returns
value of old position

Definition at line 527 of file ItemModelObservable.cpp.

te::layout::Properties * te::layout::ItemModelObservable::getPublicProperties ( ) const
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 601 of file ItemModelObservable.cpp.

References te::layout::Properties::clear().

int te::layout::GridMapModel::getSRID ( )
virtual

Definition at line 604 of file GridMapModel.cpp.

te::color::RGBAColor te::layout::GridMapModel::getTextColor ( )
virtual

Definition at line 669 of file GridMapModel.cpp.

int te::layout::GridMapModel::getTextPointSize ( )
virtual
te::layout::EnumType * te::layout::ItemModelObservable::getType ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 371 of file ItemModelObservable.cpp.

te::layout::Visitable * te::layout::AbstractVisitor::getVisitable ( )
virtualinherited

Return the object to be visited.

Parameters

Definition at line 95 of file AbstractVisitor.cpp.

Referenced by te::layout::ItemUtils::createLegendChildAsObject().

te::gm::Envelope te::layout::GridMapModel::getWorldBox ( )
virtual

Definition at line 614 of file GridMapModel.cpp.

int te::layout::ItemModelObservable::getZValue ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 381 of file ItemModelObservable.cpp.

void te::layout::GridMapModel::gridTextFreeMemory ( )
protectedvirtual

Definition at line 181 of file GridMapModel.cpp.

bool te::layout::ItemModelObservable::isBorder ( )
virtualinherited

Returns whether the border should be drawn or not.

Returns
true if should be drawn, false otherwise

Definition at line 391 of file ItemModelObservable.cpp.

Referenced by te::layout::ParentItem< T >::drawBorder().

bool te::layout::GridMapModel::isBottomRotateText ( )
virtual

Definition at line 714 of file GridMapModel.cpp.

bool te::layout::GridMapModel::isBottomText ( )
virtual

Definition at line 694 of file GridMapModel.cpp.

bool te::layout::ItemModelObservable::isEnableChildren ( )
virtualinherited

Returns true if MVC component can have children, false otherwise.

Returns
true if MVC component can have children, false otherwise

Definition at line 537 of file ItemModelObservable.cpp.

Referenced by te::layout::BuildGraphicsItem::addChild().

bool te::layout::GridMapModel::isLeftRotateText ( )
virtual

Definition at line 719 of file GridMapModel.cpp.

bool te::layout::GridMapModel::isLeftText ( )
virtual

Definition at line 699 of file GridMapModel.cpp.

bool te::layout::ItemModelObservable::isResizable ( )
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 428 of file ItemModelObservable.cpp.

bool te::layout::GridMapModel::isRightRotateText ( )
virtual

Definition at line 724 of file GridMapModel.cpp.

bool te::layout::GridMapModel::isRightText ( )
virtual

Definition at line 704 of file GridMapModel.cpp.

bool te::layout::GridMapModel::isSuperscriptText ( )
virtual

Definition at line 679 of file GridMapModel.cpp.

bool te::layout::GridMapModel::isTopRotateText ( )
virtual

Definition at line 729 of file GridMapModel.cpp.

bool te::layout::GridMapModel::isTopText ( )
virtual

Definition at line 709 of file GridMapModel.cpp.

bool te::layout::GridMapModel::isVisible ( )
virtual

Definition at line 136 of file GridMapModel.cpp.

bool te::layout::GridMapModel::isVisibleAllTexts ( )
virtual

Definition at line 674 of file GridMapModel.cpp.

void te::layout::ItemModelObservable::notifyAll ( ContextItem  context)
protectedvirtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 123 of file ItemModelObservable.cpp.

bool te::layout::ItemModelObservable::removeChildren ( int  hashCode)
virtualinherited

Reimplemented from Observable.

Definition at line 580 of file ItemModelObservable.cpp.

Referenced by te::layout::ParentItem< T >::itemChange().

bool te::layout::ItemModelObservable::removeObserver ( Observer o)
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 113 of file ItemModelObservable.cpp.

void te::layout::ItemModelObservable::resize ( double  w,
double  h 
)
virtualinherited

Resize the bounding rectangle of the MVC component.

Parameters
trueif should be drawn, false otherwise

Definition at line 411 of file ItemModelObservable.cpp.

void te::layout::ItemModelObservable::setAngle ( double  angle)
virtualinherited

Change the value of rotation of the MVC component.

Parameters
valueof rotation

Definition at line 460 of file ItemModelObservable.cpp.

void te::layout::ItemModelObservable::setBackgroundColor ( te::color::RGBAColor  color)
virtualinherited

Change the background color of the MVC component.

Parameters
colorbackground color

Definition at line 234 of file ItemModelObservable.cpp.

void te::layout::ItemModelObservable::setBorder ( bool  value)
virtualinherited

Change whether the border should be drawn or not.

Parameters
trueif should be drawn, false otherwise

Definition at line 396 of file ItemModelObservable.cpp.

void te::layout::ItemModelObservable::setBorderColor ( te::color::RGBAColor  color)
virtualinherited

Change the background color of the MVC component.

Parameters
colorborder color

Definition at line 239 of file ItemModelObservable.cpp.

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

Definition at line 161 of file GridMapModel.cpp.

void te::layout::ItemModelObservable::setBox ( te::gm::Envelope  box)
virtualinherited
void te::layout::GridMapModel::setBoxMapMM ( te::gm::Envelope  box)
virtual

Definition at line 156 of file GridMapModel.cpp.

void te::layout::ItemModelObservable::setEnableChildren ( bool  value)
virtualinherited

Sets true if MVC component can have children, false otherwise.

Parameters
trueif MVC component can have children, false otherwise

Definition at line 542 of file ItemModelObservable.cpp.

void te::layout::GridMapModel::setMapDisplacementX ( double  displacement)
virtual

Definition at line 201 of file GridMapModel.cpp.

void te::layout::GridMapModel::setMapDisplacementY ( double  displacement)
virtual

Definition at line 206 of file GridMapModel.cpp.

void te::layout::GridMapModel::setMapName ( std::string  name)
virtual

Definition at line 579 of file GridMapModel.cpp.

Referenced by te::layout::GridMapItem::itemChange().

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

Definition at line 146 of file GridMapModel.cpp.

void te::layout::ItemModelObservable::setPosition ( const double &  x,
const double &  y 
)
virtualinherited

Change coordinate llx,lly of the MVC component.

Parameters
xllx
ylly

Reimplemented in te::layout::MapModel.

Definition at line 265 of file ItemModelObservable.cpp.

Referenced by te::layout::ItemController::setPosition(), and te::layout::MapModel::setPosition().

void te::layout::ItemModelObservable::setResizable ( bool  resize)
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 423 of file ItemModelObservable.cpp.

void te::layout::GridMapModel::setSystematic ( Systematic sys)
virtual

Definition at line 166 of file GridMapModel.cpp.

void te::layout::ItemModelObservable::setType ( EnumType type)
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 376 of file ItemModelObservable.cpp.

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

Definition at line 141 of file GridMapModel.cpp.

void te::layout::GridMapModel::setVisibleAllTexts ( bool  visible)
virtual

Reimplemented in te::layout::GridGeodesicModel.

Definition at line 171 of file GridMapModel.cpp.

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

Definition at line 151 of file GridMapModel.cpp.

void te::layout::ItemModelObservable::setZValue ( int  zValue)
virtualinherited

Reimplemented from Observable.

Implements te::layout::Observable.

Definition at line 386 of file ItemModelObservable.cpp.

void te::layout::ItemModelObservable::updateChildrenProperties ( Property  prop)
protectedvirtualinherited
void te::layout::AbstractVisitor::visit ( Visitable visitable)
virtualinherited

Constructor.

Definition at line 46 of file AbstractVisitor.cpp.

Referenced by te::layout::Visitable::acceptVisitor().

Member Data Documentation

double te::layout::ItemModelObservable::m_angle
protectedinherited

value of rotation

Definition at line 328 of file ItemModelObservable.h.

te::color::RGBAColor te::layout::ItemModelObservable::m_backgroundColor
protectedinherited
bool te::layout::GridMapModel::m_bottomRotateText
protected

Definition at line 227 of file GridMapModel.h.

bool te::layout::GridMapModel::m_bottomText
protected

Definition at line 223 of file GridMapModel.h.

te::gm::Envelope te::layout::GridMapModel::m_boundingBoxItemMM
protected

Definition at line 193 of file GridMapModel.h.

te::gm::Envelope te::layout::GridMapModel::m_boxMapMM
protected

Definition at line 192 of file GridMapModel.h.

te::gm::Coord2D te::layout::ItemModelObservable::m_centerCoordinate
protectedinherited

center coordinate of the bounding rectangle

Definition at line 316 of file ItemModelObservable.h.

std::set<ItemObserver*> te::layout::ItemModelObservable::m_children
protectedinherited

children components

Definition at line 320 of file ItemModelObservable.h.

bool te::layout::ItemModelObservable::m_enableChildren
protectedinherited

true if MVC component can have children, false otherwise

Definition at line 332 of file ItemModelObservable.h.

Referenced by te::layout::MapLocationModel::MapLocationModel(), and te::layout::MapModel::MapModel().

std::string te::layout::GridMapModel::m_fontText
protected

Definition at line 215 of file GridMapModel.h.

EnumType* te::layout::GridMapModel::m_gridStyle
protected

Definition at line 206 of file GridMapModel.h.

std::map<te::gm::Point*, std::string> te::layout::GridMapModel::m_gridTexts
protected

Definition at line 190 of file GridMapModel.h.

int te::layout::ItemModelObservable::m_hashCode
protectedinherited
int te::layout::ItemModelObservable::m_id
protectedinherited

hashcode

Definition at line 314 of file ItemModelObservable.h.

double te::layout::GridMapModel::m_initialGridPointX
protected

Definition at line 202 of file GridMapModel.h.

double te::layout::GridMapModel::m_initialGridPointY
protected

Definition at line 203 of file GridMapModel.h.

bool te::layout::GridMapModel::m_leftRotateText
protected

Definition at line 228 of file GridMapModel.h.

bool te::layout::GridMapModel::m_leftText
protected

Definition at line 224 of file GridMapModel.h.

te::color::RGBAColor te::layout::GridMapModel::m_lineColor
protected

Definition at line 210 of file GridMapModel.h.

EnumType* te::layout::GridMapModel::m_lineStyle
protected

Definition at line 209 of file GridMapModel.h.

int te::layout::GridMapModel::m_lineWidth
protected

Definition at line 211 of file GridMapModel.h.

double te::layout::GridMapModel::m_lneHrzDisplacement
protected
double te::layout::GridMapModel::m_lneHrzGap
protected

Definition at line 200 of file GridMapModel.h.

double te::layout::GridMapModel::m_lneVrtDisplacement
protected
double te::layout::GridMapModel::m_lneVrtGap
protected

Definition at line 201 of file GridMapModel.h.

double te::layout::GridMapModel::m_mapDisplacementX
protected

Definition at line 195 of file GridMapModel.h.

double te::layout::GridMapModel::m_mapDisplacementY
protected

Definition at line 196 of file GridMapModel.h.

std::string te::layout::GridMapModel::m_mapName
protected

Definition at line 184 of file GridMapModel.h.

double te::layout::GridMapModel::m_mapScale
protected

Definition at line 187 of file GridMapModel.h.

std::string te::layout::ItemModelObservable::m_name
protectedinherited

name of the MVC component

Definition at line 326 of file ItemModelObservable.h.

Referenced by te::layout::ItemModelObservable::ItemModelObservable().

std::set<Observer*> te::layout::ItemModelObservable::m_observers
protectedinherited

set of observers of this object

Definition at line 313 of file ItemModelObservable.h.

double te::layout::ItemModelObservable::m_oldAngle
protectedinherited

value of old rotation

Definition at line 330 of file ItemModelObservable.h.

te::gm::Coord2D te::layout::ItemModelObservable::m_oldPos
protectedinherited

value of old position

Definition at line 331 of file ItemModelObservable.h.

Referenced by te::layout::ItemModelObservable::ItemModelObservable().

int te::layout::GridMapModel::m_pointTextSize
protected

Definition at line 214 of file GridMapModel.h.

Properties* te::layout::ItemModelObservable::m_properties
protectedinherited
Properties* te::layout::ItemModelObservable::m_publicProperties
protectedinherited

public properties

Definition at line 321 of file ItemModelObservable.h.

Referenced by te::layout::ItemModelObservable::ItemModelObservable().

bool te::layout::ItemModelObservable::m_resizable
protectedinherited

true if resizable, false otherwise

Definition at line 327 of file ItemModelObservable.h.

Referenced by te::layout::TextModel::TextModel().

bool te::layout::GridMapModel::m_rightRotateText
protected

Definition at line 229 of file GridMapModel.h.

bool te::layout::GridMapModel::m_rightText
protected

Definition at line 225 of file GridMapModel.h.

GridSettingsConfigProperties* te::layout::GridMapModel::m_settingsConfig
protected

Definition at line 185 of file GridMapModel.h.

SharedProperties* te::layout::ItemModelObservable::m_sharedProps
protectedinherited

Names of common properties among all MVC components.

Definition at line 324 of file ItemModelObservable.h.

Referenced by te::layout::ItemModelObservable::ItemModelObservable().

int te::layout::GridMapModel::m_srid
protected

Definition at line 188 of file GridMapModel.h.

bool te::layout::GridMapModel::m_superscriptText
protected

Definition at line 220 of file GridMapModel.h.

Systematic* te::layout::GridMapModel::m_systematic
protected

Definition at line 189 of file GridMapModel.h.

te::color::RGBAColor te::layout::GridMapModel::m_textColor
protected

Definition at line 216 of file GridMapModel.h.

bool te::layout::GridMapModel::m_topRotateText
protected

Definition at line 230 of file GridMapModel.h.

bool te::layout::GridMapModel::m_topText
protected

Definition at line 226 of file GridMapModel.h.

bool te::layout::GridMapModel::m_visible
protected

Definition at line 199 of file GridMapModel.h.

bool te::layout::GridMapModel::m_visibleAllTexts
protected

Definition at line 219 of file GridMapModel.h.

Visitable* te::layout::AbstractVisitor::m_visitable
protectedinherited

object to be visited

Definition at line 90 of file AbstractVisitor.h.

te::gm::Envelope te::layout::GridMapModel::m_worldBox
protected

Definition at line 194 of file GridMapModel.h.

int te::layout::ItemModelObservable::m_zValue
protectedinherited

The Z value decides the stacking order of drawing.

Definition at line 323 of file ItemModelObservable.h.


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