Coin Logo http://www.coin3d.org/
http://www.kongsberg.com/kogt/

SoNormal Class Reference
[Node Classes]

The SoNormal class is a node for providing normals to the state.Coin will automatically calculate normals for you if no SoNormal nodes are present in the scene graph, but explicitly setting normals is useful for at least two purposes: 1) a potential increase in performance, 2) you can calculate and use "incorrect" normals to do various special effects. More...

#include <Inventor/nodes/SoNormal.h>

Inheritance diagram for SoNormal:
SoNode SoFieldContainer SoBase

List of all members.

Public Member Functions

 SoNormal (void)
virtual void doAction (SoAction *action)
virtual void GLRender (SoGLRenderAction *action)
virtual void callback (SoCallbackAction *action)
virtual void pick (SoPickAction *action)
virtual void getPrimitiveCount (SoGetPrimitiveCountAction *action)

Static Public Member Functions

static void initClass (void)
 Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.

Public Attributes

SoMFVec3f vector

Protected Member Functions

virtual ~SoNormal ()

Detailed Description

The SoNormal class is a node for providing normals to the state.

Coin will automatically calculate normals for you if no SoNormal nodes are present in the scene graph, but explicitly setting normals is useful for at least two purposes: 1) a potential increase in performance, 2) you can calculate and use "incorrect" normals to do various special effects.

FILE FORMAT/DEFAULTS:

    Normal {
        vector [  ]
    }
See also:
SoNormalBinding

Constructor & Destructor Documentation

SoNormal::SoNormal ( void   ) 

Constructor.

SoNormal::~SoNormal (  )  [protected, virtual]

Destructor.


Member Data Documentation

Sets a pool of normal vectors in the traversal state.


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

Copyright © by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated on Mon Nov 7 20:02:02 2011 for Coin by Doxygen 1.6.3.