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

RayGina::CORE::RsmRegular Class Reference

#include <RsmRegular.hxx>

Inheritance diagram for RayGina::CORE::RsmRegular:

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

Public Member Functions

 RsmRegular ()
 RsmRegular (RUInt32 numberOfSamples, bool lineOnly=false)
const RStatus setNumberOfSamples (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 RsmBaseclone ()
 Function to clone a sample(used to clone the samples for each threads etc.).
virtual RExtensiongetInstanceExtension () const

Static Public Member Functions

const RStatus _initialize (RatStaticContainer *attributes)
RExtension__getExtension ()
RObjectcreateInstance ()
const RStatus _setSamplesAttr (RObject *instance, const RUInt32 value)
const RUInt32 _getSamplesAttr (const RObject *instance, RRenderCom *renderCom)

Private Attributes

RUInt32 _samples
RColor _color
RColor _resultColor
RReal32 _multiplier
RReal32 _u
RReal32 _v
RReal32 _diff
RReal32 _offset
RUInt32 _ucnt
RUInt32 _vcnt
bool _lineOnly

Static Private Attributes

RExtension _extensionInfo
 info for the Pluginhandler

Constructor & Destructor Documentation

RsmRegular::RsmRegular  ) 
 

Definition at line 19 of file RsmRegular.cxx.

RsmRegular::RsmRegular RUInt32  numberOfSamples,
bool  lineOnly = false
 

Definition at line 33 of file RsmRegular.cxx.


Member Function Documentation

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

Definition at line 61 of file RsmRegular.hxx.

const RUInt32 RayGina::CORE::RsmRegular::_getSamplesAttr const RObject instance,
RRenderCom renderCom
[inline, static]
 

Definition at line 71 of file RsmRegular.hxx.

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

Definition at line 57 of file RsmRegular.hxx.

const RStatus RayGina::CORE::RsmRegular::_setSamplesAttr RObject instance,
const RUInt32  value
[inline, static]
 

Definition at line 68 of file RsmRegular.hxx.

RsmBase * RsmRegular::clone  )  [virtual]
 

Function to clone a sample(used to clone the samples for each threads etc.).

Implements RayGina::CORE::RsmBase.

Definition at line 117 of file RsmRegular.cxx.

RObject* RayGina::CORE::RsmRegular::createInstance  )  [inline, static]
 

Definition at line 64 of file RsmRegular.hxx.

virtual RExtension* RayGina::CORE::RsmRegular::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 54 of file RsmRegular.hxx.

RVec2f RsmRegular::getNextOnDisc  )  [virtual]
 

Implements RayGina::CORE::RsmBase.

Definition at line 105 of file RsmRegular.cxx.

RVec3f RsmRegular::getNextOnHemisphere RVec3f  normal  )  [virtual]
 

Implements RayGina::CORE::RsmBase.

Definition at line 108 of file RsmRegular.cxx.

RReal32 RsmRegular::getNextOnLine  )  [virtual]
 

Implements RayGina::CORE::RsmBase.

Definition at line 99 of file RsmRegular.cxx.

RVec3f RsmRegular::getNextOnSphere  )  [virtual]
 

Implements RayGina::CORE::RsmBase.

Definition at line 111 of file RsmRegular.cxx.

RVec2f RsmRegular::getNextOnSquare  )  [virtual]
 

Implements RayGina::CORE::RsmBase.

Definition at line 102 of file RsmRegular.cxx.

RUInt32 RayGina::CORE::RsmRegular::getNumberOfSamples  )  [inline, virtual]
 

Implements RayGina::CORE::RsmBase.

Definition at line 38 of file RsmRegular.hxx.

RColor RsmRegular::getResultColor  )  [virtual]
 

get the final color

Implements RayGina::CORE::RsmBase.

Definition at line 114 of file RsmRegular.cxx.

void RsmRegular::getSamples RVec3f array_of_rays  )  [virtual]
 

Implements RayGina::CORE::RsmBase.

Definition at line 60 of file RsmRegular.cxx.

void RsmRegular::init  )  [virtual]
 

Implements RayGina::CORE::RsmBase.

Definition at line 62 of file RsmRegular.cxx.

bool RsmRegular::putResult RColor  ncolor  )  [virtual]
 

returns false if no more samples needed

Implements RayGina::CORE::RsmBase.

Definition at line 75 of file RsmRegular.cxx.

const RStatus RayGina::CORE::RsmRegular::setNumberOfSamples RUInt32  newNumberOfSamples  )  [inline]
 

Definition at line 18 of file RsmRegular.hxx.


Member Data Documentation

RColor RayGina::CORE::RsmRegular::_color [private]
 

Definition at line 76 of file RsmRegular.hxx.

RReal32 RayGina::CORE::RsmRegular::_diff [private]
 

Definition at line 81 of file RsmRegular.hxx.

RExtension RsmRegular::_extensionInfo [static, private]
 

Initial value:

 RExtension(    RExtension::SUPERCLASSID_SAMPLER,
                                                                                                                                                                                                                RExtension::CLASSID_CORE_RSM_REGULAR,
                                                                                                                                                                                                                1,
                                                                                                                                                                                                                1,
                                                                                                                                                                                                                "Regular Sampler",
                                                                                                                                                                                                                "RsmRegular",
                                                                                                                                                                                                                "Oliver Heyme",
                                                                                                                                                                                                                "olihey@raygina.de",
                                                                                                                                                                                                                "www.raygina.de",
                                                                                                                                                                                                                RsmRegular::createInstance,
                                                                                                                                                                                                                RsmRegular::_initialize)
info for the Pluginhandler

Definition at line 7 of file RsmRegular.cxx.

bool RayGina::CORE::RsmRegular::_lineOnly [private]
 

Definition at line 85 of file RsmRegular.hxx.

RReal32 RayGina::CORE::RsmRegular::_multiplier [private]
 

Definition at line 78 of file RsmRegular.hxx.

RReal32 RayGina::CORE::RsmRegular::_offset [private]
 

Definition at line 82 of file RsmRegular.hxx.

RColor RayGina::CORE::RsmRegular::_resultColor [private]
 

Definition at line 77 of file RsmRegular.hxx.

RUInt32 RayGina::CORE::RsmRegular::_samples [private]
 

Definition at line 75 of file RsmRegular.hxx.

RReal32 RayGina::CORE::RsmRegular::_u [private]
 

Definition at line 79 of file RsmRegular.hxx.

RUInt32 RayGina::CORE::RsmRegular::_ucnt [private]
 

Definition at line 83 of file RsmRegular.hxx.

RReal32 RayGina::CORE::RsmRegular::_v [private]
 

Definition at line 80 of file RsmRegular.hxx.

RUInt32 RayGina::CORE::RsmRegular::_vcnt [private]
 

Definition at line 84 of file RsmRegular.hxx.


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