| 
    Open Inventor Reference
    
   | 
 
Class SoNormalCache: More...
#include <Inventor/caches/SoNormalCache.h>
  
Public Member Functions | |
| SoNormalCache (SoState *state) | |
| Constructor and destructor.   | |
| ~SoNormalCache () | |
| void | set (int numNormals, const SbVec3f *normals) | 
| Stores a list of normals in the cache.   | |
| int | getNum () const | 
| Returns the number of normals and list of normals.   | |
| const SbVec3f * | getNormals () const | 
  Public Member Functions inherited from SoCache | |
| SoCache (SoState *state) | |
| Constructor.   | |
| void | ref () | 
| Reference/unreference.   | |
| void | unref (SoState *state=NULL) | 
| void | addElement (const SoElement *elt) | 
| Adds an element to elements-used list if not already there.   | |
| virtual void | addCacheDependency (const SoState *state, SoCache *cache) | 
| Adds a dependency of this instance on another cache instance.   | |
| virtual bool | isValid (const SoState *state) const | 
| Returns TRUE if cache is valid with respect to the given state.   | |
| const SoElement * | getInvalidElement (const SoState *state) const | 
| Assuming isValid() returns FALSE, this will return the first element that is invalid (auto-caching uses this in its heuristic).   | |
| void | invalidate () | 
| Make this cache invalid.   | |
Additional Inherited Members | |
  Protected Member Functions inherited from SoCache | |
| virtual void | destroy (SoState *state) | 
| Subclasses can use this to clean up just before they are deleted.   | |
| virtual | ~SoCache () | 
| Destructor.   | |
A normal cache stores a list of normals.
Definition at line 71 of file SoNormalCache.h.
| SoNormalCache::SoNormalCache | ( | SoState * | state | ) | 
| SoNormalCache::~SoNormalCache | ( | ) | 
      
  | 
  inline | 
Definition at line 83 of file SoNormalCache.h.
      
  | 
  inline | 
Definition at line 82 of file SoNormalCache.h.
| void SoNormalCache::set | ( | int | numNormals, | 
| const SbVec3f * | normals ) |