other versions
- jessie 3.1.4~abc9f50-7
SoConvexDataCache(3) | Coin | SoConvexDataCache(3) |
NAME¶
SoConvexDataCache - The 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.SYNOPSIS¶
#include <Inventor/caches/SoConvexDataCache.h> Inherits SoCache.Public Types¶
enum Binding { NONE = 0, PER_FACE, PER_FACE_INDEXED, PER_VERTEX, PER_VERTEX_INDEXED }
Public Member Functions¶
SoConvexDataCache (SoState *const state)
Additional Inherited Members¶
Detailed Description¶
The 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::Binding¶
The Binding enum is used to specify bindings. Binding applies to normals, materials and texture coordinates.Constructor & Destructor Documentation¶
SoConvexDataCache::SoConvexDataCache ( SoState *conststate)¶
Constructor with state being the current state.SoConvexDataCache::~SoConvexDataCache () [virtual]¶
Destructor.Member Function Documentation¶
void SoConvexDataCache::generate (const SoCoordinateElement *constcoords, const SbMatrix &matrix, const int32_t *vind, const intnumv, const int32_t *mind, const int32_t *nind, const int32_t *tind, const Bindingmatbind, const Bindingnormbind, const Bindingtexbind)¶
Generates the convexified data. FIXME: docconst int32_t * SoConvexDataCache::getCoordIndices (void) const¶
Returns a pointer to the convexified coordinate indices. See also:SoConvexDataCache::getNumCoordIndices()
int SoConvexDataCache::getNumCoordIndices (void) const¶
Returns the number of coordinate indices. See also:SoConvexDataCache::getCoordIndices()
const int32_t * SoConvexDataCache::getMaterialIndices (void) const¶
Returns the convexified material indices. See also:SoConvexDataCache::getNumMaterialIndices()
int SoConvexDataCache::getNumMaterialIndices (void) const¶
Returns the number of material indices. See also:SoConvexDataCache::getMaterialIndices()
const int32_t * SoConvexDataCache::getNormalIndices (void) const¶
Returns the convexified normal indices. See also:SoConvexDataCache::getNumNormalIndices()
int SoConvexDataCache::getNumNormalIndices (void) const¶
Returns the number of normal indices. See also:SoConvexDataCache::getNormalIndices()
const int32_t * SoConvexDataCache::getTexIndices (void) const¶
Returns the convexified texture coordinate indices. See also:SoConvexDataCache::getNumTexIndices()
int SoConvexDataCache::getNumTexIndices (void) const¶
Returns the number of texture coordinate indices. See also:SoConvexDataCache::getTexIndices()
Author¶
Generated automatically by Doxygen for Coin from the source code.Thu May 29 2014 | Version 4.0.0a |