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 |
Definition at line 229 of file api.cpp.
| 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().
MemoryArena TransformCache::arena [private] |
map<Transform, std::pair<Transform *, Transform *> > TransformCache::cache [private] |
1.6.3