|
OSG
3.4.0
|
#include <ReflectionMapGenerator.h>


Protected Member Functions | |
| virtual | ~ReflectionMapGenerator () |
| ReflectionMapGenerator & | operator= (const ReflectionMapGenerator &) |
| virtual osg::Vec4 | compute_color (const osg::Vec3 &R) const |
Protected Member Functions inherited from osgUtil::CubeMapGenerator | |
| virtual | ~CubeMapGenerator () |
| CubeMapGenerator & | operator= (const CubeMapGenerator &) |
| void | set_pixel (int index, int c, int r, const osg::Vec4 &color) |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Additional Inherited Members | |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
Static Protected Member Functions inherited from osgUtil::CubeMapGenerator | |
| static osg::Vec4 | vector_to_color (const osg::Vec3 &vec) |
Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
This is the most simple cube map generator. It performs a direct association between reflection vector and RGBA color (C = R).
Definition at line 24 of file ReflectionMapGenerator.h.
|
inline |
Definition at line 38 of file ReflectionMapGenerator.h.
|
inline |
Definition at line 43 of file ReflectionMapGenerator.h.
|
inlineprotectedvirtual |
Definition at line 30 of file ReflectionMapGenerator.h.
|
inlineprotectedvirtual |
Override this method to define how colors are computed. The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray.
Implements osgUtil::CubeMapGenerator.
Definition at line 48 of file ReflectionMapGenerator.h.

|
inlineprotected |
Definition at line 31 of file ReflectionMapGenerator.h.
1.8.8