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

Public Member Functions | |
| RsmRandom () | |
| RsmRandom (RUInt32 numberOfSamples) | |
| const RStatus | setNumberOfSamples (const RUInt32 newNumberOfSamples) |
| RUInt32 | getNumberOfSamples () |
| virtual void | getSamples (RVec3f *array_of_rays) |
| void | init () |
| bool | putResult (RColor ncolor) |
| returns false if no more samples needed | |
| RColor | getResultColor () |
| get the final color | |
| RReal32 | getNextOnLine () |
| RVec2f | getNextOnSquare () |
| RVec2f | getNextOnDisc () |
| RVec3f | getNextOnHemisphere (RVec3f normal) |
| RVec3f | getNextOnSphere () |
| virtual RsmBase * | clone () |
| Function to clone a sample(used to clone the samples for each threads etc.). | |
| virtual RExtension * | getInstanceExtension () const |
Static Public Member Functions | |
| const RStatus | _initialize (RatStaticContainer *attributes) |
| RExtension * | __getExtension () |
| RObject * | createInstance () |
| const RStatus | _setSamplesAttr (RObject *instance, const RUInt32 value) |
| const RUInt32 | _getSamplesAttr (const RObject *instance, RRenderCom *renderCom) |
Private Attributes | |
| RUInt32 | _samples |
| RUInt32 | _sampleCounter |
| RColor | _color |
| RColor | _resultColor |
| RReal32 | _multiplier |
Static Private Attributes | |
| RExtension | _extensionInfo |
| info for the Pluginhandler | |
|
|
Definition at line 23 of file RsmRandom.cxx. |
|
|
Definition at line 27 of file RsmRandom.cxx. |
|
|
Definition at line 48 of file RsmRandom.hxx. |
|
||||||||||||
|
Definition at line 59 of file RsmRandom.hxx. |
|
|
Definition at line 44 of file RsmRandom.hxx. |
|
||||||||||||
|
Definition at line 56 of file RsmRandom.hxx. |
|
|
Function to clone a sample(used to clone the samples for each threads etc.).
Implements RayGina::CORE::RsmBase. Definition at line 72 of file RsmRandom.cxx. |
|
|
Definition at line 51 of file RsmRandom.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 41 of file RsmRandom.hxx. |
|
|
Implements RayGina::CORE::RsmBase. Definition at line 55 of file RsmRandom.cxx. |
|
|
Implements RayGina::CORE::RsmBase. Definition at line 58 of file RsmRandom.cxx. |
|
|
Implements RayGina::CORE::RsmBase. Definition at line 49 of file RsmRandom.cxx. |
|
|
Implements RayGina::CORE::RsmBase. Definition at line 66 of file RsmRandom.cxx. |
|
|
Implements RayGina::CORE::RsmBase. Definition at line 52 of file RsmRandom.cxx. |
|
|
Implements RayGina::CORE::RsmBase. Definition at line 25 of file RsmRandom.hxx. |
|
|
get the final color
Implements RayGina::CORE::RsmBase. Definition at line 69 of file RsmRandom.cxx. |
|
|
Implements RayGina::CORE::RsmBase. Definition at line 34 of file RsmRandom.cxx. |
|
|
Implements RayGina::CORE::RsmBase. Definition at line 36 of file RsmRandom.cxx. |
|
|
returns false if no more samples needed
Implements RayGina::CORE::RsmBase. Definition at line 39 of file RsmRandom.cxx. |
|
|
Definition at line 18 of file RsmRandom.hxx. |
|
|
Definition at line 65 of file RsmRandom.hxx. |
|
|
Initial value: RExtension( RExtension::SUPERCLASSID_SAMPLER,
RExtension::CLASSID_CORE_RSM_RANDOM,
1,
1,
"Random Sampler",
"RsmRandom",
"Oliver Heyme",
"olihey@raygina.de",
"www.raygina.de",
RsmRandom::createInstance,
RsmRandom::_initialize)
Definition at line 10 of file RsmRandom.cxx. |
|
|
Definition at line 67 of file RsmRandom.hxx. |
|
|
Definition at line 66 of file RsmRandom.hxx. |
|
|
Definition at line 64 of file RsmRandom.hxx. |
|
|
Definition at line 63 of file RsmRandom.hxx. |
1.3.9.1