Eaagles::BasicGL::Scanline::Edge Class Reference

Inherits Eaagles::Basic::LcObject.

Inheritance diagram for Eaagles::BasicGL::Scanline::Edge:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::BasicGL::Scanline::Edge:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Edge ()
 Edge (const LCreal v0[2], const osg::Vec3 &vn0, const LCreal v1[2], const osg::Vec3 &vn1, PolyData *const p)
 Edge (const LCreal v0[2], const LCreal v1[2], PolyData *const p)
void incEdgeStart ()

Public Attributes

osg::Vec2 lv
osg::Vec2 uv
LCreal x
LCreal slope
osg::Vec3 lvn
osg::Vec3 cn
osg::Vec3 nslope
bool valid
bool pointLock
SPtr< PolyDatapolygon

Constructor & Destructor Documentation

Eaagles::BasicGL::Scanline::Edge::Edge (  ) 

Eaagles::BasicGL::Scanline::Edge::Edge ( const LCreal  v0[2],
const osg::Vec3 &  vn0,
const LCreal  v1[2],
const osg::Vec3 &  vn1,
PolyData *const  p 
)

Eaagles::BasicGL::Scanline::Edge::Edge ( const LCreal  v0[2],
const LCreal  v1[2],
PolyData *const  p 
)


Member Function Documentation

void Eaagles::BasicGL::Scanline::Edge::incEdgeStart (  ) 

increment the edge's start data


Member Data Documentation

osg::Vec2 Eaagles::BasicGL::Scanline::Edge::lv

Lower Vertex.

osg::Vec2 Eaagles::BasicGL::Scanline::Edge::uv

Upper Vertex.

LCreal Eaagles::BasicGL::Scanline::Edge::x

Current X value.

LCreal Eaagles::BasicGL::Scanline::Edge::slope

slope of the edge

osg::Vec3 Eaagles::BasicGL::Scanline::Edge::lvn

Lower Vertex Norm.

osg::Vec3 Eaagles::BasicGL::Scanline::Edge::cn

Current Norm.

osg::Vec3 Eaagles::BasicGL::Scanline::Edge::nslope

Norm slope.

bool Eaagles::BasicGL::Scanline::Edge::valid

valid edge

bool Eaagles::BasicGL::Scanline::Edge::pointLock

after incEdgeStart() edge became a point

SPtr<PolyData> Eaagles::BasicGL::Scanline::Edge::polygon

This edge belongs to this polygon.


Generated on Tue Dec 19 16:26:47 2006 for Eaagles by  doxygen 1.5.0