RenderMan API  23.0
RixLPE Class Referenceabstract

#include <RixLPE.h>

Inheritance diagram for RixLPE:
RixInterface

Classes

class  SplatHelper
 

Public Types

enum  RixLPEBuiltInTokens {
  k_NULL = 0, k_NONE, k_CAMERA, k_LIGHT,
  k_OBJECT, k_TRANSMIT, k_REFLECT, k_STOP,
  k_BLANK, k_LAMBDA, k_DOT, k_DIFFUSE1,
  k_DIFFUSE2, k_DIFFUSE3, k_DIFFUSE4, k_SPECULAR1,
  k_SPECULAR2, k_SPECULAR3, k_SPECULAR4, k_SPECULAR5,
  k_SPECULAR6, k_SPECULAR7, k_SPECULAR8, k_USER1,
  k_USER2, k_USER3, k_USER4, k_USER5,
  k_USER6, k_USER7, k_USER8, k_USER9,
  k_USER10, k_USER11, k_USER12, k_EVERYLOBE,
  k_EVERYDIFFUSE, k_EVERYSPECULAR, k_EVERYUSER, k_numBuiltinTokens
}
 
enum  RixLPEFlags {
  k_FlagWithOcclusion = 0x1, k_FlagWithThruput = 0x2, k_FlagWithClamp = 0x4, k_FlagShadowsOnly = 0x8,
  k_FlagOverwrite = 0x10, k_FlagNoInfiniteCheck = 0x20, k_FlagHoldoutsOnly = 0x40
}
 
enum  OverwritePolicy { k_Ignore, k_Overwrite, k_Accumulate }
 
- Public Types inherited from RixInterface
enum  Type {
  k_Float, k_Integer, k_StringV, k_Color,
  k_Normal, k_Vector, k_Point, k_HPoint,
  k_MPoint, k_Matrix
}
 

Public Member Functions

 RixLPE ()
 
virtual RixLPEStateAllocateStates (int count)=0
 
virtual void FreeStates (int count, RixLPEState *states)=0
 
virtual RtUString TokenToString (RixLPEToken token) const =0
 
virtual RixLPEToken StringToToken (RtUString str) const =0
 
virtual RixLPEToken GroupAndObjectToToken (RtUString lpeGroup, RtUString objName) const =0
 
virtual void IncRef ()=0
 
virtual void DecRef ()=0
 
virtual int GetRefCnt () const =0
 
PRMAN_INLINE bool AnyLPEs () const
 
PRMAN_INLINE bool AnyCustomLPEs () const
 
virtual void Splat (const RixLPEState &accum, RixDisplayServices *dspy, const RtColorRGB &val, const int integratorCtxIdx, const RtColorRGB *lgtTrans, const float clamp, const bool isFinite, const OverwritePolicy overwritePolicy, const bool isHoldout) const =0
 
- Public Member Functions inherited from RixInterface
virtual int GetVersion () const
 

Static Public Member Functions

static PRMAN_INLINE RixLPEToken LgtGrpIdToToken (int lightGroupId)
 Convert an integer light group id to an LPE token. More...
 

Static Public Attributes

static const int k_baseLgtGrpTokenOffset = k_numBuiltinTokens
 

Protected Member Functions

virtual ~RixLPE ()
 
- Protected Member Functions inherited from RixInterface
 RixInterface (int version)
 Interfaces should not be constructed by users. More...
 
virtual ~RixInterface ()
 Interfaces should not be deleted by users. More...
 

Protected Attributes

bool m_anyLPEs
 
bool m_anyCustomLPEs
 
RixChannelId m_beautyChanId
 
- Protected Attributes inherited from RixInterface
int m_version
 Version number of this interface. More...
 

Detailed Description

Definition at line 128 of file RixLPE.h.

Member Enumeration Documentation

◆ OverwritePolicy

Enumerator
k_Ignore 
k_Overwrite 
k_Accumulate 

Definition at line 192 of file RixLPE.h.

◆ RixLPEBuiltInTokens

Enumerator
k_NULL 
k_NONE 
k_CAMERA 
k_LIGHT 
k_OBJECT 
k_TRANSMIT 
k_REFLECT 
k_STOP 
k_BLANK 
k_LAMBDA 
k_DOT 
k_DIFFUSE1 
k_DIFFUSE2 
k_DIFFUSE3 
k_DIFFUSE4 
k_SPECULAR1 
k_SPECULAR2 
k_SPECULAR3 
k_SPECULAR4 
k_SPECULAR5 
k_SPECULAR6 
k_SPECULAR7 
k_SPECULAR8 
k_USER1 
k_USER2 
k_USER3 
k_USER4 
k_USER5 
k_USER6 
k_USER7 
k_USER8 
k_USER9 
k_USER10 
k_USER11 
k_USER12 
k_EVERYLOBE 
k_EVERYDIFFUSE 
k_EVERYSPECULAR 
k_EVERYUSER 
k_numBuiltinTokens 

Definition at line 132 of file RixLPE.h.

◆ RixLPEFlags

Enumerator
k_FlagWithOcclusion 
k_FlagWithThruput 
k_FlagWithClamp 
k_FlagShadowsOnly 
k_FlagOverwrite 
k_FlagNoInfiniteCheck 
k_FlagHoldoutsOnly 

Definition at line 178 of file RixLPE.h.

Constructor & Destructor Documentation

◆ RixLPE()

RixLPE::RixLPE ( )
inline

Definition at line 199 of file RixLPE.h.

◆ ~RixLPE()

virtual RixLPE::~RixLPE ( )
inlineprotectedvirtual

Definition at line 251 of file RixLPE.h.

Member Function Documentation

◆ AllocateStates()

virtual RixLPEState* RixLPE::AllocateStates ( int  count)
pure virtual

◆ AnyCustomLPEs()

PRMAN_INLINE bool RixLPE::AnyCustomLPEs ( ) const

Definition at line 144 of file RixLPEInline.h.

◆ AnyLPEs()

PRMAN_INLINE bool RixLPE::AnyLPEs ( ) const

Definition at line 137 of file RixLPEInline.h.

◆ DecRef()

virtual void RixLPE::DecRef ( )
pure virtual

◆ FreeStates()

virtual void RixLPE::FreeStates ( int  count,
RixLPEState states 
)
pure virtual

◆ GetRefCnt()

virtual int RixLPE::GetRefCnt ( ) const
pure virtual

◆ GroupAndObjectToToken()

virtual RixLPEToken RixLPE::GroupAndObjectToToken ( RtUString  lpeGroup,
RtUString  objName 
) const
pure virtual

◆ IncRef()

virtual void RixLPE::IncRef ( )
pure virtual

◆ LgtGrpIdToToken()

PRMAN_INLINE RixLPEToken RixLPE::LgtGrpIdToToken ( int  lightGroupId)
static

Convert an integer light group id to an LPE token.

Definition at line 126 of file RixLPEInline.h.

◆ Splat()

virtual void RixLPE::Splat ( const RixLPEState accum,
RixDisplayServices dspy,
const RtColorRGB val,
const int  integratorCtxIdx,
const RtColorRGB lgtTrans,
const float  clamp,
const bool  isFinite,
const OverwritePolicy  overwritePolicy,
const bool  isHoldout 
) const
pure virtual

◆ StringToToken()

virtual RixLPEToken RixLPE::StringToToken ( RtUString  str) const
pure virtual

◆ TokenToString()

virtual RtUString RixLPE::TokenToString ( RixLPEToken  token) const
pure virtual

Member Data Documentation

◆ k_baseLgtGrpTokenOffset

const int RixLPE::k_baseLgtGrpTokenOffset = k_numBuiltinTokens
static

Definition at line 189 of file RixLPE.h.

◆ m_anyCustomLPEs

bool RixLPE::m_anyCustomLPEs
protected

Definition at line 257 of file RixLPE.h.

◆ m_anyLPEs

bool RixLPE::m_anyLPEs
protected

Definition at line 254 of file RixLPE.h.

◆ m_beautyChanId

RixChannelId RixLPE::m_beautyChanId
protected

Definition at line 260 of file RixLPE.h.


The documentation for this class was generated from the following files: