Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

Vec2f osg::TextVectorGlyph::VertexNormal::nextEdgeNormal
 

The edge normal of the outgoing edge

Definition at line 137 of file OSGTextVectorGlyph.h.

Vec2f osg::TextVectorGlyph::VertexNormal::meanEdgeNormal
 

normalized mean of the adjacent edge normals

Definition at line 140 of file OSGTextVectorGlyph.h.

Real32 osg::TextVectorGlyph::VertexNormal::edgeAngle
 

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 Thu Aug 25 04:23:13 2005 for OpenSG by  doxygen 1.4.3