Light Class Reference

#include <light.h>

List of all members.

Public Member Functions

 Light (int light_number)
 ~Light ()
void Enable ()
void Disable ()
int IsEnabled ()
float * getLightPos ()
float * getAmbientIntensity ()
float * getDiffuseIntensity ()
float * getSpecularIntensity ()
float * getSpotDirection ()
float getSpotCutoff ()
void setSpotCutoff (float spotCutoff)
float getSpotExponent ()
void setSpotExponent (float spotExponent)
float getAttenuationConstant ()
void setAttenuationConstant (float attenuationConstant)
float getAttenuationLinear ()
void setAttenuationLinear (float attenuationLinear)
float getAttenuationQuadratic ()
void setAttenuationQuadratic (float attenuationQuadratic)
void Display ()
void CreatePanelSubmenu (void *p, void *glui)

Static Public Attributes

static int debug
static const char * rcsid = "@(#) $Id: light.cpp,v 1.8 2006/05/24 16:52:39 sean Exp $ $Copyright: (c)2001 National Biocomputation Center, Stanford University $"


Detailed Description

Definition at line 10 of file light.h.


Constructor & Destructor Documentation

Light::Light ( int  light_number  ) 

Definition at line 29 of file light.cpp.

Light::~Light (  ) 

Definition at line 46 of file light.cpp.


Member Function Documentation

void Light::Enable (  )  [inline]

Definition at line 58 of file light.h.

void Light::Disable (  )  [inline]

Definition at line 61 of file light.h.

int Light::IsEnabled (  )  [inline]

Definition at line 64 of file light.h.

float * Light::getLightPos (  )  [inline]

Definition at line 67 of file light.h.

float * Light::getAmbientIntensity (  )  [inline]

Definition at line 70 of file light.h.

float * Light::getDiffuseIntensity (  )  [inline]

Definition at line 73 of file light.h.

float * Light::getSpecularIntensity (  )  [inline]

Definition at line 76 of file light.h.

float * Light::getSpotDirection (  )  [inline]

Definition at line 79 of file light.h.

float Light::getSpotCutoff (  )  [inline]

Definition at line 82 of file light.h.

void Light::setSpotCutoff ( float  spotCutoff  )  [inline]

Definition at line 85 of file light.h.

float Light::getSpotExponent (  )  [inline]

Definition at line 88 of file light.h.

void Light::setSpotExponent ( float  spotExponent  )  [inline]

Definition at line 91 of file light.h.

float Light::getAttenuationConstant (  )  [inline]

Definition at line 94 of file light.h.

void Light::setAttenuationConstant ( float  attenuationConstant  )  [inline]

Definition at line 97 of file light.h.

float Light::getAttenuationLinear (  )  [inline]

Definition at line 100 of file light.h.

void Light::setAttenuationLinear ( float  attenuationLinear  )  [inline]

Definition at line 103 of file light.h.

float Light::getAttenuationQuadratic (  )  [inline]

Definition at line 106 of file light.h.

void Light::setAttenuationQuadratic ( float  attenuationQuadratic  )  [inline]

Definition at line 109 of file light.h.

void Light::Display (  ) 

Definition at line 53 of file light.cpp.

void Light::CreatePanelSubmenu ( void *  p,
void *  glui 
)

Definition at line 77 of file light.cpp.


Member Data Documentation

int Light::debug [static]

Definition at line 30 of file light.h.

const char * Light::rcsid = "@(#) $Id: light.cpp,v 1.8 2006/05/24 16:52:39 sean Exp $ $Copyright: (c)2001 National Biocomputation Center, Stanford University $" [static]

Definition at line 31 of file light.h.


The documentation for this class was generated from the following files:
Generated on Thu Aug 30 11:04:53 2007 for SPRING Mac by  doxygen 1.5.3