Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

RayGina::CORE::RssPhong Class Reference

#include <RssPhong.hxx>

Inheritance diagram for RayGina::CORE::RssPhong:

RayGina::CORE::RssBase RayGina::CORE::RObject List of all members.

Public Member Functions

 RssPhong ()
 RssPhong (RColor nDif)
 RssPhong (RColor nDif, RColor nSpec, RReal32 nShine=1.0f)
virtual ~RssPhong ()
virtual RColor shade (RRenderCom *currentRenderCom)
virtual const RExtensiongetInstanceExtension () const
const RColor getBaseColor () const
const RStatus setBaseColor (const RColor newColor)
const RColor getDiffuseColor () const
const RStatus setDiffuseColor (const RColor newColor)
const RColor getSpecularColor () const
const RStatus setSpecularColor (const RColor newColor)
const RReal32 getShine () const
const RStatus setShine (const RReal32 newShine)

Static Public Member Functions

RExtension__getExtension ()

Private Member Functions

RatDynamicContainergetDynamicContainer () const

Static Private Member Functions

RObject_createInstance ()
const RStatus _initialize (RatStaticContainer *attributes)
const RStatus _setBaseColorAttr (RObject *shader, const RColor newColor)
const RColor _getBaseColorAttr (const RObject *shader, RRenderCom *renderCom)
const RStatus _setDiffuseColorAttr (RObject *shader, const RColor newColor)
const RColor _getDiffuseColorAttr (const RObject *shader, RRenderCom *renderCom)
const RStatus _setSpecularColorAttr (RObject *shader, const RColor newColor)
const RColor _getSpecularColorAttr (const RObject *shader, RRenderCom *renderCom)
const RStatus _setShineAttr (RObject *shader, const RReal32 newValue)
const RReal32 _getShineAttr (const RObject *shader, RRenderCom *renderCom)

Private Attributes

RColor _baseColor
RColor _diffuseColor
RColor _specularColor
RReal32 _shine
RatDynamicContainer_dynAttributes

Static Private Attributes

RatRColor_baseColorAttr = NULL
RatRColor_diffuseColorAttr = NULL
RatRColor_specularColorAttr = NULL
RatRReal32_shineAttr = NULL
RExtension _extensionData
RatStaticContainer_attributes

Constructor & Destructor Documentation

RayGina::CORE::RssPhong::RssPhong  )  [inline]
 

Definition at line 78 of file RssPhong.hxx.

RayGina::CORE::RssPhong::RssPhong RColor  nDif  )  [inline]
 

Definition at line 85 of file RssPhong.hxx.

RayGina::CORE::RssPhong::RssPhong RColor  nDif,
RColor  nSpec,
RReal32  nShine = 1.0f
[inline]
 

Definition at line 91 of file RssPhong.hxx.

virtual RayGina::CORE::RssPhong::~RssPhong  )  [inline, virtual]
 

Definition at line 94 of file RssPhong.hxx.


Member Function Documentation

RExtension* RayGina::CORE::RssPhong::__getExtension  )  [inline, static]
 

Definition at line 98 of file RssPhong.hxx.

RObject* RayGina::CORE::RssPhong::_createInstance  )  [inline, static, private]
 

Definition at line 26 of file RssPhong.hxx.

const RColor RayGina::CORE::RssPhong::_getBaseColorAttr const RObject shader,
RRenderCom renderCom
[inline, static, private]
 

Definition at line 50 of file RssPhong.hxx.

const RColor RayGina::CORE::RssPhong::_getDiffuseColorAttr const RObject shader,
RRenderCom renderCom
[inline, static, private]
 

Definition at line 57 of file RssPhong.hxx.

const RReal32 RayGina::CORE::RssPhong::_getShineAttr const RObject shader,
RRenderCom renderCom
[inline, static, private]
 

Definition at line 73 of file RssPhong.hxx.

const RColor RayGina::CORE::RssPhong::_getSpecularColorAttr const RObject shader,
RRenderCom renderCom
[inline, static, private]
 

Definition at line 65 of file RssPhong.hxx.

const RStatus RayGina::CORE::RssPhong::_initialize RatStaticContainer attributes  )  [inline, static, private]
 

Reimplemented from RayGina::CORE::RssBase.

Definition at line 34 of file RssPhong.hxx.

const RStatus RayGina::CORE::RssPhong::_setBaseColorAttr RObject shader,
const RColor  newColor
[inline, static, private]
 

Definition at line 47 of file RssPhong.hxx.

const RStatus RayGina::CORE::RssPhong::_setDiffuseColorAttr RObject shader,
const RColor  newColor
[inline, static, private]
 

Definition at line 54 of file RssPhong.hxx.

const RStatus RayGina::CORE::RssPhong::_setShineAttr RObject shader,
const RReal32  newValue
[inline, static, private]
 

Definition at line 69 of file RssPhong.hxx.

const RStatus RayGina::CORE::RssPhong::_setSpecularColorAttr RObject shader,
const RColor  newColor
[inline, static, private]
 

Definition at line 61 of file RssPhong.hxx.

const RColor RayGina::CORE::RssPhong::getBaseColor  )  const [inline]
 

Definition at line 105 of file RssPhong.hxx.

const RColor RayGina::CORE::RssPhong::getDiffuseColor  )  const [inline]
 

Definition at line 113 of file RssPhong.hxx.

RatDynamicContainer* RayGina::CORE::RssPhong::getDynamicContainer  )  const [inline, private, virtual]
 

Reimplemented from RayGina::CORE::RObject.

Definition at line 30 of file RssPhong.hxx.

virtual const RExtension* RayGina::CORE::RssPhong::getInstanceExtension  )  const [inline, virtual]
 

returns the RExtension for the instance If it returns NULL this instance is not able to act as an extension

Implements RayGina::CORE::RObject.

Definition at line 101 of file RssPhong.hxx.

const RReal32 RayGina::CORE::RssPhong::getShine  )  const [inline]
 

Definition at line 129 of file RssPhong.hxx.

const RColor RayGina::CORE::RssPhong::getSpecularColor  )  const [inline]
 

Definition at line 121 of file RssPhong.hxx.

const RStatus RayGina::CORE::RssPhong::setBaseColor const RColor  newColor  )  [inline]
 

Definition at line 108 of file RssPhong.hxx.

const RStatus RayGina::CORE::RssPhong::setDiffuseColor const RColor  newColor  )  [inline]
 

Definition at line 116 of file RssPhong.hxx.

const RStatus RayGina::CORE::RssPhong::setShine const RReal32  newShine  )  [inline]
 

Definition at line 132 of file RssPhong.hxx.

const RStatus RayGina::CORE::RssPhong::setSpecularColor const RColor  newColor  )  [inline]
 

Definition at line 124 of file RssPhong.hxx.

RColor RssPhong::shade RRenderCom currentRenderCom  )  [virtual]
 

Implements RayGina::CORE::RssBase.

Definition at line 27 of file RssPhong.cxx.


Member Data Documentation

RatStaticContainer* RayGina::CORE::RssPhong::_attributes [static, private]
 

Definition at line 24 of file RssPhong.hxx.

RColor RayGina::CORE::RssPhong::_baseColor [private]
 

Definition at line 11 of file RssPhong.hxx.

RatRColor * RssPhong::_baseColorAttr = NULL [static, private]
 

Definition at line 21 of file RssPhong.cxx.

RColor RayGina::CORE::RssPhong::_diffuseColor [private]
 

Definition at line 12 of file RssPhong.hxx.

RatRColor * RssPhong::_diffuseColorAttr = NULL [static, private]
 

Definition at line 22 of file RssPhong.cxx.

RatDynamicContainer* RayGina::CORE::RssPhong::_dynAttributes [private]
 

Definition at line 20 of file RssPhong.hxx.

RExtension RssPhong::_extensionData [static, private]
 

Initial value:

 RExtension(RExtension::SUPERCLASSID_SHADER,
                                                                                                                                RExtension::CLASSID_CORE_RSSPHONG,
                                                                                                                                1,
                                                                                                                                1,
                                                                                                                                "Phong shader",
                                                                                                                                "RssPhong",
                                                                                                                                "rayGina::CORE::Team",
                                                                                                                                "core@raygina.de",
                                                                                                                                "www.raygina.de",
                                                                                                                                RssPhong::_createInstance,
                                                                                                                                RssPhong::_initialize
)

Definition at line 8 of file RssPhong.cxx.

RReal32 RayGina::CORE::RssPhong::_shine [private]
 

Definition at line 14 of file RssPhong.hxx.

RatRReal32 * RssPhong::_shineAttr = NULL [static, private]
 

Definition at line 24 of file RssPhong.cxx.

RColor RayGina::CORE::RssPhong::_specularColor [private]
 

Definition at line 13 of file RssPhong.hxx.

RatRColor * RssPhong::_specularColorAttr = NULL [static, private]
 

Definition at line 23 of file RssPhong.cxx.


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 17:01:12 2007 for rayGina by  doxygen 1.3.9.1