| TerraLib 4.1

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

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

Public Member Functions
TeGTMWaypoints Class Reference

TeGTMWaypoints class with images informations. More...

`#include <TeGTM.h>`

List of all members.

## Public Member Functions

| TeGTMWaypoints ()
| Constructor.
| ~TeGTMWaypoints ()
| Destructor.
void | readGTMWaypoints (FILE *file)
| Images information reader.
void | writeGTMWaypoints (FILE *file)
| Images information writer.
double | getLatitude ()
| latitude_ attribute Getter
void | setLatitude (double latitude)
| latitude_ attribute Setter
double | getLongitude ()
| longitude_ attribute Getter
void | setLongitude (double longitude)
| longitude_ attribute Setter
char * | getName ()
| name_ attribute Getter
void | setName (char *name)
| name_ attribute Setter
char * | getWname ()
| wname_ attribute Getter
void | setWname (char *wname)
| wname_ attribute Setter
short | getIco ()
| ico_ attribute Getter
void | setIco (short ico)
| ico_ attribute Setter
short | getWrot ()
| wrot_ attribute Getter
void | setWrot (short wrot)
| wrot_ attribute Setter
short | getWlayer ()
| wlayer_ attribute Getter
void | setWlayer (short wlayer)
| wlayer_ attribute Setter
long | getWdate ()
| wdate_ attribute Getter
void | setWdate (long wdate)
| wdate_ attribute Setter
float | getWalt ()
| walt_ attribute Getter
void | setWalt (float walt)
| walt_ attribute Setter
unsigned char | getDspl ()
| dspl_ attribute Getter
void | setDspl (unsigned char dspl)
| dspl_ attribute Setter

## Detailed Description

TeGTMWaypoints class with images informations.

Attributes used latitude - double Latitude in degrees with 13 decimal places longitude - double Longitude in degrees with 13 decimal places name - String*10 Waypoint Name wname - string Waypoint comments ico - integer Icon number. See the table below. (Default = 48) dslp - byte Display number. See the table below. wdate - long Waypoint date - Number of seconds since 31-Dec-1989. See the examples below. wrot - integer Angle of Rotation x10 – Example: 1800 = 180 degrees walt - single Altitude in meters wlayer - integer Reserved – Set to 0

Author:
  Luiz Claudio Oliveira de Andrade <lcoandrade@gmail.com>

## Constructor & Destructor Documentation

TeGTMWaypoints::TeGTMWaypoints | ( |  | ) |

Constructor.

TeGTMWaypoints::~TeGTMWaypoints | ( |  | ) |

Destructor.

## Member Function Documentation

unsigned char TeGTMWaypoints::getDspl | ( |  | ) | `[inline]`

dspl_ attribute Getter

short TeGTMWaypoints::getIco | ( |  | ) | `[inline]`

ico_ attribute Getter

double TeGTMWaypoints::getLatitude | ( |  | ) | `[inline]`

latitude_ attribute Getter

double TeGTMWaypoints::getLongitude | ( |  | ) | `[inline]`

longitude_ attribute Getter

char* TeGTMWaypoints::getName | ( |  | ) | `[inline]`

name_ attribute Getter

float TeGTMWaypoints::getWalt | ( |  | ) | `[inline]`

walt_ attribute Getter

long TeGTMWaypoints::getWdate | ( |  | ) | `[inline]`

wdate_ attribute Getter

short TeGTMWaypoints::getWlayer | ( |  | ) | `[inline]`

wlayer_ attribute Getter

char* TeGTMWaypoints::getWname | ( |  | ) | `[inline]`

wname_ attribute Getter

short TeGTMWaypoints::getWrot | ( |  | ) | `[inline]`

wrot_ attribute Getter

void TeGTMWaypoints::readGTMWaypoints | ( | FILE * | file | ) |

Images information reader.

Parameters:

  file | pointer to a FILE* with the .gtm file to be imported.

void TeGTMWaypoints::setDspl | ( | unsigned char | dspl | ) | `[inline]`

dspl_ attribute Setter

Parameters:

  dspl. |

void TeGTMWaypoints::setIco | ( | short | ico | ) | `[inline]`

ico_ attribute Setter

Parameters:

  ico. |

void TeGTMWaypoints::setLatitude | ( | double | latitude | ) | `[inline]`

latitude_ attribute Setter

Parameters:

  latitude. |

void TeGTMWaypoints::setLongitude | ( | double | longitude | ) | `[inline]`

longitude_ attribute Setter

Parameters:

  longitude. |

void TeGTMWaypoints::setName | ( | char * | name | ) | `[inline]`

name_ attribute Setter

Parameters:

  name. |

void TeGTMWaypoints::setWalt | ( | float | walt | ) | `[inline]`

walt_ attribute Setter

Parameters:

  walt. |

void TeGTMWaypoints::setWdate | ( | long | wdate | ) | `[inline]`

wdate_ attribute Setter

Parameters:

  wdate. |

void TeGTMWaypoints::setWlayer | ( | short | wlayer | ) | `[inline]`

wlayer_ attribute Setter

Parameters:

  wlayer. |

void TeGTMWaypoints::setWname | ( | char * | wname | ) | `[inline]`

wname_ attribute Setter

Parameters:

  wname. |

void TeGTMWaypoints::setWrot | ( | short | wrot | ) | `[inline]`

wrot_ attribute Setter

Parameters:

  wrot. |

void TeGTMWaypoints::writeGTMWaypoints | ( | FILE * | file | ) |

Images information writer.

Parameters:

  file | pointer to a FILE* with the .gtm file to be exported.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GTM/TeGTM.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GTM/TeGTM.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines