VR-Forces 5.0.3 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 | Protected Member Functions | Protected Attributes | Friends
makVrv::DtSharedLightingRenderSettings Class Reference

The shared lighting render settings.

Inheritance diagram for makVrv::DtSharedLightingRenderSettings:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtSharedLightingRenderSettings ()
 
Setting Getters & Setters
float lightingEmissionScale () const
 
void setLightingEmissionScale (float setting)
 
float lightingDiffuseScale () const
 
void setLightingDiffuseScale (float setting)
 
float lightingAmbientScale () const
 
void setLightingAmbientScale (float setting)
 
float globalAmbientValue () const
 
void setGlobalAmbientValue (float ambientValue)
 
bool useGlobalAmbient () const
 
void setUseGlobalAmbient (bool useGlobalAmbient)
 
float globalDiffuseValue () const
 
void setGlobalDiffuseValue (float diffuseValue)
 
bool useGlobalDiffuse () const
 
void setUseGlobalDiffuse (bool useGlobalDiffuse)
 
bool perPixelLightingEnabled () const
 
void setPerPixelLightingEnabled (bool setting)
 
Settings record / backup methods
void setFromRecord (const makArchives::DtLightingRenderSettingsRecord &rec)
 
void getRecord (makArchives::DtLightingRenderSettingsRecord &rec) const
 
virtual const
DtLightingRenderSettingsBackup
settingsBackup () const
 
virtual
DtLightingRenderSettingsBackup
settingsBackup ()
 
virtual void backup ()
 
- Public Member Functions inherited from makVrv::DtSharedSettings
 DtSharedSettings (const DtSharedSettingsManager &manager)
 
virtual ~DtSharedSettings ()
 
boost::shared_mutex & mutex ()
 
SafetyKey safeToEmitSignals ()
 
void setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock)
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static const std::string & className ()
 

Protected Member Functions

 DtSharedLightingRenderSettings (DtSharedSettingsManager &manager)
 

Protected Attributes

float myLightingEmissionScale
 
float myLightingDiffuseScale
 
float myLightingAmbientScale
 
float myGlobalAmbientValue
 
bool myUseGlobalAmbient
 
float myGlobalDiffuseValue
 
bool myUseGlobalDiffuse
 
bool myPerPixelLightingEnabled
 
DtLightingRenderSettingsBackupmySettingsBackup
 

Friends

class DtReadSettingsLock< DtSharedLightingRenderSettings >
 
class DtWriteSettingsLock< DtSharedLightingRenderSettings >
 

Constructor & Destructor Documentation

virtual makVrv::DtSharedLightingRenderSettings::~DtSharedLightingRenderSettings ( )
virtual

DTOR.

makVrv::DtSharedLightingRenderSettings::DtSharedLightingRenderSettings ( DtSharedSettingsManager manager)
protected

Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock).

Member Function Documentation

float makVrv::DtSharedLightingRenderSettings::lightingEmissionScale ( ) const

Get / Set scale factor for emissive textures.

void makVrv::DtSharedLightingRenderSettings::setLightingEmissionScale ( float  setting)

Get / Set scale factor for emissive textures.

float makVrv::DtSharedLightingRenderSettings::lightingDiffuseScale ( ) const

Get / Set scale factor for diffuse light.

void makVrv::DtSharedLightingRenderSettings::setLightingDiffuseScale ( float  setting)

Get / Set scale factor for emissive textures.

float makVrv::DtSharedLightingRenderSettings::lightingAmbientScale ( ) const

Get / Set scale factor for ambient light.

void makVrv::DtSharedLightingRenderSettings::setLightingAmbientScale ( float  setting)

Get / Set scale factor for emissive textures.

float makVrv::DtSharedLightingRenderSettings::globalAmbientValue ( ) const

Get / Set scale factor for emissive textures.

void makVrv::DtSharedLightingRenderSettings::setGlobalAmbientValue ( float  ambientValue)

Get / Set scale factor for emissive textures.

bool makVrv::DtSharedLightingRenderSettings::useGlobalAmbient ( ) const

Get / Set scale factor for emissive textures.

void makVrv::DtSharedLightingRenderSettings::setUseGlobalAmbient ( bool  useGlobalAmbient)

Get / Set scale factor for emissive textures.

float makVrv::DtSharedLightingRenderSettings::globalDiffuseValue ( ) const

Get / Set scale factor for emissive textures.

void makVrv::DtSharedLightingRenderSettings::setGlobalDiffuseValue ( float  diffuseValue)

Get / Set scale factor for emissive textures.

bool makVrv::DtSharedLightingRenderSettings::useGlobalDiffuse ( ) const

Get / Set scale factor for emissive textures.

void makVrv::DtSharedLightingRenderSettings::setUseGlobalDiffuse ( bool  useGlobalDiffuse)

Get / Set scale factor for emissive textures.

bool makVrv::DtSharedLightingRenderSettings::perPixelLightingEnabled ( ) const

Get / Set scale factor for emissive textures.

void makVrv::DtSharedLightingRenderSettings::setPerPixelLightingEnabled ( bool  setting)

Get / Set scale factor for emissive textures.

void makVrv::DtSharedLightingRenderSettings::setFromRecord ( const makArchives::DtLightingRenderSettingsRecord rec)

Restore the settings from a record.

void makVrv::DtSharedLightingRenderSettings::getRecord ( makArchives::DtLightingRenderSettingsRecord rec) const

Get the settings as a record.

virtual const DtLightingRenderSettingsBackup* makVrv::DtSharedLightingRenderSettings::settingsBackup ( ) const
virtual

Accessor for the settings backup (const).

Reimplemented from makVrv::DtSharedSettings.

virtual DtLightingRenderSettingsBackup* makVrv::DtSharedLightingRenderSettings::settingsBackup ( )
virtual

Accessor for the settings backup.

Reimplemented from makVrv::DtSharedSettings.

virtual void makVrv::DtSharedLightingRenderSettings::backup ( )
virtual

Called to back up the settings.

Reimplemented from makVrv::DtSharedSettings.

static const std::string& makVrv::DtSharedLightingRenderSettings::className ( )
static

The class name for this settings object.

Friends And Related Function Documentation

Use the DtReadSettingsLock to read the object.

Use the DtWriteSettingsLock to write to the object.

Member Data Documentation

float makVrv::DtSharedLightingRenderSettings::myLightingEmissionScale
protected
float makVrv::DtSharedLightingRenderSettings::myLightingDiffuseScale
protected
float makVrv::DtSharedLightingRenderSettings::myLightingAmbientScale
protected
float makVrv::DtSharedLightingRenderSettings::myGlobalAmbientValue
protected
bool makVrv::DtSharedLightingRenderSettings::myUseGlobalAmbient
protected
float makVrv::DtSharedLightingRenderSettings::myGlobalDiffuseValue
protected
bool makVrv::DtSharedLightingRenderSettings::myUseGlobalDiffuse
protected
bool makVrv::DtSharedLightingRenderSettings::myPerPixelLightingEnabled
protected
DtLightingRenderSettingsBackup* makVrv::DtSharedLightingRenderSettings::mySettingsBackup
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)