#include <PhotonMapBehaviour.h>
Inheritance diagram for PhotonMapBehaviour:
Public Types | |
enum | Behaviour { NOTHING = 0, MAKE_CAUSTICS, ACCEPT_CAUSTICS, ACCEPT_GLOBAL_PHOTONS } |
Public Member Functions | |
PhotonMapBehaviour (int b) | |
virtual void | acceptVisitor (Visitor &visitor) |
virtual SGAttribute * | clone () const |
void | addBehaviour (int b) |
void | setBehaviour (int b) |
void | setMakeCaustic (void) |
void | setAcceptCaustics (void) |
void | setAcceptGlobalPhotons (void) |
void | unsetBehaviour (int b) |
void | unsetMakeCaustic (void) |
void | unsetAcceptCaustics (void) |
void | unsetAcceptGlobalPhotons (void) |
int | getBehaviour (void) const |
bool | acceptsGlobalPhotons (void) const |
bool | acceptsCaustics (void) const |
bool | makesCaustics (void) const |
virtual void | __debug () |
Protected Member Functions | |
virtual void | _duplicate_attributes (const SGAttribute &src) |
PhotonMapBehaviour () | |
Protected Attributes | |
int | _behaviour |
Definition at line 16 of file PhotonMapBehaviour.h.
|
Definition at line 18 of file PhotonMapBehaviour.h. |
|
Definition at line 34 of file PhotonMapBehaviour.h. |
|
Definition at line 40 of file PhotonMapBehaviour.h. |
|
For debugging purposes only Definition at line 49 of file SGAttribute.h. |
|
Reimplemented from SGAttribute. Definition at line 29 of file PhotonMapBehaviour.h. References SGAttribute::_duplicate_attributes(). Referenced by PhotonMapBehaviour::clone(). |
|
Definition at line 128 of file PhotonMapBehaviour.h. |
|
Definition at line 121 of file PhotonMapBehaviour.h. |
|
Implements SGAttribute. Definition at line 45 of file PhotonMapBehaviour.h. References Visitor::visitPhotonMapBehaviour(). |
|
Adds new behaviour to the existing
Definition at line 63 of file PhotonMapBehaviour.h. |
|
Implements SGAttribute. Definition at line 52 of file PhotonMapBehaviour.h. References PhotonMapBehaviour::_duplicate_attributes(). |
|
Definition at line 116 of file PhotonMapBehaviour.h. |
|
Definition at line 135 of file PhotonMapBehaviour.h. |
|
Enable surface to catch caustic photons Definition at line 80 of file PhotonMapBehaviour.h. |
|
Enable surface to catch global photons Definition at line 85 of file PhotonMapBehaviour.h. |
|
Replaces behaviour
Definition at line 70 of file PhotonMapBehaviour.h. |
|
Enable surface to generate caustics Definition at line 75 of file PhotonMapBehaviour.h. |
|
Disable catching of caustic photons by the surface Definition at line 104 of file PhotonMapBehaviour.h. |
|
Disable catching of global photons by the surface Definition at line 109 of file PhotonMapBehaviour.h. |
|
Disable concrete behaviour
Definition at line 94 of file PhotonMapBehaviour.h. |
|
Disable generation of caustics by the surface Definition at line 99 of file PhotonMapBehaviour.h. |
|
Definition at line 26 of file PhotonMapBehaviour.h. |