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 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
 
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 float * getCornerAttenuation () const
 
float * getAttenuationCoeffArray ()
 
const float * getConstAttenuationCoeffArray () 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
 

Detailed Description

Definition at line 39 of file GU_PrimVolumeCache.h.

Constructor & Destructor Documentation

GU_PrimVolumeCacheLight::GU_PrimVolumeCacheLight ( )
inline

Definition at line 42 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 120 of file GU_PrimVolumeCache.h.

const UT_Vector3& GU_PrimVolumeCacheLight::getCd ( ) const
inline

Definition at line 95 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::getConeAngle ( ) const
inline

Definition at line 97 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::getConeDelta ( ) const
inline

Definition at line 98 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::getConeRolloff ( ) const
inline

Definition at line 99 of file GU_PrimVolumeCache.h.

const float* GU_PrimVolumeCacheLight::getConstAttenuationCoeffArray ( ) const
inline

Definition at line 121 of file GU_PrimVolumeCache.h.

const float* GU_PrimVolumeCacheLight::getCornerAttenuation ( ) const
inline

Definition at line 118 of file GU_PrimVolumeCache.h.

const UT_Vector3& GU_PrimVolumeCacheLight::getDir ( ) const
inline

Definition at line 94 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::getDistance ( const UT_Vector3 pos) const
const UT_Vector3& GU_PrimVolumeCacheLight::getOrg ( ) const
inline

Definition at line 93 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::getShadow ( ) const
inline

Definition at line 96 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::hasAttenuation ( ) const
inline

Definition at line 116 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isAmbient ( ) const
inline

Definition at line 101 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isCone ( ) const
inline

Definition at line 105 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isEnvironment ( ) const
inline

Definition at line 104 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isHeadlight ( ) const
inline

Definition at line 103 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isInfinite ( ) const
inline

Definition at line 102 of file GU_PrimVolumeCache.h.

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

Definition at line 51 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setCd ( const UT_Vector3 cd)
inline

Definition at line 82 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setConeAngle ( float  angle)
inline

Definition at line 89 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setConeDelta ( float  delta)
inline

Definition at line 90 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setConeRolloff ( float  rolloff)
inline

Definition at line 91 of file GU_PrimVolumeCache.h.

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

Definition at line 110 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setDir ( const UT_Vector3 dir)
inline

Definition at line 81 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsAmbient ( bool  isamb)
inline

Definition at line 84 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsCone ( bool  cone)
inline

Definition at line 88 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsEnvironment ( bool  env)
inline

Definition at line 87 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsHeadlight ( bool  hl)
inline

Definition at line 86 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsInfinite ( bool  isinf)
inline

Definition at line 85 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setOrg ( const UT_Vector3 org)
inline

Definition at line 80 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setShadowIntensity ( float  shadow)
inline

Definition at line 83 of file GU_PrimVolumeCache.h.

Member Data Documentation

float GU_PrimVolumeCacheLight::myAtten[8]
protected

Definition at line 128 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::myAttenuationCoeffs[3]
protected

Definition at line 129 of file GU_PrimVolumeCache.h.

UT_Vector3 GU_PrimVolumeCacheLight::myCd
protected

Definition at line 125 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::myConeAngle
protected

Definition at line 133 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::myConeDelta
protected

Definition at line 133 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::myConeRolloff
protected

Definition at line 133 of file GU_PrimVolumeCache.h.

UT_Vector3 GU_PrimVolumeCacheLight::myDir
protected

Definition at line 124 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myHasAttenuation
protected

Definition at line 127 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsAmbient
protected

Definition at line 130 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsCone
protected

Definition at line 132 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsEnvironment
protected

Definition at line 131 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsHeadlight
protected

Definition at line 130 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsInfinite
protected

Definition at line 130 of file GU_PrimVolumeCache.h.

UT_Vector3 GU_PrimVolumeCacheLight::myOrg
protected

Definition at line 124 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::myShadow
protected

Definition at line 126 of file GU_PrimVolumeCache.h.


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