![]() |
RenderMan
26.0
|
This struct represents the characteristics of just one lobe of a bxdf. More...
#include <RixBxdfLobe.h>
Classes | |
struct | Bitfield |
union | Converter |
Public Member Functions | |
PRMAN_INLINE | RixBXLobeSampled () |
Constructor; initializes the valid bit to false. More... | |
PRMAN_INLINE | RixBXLobeSampled (unsigned short serialized) |
Constructor; initializes from serialization as unsigned short. More... | |
PRMAN_INLINE | RixBXLobeSampled (bool discrete, bool specular, bool reflect, bool user, unsigned char lpeId, unsigned char lobeId) |
Constructor; sets all fields and sets the valid bit to true. More... | |
PRMAN_INLINE bool | CompareLobeID (RixBXLobeSampled const &rhs) const |
PRMAN_INLINE bool | GetValid () const |
PRMAN_INLINE bool | GetDiscrete () const |
PRMAN_INLINE bool | GetSolidAngle () const |
PRMAN_INLINE bool | GetDiffuse () const |
PRMAN_INLINE bool | GetSpecular () const |
PRMAN_INLINE bool | GetReflect () const |
PRMAN_INLINE bool | GetTransmit (bool *entering=NULL) const |
PRMAN_INLINE bool | GetEntering () const |
PRMAN_INLINE bool | GetContinuation () const |
PRMAN_INLINE bool | GetScattering () const |
PRMAN_INLINE bool | GetUser () const |
PRMAN_INLINE unsigned char | GetLpeId () const |
PRMAN_INLINE unsigned char | GetLobeId () const |
PRMAN_INLINE bool | LobeIdIsSubsurface () const |
PRMAN_INLINE bool | GetThinShadowFlag () const |
PRMAN_INLINE unsigned char | GetUnused () const |
PRMAN_INLINE void | SetValid (bool val) |
PRMAN_INLINE void | SetDiscrete (bool val) |
PRMAN_INLINE void | SetSpecular (bool val) |
PRMAN_INLINE void | SetReflect () |
PRMAN_INLINE void | SetTransmit (bool entering) |
PRMAN_INLINE void | SetEntering (bool entering) |
PRMAN_INLINE void | SetContinuation (bool val) |
PRMAN_INLINE void | SetUser (bool val) |
PRMAN_INLINE void | SetLpeId (unsigned char val) |
PRMAN_INLINE void | SetLobeId (unsigned char val) |
PRMAN_INLINE void | SetThinShadowFlag (bool val) |
PRMAN_INLINE void | SetUnused (unsigned char val) |
PRMAN_INLINE void | Set (bool vDiscrete, bool vSpecular, bool vReflect, bool vContinuation, bool vUser, unsigned char vLpeId, unsigned char vLobeId, bool vThinShadowFlag=false) |
Set all fields and also sets the valid bit to true. More... | |
PRMAN_INLINE unsigned short | Serialize () const |
This struct represents the characteristics of just one lobe of a bxdf.
PRMAN_INLINE RixBXLobeSampled::RixBXLobeSampled | ( | ) |
Constructor; initializes the valid bit to false.
References RixBXLobeSampled::Converter::us.
PRMAN_INLINE RixBXLobeSampled::RixBXLobeSampled | ( | unsigned short | serialized) |
Constructor; initializes from serialization as unsigned short.
References RixBXLobeSampled::Converter::us.
PRMAN_INLINE RixBXLobeSampled::RixBXLobeSampled | ( | bool | discrete, |
bool | specular, | ||
bool | reflect, | ||
bool | user, | ||
unsigned char | lpeId, | ||
unsigned char | lobeId | ||
) |
Constructor; sets all fields and sets the valid bit to true.
References RixBXLobeSampled::Converter::bits, RixBXLobeSampled::Bitfield::continuation, RixBXLobeSampled::Bitfield::discrete, RixBXLobeSampled::Bitfield::entering, RixBXLobeSampled::Bitfield::lobeId, RixBXLobeSampled::Bitfield::lpeId, RixBXLobeSampled::Bitfield::reflect, RixBXLobeSampled::Bitfield::specular, RixBXLobeSampled::Bitfield::thinShadow, RixBXLobeSampled::Bitfield::unused, RixBXLobeSampled::Bitfield::user, and RixBXLobeSampled::Bitfield::valid.
|
inline |
PRMAN_INLINE bool RixBXLobeSampled::GetContinuation | ( | ) | const |
References RixBXLobeSampled::Converter::bits, RixBXLobeSampled::Bitfield::continuation, and RixBXLobeSampled::Bitfield::valid.
Referenced by RixBXLobeTraits::RixBXLobeTraits().
PRMAN_INLINE bool RixBXLobeSampled::GetDiffuse | ( | ) | const |
PRMAN_INLINE bool RixBXLobeSampled::GetDiscrete | ( | ) | const |
References RixBXLobeSampled::Converter::bits, RixBXLobeSampled::Bitfield::discrete, and RixBXLobeSampled::Bitfield::valid.
Referenced by RixBXLobeTraits::RixBXLobeTraits().
PRMAN_INLINE bool RixBXLobeSampled::GetEntering | ( | ) | const |
PRMAN_INLINE unsigned char RixBXLobeSampled::GetLobeId | ( | ) | const |
PRMAN_INLINE unsigned char RixBXLobeSampled::GetLpeId | ( | ) | const |
PRMAN_INLINE bool RixBXLobeSampled::GetReflect | ( | ) | const |
PRMAN_INLINE bool RixBXLobeSampled::GetScattering | ( | ) | const |
PRMAN_INLINE bool RixBXLobeSampled::GetSolidAngle | ( | ) | const |
References RixBXLobeSampled::Converter::bits, RixBXLobeSampled::Bitfield::discrete, and RixBXLobeSampled::Bitfield::valid.
Referenced by RixBXLobeTraits::RixBXLobeTraits(), and RtRayGeometry::SetRaySpread().
PRMAN_INLINE bool RixBXLobeSampled::GetSpecular | ( | ) | const |
PRMAN_INLINE bool RixBXLobeSampled::GetThinShadowFlag | ( | ) | const |
PRMAN_INLINE bool RixBXLobeSampled::GetTransmit | ( | bool * | entering = NULL ) | const |
PRMAN_INLINE unsigned char RixBXLobeSampled::GetUnused | ( | ) | const |
PRMAN_INLINE bool RixBXLobeSampled::GetUser | ( | ) | const |
PRMAN_INLINE bool RixBXLobeSampled::GetValid | ( | ) | const |
PRMAN_INLINE bool RixBXLobeSampled::LobeIdIsSubsurface | ( | ) | const |
PRMAN_INLINE unsigned short RixBXLobeSampled::Serialize | ( | ) | const |
References RixBXLobeSampled::Converter::us.
PRMAN_INLINE void RixBXLobeSampled::Set | ( | bool | vDiscrete, |
bool | vSpecular, | ||
bool | vReflect, | ||
bool | vContinuation, | ||
bool | vUser, | ||
unsigned char | vLpeId, | ||
unsigned char | vLobeId, | ||
bool | vThinShadowFlag = false |
||
) |
Set all fields and also sets the valid bit to true.
References RixBXLobeSampled::Converter::bits, RixBXLobeSampled::Bitfield::continuation, RixBXLobeSampled::Bitfield::discrete, RixBXLobeSampled::Bitfield::entering, RixBXLobeSampled::Bitfield::lobeId, RixBXLobeSampled::Bitfield::lpeId, RixBXLobeSampled::Bitfield::reflect, RixBXLobeSampled::Bitfield::specular, RixBXLobeSampled::Bitfield::thinShadow, RixBXLobeSampled::Bitfield::unused, RixBXLobeSampled::Bitfield::user, and RixBXLobeSampled::Bitfield::valid.
PRMAN_INLINE void RixBXLobeSampled::SetContinuation | ( | bool | val) |
PRMAN_INLINE void RixBXLobeSampled::SetDiscrete | ( | bool | val) |
References RixBXLobeSampled::Converter::bits, and RixBXLobeSampled::Bitfield::discrete.
PRMAN_INLINE void RixBXLobeSampled::SetEntering | ( | bool | entering) |
PRMAN_INLINE void RixBXLobeSampled::SetLobeId | ( | unsigned char | val) |
References RixBXLobeSampled::Converter::bits, and RixBXLobeSampled::Bitfield::lobeId.
PRMAN_INLINE void RixBXLobeSampled::SetLpeId | ( | unsigned char | val) |
References RixBXLobeSampled::Converter::bits, and RixBXLobeSampled::Bitfield::lpeId.
Referenced by RixBXChooseLobe().
PRMAN_INLINE void RixBXLobeSampled::SetReflect | ( | ) |
References RixBXLobeSampled::Converter::bits, and RixBXLobeSampled::Bitfield::reflect.
PRMAN_INLINE void RixBXLobeSampled::SetSpecular | ( | bool | val) |
References RixBXLobeSampled::Converter::bits, and RixBXLobeSampled::Bitfield::specular.
Referenced by RixBXChooseLobe().
PRMAN_INLINE void RixBXLobeSampled::SetThinShadowFlag | ( | bool | val) |
References RixBXLobeSampled::Converter::bits, and RixBXLobeSampled::Bitfield::thinShadow.
PRMAN_INLINE void RixBXLobeSampled::SetTransmit | ( | bool | entering) |
PRMAN_INLINE void RixBXLobeSampled::SetUnused | ( | unsigned char | val) |
References RixBXLobeSampled::Converter::bits, and RixBXLobeSampled::Bitfield::unused.
PRMAN_INLINE void RixBXLobeSampled::SetUser | ( | bool | val) |
References RixBXLobeSampled::Converter::bits, and RixBXLobeSampled::Bitfield::user.
PRMAN_INLINE void RixBXLobeSampled::SetValid | ( | bool | val) |
References RixBXLobeSampled::Converter::bits, and RixBXLobeSampled::Bitfield::valid.
Referenced by RixBXChooseLobe().