Rechercher une page de manuel
SoConvexDataCache
Langue: en
Version: 341725 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- SYNOPSIS
- Detailed Description
- Member Enumeration Documentation
- Constructor & Destructor Documentation
- 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.
- int SoConvexDataCache::getNumCoordIndices (void) constReturns the number of coordinate indices.
- const int32_t * SoConvexDataCache::getMaterialIndices (void) constReturns the convexified material indices.
- int SoConvexDataCache::getNumMaterialIndices (void) constReturns the number of material indices.
- const int32_t * SoConvexDataCache::getNormalIndices (void) constReturns the convexified normal indices.
- int SoConvexDataCache::getNumNormalIndices (void) constReturns the number of normal indices.
- const int32_t * SoConvexDataCache::getTexIndices (void) constReturns the convexified texture coordinate indices.
- int SoConvexDataCache::getNumTexIndices (void) constReturns the number of texture coordinate indices.
- Author
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 }
The Binding enum is used to specify bindings.
Public Member Functions
SoConvexDataCache (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
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 *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()
Author
Generated automatically by Doxygen for Coin from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre