This is the abstract view for View.
More...
#include <AbstractView.h>
This is the abstract view for View.
Definition at line 49 of file AbstractView.h.
te::layout::AbstractView::AbstractView |
( |
| ) |
|
virtual te::layout::AbstractView::~AbstractView |
( |
void |
| ) |
|
|
inlinevirtual |
void te::layout::AbstractView::addZoomFactor |
( |
double |
factor, |
|
|
std::string |
text |
|
) |
| |
|
virtual |
Method that adds new zoom factor. Ex.: 0.5 - 50%.
- Parameters
-
factor | factor |
text | percentage |
Definition at line 53 of file AbstractView.cpp.
void te::layout::AbstractView::clearZoomFactors |
( |
| ) |
|
|
virtual |
virtual void te::layout::AbstractView::config |
( |
| ) |
|
|
pure virtual |
Initialization method that configures the View and sets the transformation matrix of the scene in the View object.
Implemented in te::layout::View.
bool te::layout::AbstractView::isVisibleRulers |
( |
| ) |
|
|
virtual |
Method that return rulers visibility state.
- Returns
- true if visible, false otherwise
Definition at line 43 of file AbstractView.cpp.
double te::layout::AbstractView::nextFactor |
( |
double |
currentFactor | ) |
|
|
virtual |
Method that returns the next zoom factor in the list.
- Parameters
-
currentFactor | current factor |
Definition at line 63 of file AbstractView.cpp.
double te::layout::AbstractView::previousFactor |
( |
double |
currentFactor | ) |
|
|
virtual |
Method that returns the previous zoom factor in the list.
- Parameters
-
currentFactor | current factor |
Definition at line 83 of file AbstractView.cpp.
void te::layout::AbstractView::setVisibleRulers |
( |
bool |
visible | ) |
|
|
virtual |
Method that change rulers visibility state.
- Parameters
-
Definition at line 48 of file AbstractView.cpp.
bool te::layout::AbstractView::m_visibleRulers |
|
protected |
std::map<double, std::string> te::layout::AbstractView::m_zoomFactors |
|
protected |
The documentation for this class was generated from the following files:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/layout/core/AbstractView.h
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/layout/core/AbstractView.cpp