A GraphLayer that displays curves with lines of one pixel width. More...
#include <LineOrthoLayer.h>
Public Member Functions | |
LineOrthoLayer (ptr< GraphProducer > graphProducer, ptr< Program > layerProgram, int displayLevel=0) | |
Creates a new LineOrthoLayer. | |
virtual | ~LineOrthoLayer () |
Deletes this LineOrthoLayer. | |
Protected Member Functions | |
LineOrthoLayer () | |
Creates an uninitialized LineOrthoLayer. | |
void | init (ptr< GraphProducer > graphProducer, ptr< Program > layerProgram, int displayLevel=0) |
Initializes this LineOrthoLayer. | |
Private Attributes | |
ptr< Mesh< vec2f, unsigned int > > | mesh |
The mesh used for drawing curves. |
A GraphLayer that displays curves with lines of one pixel width.
proland::LineOrthoLayer::LineOrthoLayer | ( | ptr< GraphProducer > | graphProducer, | |
ptr< Program > | layerProgram, | |||
int | displayLevel = 0 | |||
) |
Creates a new LineOrthoLayer.
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. |
virtual proland::LineOrthoLayer::~LineOrthoLayer | ( | ) | [virtual] |
Deletes this LineOrthoLayer.
proland::LineOrthoLayer::LineOrthoLayer | ( | ) | [protected] |
Creates an uninitialized LineOrthoLayer.
void proland::LineOrthoLayer::init | ( | ptr< GraphProducer > | graphProducer, | |
ptr< Program > | layerProgram, | |||
int | displayLevel = 0 | |||
) | [protected] |
Initializes this LineOrthoLayer.
See LineOrthoLayer.
ptr<Mesh<vec2f, unsigned int> > proland::LineOrthoLayer::mesh [private] |
The mesh used for drawing curves.