1 #ifndef COIN_SOVERTEXSHAPE_H
2 #define COIN_SOVERTEXSHAPE_H
27 #include <Inventor/nodes/SoSubNode.h>
28 #include <Inventor/nodes/SoShape.h>
29 #include <Inventor/fields/SoSFNode.h>
32 #include <Inventor/nodes/SoVertexProperty.h>
33 #endif // !COIN_INTERNAL
38 class SoTextureCoordinateElement;
39 class SoCoordinateElement;
48 static void initClass(
void);
53 virtual SbBool generateDefaultNormals(
SoState * state,
54 SoNormalBundle * bundle);
55 virtual SbBool generateDefaultNormals(
SoState * state,
56 SoNormalCache * cache);
65 void setNormalCache(
SoState *
const state,
66 const int num,
const SbVec3f * normals);
67 SoNormalCache * getNormalCache(
void)
const;
69 SoNormalCache * generateAndReadLockNormalCache(
SoState *
const state);
70 void getVertexData(
SoState * state,
71 const SoCoordinateElement *& coords,
73 const SbBool neednormals);
75 void readLockNormalCache(
void);
76 void readUnlockNormalCache(
void);
79 void writeLockNormalCache(
void);
80 void writeUnlockNormalCache(
void);
81 SoVertexShapeP * pimpl;
84 #endif // !COIN_SOVERTEXSHAPE_H
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
virtual void notify(SoNotList *nl)
Definition: SoVertexShape.cpp:128
void pop(void)
Definition: SoState.cpp:284
The SoShape class is the superclass for geometry shapes.
Definition: SoShape.h:43
virtual SbBool shouldGLRender(SoGLRenderAction *action)
Definition: SoVertexShape.cpp:176
The SoWriteAction class writes a scene graph to file.
Definition: SoWriteAction.h:31
void push(void)
Definition: SoState.cpp:265
void setNormalCache(SoState *const state, const int num, const SbVec3f *normals)
Definition: SoVertexShape.cpp:186
SoNormalCache * generateAndReadLockNormalCache(SoState *const state)
Definition: SoVertexShape.cpp:230
virtual SbBool shouldGLRender(SoGLRenderAction *action)
Definition: SoShape.cpp:532
void readLockNormalCache(void)
Definition: SoVertexShape.cpp:303
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:41
The SoVertexShape class is the superclass for all vertex based shapes.
Definition: SoVertexShape.h:42
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
virtual SbBool generateDefaultNormals(SoState *state, SoNormalBundle *bundle)
Definition: SoVertexShape.cpp:149
void readUnlockNormalCache(void)
Definition: SoVertexShape.cpp:319
The SoSFNode class is a container for a single node.
Definition: SoSFNode.h:38
virtual void write(SoWriteAction *action)
Definition: SoNode.cpp:1189
Definition: SbRWMutex.h:29
SoNormalCache * getNormalCache(void) const
Definition: SoVertexShape.cpp:209
SoSFNode vertexProperty
Definition: SoVertexShape.h:50
The SoNotList class is a list of SoNotRec notification records.
Definition: SoNotification.h:34
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:39
SoVertexShape(void)
Definition: SoVertexShape.cpp:100
virtual void write(SoWriteAction *action)
Definition: SoVertexShape.cpp:284
virtual ~SoVertexShape()
Definition: SoVertexShape.cpp:113
virtual void notify(SoNotList *nl)
Definition: SoShape.cpp:1511
void getVertexData(SoState *state, const SoCoordinateElement *&coords, const SbVec3f *&normals, const SbBool neednormals)
Definition: SoVertexShape.cpp:268
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 24 2019 for Coin by Doxygen. 1.8.17