TransformCache Class Reference

List of all members.

Public Member Functions

void Lookup (const Transform &t, Transform **tCached, Transform **tCachedInverse)
void Clear ()

Private Attributes

map< Transform, std::pair
< Transform *, Transform * > > 
cache
MemoryArena arena

Detailed Description

Definition at line 229 of file api.cpp.


Member Function Documentation

void TransformCache::Clear (  )  [inline]

Definition at line 250 of file api.cpp.

References arena, cache, and MemoryArena::FreeAll().

Referenced by pbrtWorldEnd().

void TransformCache::Lookup ( const Transform t,
Transform **  tCached,
Transform **  tCachedInverse 
) [inline]

Definition at line 232 of file api.cpp.

References MemoryArena::Alloc(), arena, cache, and Inverse().

Referenced by MakeCamera(), pbrtObjectInstance(), and pbrtShape().


Member Data Documentation

Definition at line 257 of file api.cpp.

Referenced by Clear(), and Lookup().

map<Transform, std::pair<Transform *, Transform *> > TransformCache::cache [private]

Definition at line 256 of file api.cpp.

Referenced by Clear(), and Lookup().


The documentation for this class was generated from the following file:
Generated on Sat Aug 28 20:00:15 2010 for pbrt by  doxygen 1.6.3