Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoTangentCache.h File Reference
#include <Inventor/SbLinear.h>
#include <Inventor/caches/SoCache.h>
#include <Inventor/elements/SoTangentBindingElement.h>

Go to the source code of this file.

Functions

virtual ~SoTangentCache ()
 Class SoTangentCache:
 
void set (int numTangents, const SbVec3f *tangents, SoTangentBindingElement::Binding tangentBinding, int startIndex=0)
 Stores a list of tangents in the cache.
 
int getNum () const
 Returns the number of tangents in the cache.
 
const SbVec3fgetTangents () const
 Returns the list of tangents in the cache.
 
SoTangentBindingElement::Binding getTangentBinding () const
 Returns the tangent binding in the cache.
 
int getStartIndex () const
 Returns the startIndex offset in the cache.
 

Function Documentation

◆ getNum()

int getNum ( ) const

Returns the number of tangents in the cache.

Definition at line 48 of file SoTangentCache.h.

◆ getStartIndex()

int getStartIndex ( ) const

Returns the startIndex offset in the cache.

Definition at line 70 of file SoTangentCache.h.

◆ getTangentBinding()

SoTangentBindingElement::Binding getTangentBinding ( ) const

Returns the tangent binding in the cache.

Definition at line 64 of file SoTangentCache.h.

◆ getTangents()

const SbVec3f * getTangents ( ) const

Returns the list of tangents in the cache.

Definition at line 58 of file SoTangentCache.h.

◆ set()

void set ( int  numTangents,
const SbVec3f tangents,
SoTangentBindingElement::Binding  tangentBinding,
int  startIndex = 0 
)

Stores a list of tangents in the cache.

◆ ~SoTangentCache()

virtual ~SoTangentCache ( )
virtual

Class SoTangentCache:

A tangent cache stores a list of tangents.