![]() |
VR-Forces 5.0.1 Developer's Guide
|
manages cube maps for multiple cameras(windows/views/channels)
Public Member Functions | |
| virtual | ~DtSilverLiningCubeMapManager () |
| virtual void | flushInvalidCameras (void) |
| virtual DtSilverLiningCubeMapData * | getOrCreateCubeMapData (const osg::Camera *osgCamera, const osg::Vec3d &camPos) |
| virtual void | releaseGLObjects (osg::State *state) |
| virtual void | updateCubeMap (osg::ref_ptr< const osg::Camera > osgCamera, bool fullRegenerate) |
| virtual unsigned int | findCubeMap (osg::ref_ptr< const osg::Camera > osgCamera) const |
| virtual DtSilverLiningCubeMapData * | findCubeMapData (osg::ref_ptr< const osg::Camera > osgCamera) |
| virtual void | setCubeMapDirtyState (int val) |
Public Attributes | |
| friend | DtSilverLiningCubeMapManagerCreator |
Protected Types | |
| typedef std::map < osg::observer_ptr< const osg::Camera > , DtSilverLiningCubeMapData * > | MapCameraToCubeMapData |
Protected Member Functions | |
| DtSilverLiningCubeMapManager (DtDe &de) | |
Protected Attributes | |
| MapCameraToCubeMapData | myMapCameraToCubeMapData |
| DtDe & | myDe |
Private Member Functions | |
| DtSilverLiningCubeMapManager (const DtSilverLiningCubeMapManager &rhs)=delete | |
| DtSilverLiningCubeMapManager & | operator= (const DtSilverLiningCubeMapManager &rhs)=delete |
|
protected |
|
virtual |
destructor
|
protected |
constructor
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
virtual |
flush invalid cameras as windows come in/out
|
virtual |
get the cube map data associated with a given osg camera
|
virtual |
release OpenGL objects
|
virtual |
Request an updated cube map with the next draw for all cameras Also, flush invalid camera if any.
|
virtual |
find the cube map for a given osg camera
|
virtual |
find the cube map info/data for a given osg camera
|
virtual |
find the cube map info/data for a given osg camera
| friend makVrv::DtSilverLiningCubeMapManager::DtSilverLiningCubeMapManagerCreator |
only creator can create
|
protected |
|
protected |