RixBXLobeSampled Struct Reference

RixBXLobeSampled Struct Reference

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.
 
PRMAN_INLINE RixBXLobeSampled (unsigned short serialized)
 Constructor; initializes from serialization as unsigned short.
 
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.
 
PRMAN_INLINE bool CompareLobeID (RixBXLobeSampled const &rhs)
 
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 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 Set (bool vDiscrete, bool vSpecular, bool vReflect, bool vContinuation, bool vUser, unsigned char vLpeId, unsigned char vLobeid)
 Set all fields and also sets the valid bit to true.
 
PRMAN_INLINE unsigned short Serialize () const
 

Detailed Description

This struct represents the characteristics of just one lobe of a bxdf.


The documentation for this struct was generated from the following file: