H3D API  2.4.1
List of all members
H3D::Extrusion::AutoNormal Class Reference

Specialized field for automatically generating normals from coordinates. More...

#include <H3D/Extrusion.h>

Inheritance diagram for H3D::Extrusion::AutoNormal:
Inheritance graph

Additional Inherited Members

- Protected Member Functions inherited from H3D::TypedField< SFNormalNode, Types< VertexVector, SFFloat, SFBool, SFBool > >
void checkFieldType (Field *f, int index)
 Function for checking that a field is of a correct type given type specification according to the TypedField template arguments. More...
 
void checkTemplateArguments ()
 Function for checking that a field given TypedField type specification is valid. More...
 

Detailed Description

Specialized field for automatically generating normals from coordinates.

The resulting Normal node will contain normals per face if creaseAngle <=0. If creaseAngle >= pi, then the normals returned will be a normal per vertex in vertexVector and finally the normals returned will contain a normal per vertex in each face if 0 < creaseAngle < pi.

routes_in[0] is the vertexVector field. routes_in[1] is the creaseAngle field.


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