1#ifndef COIN_SONORMALBUNDLE_H
2#define COIN_SONORMALBUNDLE_H
27#include <Inventor/bundles/SoBundle.h>
28#include <Inventor/misc/SoNormalGenerator.h>
29#include <Inventor/elements/SoGLNormalElement.h>
48 SbBool addtostate = TRUE);
51 void set(int32_t num,
const SbVec3f * normals);
53 void send(
int index)
const;
61 SoNormalBundleP * pimpl;
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:40
The SoAction class is the base class for all traversal actions.
Definition SoAction.h:68
SoBundle(SoAction *action)
Definition SoBundle.cpp:47
The SoGLNormalElement class is yet to be documented.
Definition SoGLNormalElement.h:29
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
void set(int32_t num, const SbVec3f *normals)
Definition SoNormalBundle.cpp:189
SoNormalBundle(SoAction *action, SbBool forrendering)
Definition SoNormalBundle.cpp:44
void polygonVertex(const SbVec3f &v)
Definition SoNormalBundle.cpp:110
const SbVec3f & get(int index) const
Definition SoNormalBundle.cpp:203
int getNumGeneratedNormals(void) const
Definition SoNormalBundle.cpp:175
void send(int index) const
Definition SoNormalBundle.cpp:212
void triangle(const SbVec3f &p1, const SbVec3f &p2, const SbVec3f &p3)
Definition SoNormalBundle.cpp:131
void endPolygon(void)
Definition SoNormalBundle.cpp:121
void beginPolygon(void)
Definition SoNormalBundle.cpp:100
const SbVec3f * getGeneratedNormals(void) const
Definition SoNormalBundle.cpp:163
void initGenerator(int initnum=100)
Definition SoNormalBundle.cpp:84
void generate(int startindex=0, SbBool addtostate=TRUE)
Definition SoNormalBundle.cpp:145
SbBool shouldGenerate(int numneeded)
Definition SoNormalBundle.cpp:72
The SoNormalElement class is yet to be documented.
Definition SoNormalElement.h:31
The SoNormalGenerator class is used to generate normals.
Definition SoNormalGenerator.h:32