OpenGLLightModel< T > Class Template Reference

#include <TAPsOpenGLLightModel.hpp>

Collaboration diagram for OpenGLLightModel< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void Disable ()
void Draw ()
void Enable ()
const Vector4< T > & GetAmbient () const
GetAttenuationConstant () const
GetAttenuationLinear () const
GetAttenuationQuadratic () const
const Vector4< T > & GetDiffuse () const
int GetGLLightNumber () const
const Vector4< T > & GetPosition () const
const Vector4< T > & GetSpecular () const
GetSpotCutoff () const
const Vector3< T > & GetSpotDirection () const
GetSpotExponent () const
bool IsEnable () const
bool IsOn () const
 OpenGLLightModel (T lightNumber, T ambientR, T ambientG, T ambientB, T ambientA, T diffuseR, T diffuseG, T diffuseB, T diffuseA, T specularR, T specularG, T specularB, T specularA, T positionX, T positionY, T positionZ, T positionW, T spotDirectionX=0, T spotDirectionY=0, T spotDirectionZ=-1, T spotExponent=0, T spotCutoff=180, T constantAttenuation=1, T linearAttenuation=0, T QuadraticAttenuation=0)
 OpenGLLightModel ()
void SetAmbient (T r, T g, T b)
void SetAmbient (T r, T g, T b, T a)
void SetAmbient (const Vector3< T > &v)
void SetAmbient (const Vector4< T > &v)
void SetAttenuationConstant (T t)
void SetAttenuationLinear (T t)
void SetAttenuationQuadratic (T t)
void SetDiffuse (T r, T g, T b)
void SetDiffuse (T r, T g, T b, T a)
void SetDiffuse (const Vector3< T > &v)
void SetDiffuse (const Vector4< T > &v)
void SetGLLightNumber (GLenum eGL)
void SetGLLightNumber (int n)
void SetPosition (T x, T y, T z)
void SetPosition (T x, T y, T z, T w)
void SetPosition (const Vector3< T > &v)
void SetPosition (const Vector4< T > &v)
void SetSpecular (T r, T g, T b)
void SetSpecular (T r, T g, T b, T a)
void SetSpecular (const Vector3< T > &v)
void SetSpecular (const Vector4< T > &v)
void SetSpotCutoff (T t)
void SetSpotDirection (T x, T y, T z)
void SetSpotDirection (const Vector3< T > &v)
void SetSpotExponent (T t)
void Switch (bool on)
void ToggleSwitch ()
 ~OpenGLLightModel ()

Static Public Member Functions

static int GetMaxinumNumberOfLightsAllowed ()
static int GetNumberOfLights ()

Private Member Functions

void SetDefaultValues ()

Static Private Member Functions

static void SetGLMaxLights ()

Private Attributes

bool m_bOn
GLenum m_eGLLightNumber
m_tConstantAttenuation
m_tLinearAttenuation
m_tQuadraticAttenuation
m_tSpotCutoff
m_tSpotExponent
Vector3< T > m_v3SpotDirection
Vector4< T > m_v4Ambient
Vector4< T > m_v4Diffuse
Vector4< T > m_v4Position
Vector4< T > m_v4Specular

Static Private Attributes

static GLint g_iGLMaxLights = 0
static int g_iTotalLights = 0
static GLuint g_uiGLDisplayList = 0


Detailed Description

template<typename T>
class OpenGLLightModel< T >

Definition at line 18 of file TAPsOpenGLLightModel.hpp.


Constructor & Destructor Documentation

template<typename T>
OpenGLLightModel< T >::OpenGLLightModel (  )  [inline]

Definition at line 24 of file TAPsOpenGLLightModel.cpp.

00025     : m_bOn( false )
00026 {
00027     if ( g_iGLMaxLights == 0 )  SetGLMaxLights();
00028     SetDefaultValues();
00029     ++g_iTotalLights;
00030 }

template<typename T>
OpenGLLightModel< T >::OpenGLLightModel ( lightNumber,
ambientR,
ambientG,
ambientB,
ambientA,
diffuseR,
diffuseG,
diffuseB,
diffuseA,
specularR,
specularG,
specularB,
specularA,
positionX,
positionY,
positionZ,
positionW,
spotDirectionX = 0,
spotDirectionY = 0,
spotDirectionZ = -1,
spotExponent = 0,
spotCutoff = 180,
constantAttenuation = 1,
linearAttenuation = 0,
QuadraticAttenuation = 0 
) [inline]

Definition at line 33 of file TAPsOpenGLLightModel.cpp.

00047     : m_bOn( false )
00048 {
00049     if ( g_iGLMaxLights == 0 )  SetGLMaxLights();
00050     //-----------------------------------------------------
00051     SetGLLightNumber( lightNumber );
00052     //-----------------------------------------------------
00053     m_v4Ambient.SetXYZW( ambientR, ambientG, ambientB, ambientA );
00054     m_v4Diffuse.SetXYZW( diffuseR, diffuseG, diffuseB, diffuseA );
00055     m_v4Specular.SetXYZW( specularR, specularG, specularB, specularA );
00056     m_v4Position.SetXYZW( positionX, specularY, specularZ, specularW );
00057     //-------------------------------------------
00058     m_v3SpotDirection.SetXYZ( spotDirectionX, spotDirectionY, spotDirectionZ );
00059     m_tSpotExponent = spotExponent;
00060     m_tSpotCutoff   = spotCutoff;
00061     //-------------------------------------------
00062     m_tConstantAttenuation  = constantAttenuation;
00063     m_tLinearAttenuation    = linearAttenuation;
00064     m_tQuadraticAttenuation = quadraticAttenuation;
00065     //-----------------------------------------------------
00066     ++g_iTotalLights;
00067 }

template<typename T>
OpenGLLightModel< T >::~OpenGLLightModel (  )  [inline]

Definition at line 70 of file TAPsOpenGLLightModel.cpp.

00071 {
00072     Disable();
00073     --g_iTotalLights;
00074 }


Member Function Documentation

template<typename T>
void OpenGLLightModel< T >::Disable (  )  [inline]

Definition at line 107 of file TAPsOpenGLLightModel.cpp.

00108 {
00109     m_bOn = false;
00110     glDisable( m_eGLLightNumber );
00111 }

template<typename T>
void OpenGLLightModel< T >::Draw (  ) 

template<typename T>
void OpenGLLightModel< T >::Enable (  )  [inline]

Definition at line 84 of file TAPsOpenGLLightModel.cpp.

00085 {
00086     m_bOn = true;
00087     //-----------------------------------------------------
00088 //  glLightfv( m_eGLLightNumber, GL_AMBIENT, m_v4Ambient.GetDataFloat() );
00089 //  glLightfv( m_eGLLightNumber, GL_DIFFUSE, m_v4Diffuse.GetDataFloat() );
00090 //  glLightfv( m_eGLLightNumber, GL_SPECULAR, m_v4Specular.GetDataFloat() );
00091 //  glLightfv( m_eGLLightNumber, GL_POSITION, m_v4Position.GetDataFloat() );
00092 //  glLightfv( m_eGLLightNumber, GL_SPOT_DIRECTION, 
00093 //             m_v3SpotDirection.GetDataFloat() );
00094 //  glLightf( m_eGLLightNumber, GL_SPOT_EXPONENT, m_tSpotExponent );
00095 //  glLightf( m_eGLLightNumber, GL_SPOT_CUTOFF, m_tSpotCutoff );
00096 //  glLightf( m_eGLLightNumber, GL_CONSTANT_ATTENUATION, 
00097 //            m_tConstantAttenuation );
00098 //  glLightf( m_eGLLightNumber, GL_LINEAR_ATTENUATION, 
00099 //            m_tLinearAttenuation );
00100 //  glLightf( m_eGLLightNumber, GL_QUADRATIC_ATTENUATION, 
00101 //            m_tQuadraticAttenuation );
00102     //-----------------------------------------------------
00103     glEnable( m_eGLLightNumber );
00104 }

template<typename T>
const Vector4< T > & OpenGLLightModel< T >::GetAmbient (  )  const [inline]

Definition at line 199 of file TAPsOpenGLLightModel.cpp.

00200 {
00201     return m_v4Ambient;
00202 }

template<typename T>
T OpenGLLightModel< T >::GetAttenuationConstant (  )  const [inline]

Definition at line 381 of file TAPsOpenGLLightModel.cpp.

00382 {
00383     return m_tConstantAttenuation;
00384 }

template<typename T>
T OpenGLLightModel< T >::GetAttenuationLinear (  )  const [inline]

Definition at line 397 of file TAPsOpenGLLightModel.cpp.

00398 {
00399     return m_tLinearAttenuation;
00400 }

template<typename T>
T OpenGLLightModel< T >::GetAttenuationQuadratic (  )  const [inline]

Definition at line 413 of file TAPsOpenGLLightModel.cpp.

00414 {
00415     return m_tQuadraticAttenuation;
00416 }

template<typename T>
const Vector4< T > & OpenGLLightModel< T >::GetDiffuse (  )  const [inline]

Definition at line 237 of file TAPsOpenGLLightModel.cpp.

00238 {
00239     return m_v4Diffuse;
00240 }

template<typename T>
int OpenGLLightModel< T >::GetGLLightNumber (  )  const [inline]

Definition at line 162 of file TAPsOpenGLLightModel.cpp.

00163 {
00164     return m_eGLLightNumber - GL_LIGHT0;
00165 }

template<typename T>
int OpenGLLightModel< T >::GetMaxinumNumberOfLightsAllowed (  )  [inline, static]

Definition at line 520 of file TAPsOpenGLLightModel.cpp.

00521 {
00522     return static_cast<int>( g_iGLMaxLights );
00523 }

template<typename T>
int OpenGLLightModel< T >::GetNumberOfLights (  )  [inline, static]

Definition at line 514 of file TAPsOpenGLLightModel.cpp.

00515 {
00516     return g_iTotalLights;
00517 }

template<typename T>
const Vector4< T > & OpenGLLightModel< T >::GetPosition (  )  const [inline]

Definition at line 311 of file TAPsOpenGLLightModel.cpp.

00312 {
00313     return m_v4Position;
00314 }

template<typename T>
const Vector4< T > & OpenGLLightModel< T >::GetSpecular (  )  const [inline]

Definition at line 275 of file TAPsOpenGLLightModel.cpp.

00276 {
00277     return m_v4Specular;
00278 }

template<typename T>
T OpenGLLightModel< T >::GetSpotCutoff (  )  const [inline]

Definition at line 365 of file TAPsOpenGLLightModel.cpp.

00366 {
00367     return m_tSpotCutoff;
00368 }

template<typename T>
const Vector3< T > & OpenGLLightModel< T >::GetSpotDirection (  )  const [inline]

Definition at line 335 of file TAPsOpenGLLightModel.cpp.

00336 {
00337     return m_v3SpotDirection;
00338 }

template<typename T>
T OpenGLLightModel< T >::GetSpotExponent (  )  const [inline]

Definition at line 350 of file TAPsOpenGLLightModel.cpp.

00351 {
00352     return m_tSpotExponent;
00353 }

template<typename T>
bool OpenGLLightModel< T >::IsEnable (  )  const [inline]

Definition at line 138 of file TAPsOpenGLLightModel.cpp.

00139 {
00140     return m_bOn;
00141 }

template<typename T>
bool OpenGLLightModel< T >::IsOn (  )  const [inline]

Definition at line 132 of file TAPsOpenGLLightModel.cpp.

00133 {
00134     return m_bOn;
00135 }

template<typename T>
void OpenGLLightModel< T >::SetAmbient ( r,
g,
b 
) [inline]

Definition at line 192 of file TAPsOpenGLLightModel.cpp.

00193 {
00194     m_v4Ambient.SetXYZ( r, g, b );
00195     glLightfv( m_eGLLightNumber, GL_AMBIENT, m_v4Ambient.GetDataFloat() );
00196 }

template<typename T>
void OpenGLLightModel< T >::SetAmbient ( r,
g,
b,
a 
) [inline]

Definition at line 185 of file TAPsOpenGLLightModel.cpp.

00186 {
00187     m_v4Ambient.SetXYZW( r, g, b, a );
00188     glLightfv( m_eGLLightNumber, GL_AMBIENT, m_v4Ambient.GetDataFloat() );
00189 }

template<typename T>
void OpenGLLightModel< T >::SetAmbient ( const Vector3< T > &  v  )  [inline]

Definition at line 178 of file TAPsOpenGLLightModel.cpp.

00179 {
00180     m_v4Ambient.SetXYZ( v );
00181     glLightfv( m_eGLLightNumber, GL_AMBIENT, m_v4Ambient.GetDataFloat() );
00182 }

template<typename T>
void OpenGLLightModel< T >::SetAmbient ( const Vector4< T > &  v  )  [inline]

Definition at line 171 of file TAPsOpenGLLightModel.cpp.

00172 {
00173     m_v4Ambient.SetXYZW( v );
00174     glLightfv( m_eGLLightNumber, GL_AMBIENT, m_v4Ambient.GetDataFloat() );
00175 }

template<typename T>
void OpenGLLightModel< T >::SetAttenuationConstant ( t  )  [inline]

Definition at line 373 of file TAPsOpenGLLightModel.cpp.

00374 {
00375     m_tConstantAttenuation = t;
00376     glLightf( m_eGLLightNumber, GL_CONSTANT_ATTENUATION, 
00377               m_tConstantAttenuation );
00378 }

template<typename T>
void OpenGLLightModel< T >::SetAttenuationLinear ( t  )  [inline]

Definition at line 389 of file TAPsOpenGLLightModel.cpp.

00390 {
00391     m_tLinearAttenuation = t;
00392     glLightf( m_eGLLightNumber, GL_LINEAR_ATTENUATION, 
00393               m_tLinearAttenuation );
00394 }

template<typename T>
void OpenGLLightModel< T >::SetAttenuationQuadratic ( t  )  [inline]

Definition at line 405 of file TAPsOpenGLLightModel.cpp.

00406 {
00407     m_tQuadraticAttenuation = t;
00408     glLightf( m_eGLLightNumber, GL_QUADRATIC_ATTENUATION, 
00409               m_tQuadraticAttenuation );
00410 }

template<typename T>
void OpenGLLightModel< T >::SetDefaultValues (  )  [inline, private]

Definition at line 537 of file TAPsOpenGLLightModel.cpp.

00538 {
00539     SetGLLightNumber( g_iTotalLights );
00540     //-----------------------------------------------------
00541     m_v4Ambient.SetXYZW( 0, 0, 0, 1 );
00542     if ( g_iTotalLights == GL_LIGHT0 ) {
00543         m_v4Diffuse.SetXYZW( 1, 1, 1, 1 );
00544         m_v4Specular.SetXYZW( 1, 1, 1, 1 );
00545     }
00546     else {
00547         m_v4Diffuse.SetXYZW( 0, 0, 0, 0 );
00548         m_v4Specular.SetXYZW( 0, 0, 0, 0 );
00549     }
00550     m_v4Position.SetXYZW( 0, 0, 1, 0 );
00551     //-------------------------------------------
00552     m_v3SpotDirection.SetXYZ( 0, 0, -1 );
00553     m_tSpotExponent = 0;
00554     m_tSpotCutoff   = 180;
00555     //-------------------------------------------
00556     m_tConstantAttenuation  = 1;
00557     m_tLinearAttenuation    = 0;
00558     m_tQuadraticAttenuation = 0;
00559     //-----------------------------------------------------
00560 }

template<typename T>
void OpenGLLightModel< T >::SetDiffuse ( r,
g,
b 
) [inline]

Definition at line 230 of file TAPsOpenGLLightModel.cpp.

00231 {
00232     m_v4Diffuse.SetXYZ( r, g, b );
00233     glLightfv( m_eGLLightNumber, GL_DIFFUSE, m_v4Diffuse.GetDataFloat() );
00234 }

template<typename T>
void OpenGLLightModel< T >::SetDiffuse ( r,
g,
b,
a 
) [inline]

Definition at line 223 of file TAPsOpenGLLightModel.cpp.

00224 {
00225     m_v4Diffuse.SetXYZW( r, g, b, a );
00226     glLightfv( m_eGLLightNumber, GL_DIFFUSE, m_v4Diffuse.GetDataFloat() );
00227 }

template<typename T>
void OpenGLLightModel< T >::SetDiffuse ( const Vector3< T > &  v  )  [inline]

Definition at line 216 of file TAPsOpenGLLightModel.cpp.

00217 {
00218     m_v4Diffuse.SetXYZ( v );
00219     glLightfv( m_eGLLightNumber, GL_DIFFUSE, m_v4Diffuse.GetDataFloat() );
00220 }

template<typename T>
void OpenGLLightModel< T >::SetDiffuse ( const Vector4< T > &  v  )  [inline]

Definition at line 209 of file TAPsOpenGLLightModel.cpp.

00210 {
00211     m_v4Diffuse.SetXYZW( v );
00212     glLightfv( m_eGLLightNumber, GL_DIFFUSE, m_v4Diffuse.GetDataFloat() );
00213 }

template<typename T>
void OpenGLLightModel< T >::SetGLLightNumber ( GLenum  eGL  )  [inline]

Definition at line 153 of file TAPsOpenGLLightModel.cpp.

00154 {
00155     if ( eGL < GL_LIGHT0 )  eGL = GL_LIGHT0;
00156     GLenum eMaxLightNumber = GL_LIGHT0 + g_iGLMaxLights - 1;
00157     if ( eGL > eMaxLightNumber )    eGL = eMaxLightNumber;
00158     m_eGLLightNumber = eGL;
00159 }

template<typename T>
void OpenGLLightModel< T >::SetGLLightNumber ( int  n  )  [inline]

Definition at line 146 of file TAPsOpenGLLightModel.cpp.

00147 {
00148     GLenum eGL = static_cast<GLint>(n) + GL_LIGHT0;
00149     SetGLLightNumber( eGL );
00150 }

template<typename T>
void OpenGLLightModel< T >::SetGLMaxLights (  )  [inline, static, private]

Definition at line 531 of file TAPsOpenGLLightModel.cpp.

00532 {
00533     glGetIntegerv( GL_MAX_LIGHTS, &g_iGLMaxLights );
00534 }

template<typename T>
void OpenGLLightModel< T >::SetPosition ( x,
y,
z 
) [inline]

Definition at line 304 of file TAPsOpenGLLightModel.cpp.

00305 {
00306     m_v4Position.SetXYZ( x, y, z );
00307     glLightfv( m_eGLLightNumber, GL_POSITION, m_v4Position.GetDataFloat() );
00308 }

template<typename T>
void OpenGLLightModel< T >::SetPosition ( x,
y,
z,
w 
) [inline]

Definition at line 297 of file TAPsOpenGLLightModel.cpp.

00298 {
00299     m_v4Position.SetXYZW( x, y, z, w );
00300     glLightfv( m_eGLLightNumber, GL_POSITION, m_v4Position.GetDataFloat() );
00301 }

template<typename T>
void OpenGLLightModel< T >::SetPosition ( const Vector3< T > &  v  )  [inline]

Definition at line 290 of file TAPsOpenGLLightModel.cpp.

00291 {
00292     m_v4Position.SetXYZ( v );
00293     glLightfv( m_eGLLightNumber, GL_POSITION, m_v4Position.GetDataFloat() );
00294 }

template<typename T>
void OpenGLLightModel< T >::SetPosition ( const Vector4< T > &  v  )  [inline]

Definition at line 283 of file TAPsOpenGLLightModel.cpp.

00284 {
00285     m_v4Position.SetXYZW( v );
00286     glLightfv( m_eGLLightNumber, GL_POSITION, m_v4Position.GetDataFloat() );
00287 }

template<typename T>
void OpenGLLightModel< T >::SetSpecular ( r,
g,
b 
) [inline]

Definition at line 268 of file TAPsOpenGLLightModel.cpp.

00269 {
00270     m_v4Specular.SetXYZ( r, g, b );
00271     glLightfv( m_eGLLightNumber, GL_SPECULAR, m_v4Specular.GetDataFloat() );
00272 }

template<typename T>
void OpenGLLightModel< T >::SetSpecular ( r,
g,
b,
a 
) [inline]

Definition at line 261 of file TAPsOpenGLLightModel.cpp.

00262 {
00263     m_v4Specular.SetXYZW( r, g, b, a );
00264     glLightfv( m_eGLLightNumber, GL_SPECULAR, m_v4Specular.GetDataFloat() );
00265 }

template<typename T>
void OpenGLLightModel< T >::SetSpecular ( const Vector3< T > &  v  )  [inline]

Definition at line 254 of file TAPsOpenGLLightModel.cpp.

00255 {
00256     m_v4Specular.SetXYZ( v );
00257     glLightfv( m_eGLLightNumber, GL_SPECULAR, m_v4Specular.GetDataFloat() );
00258 }

template<typename T>
void OpenGLLightModel< T >::SetSpecular ( const Vector4< T > &  v  )  [inline]

Definition at line 247 of file TAPsOpenGLLightModel.cpp.

00248 {
00249     m_v4Specular.SetXYZW( v );
00250     glLightfv( m_eGLLightNumber, GL_SPECULAR, m_v4Specular.GetDataFloat() );
00251 }

template<typename T>
void OpenGLLightModel< T >::SetSpotCutoff ( t  )  [inline]

Definition at line 358 of file TAPsOpenGLLightModel.cpp.

00359 {
00360     m_tSpotCutoff = t;
00361     glLightf( m_eGLLightNumber, GL_SPOT_CUTOFF, m_tSpotCutoff );
00362 }

template<typename T>
void OpenGLLightModel< T >::SetSpotDirection ( x,
y,
z 
) [inline]

Definition at line 327 of file TAPsOpenGLLightModel.cpp.

00328 {
00329     m_v3SpotDirection.SetXYZ( x, y, z );
00330     glLightfv( m_eGLLightNumber, GL_SPOT_DIRECTION, 
00331                m_v3SpotDirection.GetDataFloat() );
00332 }

template<typename T>
void OpenGLLightModel< T >::SetSpotDirection ( const Vector3< T > &  v  )  [inline]

Definition at line 319 of file TAPsOpenGLLightModel.cpp.

00320 {
00321     m_v3SpotDirection.SetXYZ( v );
00322     glLightfv( m_eGLLightNumber, GL_SPOT_DIRECTION, 
00323                m_v3SpotDirection.GetDataFloat() );
00324 }

template<typename T>
void OpenGLLightModel< T >::SetSpotExponent ( t  )  [inline]

Definition at line 343 of file TAPsOpenGLLightModel.cpp.

00344 {
00345     m_tSpotExponent = t;
00346     glLightf( m_eGLLightNumber, GL_SPOT_EXPONENT, m_tSpotExponent );
00347 }

template<typename T>
void OpenGLLightModel< T >::Switch ( bool  on  )  [inline]

Definition at line 114 of file TAPsOpenGLLightModel.cpp.

00115 {
00116     m_bOn = on;
00117     if ( m_bOn ) {
00118         Enable();
00119     }
00120     else {
00121         Disable();
00122     }
00123 }

template<typename T>
void OpenGLLightModel< T >::ToggleSwitch (  )  [inline]

Definition at line 126 of file TAPsOpenGLLightModel.cpp.

00127 {
00128     Switch( !m_bOn );
00129 }


Member Data Documentation

template<typename T>
BEGIN_NAMESPACE_TAPs__OpenGL GLint OpenGLLightModel< T >::g_iGLMaxLights = 0 [inline, static, private]

Definition at line 144 of file TAPsOpenGLLightModel.hpp.

template<typename T>
int OpenGLLightModel< T >::g_iTotalLights = 0 [inline, static, private]

Definition at line 146 of file TAPsOpenGLLightModel.hpp.

template<typename T>
GLuint OpenGLLightModel< T >::g_uiGLDisplayList = 0 [inline, static, private]

Definition at line 145 of file TAPsOpenGLLightModel.hpp.

template<typename T>
bool OpenGLLightModel< T >::m_bOn [private]

Definition at line 121 of file TAPsOpenGLLightModel.hpp.

template<typename T>
GLenum OpenGLLightModel< T >::m_eGLLightNumber [private]

Definition at line 120 of file TAPsOpenGLLightModel.hpp.

template<typename T>
T OpenGLLightModel< T >::m_tConstantAttenuation [private]

Definition at line 135 of file TAPsOpenGLLightModel.hpp.

template<typename T>
T OpenGLLightModel< T >::m_tLinearAttenuation [private]

Definition at line 136 of file TAPsOpenGLLightModel.hpp.

template<typename T>
T OpenGLLightModel< T >::m_tQuadraticAttenuation [private]

Definition at line 137 of file TAPsOpenGLLightModel.hpp.

template<typename T>
T OpenGLLightModel< T >::m_tSpotCutoff [private]

Definition at line 134 of file TAPsOpenGLLightModel.hpp.

template<typename T>
T OpenGLLightModel< T >::m_tSpotExponent [private]

Definition at line 133 of file TAPsOpenGLLightModel.hpp.

template<typename T>
Vector3<T> OpenGLLightModel< T >::m_v3SpotDirection [private]

Definition at line 132 of file TAPsOpenGLLightModel.hpp.

template<typename T>
Vector4<T> OpenGLLightModel< T >::m_v4Ambient [private]

Definition at line 122 of file TAPsOpenGLLightModel.hpp.

template<typename T>
Vector4<T> OpenGLLightModel< T >::m_v4Diffuse [private]

Definition at line 124 of file TAPsOpenGLLightModel.hpp.

template<typename T>
Vector4<T> OpenGLLightModel< T >::m_v4Position [private]

Definition at line 130 of file TAPsOpenGLLightModel.hpp.

template<typename T>
Vector4<T> OpenGLLightModel< T >::m_v4Specular [private]

Definition at line 127 of file TAPsOpenGLLightModel.hpp.


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

Generated on Mon Oct 13 11:45:44 2008 for TAPs by  doxygen 1.5.6