osg::TextVectorGlyph::VertexNormal Struct Reference

#include <OSGTextVectorGlyph.h>

List of all members.

Public Member Functions

 VertexNormal (const Vec2f &nextEdgeNormal_, const Vec2f &meanEdgeNormal_, Real32 edgeAngle_)

Public Attributes

Vec2f nextEdgeNormal
Vec2f meanEdgeNormal
Real32 edgeAngle


Detailed Description

Defines a normal for a vertex in a contour. The normal is approximated by taking the mean of its adjacent edge normals.

Definition at line 134 of file OSGTextVectorGlyph.h.


Constructor & Destructor Documentation

osg::TextVectorGlyph::VertexNormal::VertexNormal ( const Vec2f nextEdgeNormal_,
const Vec2f meanEdgeNormal_,
Real32  edgeAngle_ 
) [inline]

Constructor

Definition at line 59 of file OSGTextVectorGlyph.inl.

00060 : nextEdgeNormal(nextEdgeNormal_), meanEdgeNormal(meanEdgeNormal_), edgeAngle(edgeAngle_)
00061 {}


Member Data Documentation

The edge normal of the outgoing edge

Definition at line 137 of file OSGTextVectorGlyph.h.

normalized mean of the adjacent edge normals

Definition at line 140 of file OSGTextVectorGlyph.h.

the angle between the adjacent edges

Definition at line 143 of file OSGTextVectorGlyph.h.


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

Generated on Mon Mar 17 11:20:37 2008 for OpenSG by  doxygen 1.5.5