1#ifndef COIN_SONORMALGENERATOR_H
2#define COIN_SONORMALGENERATOR_H
27#include <Inventor/SbVec3f.h>
28#include <Inventor/SbBSPTree.h>
29#include <Inventor/lists/SbList.h>
30#include <Inventor/system/inttypes.h>
37 void reset(
const SbBool ccw);
40 void polygonVertex(
const SbVec3f &v);
43 void triangle(
const SbVec3f &v0,
51 void generate(
const float creaseAngle,
52 const int32_t * striplens = NULL,
53 const int numstrips = 0);
55 void generatePerStrip(
const int32_t * striplens,
57 void generatePerFace(
void);
58 void generateOverall(
void);
61 int getNumNormals()
const;
62 void setNumNormals(
const int num);
63 const SbVec3f *getNormals()
const;
64 const SbVec3f & getNormal(
const int32_t i)
const;
65 void setNormal(
const int32_t index,
const SbVec3f &normal);
69 SbList <int> vertexList;
70 SbList <int> vertexFace;
71 SbList <SbVec3f> faceNormals;
72 SbList <SbVec3f> vertexNormals;
The SbBSPTree class provides a binary space partitioning container.
Definition SbBSPTree.h:45
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:40
The SoNormalGenerator class is used to generate normals.
Definition SoNormalGenerator.h:32
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.