1#ifndef COIN_SOVERTEXSHAPE_H
2#define COIN_SOVERTEXSHAPE_H
36#include <Inventor/nodes/SoSubNode.h>
37#include <Inventor/nodes/SoShape.h>
38#include <Inventor/fields/SoSFNode.h>
41#include <Inventor/nodes/SoVertexProperty.h>
74 const int num,
const SbVec3f * normals);
81 const SbBool neednormals);
87 void writeLockNormalCache(
void);
88 void writeUnlockNormalCache(
void);
89 SoVertexShapeP * pimpl;
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:51
The SoCoordinateElement class is yet to be documented.
Definition SoCoordinateElement.h:40
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition SoGLRenderAction.h:50
virtual void write(SoWriteAction *action)
Definition SoNode.cpp:1290
The SoNormalBundle class simplifies normal handling.
Definition SoNormalBundle.h:42
The SoNormalCache class is used to hold cached normals.
Definition SoNormalCache.h:43
The SoNotList class is a list of SoNotRec notification records.
Definition SoNotification.h:43
The SoSFNode class is a container for a single node.
Definition SoSFNode.h:47
SoShape(void)
Definition SoShape.cpp:350
static void initClass(void)
Sets up initialization for data common to all instances of this class, like submitting necessary info...
Definition SoShape.cpp:368
virtual void notify(SoNotList *nl)
Definition SoShape.cpp:1421
virtual SbBool shouldGLRender(SoGLRenderAction *action)
Definition SoShape.cpp:555
The SoState class manages the Coin scene graph traversal state data.
Definition SoState.h:44
SoSFNode vertexProperty
Definition SoVertexShape.h:58
virtual SbBool generateDefaultNormals(SoState *state, SoNormalBundle *bundle)
Definition SoVertexShape.cpp:194
void readUnlockNormalCache(void)
Definition SoVertexShape.cpp:364
SoNormalCache * generateAndReadLockNormalCache(SoState *const state)
Definition SoVertexShape.cpp:275
void readLockNormalCache(void)
Definition SoVertexShape.cpp:349
SoNormalCache * getNormalCache(void) const
Definition SoVertexShape.cpp:254
void setNormalCache(SoState *const state, const int num, const SbVec3f *normals)
Definition SoVertexShape.cpp:231
SoVertexShape(void)
Definition SoVertexShape.cpp:150
void getVertexData(SoState *state, const SoCoordinateElement *&coords, const SbVec3f *&normals, const SbBool neednormals)
Definition SoVertexShape.cpp:313
The SoWriteAction class writes a scene graph to file.
Definition SoWriteAction.h:42
#define SO_NODE_ABSTRACT_HEADER(classname)
Definition Coin_macros.dox:61