HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_PrimVolumeCacheLight Class Reference

#include <GU_PrimVolumeCache.h>

Public Member Functions

 GU_PrimVolumeCacheLight ()
 
bool operator== (const GU_PrimVolumeCacheLight &l) const
 
void setOrg (const UT_Vector3 &org)
 
void setDir (const UT_Vector3 &dir)
 
void setCd (const UT_Vector3 &cd)
 
void setShadowIntensity (float shadow)
 
void setIsAmbient (bool isamb)
 
void setIsInfinite (bool isinf)
 
void setIsHeadlight (bool hl)
 
void setIsEnvironment (bool env)
 
void setEnvironmentMap (const RE_Texture *env)
 
void setOrientation (const UT_Matrix3 &mat)
 
void setIsCone (bool cone)
 
void setConeAngle (float angle)
 
void setConeDelta (float delta)
 
void setConeRolloff (float rolloff)
 
const UT_Vector3getOrg () const
 
const UT_Vector3getDir () const
 
const UT_Vector3getCd () const
 
float getShadow () const
 
float getConeAngle () const
 
float getConeDelta () const
 
float getConeRolloff () const
 
const RE_TexturegetEnvironmentMap () const
 
const UT_Matrix3getOrientation () const
 
bool isAmbient () const
 
bool isInfinite () const
 
bool isHeadlight () const
 
bool isEnvironment () const
 
bool isCone () const
 
float getDistance (const UT_Vector3 &pos) const
 
void setCornerAttenuation (float a[8])
 
bool hasAttenuation () const
 
float getAttenuation (const UT_Vector3F &uvw) const
 
const floatgetCornerAttenuation () const
 
floatgetAttenuationCoeffArray ()
 
const floatgetConstAttenuationCoeffArray () const
 

Protected Attributes

UT_Vector3 myOrg
 
UT_Vector3 myDir
 
UT_Vector3 myCd
 
float myShadow
 
bool myHasAttenuation
 
float myAtten [8]
 
float myAttenuationCoeffs [3]
 
bool myIsAmbient
 
bool myIsInfinite
 
bool myIsHeadlight
 
bool myIsEnvironment
 
bool myIsCone
 
float myConeAngle
 
float myConeDelta
 
float myConeRolloff
 
const RE_TexturemyEnvMap
 
UT_Matrix3 myOrientation
 

Detailed Description

Definition at line 41 of file GU_PrimVolumeCache.h.

Constructor & Destructor Documentation

GU_PrimVolumeCacheLight::GU_PrimVolumeCacheLight ( )
inline

Definition at line 44 of file GU_PrimVolumeCache.h.

Member Function Documentation

float GU_PrimVolumeCacheLight::getAttenuation ( const UT_Vector3F uvw) const
float* GU_PrimVolumeCacheLight::getAttenuationCoeffArray ( )
inline

Definition at line 129 of file GU_PrimVolumeCache.h.

const UT_Vector3& GU_PrimVolumeCacheLight::getCd ( ) const
inline

Definition at line 102 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::getConeAngle ( ) const
inline

Definition at line 104 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::getConeDelta ( ) const
inline

Definition at line 105 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::getConeRolloff ( ) const
inline

Definition at line 106 of file GU_PrimVolumeCache.h.

const float* GU_PrimVolumeCacheLight::getConstAttenuationCoeffArray ( ) const
inline

Definition at line 130 of file GU_PrimVolumeCache.h.

const float* GU_PrimVolumeCacheLight::getCornerAttenuation ( ) const
inline

Definition at line 127 of file GU_PrimVolumeCache.h.

const UT_Vector3& GU_PrimVolumeCacheLight::getDir ( ) const
inline

Definition at line 101 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::getDistance ( const UT_Vector3 pos) const
const RE_Texture* GU_PrimVolumeCacheLight::getEnvironmentMap ( ) const
inline

Definition at line 107 of file GU_PrimVolumeCache.h.

const UT_Vector3& GU_PrimVolumeCacheLight::getOrg ( ) const
inline

Definition at line 100 of file GU_PrimVolumeCache.h.

const UT_Matrix3& GU_PrimVolumeCacheLight::getOrientation ( ) const
inline

Definition at line 108 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::getShadow ( ) const
inline

Definition at line 103 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::hasAttenuation ( ) const
inline

Definition at line 125 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isAmbient ( ) const
inline

Definition at line 110 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isCone ( ) const
inline

Definition at line 114 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isEnvironment ( ) const
inline

Definition at line 113 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isHeadlight ( ) const
inline

Definition at line 112 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isInfinite ( ) const
inline

Definition at line 111 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::operator== ( const GU_PrimVolumeCacheLight l) const
inline

Definition at line 54 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setCd ( const UT_Vector3 cd)
inline

Definition at line 87 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setConeAngle ( float  angle)
inline

Definition at line 96 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setConeDelta ( float  delta)
inline

Definition at line 97 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setConeRolloff ( float  rolloff)
inline

Definition at line 98 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setCornerAttenuation ( float  a[8])
inline

Definition at line 119 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setDir ( const UT_Vector3 dir)
inline

Definition at line 86 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setEnvironmentMap ( const RE_Texture env)
inline

Definition at line 93 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsAmbient ( bool  isamb)
inline

Definition at line 89 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsCone ( bool  cone)
inline

Definition at line 95 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsEnvironment ( bool  env)
inline

Definition at line 92 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsHeadlight ( bool  hl)
inline

Definition at line 91 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsInfinite ( bool  isinf)
inline

Definition at line 90 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setOrg ( const UT_Vector3 org)
inline

Definition at line 85 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setOrientation ( const UT_Matrix3 mat)
inline

Definition at line 94 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setShadowIntensity ( float  shadow)
inline

Definition at line 88 of file GU_PrimVolumeCache.h.

Member Data Documentation

float GU_PrimVolumeCacheLight::myAtten[8]
protected

Definition at line 137 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::myAttenuationCoeffs[3]
protected

Definition at line 138 of file GU_PrimVolumeCache.h.

UT_Vector3 GU_PrimVolumeCacheLight::myCd
protected

Definition at line 134 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::myConeAngle
protected

Definition at line 142 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::myConeDelta
protected

Definition at line 142 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::myConeRolloff
protected

Definition at line 142 of file GU_PrimVolumeCache.h.

UT_Vector3 GU_PrimVolumeCacheLight::myDir
protected

Definition at line 133 of file GU_PrimVolumeCache.h.

const RE_Texture* GU_PrimVolumeCacheLight::myEnvMap
protected

Definition at line 144 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myHasAttenuation
protected

Definition at line 136 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsAmbient
protected

Definition at line 139 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsCone
protected

Definition at line 141 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsEnvironment
protected

Definition at line 140 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsHeadlight
protected

Definition at line 139 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsInfinite
protected

Definition at line 139 of file GU_PrimVolumeCache.h.

UT_Vector3 GU_PrimVolumeCacheLight::myOrg
protected

Definition at line 133 of file GU_PrimVolumeCache.h.

UT_Matrix3 GU_PrimVolumeCacheLight::myOrientation
protected

Definition at line 145 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::myShadow
protected

Definition at line 135 of file GU_PrimVolumeCache.h.


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