RenderManAPI  24.0
RixIES Class Reference

#include <RixIES.h>

Inherits RixInterface.

Classes

struct  IESProfile
 

Public Types

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

 RixIES ()
 
PRMAN_INLINE void EvaluateIESProfile (RtFloat3 const &P, RtColorRGB *emission) const
 
PRMAN_INLINE bool ReadIESProfile (RixContext const &rixCtx, RtUString const iesProfile)
 
PRMAN_INLINE float EvaluateConeAngle (RtFloat3 const &P) const
 
PRMAN_INLINE float EvaluateConeAngle (RtPoint3 const &lightP, RtVector3 &lightN, RtPoint3 const &offsetP, RtVector3 const &segmentDir, float &minT, float &maxT) const
 
IESProfileGetIESProfile ()
 
float GetConeAngle () const
 
float GetConeOffset () const
 
bool GetHasNegativeDeterminant () const
 
float GetNormalizationFactor () const
 
void SetConeAngle (float v)
 
void SetConeOffset (float v)
 
void SetHasNegativeDeterminant (float v)
 
virtual int GetVersion () const
 Get the version number of this interface. More...
 

Protected Attributes

int m_version
 Version number of this interface. More...
 

Member Enumeration Documentation

◆ Type

enum RixInterface::Type
inherited
Enumerator
k_Float 
k_Integer 
k_StringV 
k_Color 
k_Normal 
k_Vector 
k_Point 
k_HPoint 
k_MPoint 
k_Matrix 

Constructor & Destructor Documentation

◆ RixIES()

RixIES::RixIES ( )
inline

Member Function Documentation

◆ EvaluateConeAngle() [1/2]

PRMAN_INLINE float RixIES::EvaluateConeAngle ( RtFloat3 const &  P) const

◆ EvaluateConeAngle() [2/2]

PRMAN_INLINE float RixIES::EvaluateConeAngle ( RtPoint3 const &  lightP,
RtVector3 lightN,
RtPoint3 const &  offsetP,
RtVector3 const &  segmentDir,
float &  minT,
float &  maxT 
) const

◆ EvaluateIESProfile()

◆ GetConeAngle()

float RixIES::GetConeAngle ( ) const
inline

◆ GetConeOffset()

float RixIES::GetConeOffset ( ) const
inline

◆ GetHasNegativeDeterminant()

bool RixIES::GetHasNegativeDeterminant ( ) const
inline

◆ GetIESProfile()

IESProfile& RixIES::GetIESProfile ( )
inline

◆ GetNormalizationFactor()

float RixIES::GetNormalizationFactor ( ) const
inline

◆ GetVersion()

virtual int RixInterface::GetVersion ( ) const
inlinevirtualinherited

Get the version number of this interface.

Different interfaces might have different version numbers in a given release.

References RixInterface::m_version.

◆ ReadIESProfile()

◆ SetConeAngle()

void RixIES::SetConeAngle ( float  v)
inline

◆ SetConeOffset()

void RixIES::SetConeOffset ( float  v)
inline

◆ SetHasNegativeDeterminant()

void RixIES::SetHasNegativeDeterminant ( float  v)
inline

Member Data Documentation

◆ m_version

int RixInterface::m_version
protectedinherited

Version number of this interface.

Referenced by RixInterface::GetVersion().


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