RenderMan API  23.0
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.

Definition at line 64 of file RixBxdfLobe.h.

Constructor & Destructor Documentation

◆ RixBXLobeSampled() [1/3]

PRMAN_INLINE RixBXLobeSampled::RixBXLobeSampled ( )

Constructor; initializes the valid bit to false.

Definition at line 599 of file RixBxdfLobe.h.

◆ RixBXLobeSampled() [2/3]

PRMAN_INLINE RixBXLobeSampled::RixBXLobeSampled ( unsigned short  serialized)

Constructor; initializes from serialization as unsigned short.

Definition at line 621 of file RixBxdfLobe.h.

◆ RixBXLobeSampled() [3/3]

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.

Definition at line 627 of file RixBxdfLobe.h.

Member Function Documentation

◆ CompareLobeID()

PRMAN_INLINE bool RixBXLobeSampled::CompareLobeID ( RixBXLobeSampled const &  rhs) const
inline

Definition at line 82 of file RixBxdfLobe.h.

◆ GetContinuation()

PRMAN_INLINE bool RixBXLobeSampled::GetContinuation ( ) const

Definition at line 700 of file RixBxdfLobe.h.

◆ GetDiffuse()

PRMAN_INLINE bool RixBXLobeSampled::GetDiffuse ( ) const

Definition at line 667 of file RixBxdfLobe.h.

◆ GetDiscrete()

PRMAN_INLINE bool RixBXLobeSampled::GetDiscrete ( ) const

Definition at line 655 of file RixBxdfLobe.h.

◆ GetEntering()

PRMAN_INLINE bool RixBXLobeSampled::GetEntering ( ) const

Definition at line 694 of file RixBxdfLobe.h.

◆ GetLobeId()

PRMAN_INLINE unsigned char RixBXLobeSampled::GetLobeId ( ) const

Definition at line 724 of file RixBxdfLobe.h.

◆ GetLpeId()

PRMAN_INLINE unsigned char RixBXLobeSampled::GetLpeId ( ) const

Definition at line 718 of file RixBxdfLobe.h.

◆ GetReflect()

PRMAN_INLINE bool RixBXLobeSampled::GetReflect ( ) const

Definition at line 679 of file RixBxdfLobe.h.

◆ GetScattering()

PRMAN_INLINE bool RixBXLobeSampled::GetScattering ( ) const

Definition at line 706 of file RixBxdfLobe.h.

◆ GetSolidAngle()

PRMAN_INLINE bool RixBXLobeSampled::GetSolidAngle ( ) const

Definition at line 661 of file RixBxdfLobe.h.

◆ GetSpecular()

PRMAN_INLINE bool RixBXLobeSampled::GetSpecular ( ) const

Definition at line 673 of file RixBxdfLobe.h.

◆ GetThinShadowFlag()

PRMAN_INLINE bool RixBXLobeSampled::GetThinShadowFlag ( ) const

Definition at line 741 of file RixBxdfLobe.h.

◆ GetTransmit()

PRMAN_INLINE bool RixBXLobeSampled::GetTransmit ( bool *  entering = NULL) const

Definition at line 685 of file RixBxdfLobe.h.

◆ GetUnused()

PRMAN_INLINE unsigned char RixBXLobeSampled::GetUnused ( ) const

Definition at line 747 of file RixBxdfLobe.h.

◆ GetUser()

PRMAN_INLINE bool RixBXLobeSampled::GetUser ( ) const

Definition at line 712 of file RixBxdfLobe.h.

◆ GetValid()

PRMAN_INLINE bool RixBXLobeSampled::GetValid ( ) const

Definition at line 649 of file RixBxdfLobe.h.

◆ LobeIdIsSubsurface()

PRMAN_INLINE bool RixBXLobeSampled::LobeIdIsSubsurface ( ) const

Definition at line 730 of file RixBxdfLobe.h.

◆ Serialize()

PRMAN_INLINE unsigned short RixBXLobeSampled::Serialize ( ) const

Definition at line 852 of file RixBxdfLobe.h.

◆ Set()

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.

Definition at line 828 of file RixBxdfLobe.h.

◆ SetContinuation()

PRMAN_INLINE void RixBXLobeSampled::SetContinuation ( bool  val)

Definition at line 792 of file RixBxdfLobe.h.

◆ SetDiscrete()

PRMAN_INLINE void RixBXLobeSampled::SetDiscrete ( bool  val)

Definition at line 759 of file RixBxdfLobe.h.

◆ SetEntering()

PRMAN_INLINE void RixBXLobeSampled::SetEntering ( bool  entering)

Definition at line 784 of file RixBxdfLobe.h.

◆ SetLobeId()

PRMAN_INLINE void RixBXLobeSampled::SetLobeId ( unsigned char  val)

Definition at line 810 of file RixBxdfLobe.h.

◆ SetLpeId()

PRMAN_INLINE void RixBXLobeSampled::SetLpeId ( unsigned char  val)

Definition at line 804 of file RixBxdfLobe.h.

◆ SetReflect()

PRMAN_INLINE void RixBXLobeSampled::SetReflect ( )

Definition at line 771 of file RixBxdfLobe.h.

◆ SetSpecular()

PRMAN_INLINE void RixBXLobeSampled::SetSpecular ( bool  val)

Definition at line 765 of file RixBxdfLobe.h.

◆ SetThinShadowFlag()

PRMAN_INLINE void RixBXLobeSampled::SetThinShadowFlag ( bool  val)

Definition at line 816 of file RixBxdfLobe.h.

◆ SetTransmit()

PRMAN_INLINE void RixBXLobeSampled::SetTransmit ( bool  entering)

Definition at line 777 of file RixBxdfLobe.h.

◆ SetUnused()

PRMAN_INLINE void RixBXLobeSampled::SetUnused ( unsigned char  val)

Definition at line 822 of file RixBxdfLobe.h.

◆ SetUser()

PRMAN_INLINE void RixBXLobeSampled::SetUser ( bool  val)

Definition at line 798 of file RixBxdfLobe.h.

◆ SetValid()

PRMAN_INLINE void RixBXLobeSampled::SetValid ( bool  val)

Definition at line 753 of file RixBxdfLobe.h.


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