|
http://www.coin3d.org/ http://www.kongsberg.com/kogt/ |
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>
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 () |
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 [ ]
}
| SoNormal::SoNormal | ( | void | ) |
Constructor.
| SoNormal::~SoNormal | ( | ) | [protected, virtual] |
Destructor.
Sets a pool of normal vectors in the traversal state.
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.