OpenGLCameraModel< T > Class Template Reference

#include <TAPsOpenGLCameraModel.hpp>

Collaboration diagram for OpenGLCameraModel< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void Draw ()
Enum::CameraType GetCameraType () const
const Vector3< T > & GetCenter () const
const Vector3< T > & GetOrientation () const
const Vector3< T > & GetPosition () const
void GetViewPort (int &x, int &y, int &width, int &height) const
const Vector4< int > & GetViewPort () const
void GetViewPortLowerLeftCorner (int &x, int &y) const
void GetViewPortWidthAndHeight (int &width, int &height) const
void GetViewVolume (T &tLeft, T &tRight, T &tBottom, T &tTop, T &tNear, T &tFar) const
void GetViewVolumeBottomAndTop (T &tBottom, T &tTop) const
void GetViewVolumeLeftAndRight (T &tLeft, T &tRight) const
void GetViewVolumeNearAndFar (T &tNear, T &tFar) const
void GetViewVolumePerspective (T &tFovy, T &tAspect, T &tNear, T &tFar) const
 OpenGLCameraModel (Enum::CameraType cameraType, T positionX, T positionY, T positionZ, T centerX, T centerY, T centerZ, T orientationX, T orientationY, T orientationZ, T tFovy, T tAspect, T tNear, T tFar)
 OpenGLCameraModel (Enum::CameraType cameraType, T positionX, T positionY, T positionZ, T centerX, T centerY, T centerZ, T orientationX, T orientationY, T orientationZ, T tLeft, T tRight, T tBottom, T tTop, T tNear, T tFar)
 OpenGLCameraModel (Enum::CameraType cameraType=Enum::ORTHOGRAPHIC)
void Reset ()
void Set ()
void SetCameraType (Enum::CameraType cameraType)
void SetCenter (T x, T y, T z)
void SetCenter (const Vector3< T > &p)
void SetOrientation (T x, T y, T z)
void SetOrientation (const Vector3< T > &v)
void SetPosition (T x, T y, T z)
void SetPosition (const Vector3< T > &p)
void SetViewPort (int x, int y, int width, int height)
void SetViewPort (const Vector4< int > &v)
void SetViewPortLowerLeftCorner (int x, int y)
void SetViewPortWidthAndHeight (int width, int height)
void SetViewVolume (T tLeft, T tRight, T tBottom, T tTop, T tNear, T tFar)
void SetViewVolume ()
void SetViewVolumeBottomAndTop (T tBottom, T tTop)
void SetViewVolumeLeftAndRight (T tLeft, T tRight)
void SetViewVolumeNearAndFar (T tNear, T tFar)
void SetViewVolumePerspective (T tFovy, T tAspect, T tNear, T tFar)
 ~OpenGLCameraModel ()

Static Public Member Functions

static int GetNumberOfCameras ()

Private Member Functions

void SetDefaultValues (Enum::CameraType cameraType)
void SetOrthographicViewVolume ()
void SetPerspectiveViewVolume ()
void SetProjectionMatrix ()

Private Attributes

Enum::CameraType m_eCameraType
Matrix4x4< T > m_M4x4ProjectionMatrix
m_tFOVY
m_tViewVolumeBottom
m_tViewVolumeFar
m_tViewVolumeLeft
m_tViewVolumeNear
m_tViewVolumeRight
m_tViewVolumeTop
Vector3< T > m_v3Center
Vector3< T > m_v3Orientation
Vector3< T > m_v3Position
Vector4< int > m_v4iViewport

Static Private Attributes

static int g_iTotalCameras = 0
static GLuint g_uiGLDisplayList = 0


Detailed Description

template<typename T>
class OpenGLCameraModel< T >

Definition at line 18 of file TAPsOpenGLCameraModel.hpp.


Constructor & Destructor Documentation

template<typename T>
OpenGLCameraModel< T >::OpenGLCameraModel ( Enum::CameraType  cameraType = Enum::ORTHOGRAPHIC  )  [inline]

Definition at line 23 of file TAPsOpenGLCameraModel.cpp.

00026 {
00027     SetDefaultValues( cameraType );
00028     ++g_iTotalCameras;
00029 }

template<typename T>
OpenGLCameraModel< T >::OpenGLCameraModel ( Enum::CameraType  cameraType,
positionX,
positionY,
positionZ,
centerX,
centerY,
centerZ,
orientationX,
orientationY,
orientationZ,
tLeft,
tRight,
tBottom,
tTop,
tNear,
tFar 
) [inline]

Definition at line 32 of file TAPsOpenGLCameraModel.cpp.

00041 {
00042     //-------------------------------------------
00043     m_eCameraType = cameraType;
00044     //------------------------------------
00045     m_v3Position.SetXYZ( positionX, positionY, positionZ );
00046     m_v3Center.SetXYZ( centerX, centerY, centerZ );
00047     m_v3Orientation.SetXYZ( orientationX, orientationY, orientationZ );
00048     //------------------------------------
00049     m_tViewVolumeLeft   = tLeft;
00050     m_tViewVolumeRight  = tRight;
00051     m_tViewVolumeBottom = tBottom;
00052     m_tViewVolumeTop    = tTop;
00053     m_tViewVolumeNear   = tNear;
00054     m_tViewVolumeFar    = tFar;
00055     //------------------------------------
00056     SetProjectionMatrix();
00057     //-------------------------------------------
00058     ++g_iTotalCameras;
00059 }

template<typename T>
OpenGLCameraModel< T >::OpenGLCameraModel ( Enum::CameraType  cameraType,
positionX,
positionY,
positionZ,
centerX,
centerY,
centerZ,
orientationX,
orientationY,
orientationZ,
tFovy,
tAspect,
tNear,
tFar 
) [inline]

Definition at line 62 of file TAPsOpenGLCameraModel.cpp.

00072 {
00073     //-------------------------------------------
00074     m_eCameraType = cameraType;
00075     //------------------------------------
00076     m_v3Position.SetXYZ( positionX, positionY, positionZ );
00077     m_v3Center.SetXYZ( centerX, centerY, centerZ );
00078     m_v3Orientation.SetXYZ( orientationX, orientationY, orientationZ );
00079     //------------------------------------
00080     // fovy, aspect, near, far ???
00081     //------------------------------------
00082     SetProjectionMatrix();
00083     //-------------------------------------------
00084     ++g_iTotalCameras;
00085 }

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

Definition at line 88 of file TAPsOpenGLCameraModel.cpp.

00089 {
00090     //Disable();
00091     --g_iTotalCameras;
00092 }


Member Function Documentation

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

template<typename T>
Enum::CameraType OpenGLCameraModel< T >::GetCameraType (  )  const [inline]

Definition at line 144 of file TAPsOpenGLCameraModel.cpp.

00145 {
00146     return m_eCameraType;
00147 }

template<typename T>
const Vector3< T > & OpenGLCameraModel< T >::GetCenter (  )  const [inline]

Definition at line 258 of file TAPsOpenGLCameraModel.cpp.

00259 {
00260     return m_v3Center;
00261 }

template<typename T>
int OpenGLCameraModel< T >::GetNumberOfCameras (  )  [inline, static]

Definition at line 450 of file TAPsOpenGLCameraModel.cpp.

00451 {
00452     return g_iTotalCameras;
00453 }

template<typename T>
const Vector3< T > & OpenGLCameraModel< T >::GetOrientation (  )  const [inline]

Definition at line 280 of file TAPsOpenGLCameraModel.cpp.

00281 {
00282     return m_v3Orientation;
00283 }

template<typename T>
const Vector3< T > & OpenGLCameraModel< T >::GetPosition (  )  const [inline]

Definition at line 236 of file TAPsOpenGLCameraModel.cpp.

00237 {
00238     return m_v3Position;
00239 }

template<typename T>
void OpenGLCameraModel< T >::GetViewPort ( int &  x,
int &  y,
int &  width,
int &  height 
) const [inline]

Definition at line 422 of file TAPsOpenGLCameraModel.cpp.

00424 {
00425     m_v4iViewport.GetXYZW( x, y, width, height );
00426 }

template<typename T>
const Vector4< int > & OpenGLCameraModel< T >::GetViewPort (  )  const [inline]

Definition at line 416 of file TAPsOpenGLCameraModel.cpp.

00417 {
00418     return m_v4iViewport;
00419 }

template<typename T>
void OpenGLCameraModel< T >::GetViewPortLowerLeftCorner ( int &  x,
int &  y 
) const [inline]

Definition at line 429 of file TAPsOpenGLCameraModel.cpp.

00431 {
00432     x = m_v4iViewport[0];
00433     y = m_v4iViewport[1];
00434 }

template<typename T>
void OpenGLCameraModel< T >::GetViewPortWidthAndHeight ( int &  width,
int &  height 
) const [inline]

Definition at line 437 of file TAPsOpenGLCameraModel.cpp.

00439 {
00440     width  = m_v4iViewport[2];
00441     height = m_v4iViewport[3];
00442 }

template<typename T>
void OpenGLCameraModel< T >::GetViewVolume ( T &  tLeft,
T &  tRight,
T &  tBottom,
T &  tTop,
T &  tNear,
T &  tFar 
) const [inline]

Definition at line 333 of file TAPsOpenGLCameraModel.cpp.

00335 {
00336     tLeft   = m_tViewVolumeLeft;
00337     tRight  = m_tViewVolumeRight;
00338     tBottom = m_tViewVolumeBottom;
00339     tTop    = m_tViewVolumeTop;
00340     tNear   = m_tViewVolumeNear;
00341     tFar    = m_tViewVolumeFar;
00342 }

template<typename T>
void OpenGLCameraModel< T >::GetViewVolumeBottomAndTop ( T &  tBottom,
T &  tTop 
) const [inline]

Definition at line 353 of file TAPsOpenGLCameraModel.cpp.

00355 {
00356     tBottom = m_tViewVolumeBottom;
00357     tTop    = m_tViewVolumeTop;
00358 }

template<typename T>
void OpenGLCameraModel< T >::GetViewVolumeLeftAndRight ( T &  tLeft,
T &  tRight 
) const [inline]

Definition at line 345 of file TAPsOpenGLCameraModel.cpp.

00347 {
00348     tLeft   = m_tViewVolumeLeft;
00349     tRight  = m_tViewVolumeRight;
00350 }

template<typename T>
void OpenGLCameraModel< T >::GetViewVolumeNearAndFar ( T &  tNear,
T &  tFar 
) const [inline]

Definition at line 361 of file TAPsOpenGLCameraModel.cpp.

00362 {
00363     tNear   = m_tViewVolumeNear;
00364     tFar    = m_tViewVolumeFar;
00365 }

template<typename T>
void OpenGLCameraModel< T >::GetViewVolumePerspective ( T &  tFovy,
T &  tAspect,
T &  tNear,
T &  tFar 
) const [inline]

Definition at line 377 of file TAPsOpenGLCameraModel.cpp.

00379 {
00380     // ???
00381 }

template<typename T>
void OpenGLCameraModel< T >::Reset (  )  [inline]

Definition at line 52 of file TAPsOpenGLCameraModel.hpp.

00052 { SetDefaultValues( cameraType ); Set(); }

template<typename T>
void OpenGLCameraModel< T >::Set (  )  [inline]

Definition at line 102 of file TAPsOpenGLCameraModel.cpp.

00103 {
00104 //  SetViewVolume();
00105     //---------------------------------------------------------------
00106     //if ( T type double
00107     GLfloat M[16];
00108     for ( int i = 0; i < 16; ++i ) {
00109         M[i] = static_cast<GLfloat>( m_M4x4ProjectionMatrix[i] );
00110     }
00111     glMatrixMode( GL_MODELVIEW );
00112     glLoadIdentity();
00113     glMultMatrixf( M );
00114     glTranslatef( -m_v3Position[0], -m_v3Position[1], -m_v3Position[2] );
00115 }

template<typename T>
void OpenGLCameraModel< T >::SetCameraType ( Enum::CameraType  cameraType  )  [inline]

Definition at line 133 of file TAPsOpenGLCameraModel.cpp.

00134 {
00135     if ( cameraType == m_eCameraType )  return;
00136     //-----------------------------------------------------
00137     // Switch Camera Type
00138     m_eCameraType = cameraType;
00139     //-----------------------------------------------------
00140     //SetViewVolume();
00141 }

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

Definition at line 251 of file TAPsOpenGLCameraModel.cpp.

00252 {
00253     m_v3Center.SetXYZ( x, y, z );
00254     SetProjectionMatrix();
00255 }

template<typename T>
void OpenGLCameraModel< T >::SetCenter ( const Vector3< T > &  p  )  [inline]

Definition at line 244 of file TAPsOpenGLCameraModel.cpp.

00245 {
00246     m_v3Center = p;
00247     SetProjectionMatrix();
00248 }

template<typename T>
void OpenGLCameraModel< T >::SetDefaultValues ( Enum::CameraType  cameraType  )  [inline, private]

Definition at line 461 of file TAPsOpenGLCameraModel.cpp.

00462 {
00463     m_eCameraType = cameraType;
00464     //-----------------------------------------------------
00465     if ( m_eCameraType == Enum::PERSPECTIVE ) {
00466         m_v3Position.SetXYZ( 0, 0, 2 );
00467         //-----------------------------
00468         m_tViewVolumeLeft   = -0.5;     m_tViewVolumeRight = 0.5;
00469         m_tViewVolumeBottom = -0.5;     m_tViewVolumeTop   = 0.5;
00470         m_tViewVolumeNear   =  1;       m_tViewVolumeFar   = 100;
00471         m_tFOVY = 40;
00472         //-----------------------------
00473     }
00474     else {
00475         m_v3Position.SetXYZ( 0, 0, 1 );
00476         //-----------------------------
00477         m_tViewVolumeLeft   = -1;       m_tViewVolumeRight = 1;
00478         m_tViewVolumeBottom = -1;       m_tViewVolumeTop   = 1;
00479         m_tViewVolumeNear   =  0;       m_tViewVolumeFar   = 2;
00480         m_tFOVY = 40;
00481         //-----------------------------
00482     }
00483     //-------------------------------------------
00484     m_v3Center.SetXYZ( 0, 0, 0 );
00485     //-------------------------------------------
00486     m_v3Orientation.SetXYZ( 0, 1, 0 );
00487     //-------------------------------------------
00488     m_v4iViewport.SetXYZW( 0, 0, 400, 400 );
00489     //-----------------------------------------------------
00490     SetProjectionMatrix();
00491 }

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

Definition at line 273 of file TAPsOpenGLCameraModel.cpp.

00274 {
00275     m_v3Orientation.SetXYZ( x, y, z );
00276     SetProjectionMatrix();
00277 }

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

Definition at line 266 of file TAPsOpenGLCameraModel.cpp.

00267 {
00268     m_v3Orientation = v;
00269     SetProjectionMatrix();
00270 }

template<typename T>
void OpenGLCameraModel< T >::SetOrthographicViewVolume (  )  [inline, private]

Definition at line 534 of file TAPsOpenGLCameraModel.cpp.

00535 {
00536     glMatrixMode( GL_PROJECTION );
00537     T ratio = static_cast<T>( m_v4iViewport[2] ) / static_cast<T>( m_v4iViewport[3] );
00538     glLoadIdentity();
00539     glOrtho(    m_tViewVolumeLeft,      m_tViewVolumeRight, 
00540                 m_tViewVolumeLeft / ratio, m_tViewVolumeRight / ratio, 
00541 //              m_tViewVolumeBottom,    m_tViewVolumeTop, 
00542                 m_tViewVolumeNear,      m_tViewVolumeFar 
00543     );
00544 }

template<typename T>
void OpenGLCameraModel< T >::SetPerspectiveViewVolume (  )  [inline, private]

Definition at line 547 of file TAPsOpenGLCameraModel.cpp.

00548 {
00549     glMatrixMode( GL_PROJECTION );
00550     glLoadIdentity();
00551 //  glFrustum(  m_tViewVolumeLeft,      m_tViewVolumeRight, 
00552 //              m_tViewVolumeBottom,    m_tViewVolumeTop, 
00553 //              m_tViewVolumeNear,      m_tViewVolumeFar 
00554     gluPerspective( m_tFOVY, 
00555         // aspect ratio is width/height of viewport
00556         static_cast<T>( m_v4iViewport[2] ) / static_cast<T>( m_v4iViewport[3] ), 
00557         m_tViewVolumeNear, m_tViewVolumeFar
00558     );
00559 }

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

Definition at line 229 of file TAPsOpenGLCameraModel.cpp.

00230 {
00231     m_v3Position.SetXYZ( x, y, z );
00232     SetProjectionMatrix();
00233 }

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

Definition at line 222 of file TAPsOpenGLCameraModel.cpp.

00223 {
00224     m_v3Position = p;
00225     SetProjectionMatrix();
00226 }

template<typename T>
void OpenGLCameraModel< T >::SetProjectionMatrix (  )  [inline, private]

Definition at line 494 of file TAPsOpenGLCameraModel.cpp.

00495 {
00496     //-------------------------------------------
00497     // Projection Matrix
00498     //-------------------
00499     //         S[0]  S[1]  S[2]  0   // 0  4  8 12 
00500     // Proj =  U[0]  U[1]  U[2]  0   // 1  5  9 13
00501     //        -F[0] -F[1] -F[2]  0   // 2  6 10 14
00502     //          0     0     0    1   // 3  7 11 15
00503     // Where S = F x UP
00504     //       U = S x F
00505     //       F = (Center - Position) / ||Center - Position||
00506     //      UP = Orientation / ||Orientation||
00507     Vector3<T> F = (m_v3Center - m_v3Position).Normalized();
00508     Vector3<T> S = F ^ m_v3Orientation.Normalized();
00509     Vector3<T> U = S ^ F;
00510     //-------------------------------------------
00511     m_M4x4ProjectionMatrix[ 0] =  S[0];
00512     m_M4x4ProjectionMatrix[ 1] =  U[0];
00513     m_M4x4ProjectionMatrix[ 2] = -F[0];
00514     m_M4x4ProjectionMatrix[ 3] =  0;
00515     //---------------------------------
00516     m_M4x4ProjectionMatrix[ 4] =  S[1];
00517     m_M4x4ProjectionMatrix[ 5] =  U[1];
00518     m_M4x4ProjectionMatrix[ 6] = -F[1];
00519     m_M4x4ProjectionMatrix[ 7] =  0;
00520     //---------------------------------
00521     m_M4x4ProjectionMatrix[ 8] =  S[2];
00522     m_M4x4ProjectionMatrix[ 9] =  U[2];
00523     m_M4x4ProjectionMatrix[10] = -F[2];
00524     m_M4x4ProjectionMatrix[11] =  0;
00525     //---------------------------------
00526     m_M4x4ProjectionMatrix[12] =  0;
00527     m_M4x4ProjectionMatrix[13] =  0;
00528     m_M4x4ProjectionMatrix[14] =  0;
00529     m_M4x4ProjectionMatrix[15] =  1;
00530     //-------------------------------------------
00531 }

template<typename T>
void OpenGLCameraModel< T >::SetViewPort ( int  x,
int  y,
int  width,
int  height 
) [inline]

Definition at line 393 of file TAPsOpenGLCameraModel.cpp.

00394 {
00395     m_v4iViewport.SetXYZW( x, y, width, height );
00396     glViewport( m_v4iViewport[0], m_v4iViewport[1], m_v4iViewport[2], m_v4iViewport[3] );
00397 }

template<typename T>
void OpenGLCameraModel< T >::SetViewPort ( const Vector4< int > &  v  )  [inline]

Definition at line 386 of file TAPsOpenGLCameraModel.cpp.

00387 {
00388     m_v4iViewport.SetXYZW( v );
00389     glViewport( m_v4iViewport[0], m_v4iViewport[1], m_v4iViewport[2], m_v4iViewport[3] );
00390 }

template<typename T>
void OpenGLCameraModel< T >::SetViewPortLowerLeftCorner ( int  x,
int  y 
) [inline]

Definition at line 400 of file TAPsOpenGLCameraModel.cpp.

00401 {
00402     m_v4iViewport[0] = x;
00403     m_v4iViewport[1] = y;
00404     glViewport( m_v4iViewport[0], m_v4iViewport[1], m_v4iViewport[2], m_v4iViewport[3] );
00405 }

template<typename T>
void OpenGLCameraModel< T >::SetViewPortWidthAndHeight ( int  width,
int  height 
) [inline]

Definition at line 408 of file TAPsOpenGLCameraModel.cpp.

00409 {
00410     m_v4iViewport[2] = width;
00411     m_v4iViewport[3] = height;
00412     glViewport( m_v4iViewport[0], m_v4iViewport[1], m_v4iViewport[2], m_v4iViewport[3] );
00413 }

template<typename T>
void OpenGLCameraModel< T >::SetViewVolume ( tLeft,
tRight,
tBottom,
tTop,
tNear,
tFar 
) [inline]

Definition at line 288 of file TAPsOpenGLCameraModel.cpp.

00290 {
00291     //-------------------------------------------
00292     m_tViewVolumeLeft   = tLeft;
00293     m_tViewVolumeRight  = tRight;
00294     m_tViewVolumeBottom = tBottom;
00295     m_tViewVolumeTop    = tTop;
00296     m_tViewVolumeNear   = tNear;
00297     m_tViewVolumeFar    = tFar;
00298     //-------------------------------------------
00299     //SetViewVolume();
00300 }

template<typename T>
void OpenGLCameraModel< T >::SetViewVolume (  )  [inline]

Definition at line 120 of file TAPsOpenGLCameraModel.cpp.

00121 {
00122     if ( m_eCameraType == Enum::PERSPECTIVE ) {
00123         SetPerspectiveViewVolume();
00124     }
00125     else {
00126         SetOrthographicViewVolume();
00127     }
00128 }

template<typename T>
void OpenGLCameraModel< T >::SetViewVolumeBottomAndTop ( tBottom,
tTop 
) [inline]

Definition at line 313 of file TAPsOpenGLCameraModel.cpp.

00314 {
00315     //-------------------------------------------
00316     m_tViewVolumeBottom = tBottom;
00317     m_tViewVolumeTop    = tTop;
00318     //-------------------------------------------
00319     //SetViewVolume();
00320 }

template<typename T>
void OpenGLCameraModel< T >::SetViewVolumeLeftAndRight ( tLeft,
tRight 
) [inline]

Definition at line 303 of file TAPsOpenGLCameraModel.cpp.

00304 {
00305     //-------------------------------------------
00306     m_tViewVolumeLeft   = tLeft;
00307     m_tViewVolumeRight  = tRight;
00308     //-------------------------------------------
00309     //SetViewVolume();
00310 }

template<typename T>
void OpenGLCameraModel< T >::SetViewVolumeNearAndFar ( tNear,
tFar 
) [inline]

Definition at line 323 of file TAPsOpenGLCameraModel.cpp.

00324 {
00325     //-------------------------------------------
00326     m_tViewVolumeNear   = tNear;
00327     m_tViewVolumeFar    = tFar;
00328     //-------------------------------------------
00329     //SetViewVolume();
00330 }

template<typename T>
void OpenGLCameraModel< T >::SetViewVolumePerspective ( tFovy,
tAspect,
tNear,
tFar 
) [inline]

Definition at line 370 of file TAPsOpenGLCameraModel.cpp.

00372 {
00373     // ???
00374 }


Member Data Documentation

template<typename T>
int OpenGLCameraModel< T >::g_iTotalCameras = 0 [inline, static, private]

Definition at line 165 of file TAPsOpenGLCameraModel.hpp.

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

Definition at line 164 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
Enum::CameraType OpenGLCameraModel< T >::m_eCameraType [private]

Definition at line 134 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
Matrix4x4<T> OpenGLCameraModel< T >::m_M4x4ProjectionMatrix [private]

Definition at line 132 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
T OpenGLCameraModel< T >::m_tFOVY [private]

Definition at line 158 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
T OpenGLCameraModel< T >::m_tViewVolumeBottom [private]

Definition at line 154 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
T OpenGLCameraModel< T >::m_tViewVolumeFar [private]

Definition at line 157 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
T OpenGLCameraModel< T >::m_tViewVolumeLeft [private]

Definition at line 152 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
T OpenGLCameraModel< T >::m_tViewVolumeNear [private]

Definition at line 156 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
T OpenGLCameraModel< T >::m_tViewVolumeRight [private]

Definition at line 153 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
T OpenGLCameraModel< T >::m_tViewVolumeTop [private]

Definition at line 155 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
Vector3<T> OpenGLCameraModel< T >::m_v3Center [private]

Definition at line 139 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
Vector3<T> OpenGLCameraModel< T >::m_v3Orientation [private]

Definition at line 140 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
Vector3<T> OpenGLCameraModel< T >::m_v3Position [private]

Definition at line 136 of file TAPsOpenGLCameraModel.hpp.

template<typename T>
Vector4<int> OpenGLCameraModel< T >::m_v4iViewport [private]

Definition at line 161 of file TAPsOpenGLCameraModel.hpp.


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

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