SoPrimitiveVertexCache - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 4.0.0
Note : Coin

NAMESoPrimitiveVertexCache

SYNOPSIS
#include <include/Inventor/caches/SoPrimitiveVertexCache​.h> Inherits SoCache​.

Public Typesenum Arrays { NORMAL = 0x01, TEXCOORD = 0x02, COLOR = 0x04, ALL = (NORMAL|TEXCOORD|COLOR) }

Public Member FunctionsSoPrimitiveVertexCache (SoState *state)
virtual ~SoPrimitiveVertexCache ()
virtual SbBool isValid (const SoState *state) const
void close (SoState *state)
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 DescriptionThe SoPrimitiveVertexClass is used to cache generated triangles​.

Constructor & Destructor Documentation

SoPrimitiveVertexCache::SoPrimitiveVertexCache (SoState * state)Constructor​.

SoPrimitiveVertexCache::~SoPrimitiveVertexCache () [virtual]Destructor​.

Member Function Documentation

SbBool SoPrimitiveVertexCache::isValid (const SoState * state) const [virtual]Return TRUE if this cache is valid, FALSE otherwise​. Reimplemented from SoCache​.

void SoPrimitiveVertexCache::close (SoState * state)Closes the cache after it's created​. Takes care of SoGLLazyElement synchronization​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   16,201 byte
man-SoPrimitiveVertexCache.3coin4Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 199,155
Visitor ID   :     :  
Visitor IP   :   18.191.171.121   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.