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

NAMESoConvexDataCache − The SoConvexDataCache class is used to cache convexified polygons​.

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

Public Typesenum Binding { NONE = 0, PER_FACE, PER_FACE_INDEXED, PER_VERTEX, PER_VERTEX_INDEXED }
The Binding enum is used to specify bindings​.

Public Member FunctionsSoConvexDataCache (SoState *const state)
virtual ~SoConvexDataCache ()
void generate (const SoCoordinateElement *const coords, const SbMatrix &matrix, const int32_t *coordindices, const int numcoordindices, const int32_t *matindices, const int32_t *normindices, const int32_t *texindices, const Binding matbinding, const Binding normbinding, const Binding texbinding)
const int32_t * getCoordIndices (void) const
int getNumCoordIndices (void) const
const int32_t * getMaterialIndices (void) const
int getNumMaterialIndices (void) const
const int32_t * getNormalIndices (void) const
int getNumNormalIndices (void) const
const int32_t * getTexIndices (void) const
int getNumTexIndices (void) const

Additional Inherited Members

Detailed DescriptionThe SoConvexDataCache class is used to cache convexified polygons​. SoConvexDataCache is used to speed up rendering of concave polygons by tessellating all polygons into triangles and storing the newly generated primitives in an internal cache​. This class is not part of the original SGI Open Inventor v2​.1 API, but is a Coin extension​.

Member Enumeration Documentation

enum SoConvexDataCache::BindingThe Binding enum is used to specify bindings​. Binding applies to normals, materials and texture coordinates​.

Constructor & Destructor Documentation

SoConvexDataCache::SoConvexDataCache (SoState *const state)Constructor with state being the current state​.

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

Member Function Documentation

void SoConvexDataCache::generate (const SoCoordinateElement *const coords, const SbMatrix & matrix, const int32_t * vind, const int numv, const int32_t * mind, const int32_t * nind, const int32_t * tind, const Binding matbind, const Binding normbind, const Binding texbind)Generates the convexified data​. FIXME: doc

const int32_t * SoConvexDataCache::getCoordIndices (void) constReturns a pointer to the convexified coordinate indices​. See also SoConvexDataCache::getNumCoordIndices()

int SoConvexDataCache::getNumCoordIndices (void) constReturns the number of coordinate indices​. See also SoConvexDataCache::getCoordIndices()

const int32_t * SoConvexDataCache::getMaterialIndices (void) constReturns the convexified material indices​. See also SoConvexDataCache::getNumMaterialIndices()

int SoConvexDataCache::getNumMaterialIndices (void) constReturns the number of material indices​. See also SoConvexDataCache::getMaterialIndices()

const int32_t * SoConvexDataCache::getNormalIndices (void) constReturns the convexified normal indices​. See also SoConvexDataCache::getNumNormalIndices()

int SoConvexDataCache::getNumNormalIndices (void) constReturns the number of normal indices​. See also SoConvexDataCache::getNormalIndices()

const int32_t * SoConvexDataCache::getTexIndices (void) constReturns the convexified texture coordinate indices​. See also SoConvexDataCache::getNumTexIndices()

int SoConvexDataCache::getNumTexIndices (void) constReturns the number of texture coordinate indices​. See also SoConvexDataCache::getTexIndices()

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   21,738 byte
man-SoConvexDataCache.3coin3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 201,348
Visitor ID   :     :  
Visitor IP   :   3.145.73.167   :  
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.