Poster of Linux kernelThe best gift for a Linux geek
tlp::GlMultiPolygon

tlp::GlMultiPolygon

Section: Tulip Open GL Library (3) Updated: 19 Jul 2010
Local index Up
 

NAME

tlp::GlMultiPolygon -  

SYNOPSIS


#include <GlMultiPolygon.h>

Inherits tlp::GlSimpleEntity.  

Public Member Functions


GlMultiPolygon (bool filled=true, bool outlined=true, const Color &fillColor=Color(0, 0, 0, 255), const Color &outlineColor=Color(0, 0, 0, 255))

void addPolygon (const std::vector< Coord > &poly)

virtual void draw (float lod, Camera *camera)

virtual void translate (const Coord &mouvement)

void getXML (xmlNodePtr rootNode)

void setWithXML (xmlNodePtr rootNode)
 

Protected Attributes


std::vector< GlPolygon > polygons

bool filled

bool outlined

Color fillColor

Color outlineColor
 

Detailed Description

Entity who represent a vector of polygons  

Constructor & Destructor Documentation

 

tlp::GlMultiPolygon::GlMultiPolygon (bool filled = true, bool outlined = true, const Color & fillColor = Color(0, 0, 0, 255), const Color & outlineColor = Color(0, 0, 0, 255))Constructor same as GlPolygon

 

Member Function Documentation

 

void tlp::GlMultiPolygon::addPolygon (const std::vector< Coord > & poly)Add a polygon with the Coord poly

 

virtual void tlp::GlMultiPolygon::draw (float lod, Camera * camera) [virtual]Draw all polygons

Implements tlp::GlSimpleEntity.  

void tlp::GlMultiPolygon::getXML (xmlNodePtr rootNode) [virtual]Get the data in XML form

Implements tlp::GlSimpleEntity.  

void tlp::GlMultiPolygon::setWithXML (xmlNodePtr rootNode) [virtual]Set the data with XML

Implements tlp::GlSimpleEntity.  

virtual void tlp::GlMultiPolygon::translate (const Coord & mouvement) [virtual]Translate entity

Reimplemented from tlp::GlSimpleEntity.  

Member Data Documentation

 

Color tlp::GlMultiPolygon::fillColor [protected]

 

bool tlp::GlMultiPolygon::filled [protected]

 

Color tlp::GlMultiPolygon::outlineColor [protected]

 

bool tlp::GlMultiPolygon::outlined [protected]

 

std::vector<GlPolygon> tlp::GlMultiPolygon::polygons [protected]

 

Author

Generated automatically by Doxygen for Tulip Open GL Library from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Protected Attributes
Detailed Description
Constructor & Destructor Documentation
tlp::GlMultiPolygon::GlMultiPolygon (bool filled = true, bool outlined = true, const Color & fillColor = Color(0, 0, 0, 255), const Color & outlineColor = Color(0, 0, 0, 255))Constructor same as GlPolygon
Member Function Documentation
void tlp::GlMultiPolygon::addPolygon (const std::vector< Coord > & poly)Add a polygon with the Coord poly
virtual void tlp::GlMultiPolygon::draw (float lod, Camera * camera) [virtual]Draw all polygons
void tlp::GlMultiPolygon::getXML (xmlNodePtr rootNode) [virtual]Get the data in XML form
void tlp::GlMultiPolygon::setWithXML (xmlNodePtr rootNode) [virtual]Set the data with XML
virtual void tlp::GlMultiPolygon::translate (const Coord & mouvement) [virtual]Translate entity
Member Data Documentation
Color tlp::GlMultiPolygon::fillColor [protected]
bool tlp::GlMultiPolygon::filled [protected]
Color tlp::GlMultiPolygon::outlineColor [protected]
bool tlp::GlMultiPolygon::outlined [protected]
std::vector<GlPolygon> tlp::GlMultiPolygon::polygons [protected]
Author

This document was created by man2html, using the manual pages.
Time: 22:28:15 GMT, April 16, 2011