1#ifndef COIN_SONORMALBUNDLE_H
2#define COIN_SONORMALBUNDLE_H
36#include <Inventor/bundles/SoBundle.h>
37#include <Inventor/misc/SoNormalGenerator.h>
38#include <Inventor/elements/SoGLNormalElement.h>
57 SbBool addtostate = TRUE);
60 void set(int32_t num,
const SbVec3f * normals);
62 void send(
int index)
const;
70 SoNormalBundleP * pimpl;
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:51
The SoAction class is the base class for all traversal actions.
Definition SoAction.h:77
SoBundle(SoAction *action)
Definition SoBundle.cpp:57
The SoGLNormalElement class is yet to be documented.
Definition SoGLNormalElement.h:38
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
void set(int32_t num, const SbVec3f *normals)
Definition SoNormalBundle.cpp:199
SoNormalBundle(SoAction *action, SbBool forrendering)
Definition SoNormalBundle.cpp:54
void polygonVertex(const SbVec3f &v)
Definition SoNormalBundle.cpp:120
const SbVec3f & get(int index) const
Definition SoNormalBundle.cpp:213
int getNumGeneratedNormals(void) const
Definition SoNormalBundle.cpp:185
void send(int index) const
Definition SoNormalBundle.cpp:222
void triangle(const SbVec3f &p1, const SbVec3f &p2, const SbVec3f &p3)
Definition SoNormalBundle.cpp:141
void endPolygon(void)
Definition SoNormalBundle.cpp:131
void beginPolygon(void)
Definition SoNormalBundle.cpp:110
const SbVec3f * getGeneratedNormals(void) const
Definition SoNormalBundle.cpp:173
void initGenerator(int initnum=100)
Definition SoNormalBundle.cpp:94
void generate(int startindex=0, SbBool addtostate=TRUE)
Definition SoNormalBundle.cpp:155
SbBool shouldGenerate(int numneeded)
Definition SoNormalBundle.cpp:82
The SoNormalElement class is yet to be documented.
Definition SoNormalElement.h:40
The SoNormalGenerator class is used to generate normals.
Definition SoNormalGenerator.h:41