| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes
TeBaseVisualParams Class Reference

A class to represent the base visual parameters. More...

`#include <TeVisual.h>`

List of all members.

## Public Member Functions

| TeBaseVisualParams (TeGeomRep rep=TePOLYGONS, const string &visualType="tevisual")
| Constructor.
| TeBaseVisualParams (const TeBaseVisualParams &other)
| Copy constructor.
virtual | ~TeBaseVisualParams ()
| Destructor.
virtual TeBaseVisualParams & | operator= (const TeBaseVisualParams &visParams)
| Assignment operator.
virtual bool | operator== (const TeBaseVisualParams &visParams)
| Returns TRUE if param1 is equal to param2 or FALSE if they are different.
virtual void | clear ()
| Returns visual to the default parameters.
virtual void | setBasic (TeBaseVisualParams &visParams)
| Copies only the basic visual parameters from another visual.
string | getProductId ()
| Returns the visual params type.

## Public Attributes

int | symbId_
| Symbol id that define the style for the geometry filling.
TeColor | color_
| Color used for geometry filling (line, point and text color)
int | transparency_
| Percentage of transparency for the geometry filling.
int | width_
| Width for line geometry.
int | contourSymbId_
| Symbol id that define the style for the geometry outline.
TeColor | contourColor_
| Contour color for the geometry outline.
int | contourTransparency_
| Percentage of transparency for the geometry outline.
int | contourWidth_
| Width for the geometry outline.
int | sizeValue_
| Point size.
int | ptAngle_
| Point angle.
string | family_
| Text family.
bool | bold_
| Flag to indicate if text is bold.
bool | italic_
| Flag to indicate if text is italic.
double | alignmentVert_
| Position of vertical alignment.
double | alignmentHoriz_
| Position of horizontal alignment.
int | tabSize_
| Number of spaces defined in a tab character.
int | lineSpace_
| Spacing between lines.
bool | fixedSize_
| Flag to indicate that element has a fixed size, donīt follow zoom operations.
string | visualType_
| Visual type used in factory strategy.
TeGeomRep | geomRep_
| Geometric representation associated with this visual.

## Detailed Description

A class to represent the base visual parameters.

This class contains the base visual parameters and it is used by the factory responsible for creating visual objects.

See also:
  TeVisual

## Constructor & Destructor Documentation

TeBaseVisualParams::TeBaseVisualParams | ( | TeGeomRep | rep = `TePOLYGONS`,
|  | const string & | visualType = `"tevisual"`
| ) |  |

Constructor.

TeBaseVisualParams::TeBaseVisualParams | ( | const TeBaseVisualParams & | other | ) |

Copy constructor.

virtual TeBaseVisualParams::~TeBaseVisualParams | ( |  | ) | `[inline, virtual]`

Destructor.

## Member Function Documentation

void TeBaseVisualParams::clear | ( | void |  | ) | `[virtual]`

Returns visual to the default parameters.

string TeBaseVisualParams::getProductId | ( |  | ) | `[inline]`

Returns the visual params type.

TeBaseVisualParams & TeBaseVisualParams::operator= | ( | const TeBaseVisualParams & | visParams | ) | `[virtual]`

Assignment operator.

bool TeBaseVisualParams::operator== | ( | const TeBaseVisualParams & | visParams | ) | `[virtual]`

Returns TRUE if param1 is equal to param2 or FALSE if they are different.

void TeBaseVisualParams::setBasic | ( | TeBaseVisualParams & | visParams | ) | `[virtual]`

Copies only the basic visual parameters from another visual.

## Member Data Documentation

double TeBaseVisualParams::alignmentHoriz_

Position of horizontal alignment.

double TeBaseVisualParams::alignmentVert_

Position of vertical alignment.

bool TeBaseVisualParams::bold_

Flag to indicate if text is bold.

TeColor TeBaseVisualParams::color_

Color used for geometry filling (line, point and text color)

TeColor TeBaseVisualParams::contourColor_

Contour color for the geometry outline.

int TeBaseVisualParams::contourSymbId_

Symbol id that define the style for the geometry outline.

int TeBaseVisualParams::contourTransparency_

Percentage of transparency for the geometry outline.

int TeBaseVisualParams::contourWidth_

Width for the geometry outline.

string TeBaseVisualParams::family_

Text family.

bool TeBaseVisualParams::fixedSize_

Flag to indicate that element has a fixed size, donīt follow zoom operations.

TeGeomRep TeBaseVisualParams::geomRep_

Geometric representation associated with this visual.

bool TeBaseVisualParams::italic_

Flag to indicate if text is italic.

int TeBaseVisualParams::lineSpace_

Spacing between lines.

int TeBaseVisualParams::ptAngle_

Point angle.

int TeBaseVisualParams::sizeValue_

Point size.

int TeBaseVisualParams::symbId_

Symbol id that define the style for the geometry filling.

int TeBaseVisualParams::tabSize_

Number of spaces defined in a tab character.

int TeBaseVisualParams::transparency_

Percentage of transparency for the geometry filling.

string TeBaseVisualParams::visualType_

Visual type used in factory strategy.

int TeBaseVisualParams::width_

Width for line geometry.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeVisual.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeVisual.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines