Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

soprimitivevertexcache(3) [debian man page]

SoPrimitiveVertexCache(3)					       Coin						 SoPrimitiveVertexCache(3)

NAME
SoPrimitiveVertexCache - SYNOPSIS
Inherits SoCache. Public Types enum Arrays { NORMAL = 0x01, TEXCOORD = 0x02, COLOR = 0x04, ALL = (NORMAL|TEXCOORD|COLOR) } Public Member Functions SoPrimitiveVertexCache (SoState *state) virtual ~SoPrimitiveVertexCache () void renderTriangles (SoState *state, const int arrays=ALL) const void renderLines (SoState *state, const int arrays=ALL) const void renderPoints (SoState *state, const int array=ALL) const void addTriangle (const SoPrimitiveVertex *v0, const SoPrimitiveVertex *v1, const SoPrimitiveVertex *v2, const int *pointdetailidx=NULL) void addLine (const SoPrimitiveVertex *v0, const SoPrimitiveVertex *v1) void addPoint (const SoPrimitiveVertex *v) int getNumVertices (void) const const SbVec3f * getVertexArray (void) const const SbVec3f * getNormalArray (void) const const SbVec4f * getTexCoordArray (void) const const SbVec2f * getBumpCoordArray (void) const const uint8_t * getColorArray (void) const int getNumTriangleIndices (void) const const GLint * getTriangleIndices (void) const int32_t getTriangleIndex (const int idx) const SbBool colorPerVertex (void) const const SbVec4f * getMultiTextureCoordinateArray (const int unit) const int getNumLineIndices (void) const const GLint * getLineIndices (void) const int getNumPointIndices (void) const const GLint * getPointIndices (void) const void fit (void) void depthSortTriangles (SoState *state) Additional Inherited Members Detailed Description The SoPrimitiveVertexClass is used to cache generated triangles. Constructor &; Destructor Documentation SoPrimitiveVertexCache::SoPrimitiveVertexCache (SoState *state) Constructor. SoPrimitiveVertexCache::~SoPrimitiveVertexCache () [virtual] Destructor. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoPrimitiveVertexCache(3)

Check Out this Related Man Page

SoGLRenderCache(3)						       Coin							SoGLRenderCache(3)

NAME
SoGLRenderCache - The SoGLRenderCache class is used to cache OpenGL calls. SYNOPSIS
#include <Inventor/caches/SoGLRenderCache.h> Inherits SoCache. Public Member Functions SoGLRenderCache (SoState *state) virtual ~SoGLRenderCache () void open (SoState *state) void close (void) void call (SoState *state) int getCacheContext (void) const virtual SbBool isValid (const SoState *state) const virtual void addNestedCache (SoGLDisplayList *child) SoGLLazyElement::GLState * getPreLazyState (void) SoGLLazyElement::GLState * getPostLazyState (void) Protected Member Functions virtual void destroy (SoState *state) Detailed Description The SoGLRenderCache class is used to cache OpenGL calls. Constructor &; Destructor Documentation SoGLRenderCache::SoGLRenderCache (SoState *state) Constructor with state being the current state. SoGLRenderCache::~SoGLRenderCache () [virtual] Destructor. Member Function Documentation void SoGLRenderCache::open (SoState *state) Opens the cache. All GL calls will be cached until close() is called. See also: close() call() void SoGLRenderCache::close (void) Closes the cache. Should be called after all GL calls. See also: open() void SoGLRenderCache::call (SoState *state) Executes the cached display list. See also: open() int SoGLRenderCache::getCacheContext (void) const Returns the cache context of this cache. This is used to quickly determine if cache can be used for a state. This method is an extension versus the Open Inventor API. SbBool SoGLRenderCache::isValid (const SoState *state) const [virtual] Return TRUE if this cache is valid, FALSE otherwise. Reimplemented from SoCache. void SoGLRenderCache::addNestedCache (SoGLDisplayList *child) [virtual] Adds a display list which is called from this cache. This is to make sure the child display list isn't destroyed too early. void SoGLRenderCache::destroy (SoState *state) [protected], [virtual] Can be overridden by subclasses to clean up before they are deleted. Default method does nothing. Reimplemented from SoCache. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoGLRenderCache(3)
Man Page