#include <RlsSky.hxx>
Inheritance diagram for RayGina::CORE::RlsSky:

Public Member Functions | |
| RlsSky () | |
| create a empty light set | |
| RlsSky (RsmBase *newSampler, const RColor newLightColor, const RReal newIntensity=1.0f) | |
| RlsSky (RsmBase *newSampler, const RColor newLightColor, const RColor newShadowColor, const RReal newIntensity=1.0f) | |
| virtual | ~RlsSky () |
| deletes the light set | |
| const RStatus | setSampler (RsmBase *newSampler) |
| RsmBase * | getSampler () const |
| const RStatus | setLightColor (const RColor newColor) |
| const RColor | getLightColor () const |
| const RStatus | setShadowColor (const RColor newColor) |
| const RColor | getShadowColor () const |
| const RStatus | setIntensity (const RReal32 newIntensity) |
| const RReal32 | getIntensity () const |
| const RStatus | setMinDistance (const RReal32 newMinDistance) |
| const RReal32 | getMinDistance () const |
| const RStatus | setMaxDistance (const RReal32 newMaxDistance) |
| const RReal32 | getMaxDistance () const |
| virtual void | IlluminateRay (RRenderCom *) |
| virtual void | IlluminatePoint (RRenderCom *) |
| illiminates a point in space | |
| virtual RBool | getCastShadows () const |
| to determine if the light source cast shadows | |
| virtual const RStatus | setCastShadows (const RBool new_shadows) |
| enable/disables shadows for light source | |
| virtual const RExtension * | getInstanceExtension () const |
Static Public Member Functions | |
| RExtension * | __getExtension () |
Static Private Member Functions | |
| RObject * | _createInstance () |
| const RStatus | _initialize (RatStaticContainer *attributes) |
| const RStatus | _setLightColorAttr (RObject *light, const RColor newColor) |
| const RColor | _getLightColorAttr (const RObject *light, RRenderCom *renderCom) |
| const RStatus | _setShadowColorAttr (RObject *light, const RColor newColor) |
| const RColor | _getShadowColorAttr (const RObject *light, RRenderCom *renderCom) |
| const RStatus | _setSamplerAttr (RObject *light, RObject *newSampler) |
| RObject * | _getSamplerAttr (const RObject *light, RRenderCom *renderCom) |
| const RStatus | _setIntensityAttr (RObject *light, const RReal32 newIntensity) |
| const RReal32 | _getIntensityAttr (const RObject *light, RRenderCom *renderCom) |
| const RStatus | _setMinDistanceAttr (RObject *light, const RReal32 newMinDistance) |
| const RReal32 | _getMinDistanceAttr (const RObject *light, RRenderCom *renderCom) |
| const RStatus | _setMaxDistanceAttr (RObject *light, const RReal32 newMaxDistance) |
| const RReal32 | _getMaxDistanceAttr (const RObject *light, RRenderCom *renderCom) |
Private Attributes | |
| RsmBase * | _sampler |
| RColor | _lightColor |
| RColor | _shadowColor |
| RReal32 | _intensity |
| RReal32 | _minDistance |
| RReal32 | _maxDistance |
| RBool | _castShadows |
| std::vector< RlsBase * > | _lightlist |
Static Private Attributes | |
| RatRObject * | _samplerAttr = NULL |
| RatRColor * | _lightColorAttr = NULL |
| RatRColor * | _shadowColorAttr = NULL |
| RatRReal32 * | _intensityAttr = NULL |
| RatRReal32 * | _minDistanceAttr = NULL |
| RatRReal32 * | _maxDistanceAttr = NULL |
| RExtension | _extensionData |
| RatStaticContainer * | _attributes |
|
|
create a empty light set
Definition at line 95 of file RlsSky.hxx. |
|
||||||||||||||||
|
Definition at line 99 of file RlsSky.hxx. |
|
||||||||||||||||||||
|
Definition at line 102 of file RlsSky.hxx. |
|
|
deletes the light set
Definition at line 105 of file RlsSky.hxx. |
|
|
RObject functions Definition at line 176 of file RlsSky.hxx. |
|
|
Definition at line 31 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 75 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 54 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 89 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 82 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 68 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 61 of file RlsSky.hxx. |
|
|
Definition at line 35 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 72 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 51 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 86 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 79 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 65 of file RlsSky.hxx. |
|
||||||||||||
|
Definition at line 58 of file RlsSky.hxx. |
|
|
to determine if the light source cast shadows
Definition at line 159 of file RlsSky.hxx. |
|
|
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 179 of file RlsSky.hxx. |
|
|
Definition at line 136 of file RlsSky.hxx. |
|
|
Definition at line 121 of file RlsSky.hxx. |
|
|
Definition at line 152 of file RlsSky.hxx. |
|
|
Definition at line 144 of file RlsSky.hxx. |
|
|
Definition at line 114 of file RlsSky.hxx. |
|
|
Definition at line 128 of file RlsSky.hxx. |
|
|
illiminates a point in space
Implements RayGina::CORE::RlsBase. Definition at line 57 of file RlsSky.cxx. |
|
|
illuminates a point on a surface described by the given ray the ray MUST contain a valid intersection Implements RayGina::CORE::RlsBase. Definition at line 28 of file RlsSky.cxx. |
|
|
enable/disables shadows for light source
Definition at line 163 of file RlsSky.hxx. |
|
|
Definition at line 132 of file RlsSky.hxx. |
|
|
Definition at line 117 of file RlsSky.hxx. |
|
|
Definition at line 148 of file RlsSky.hxx. |
|
|
Definition at line 140 of file RlsSky.hxx. |
|
|
Definition at line 107 of file RlsSky.hxx. |
|
|
Definition at line 124 of file RlsSky.hxx. |
|
|
Definition at line 29 of file RlsSky.hxx. |
|
|
Definition at line 18 of file RlsSky.hxx. |
|
|
Initial value: RExtension(RExtension::SUPERCLASSID_LIGHT,
RExtension::CLASSID_CORE_RLS_SKY,
1,
1,
"Sky light",
"RlsSky",
"rayGina::CORE::Team",
"core@raygina.de",
"www.raygina.de",
RlsSky::_createInstance,
RlsSky::_initialize
)
Definition at line 8 of file RlsSky.cxx. |
|
|
Definition at line 15 of file RlsSky.hxx. |
|
|
Definition at line 24 of file RlsSky.cxx. |
|
|
Definition at line 13 of file RlsSky.hxx. |
|
|
Definition at line 22 of file RlsSky.cxx. |
|
|
Definition at line 185 of file RlsSky.hxx. |
|
|
Definition at line 17 of file RlsSky.hxx. |
|
|
Definition at line 26 of file RlsSky.cxx. |
|
|
Definition at line 16 of file RlsSky.hxx. |
|
|
Definition at line 25 of file RlsSky.cxx. |
|
|
Definition at line 12 of file RlsSky.hxx. |
|
|
Definition at line 21 of file RlsSky.cxx. |
|
|
Definition at line 14 of file RlsSky.hxx. |
|
|
Definition at line 23 of file RlsSky.cxx. |
1.3.9.1