dtCore::SkyBox::AngularMapProfile Class Reference

this class will use an angular map or light probe to act as a skybox More...

#include <skybox.h>

Inheritance diagram for dtCore::SkyBox::AngularMapProfile:

dtCore::SkyBox::RenderProfile

List of all members.

Public Member Functions

 AngularMapProfile ()
void Config (osg::Group *)
void SetTexture (SkyBoxSideEnum side, const std::string &filename)

Protected Member Functions

void UpdateViewMatrix (const osg::Matrix &viewMat, const osg::Matrix &projMat)

Protected Attributes

dtCore::RefPtr< osg::Geode > mGeode
dtCore::RefPtr< osg::Texture2D > mAngularMap
dtCore::RefPtr< osg::Program > mProgram
dtCore::RefPtr< osg::Uniform > mInverseModelViewProjMatrix

Friends

class UpdateViewCallback

Classes

class  UpdateViewCallback


Detailed Description

this class will use an angular map or light probe to act as a skybox

Constructor & Destructor Documentation

SkyBox::AngularMapProfile::AngularMapProfile (  ) 


Member Function Documentation

void SkyBox::AngularMapProfile::Config ( osg::Group *  pGroup  )  [virtual]

Implements dtCore::SkyBox::RenderProfile.

void SkyBox::AngularMapProfile::SetTexture ( SkyBoxSideEnum  side,
const std::string &  filename 
) [virtual]

Implements dtCore::SkyBox::RenderProfile.

void SkyBox::AngularMapProfile::UpdateViewMatrix ( const osg::Matrix &  viewMat,
const osg::Matrix &  projMat 
) [protected]


Friends And Related Function Documentation

friend class UpdateViewCallback [friend]


Member Data Documentation

dtCore::RefPtr<osg::Geode> dtCore::SkyBox::AngularMapProfile::mGeode [protected]

dtCore::RefPtr<osg::Texture2D> dtCore::SkyBox::AngularMapProfile::mAngularMap [protected]

dtCore::RefPtr<osg::Program> dtCore::SkyBox::AngularMapProfile::mProgram [protected]

dtCore::RefPtr<osg::Uniform> dtCore::SkyBox::AngularMapProfile::mInverseModelViewProjMatrix [protected]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008