HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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)
 
const UT_Vector3getOrg () const
 
const UT_Vector3getDir () const
 
const UT_Vector3getCd () const
 
float getShadow () const
 
bool isAmbient () const
 
bool isInfinite () const
 
bool isHeadlight () const
 
bool isEnvironment () const
 
float getDistance (const UT_Vector3 &pos) const
 
void setCornerAttenuation (float a[8])
 
bool hasAttenuation () const
 
float getAttenuation (const UT_Vector3F &uvw) const
 

Protected Attributes

UT_Vector3 myOrg
 
UT_Vector3 myDir
 
UT_Vector3 myCd
 
float myShadow
 
bool myHasAttenuation
 
float myAtten [8]
 
bool myIsAmbient
 
bool myIsInfinite
 
bool myIsHeadlight
 
bool myIsEnvironment
 

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
const UT_Vector3& GU_PrimVolumeCacheLight::getCd ( ) const
inline

Definition at line 77 of file GU_PrimVolumeCache.h.

const UT_Vector3& GU_PrimVolumeCacheLight::getDir ( ) const
inline

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

float GU_PrimVolumeCacheLight::getShadow ( ) const
inline

Definition at line 78 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::hasAttenuation ( ) const
inline

Definition at line 94 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isAmbient ( ) const
inline

Definition at line 80 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isEnvironment ( ) const
inline

Definition at line 83 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isHeadlight ( ) const
inline

Definition at line 82 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::isInfinite ( ) const
inline

Definition at line 81 of file GU_PrimVolumeCache.h.

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

Definition at line 50 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setCd ( const UT_Vector3 cd)
inline

Definition at line 68 of file GU_PrimVolumeCache.h.

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

Definition at line 88 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setDir ( const UT_Vector3 dir)
inline

Definition at line 67 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsAmbient ( bool  isamb)
inline

Definition at line 70 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsEnvironment ( bool  env)
inline

Definition at line 73 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsHeadlight ( bool  hl)
inline

Definition at line 72 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setIsInfinite ( bool  isinf)
inline

Definition at line 71 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setOrg ( const UT_Vector3 org)
inline

Definition at line 66 of file GU_PrimVolumeCache.h.

void GU_PrimVolumeCacheLight::setShadowIntensity ( float  shadow)
inline

Definition at line 69 of file GU_PrimVolumeCache.h.

Member Data Documentation

float GU_PrimVolumeCacheLight::myAtten[8]
protected

Definition at line 101 of file GU_PrimVolumeCache.h.

UT_Vector3 GU_PrimVolumeCacheLight::myCd
protected

Definition at line 98 of file GU_PrimVolumeCache.h.

UT_Vector3 GU_PrimVolumeCacheLight::myDir
protected

Definition at line 97 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myHasAttenuation
protected

Definition at line 100 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsAmbient
protected

Definition at line 102 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsEnvironment
protected

Definition at line 103 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsHeadlight
protected

Definition at line 102 of file GU_PrimVolumeCache.h.

bool GU_PrimVolumeCacheLight::myIsInfinite
protected

Definition at line 102 of file GU_PrimVolumeCache.h.

UT_Vector3 GU_PrimVolumeCacheLight::myOrg
protected

Definition at line 97 of file GU_PrimVolumeCache.h.

float GU_PrimVolumeCacheLight::myShadow
protected

Definition at line 99 of file GU_PrimVolumeCache.h.


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