SmallChange  1.0.0
A collection of extensions to Coin3D
Loading...
Searching...
No Matches
SmVertexArrayShape Class Reference

The SmVertexArrayShape class us used to render using OpenGL vertex arrays (and soon vertex buffer objects). More...

Inheritance diagram for SmVertexArrayShape:
SoShape

Public Types

enum  RenderAsVertexBufferObjects { OFF , ON , AUTO }
 
enum  ShapeType {
  POINTS = -1 , LINES = -2 , LINE_LOOP = -3 , LINE_STRIP = -4 ,
  TRIANGLES = -5 , TRIANGLE_STRIP = -6 , TRIANGLE_FAN = -7 , QUADS = -8 ,
  QUAD_STRIP = -9 , POLYGON = -10
}
 

Public Member Functions

 SmVertexArrayShape (void)
 
virtual void getPrimitiveCount (SoGetPrimitiveCountAction *action)
 
virtual void GLRender (SoGLRenderAction *action)
 

Static Public Member Functions

static void initClass (void)
 

Public Attributes

SoSFEnum renderAsVertexBufferObject
 
SoSFNode vertexColor
 
SoSFNode vertexCoord
 
SoMFInt32 vertexIndex
 
SoSFNode vertexNormal
 
SoSFNode vertexTexCoord
 

Protected Member Functions

virtual ~SmVertexArrayShape ()
 
virtual void computeBBox (SoAction *action, SbBox3f &box, SbVec3f &center)
 
virtual void generatePrimitives (SoAction *action)
 
virtual void notify (SoNotList *list)
 

Detailed Description

The SmVertexArrayShape class us used to render using OpenGL vertex arrays (and soon vertex buffer objects).

Constructor & Destructor Documentation

◆ SmVertexArrayShape()

SmVertexArrayShape::SmVertexArrayShape ( void )

Constructor.

◆ ~SmVertexArrayShape()

SmVertexArrayShape::~SmVertexArrayShape ( )
protectedvirtual

Destructor.


The documentation for this class was generated from the following files: