.TH "SoTextureCoordinateCache" 3 "Fri Sep 6 2024 15:32:06" "Version 4.0.3" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoTextureCoordinateCache \- The \fBSoTextureCoordinateCache\fP class is used to cache generated texture coordinates\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits \fBSoCache\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBSoTextureCoordinateCache\fP (\fBSoState\fP *const state)" .br .ti -1c .RI "virtual \fB~SoTextureCoordinateCache\fP ()" .br .ti -1c .RI "void \fBgenerate\fP (const \fBSbBox3f\fP &bbox, const \fBSbVec3f\fP *vertices, const int numvertices)" .br .ti -1c .RI "const \fBSbVec2f\fP * \fBget\fP (void) const" .br .ti -1c .RI "int \fBgetNum\fP (void) const" .br .in -1c Public Member Functions inherited from \fBSoCache\fP .in +1c .ti -1c .RI "\fBSoCache\fP (\fBSoState\fP *const state)" .br .ti -1c .RI "void \fBref\fP (void)" .br .ti -1c .RI "void \fBunref\fP (\fBSoState\fP *state=NULL)" .br .ti -1c .RI "void \fBaddElement\fP (const \fBSoElement\fP *const elem)" .br .ti -1c .RI "virtual void \fBaddCacheDependency\fP (const \fBSoState\fP *state, \fBSoCache\fP *cache)" .br .ti -1c .RI "virtual SbBool \fBisValid\fP (const \fBSoState\fP *state) const" .br .ti -1c .RI "const \fBSoElement\fP * \fBgetInvalidElement\fP (const \fBSoState\fP *const state) const" .br .ti -1c .RI "void \fBinvalidate\fP (void)" .br .in -1c .SS "Additional Inherited Members" Protected Member Functions inherited from \fBSoCache\fP .in +1c .ti -1c .RI "virtual void \fBdestroy\fP (\fBSoState\fP *state)" .br .ti -1c .RI "virtual \fB~SoCache\fP ()" .br .in -1c .SH "Detailed Description" .PP The \fBSoTextureCoordinateCache\fP class is used to cache generated texture coordinates\&. .SH "Constructor & Destructor Documentation" .PP .SS "SoTextureCoordinateCache::SoTextureCoordinateCache (\fBSoState\fP *const state)" Constructor\&. .SS "SoTextureCoordinateCache::~SoTextureCoordinateCache ()\fR [virtual]\fP" Destructor\&. .SH "Member Function Documentation" .PP .SS "void SoTextureCoordinateCache::generate (const \fBSbBox3f\fP & bbox, const \fBSbVec3f\fP * vertices, const int numvertices)" Generates texture coordinates based on the bounding box of the geometry\&. This is usually called default texture coordinates in OIV\&. .SS "const \fBSbVec2f\fP * SoTextureCoordinateCache::get (void ) const" Returns the generated texture coordinates\&. .SS "int SoTextureCoordinateCache::getNum (void ) const" Returns the number of generated texture coordinates\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.