proland::ForestOrthoLayer Class Reference

An OrthoGPUProducer layer to draw forests. More...

#include <ForestOrthoLayer.h>

Inheritance diagram for proland::ForestOrthoLayer:
proland::GraphLayer

List of all members.

Public Member Functions

 ForestOrthoLayer (ptr< GraphProducer > graphProducer, ptr< Program > layerProgram, int displayLevel=0, bool quality=true, vec4f color=vec4f(0, 0, 0, 0))
 Creates a new ForestOrthoLayer.
virtual ~ForestOrthoLayer ()
 Deletes this ForestOrthoLayer.

Protected Member Functions

 ForestOrthoLayer ()
 Creates an uninitialized ForestOrthoLayer.
void init (ptr< GraphProducer > graphProducer, ptr< Program > layerProgram, int displayLevel=0, bool quality=true, vec4f color=vec4f(0, 0, 0, 0))
 Initializes this ForestOrthoLayer.

Private Attributes

vec4f color
 Forest color.
ptr< Mesh< vec2f, unsigned int > > mesh
 The mesh used for drawing curves.
ptr< Tesselatortess
 The tesselator used for drawing areas.

Detailed Description

An OrthoGPUProducer layer to draw forests.

Author:
Antoine Begault, Guillaume Piolat

Constructor & Destructor Documentation

proland::ForestOrthoLayer::ForestOrthoLayer ( ptr< GraphProducer graphProducer,
ptr< Program >  layerProgram,
int  displayLevel = 0,
bool  quality = true,
vec4f  color = vec4f(0, 0, 0, 0) 
)

Creates a new ForestOrthoLayer.

Parameters:
graphProducer the GraphProducer that produces the graphs to be drawn by this layer.
layerProgram the Program to be used to draw the graphs.
displayLevel the quadtree level at which the display of this layer must start.
quality enable or not the quality mode (better display).
color the color of forests (default 0:0:0).
virtual proland::ForestOrthoLayer::~ForestOrthoLayer (  )  [virtual]

Deletes this ForestOrthoLayer.

proland::ForestOrthoLayer::ForestOrthoLayer (  )  [protected]

Creates an uninitialized ForestOrthoLayer.


Member Function Documentation

void proland::ForestOrthoLayer::init ( ptr< GraphProducer graphProducer,
ptr< Program >  layerProgram,
int  displayLevel = 0,
bool  quality = true,
vec4f  color = vec4f(0, 0, 0, 0) 
) [protected]

Initializes this ForestOrthoLayer.

See ForestOrthoLayer.


Member Data Documentation

Forest color.

ptr< Mesh<vec2f, unsigned int> > proland::ForestOrthoLayer::mesh [private]

The mesh used for drawing curves.

The tesselator used for drawing areas.


Generated on Sat May 12 09:42:48 2012 for proland by  doxygen 1.6.1