Rechercher une page de manuel
SoTextureCoordinateCache
Langue: en
Version: 352401 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- SYNOPSIS
- Detailed Description
- Constructor & Destructor Documentation
- Member Function Documentation
- void SoTextureCoordinateCache::generate (const SbBox3f & bbox, const SbVec3f * vertices, const int numvertices)Generates texture coordinates based on the bounding box of the geometry. This is usually called default texture coordinates in OIV.
- const SbVec2f * SoTextureCoordinateCache::get (void) constReturns the generated texture coordinates.
- int SoTextureCoordinateCache::getNum (void) constReturns the number of generated texture coordinates.
- Author
NAME
SoTextureCoordinateCache -SYNOPSIS
#include <Inventor/caches/SoTextureCoordinateCache.h>
Inherits SoCache.
Public Member Functions
SoTextureCoordinateCache (SoState *const state)
virtual ~SoTextureCoordinateCache ()
void generate (const SbBox3f &bbox, const SbVec3f *vertices, const int numvertices)
const SbVec2f * get (void) const
int getNum (void) const
Detailed Description
The SoTextureCoordinateClass is used to cache generated texture coordinates.
Constructor & Destructor Documentation
SoTextureCoordinateCache::SoTextureCoordinateCache (SoState *const state)Constructor.
SoTextureCoordinateCache::~SoTextureCoordinateCache () [virtual]Destructor.
Member Function Documentation
void SoTextureCoordinateCache::generate (const SbBox3f & bbox, const SbVec3f * vertices, const int numvertices)Generates texture coordinates based on the bounding box of the geometry. This is usually called default texture coordinates in OIV.
const SbVec2f * SoTextureCoordinateCache::get (void) constReturns the generated texture coordinates.
int SoTextureCoordinateCache::getNum (void) constReturns the number of generated texture coordinates.
Author
Generated automatically by Doxygen for Coin from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre