![]() |
http://www.sim.no/ http://www.coin3d.org/ |
#include <Inventor/caches/SoTextureCoordinateCache.h>
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 |
The SoTextureCoordinateClass is used to cache generated texture coordinates.
SoTextureCoordinateCache::SoTextureCoordinateCache | ( | SoState *const | state | ) |
Constructor.
SoTextureCoordinateCache::~SoTextureCoordinateCache | ( | ) | [virtual] |
Destructor.
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 | ) | const |
Returns the generated texture coordinates.
int SoTextureCoordinateCache::getNum | ( | void | ) | const |
Returns the number of generated texture coordinates.
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on 7 Jan 2016 for Coin by Doxygen 1.6.1.