VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
makVrv::DtSkyObjectManager Class Reference
Inheritance diagram for makVrv::DtSkyObjectManager:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtSkyObjectManager ()
 
virtual DtOsgSkyObjectfindSkyObject ()
 
virtual void registerSkyObject (DtOsgSkyObject *obj)
 
virtual Vector4_32 ambientColor (const osg::Camera *osgCamera) const
 
virtual Vector4_32 diffuseColor (const osg::Camera *osgCamera) const
 
virtual Vector3_32 lightPosition (const osg::Camera *osgCamera) const
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static DtSkyObjectManagerinstance (DtDe &de)
 
static const std::string & theClassName ()
 

Public Attributes

boost::signalslib::signal
< void(DtOsgSkyObject *)> 
signal_skyObjectAdded
 
boost::signalslib::signal
< void(DtOsgSkyObject *)> 
signal_skyObjectToBeRemoved
 

Protected Member Functions

 DtSkyObjectManager ()
 

Protected Attributes

DtOsgSkyObjectmySkyObject = nullptr
 

Constructor & Destructor Documentation

virtual makVrv::DtSkyObjectManager::~DtSkyObjectManager ( )
virtual

DTOR.

makVrv::DtSkyObjectManager::DtSkyObjectManager ( )
protected

CTOR (protected)

Member Function Documentation

virtual DtOsgSkyObject* makVrv::DtSkyObjectManager::findSkyObject ( )
virtual

Find the sky object, returns null if none exists.

virtual void makVrv::DtSkyObjectManager::registerSkyObject ( DtOsgSkyObject obj)
virtual

Register a sky object pointer for later retrieval.

virtual Vector4_32 makVrv::DtSkyObjectManager::ambientColor ( const osg::Camera *  osgCamera) const
virtual

ambient color for a given camera/view

virtual Vector4_32 makVrv::DtSkyObjectManager::diffuseColor ( const osg::Camera *  osgCamera) const
virtual

diffuse color for a given camera/view

virtual Vector3_32 makVrv::DtSkyObjectManager::lightPosition ( const osg::Camera *  osgCamera) const
virtual

light position for a given camera/view

static DtSkyObjectManager& makVrv::DtSkyObjectManager::instance ( DtDe de)
static

Get/create instance of sky object manager.

static const std::string& makVrv::DtSkyObjectManager::theClassName ( )
static

Get the name this class is registered by.

Member Data Documentation

boost::signalslib::signal<void( DtOsgSkyObject* )> makVrv::DtSkyObjectManager::signal_skyObjectAdded
boost::signalslib::signal<void( DtOsgSkyObject* )> makVrv::DtSkyObjectManager::signal_skyObjectToBeRemoved
DtOsgSkyObject* makVrv::DtSkyObjectManager::mySkyObject = nullptr
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)