Coin Logo http://www.sim.no/
http://www.coin3d.org/

SoTextureCoordinateCache Class Reference

#include <Inventor/caches/SoTextureCoordinateCache.h>

Inheritance diagram for SoTextureCoordinateCache:

SoCache

List of all members.


Detailed Description

The SoTextureCoordinateClass is used to cache generated texture coordinates.

Public Member Functions

 SoTextureCoordinateCache (SoState *const state)
virtual ~SoTextureCoordinateCache ()
void generate (const SbBox3f &bbox, const SbVec3f *vertices, const int numvertices)
const SbVec2fget (void) const
int getNum (void) const

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   )  const

Returns the generated texture coordinates.

int SoTextureCoordinateCache::getNum ( void   )  const

Returns the number of generated texture coordinates.


The documentation for this class was generated from the following files:

Copyright © 1998-2008 by Kongsberg SIM. All rights reserved.

Generated on Tue May 5 02:52:23 2009 for Coin by Doxygen 1.5.5.