RenderMan  26.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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. 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
 

Detailed Description

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

Constructor & Destructor Documentation

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.

Member Function Documentation

PRMAN_INLINE bool RixBXLobeSampled::GetContinuation ( ) const
PRMAN_INLINE bool RixBXLobeSampled::GetDiscrete ( ) const
PRMAN_INLINE unsigned char RixBXLobeSampled::GetLobeId ( ) const
PRMAN_INLINE bool RixBXLobeSampled::GetScattering ( ) const
PRMAN_INLINE bool RixBXLobeSampled::GetThinShadowFlag ( ) const
PRMAN_INLINE unsigned char RixBXLobeSampled::GetUnused ( ) const
PRMAN_INLINE bool RixBXLobeSampled::LobeIdIsSubsurface ( ) const
PRMAN_INLINE unsigned short RixBXLobeSampled::Serialize ( ) const
PRMAN_INLINE void RixBXLobeSampled::Set ( bool  vDiscrete,
bool  vSpecular,
bool  vReflect,
bool  vContinuation,
bool  vUser,
unsigned char  vLpeId,
unsigned char  vLobeId,
bool  vThinShadowFlag = false 
)
PRMAN_INLINE void RixBXLobeSampled::SetContinuation ( bool  val)
PRMAN_INLINE void RixBXLobeSampled::SetDiscrete ( bool  val)
PRMAN_INLINE void RixBXLobeSampled::SetEntering ( bool  entering)
PRMAN_INLINE void RixBXLobeSampled::SetLobeId ( unsigned char  val)
PRMAN_INLINE void RixBXLobeSampled::SetLpeId ( unsigned char  val)
PRMAN_INLINE void RixBXLobeSampled::SetReflect ( )
PRMAN_INLINE void RixBXLobeSampled::SetSpecular ( bool  val)
PRMAN_INLINE void RixBXLobeSampled::SetThinShadowFlag ( bool  val)
PRMAN_INLINE void RixBXLobeSampled::SetTransmit ( bool  entering)
PRMAN_INLINE void RixBXLobeSampled::SetUnused ( unsigned char  val)
PRMAN_INLINE void RixBXLobeSampled::SetUser ( bool  val)
PRMAN_INLINE void RixBXLobeSampled::SetValid ( bool  val)

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