Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
ContextItem.h
Go to the documentation of this file.
1
/* Copyright (C) 2001-2014 National Institute For Space Research (INPE) - Brazil.
2
3
This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5
TerraLib is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published by
7
the Free Software Foundation, either version 3 of the License,
8
or (at your option) any later version.
9
10
TerraLib is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public License
16
along with TerraLib. See COPYING. If not, write to
17
TerraLib Team at <terralib-team@terralib.org>.
18
*/
19
20
/*!
21
\file ContextItem.h
22
23
\brief
24
25
\ingroup layout
26
*/
27
28
#ifndef __TERRALIB_LAYOUT_INTERNAL_CONTEXT_ITEM_H
29
#define __TERRALIB_LAYOUT_INTERNAL_CONTEXT_ITEM_H
30
31
// TerraLib
32
#include "
ParamsCreate.h
"
33
#include "../../../color/RGBAColor.h"
34
35
namespace
te
36
{
37
namespace
layout
38
{
39
class
LayoutPixmap;
40
41
class
ContextItem
42
{
43
public
:
44
45
/*!
46
\brief
47
*/
48
ContextItem
();
49
50
/*!
51
\brief
52
*/
53
ContextItem
(
ParamsCreate
params,
double
zoomFactor);
54
55
/*!
56
\brief
57
*/
58
virtual
~ContextItem
();
59
60
/*!
61
\brief
62
*/
63
void
setParams
(
ParamsCreate
params);
64
65
/*!
66
\brief
67
*/
68
ParamsCreate
getParams
();
69
70
/*!
71
\brief
72
*/
73
void
setZoomFactor
(
double
zoomFactor);
74
75
/*!
76
\brief
77
*/
78
double
getZoomFactor
();
79
80
/*!
81
\brief
82
*/
83
void
setPixmap
(
te::color::RGBAColor
** pixmap);
84
85
/*!
86
\brief
87
*/
88
te::color::RGBAColor
**
getPixmap
();
89
90
/*!
91
\brief
92
*/
93
void
setShow
(
bool
show );
94
95
/*!
96
\brief
97
*/
98
bool
getShow
();
99
100
/*!
101
\brief
102
*/
103
void
setWait
(
bool
wait);
104
105
/*!
106
\brief
107
*/
108
bool
getWait
();
109
110
/*!
111
\brief
112
*/
113
bool
isResizeCanvas
();
114
115
/*!
116
\brief
117
*/
118
void
setResizeCanvas
(
bool
clear);
119
120
protected
:
121
ParamsCreate
m_params
;
//!<
122
double
m_zoomFactor
;
//!<
123
te::color::RGBAColor
**
m_pixmap
;
//!<
124
bool
m_show
;
//!<
125
bool
m_wait
;
//!<
126
bool
m_resizeCanvas
;
//!<
127
};
128
}
129
}
130
131
#endif
te::layout::ContextItem
Definition:
ContextItem.h:41
te::layout::ContextItem::setPixmap
void setPixmap(te::color::RGBAColor **pixmap)
Definition:
ContextItem.cpp:77
te::layout::ParamsCreate
Definition:
ParamsCreate.h:35
te::layout::ContextItem::~ContextItem
virtual ~ContextItem()
Definition:
ContextItem.cpp:52
te::layout::ContextItem::setShow
void setShow(bool show)
Definition:
ContextItem.cpp:87
te::layout::ContextItem::m_show
bool m_show
Definition:
ContextItem.h:124
te::layout::ContextItem::m_pixmap
te::color::RGBAColor ** m_pixmap
Definition:
ContextItem.h:123
te::layout::ContextItem::getZoomFactor
double getZoomFactor()
Definition:
ContextItem.cpp:72
te::layout::ContextItem::getParams
ParamsCreate getParams()
Definition:
ContextItem.cpp:62
te::layout::ContextItem::getPixmap
te::color::RGBAColor ** getPixmap()
Definition:
ContextItem.cpp:82
te::layout::ContextItem::m_resizeCanvas
bool m_resizeCanvas
Definition:
ContextItem.h:126
te::layout::ContextItem::setParams
void setParams(ParamsCreate params)
Definition:
ContextItem.cpp:57
te::layout::ContextItem::m_zoomFactor
double m_zoomFactor
Definition:
ContextItem.h:122
te::layout::ContextItem::m_wait
bool m_wait
Definition:
ContextItem.h:125
te::layout::ContextItem::getWait
bool getWait()
Definition:
ContextItem.cpp:102
te::layout::ContextItem::setResizeCanvas
void setResizeCanvas(bool clear)
Definition:
ContextItem.cpp:112
te::layout::ContextItem::getShow
bool getShow()
Definition:
ContextItem.cpp:92
ParamsCreate.h
te::color::RGBAColor
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
Definition:
RGBAColor.h:57
te::layout::ContextItem::setWait
void setWait(bool wait)
Definition:
ContextItem.cpp:97
te::layout::ContextItem::setZoomFactor
void setZoomFactor(double zoomFactor)
Definition:
ContextItem.cpp:67
te::layout::ContextItem::isResizeCanvas
bool isResizeCanvas()
Definition:
ContextItem.cpp:107
te::layout::ContextItem::m_params
ParamsCreate m_params
Definition:
ContextItem.h:121
te::layout::ContextItem::ContextItem
ContextItem()
Definition:
ContextItem.cpp:31
BB_TL5
terralib5
src
terralib
layout
include
core
ContextItem.h
Generated on Mon Sep 29 2014 13:46:32 for TerraLib by
1.8.7