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

Public Member Functions | |
| RlsPoint () | |
| create a empty light set | |
| RlsPoint (RVec3f newPosition) | |
| RlsPoint (RVec3f newPosition, RColor newColor, RReal newIntensity=1.0f) | |
| virtual | ~RlsPoint () |
| deletes the light set | |
| const RStatus | setPosition (const RVec3f newPosition) |
| RVec3f | getPosition () const |
| const RStatus | setColor (const RColor newColor) |
| RColor | getColor () const |
| const RStatus | setIntensity (const RReal32 newIntensity) |
| RReal32 | getIntensity () const |
| virtual const RStatus | setDecayStart (const RReal32 newDecayStart) |
| virtual const RStatus | setAttenuation (const RReal32 new_att_near_start, const RReal32 new_att_near_end, const RReal32 new_att_far_start, const RReal32 new_att_far_end) |
| virtual const RStatus | unsetAttenuation () |
| virtual const RStatus | setDecayType (const DecayType newDecayType) |
| virtual DecayType | getDecayType () 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 | _setPositionAttr (RObject *light, const RVec3f newPosition) |
| const RVec3f | _getPositionAttr (const RObject *light, RRenderCom *renderCom) |
| const RStatus | _setIntensityAttr (RObject *light, const RReal32 newIntensity) |
| const RReal32 | _getIntensityAttr (const RObject *light, RRenderCom *renderCom) |
Private Attributes | |
| RVec3f | _position |
| RColor | _color |
| RReal32 | _intensity |
| RReal32 | _decaystart |
| RReal32 | _att_near_start |
| RReal32 | _att_near_end |
| RReal32 | _att_far_start |
| RReal32 | _att_far_end |
| RReal32 | _att_near_scaler |
| RReal32 | _att_far_scaler |
| DecayType | _decayType |
| RBool | _have_attenuation |
| RBool | _castShadows |
| std::vector< RlsBase * > | _lightlist |
Static Private Attributes | |
| RatRVec3f * | _positionAttr = NULL |
| RatRColor * | _colorAttr = NULL |
| RatRReal32 * | _intensityAttr = NULL |
| RExtension | _extensionData |
| RatStaticContainer * | _attributes |
|
|
create a empty light set
Definition at line 76 of file RlsPoint.hxx. |
|
|
Definition at line 79 of file RlsPoint.hxx. |
|
||||||||||||||||
|
Definition at line 82 of file RlsPoint.hxx. |
|
|
deletes the light set
Definition at line 85 of file RlsPoint.hxx. |
|
|
RObject functions Definition at line 157 of file RlsPoint.hxx. |
|
|
Definition at line 35 of file RlsPoint.hxx. |
|
||||||||||||
|
Definition at line 69 of file RlsPoint.hxx. |
|
||||||||||||
|
Definition at line 53 of file RlsPoint.hxx. |
|
||||||||||||
|
Definition at line 61 of file RlsPoint.hxx. |
|
|
Definition at line 39 of file RlsPoint.hxx. |
|
||||||||||||
|
Definition at line 65 of file RlsPoint.hxx. |
|
||||||||||||
|
Definition at line 49 of file RlsPoint.hxx. |
|
||||||||||||
|
Definition at line 57 of file RlsPoint.hxx. |
|
|
to determine if the light source cast shadows
Definition at line 140 of file RlsPoint.hxx. |
|
|
Definition at line 98 of file RlsPoint.hxx. |
|
|
Definition at line 133 of file RlsPoint.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 160 of file RlsPoint.hxx. |
|
|
Definition at line 105 of file RlsPoint.hxx. |
|
|
Definition at line 91 of file RlsPoint.hxx. |
|
|
illiminates a point in space
Implements RayGina::CORE::RlsBase. Definition at line 84 of file RlsPoint.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 26 of file RlsPoint.cxx. |
|
||||||||||||||||||||
|
Definition at line 114 of file RlsPoint.hxx. |
|
|
enable/disables shadows for light source
Definition at line 144 of file RlsPoint.hxx. |
|
|
Definition at line 94 of file RlsPoint.hxx. |
|
|
Definition at line 109 of file RlsPoint.hxx. |
|
|
Definition at line 129 of file RlsPoint.hxx. |
|
|
Definition at line 101 of file RlsPoint.hxx. |
|
|
Definition at line 87 of file RlsPoint.hxx. |
|
|
Definition at line 124 of file RlsPoint.hxx. |
|
|
Definition at line 19 of file RlsPoint.hxx. |
|
|
Definition at line 21 of file RlsPoint.hxx. |
|
|
Definition at line 18 of file RlsPoint.hxx. |
|
|
Definition at line 17 of file RlsPoint.hxx. |
|
|
Definition at line 20 of file RlsPoint.hxx. |
|
|
Definition at line 16 of file RlsPoint.hxx. |
|
|
Definition at line 33 of file RlsPoint.hxx. |
|
|
Definition at line 24 of file RlsPoint.hxx. |
|
|
Definition at line 12 of file RlsPoint.hxx. |
|
|
Definition at line 23 of file RlsPoint.cxx. |
|
|
Definition at line 15 of file RlsPoint.hxx. |
|
|
Definition at line 22 of file RlsPoint.hxx. |
|
|
Initial value: RExtension(RExtension::SUPERCLASSID_LIGHT,
RExtension::CLASSID_CORE_RLS_POINT,
1,
1,
"Point light",
"RlsPoint",
"rayGina::CORE::Team",
"core@raygina.de",
"www.raygina.de",
RlsPoint::_createInstance,
RlsPoint::_initialize
)
Definition at line 9 of file RlsPoint.cxx. |
|
|
Definition at line 23 of file RlsPoint.hxx. |
|
|
Definition at line 13 of file RlsPoint.hxx. |
|
|
Definition at line 24 of file RlsPoint.cxx. |
|
|
Definition at line 166 of file RlsPoint.hxx. |
|
|
Definition at line 11 of file RlsPoint.hxx. |
|
|
Definition at line 22 of file RlsPoint.cxx. |
1.3.9.1