diff --git a/Doxygen/Docs/html/_camera_8cpp.html b/Doxygen/Docs/html/_camera_8cpp.html new file mode 100644 index 00000000..8dbedc65 --- /dev/null +++ b/Doxygen/Docs/html/_camera_8cpp.html @@ -0,0 +1,175 @@ + + + + + +HyperGrafx: Camera.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Camera.cpp File Reference
+
+
+ +

Implementation for the Camera class. +More...

+
#include <stdexcept>
+#include <iostream>
+#include "mat.hpp"
+#include "vec.hpp"
+#include "Camera.hpp"
+#include "globals.h"
+#include "Timer.hpp"
+
+

Go to the source code of this file.

+ + + + +

+Macros

#define ROTATE_OFFSET(V)   (V * _ctm._orbit.matrix())
 ROTATE_OFFSET is a macro which is used to normalize the six camera motion directions with respect to the current camera _rotation.
+

Detailed Description

+

Implementation for the Camera class.

+
Author
John Huston
+
Authors
John Huston, Nicholas StPierre, Chris Compton
+
Date
2012-12-20
+ +

Definition in file Camera.cpp.

+

Macro Definition Documentation

+ +
+
+ + + + + + + + +
#define ROTATE_OFFSET( V)   (V * _ctm._orbit.matrix())
+
+ +

ROTATE_OFFSET is a macro which is used to normalize the six camera motion directions with respect to the current camera _rotation.

+

It is used in heave(), sway() and surge().

+
Parameters
+ + +
Va vec4 representing the movement _offset vector.
+
+
+
Returns
A rotated vec4.
+ +

Definition at line 184 of file Camera.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/_camera_8cpp.js b/Doxygen/Docs/html/_camera_8cpp.js new file mode 100644 index 00000000..b8260575 --- /dev/null +++ b/Doxygen/Docs/html/_camera_8cpp.js @@ -0,0 +1,4 @@ +var _camera_8cpp = +[ + [ "ROTATE_OFFSET", "_camera_8cpp.html#a00e96bcc90e768c724477dbd2a3d9291", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/_camera_8cpp_source.html b/Doxygen/Docs/html/_camera_8cpp_source.html new file mode 100644 index 00000000..5bc50385 --- /dev/null +++ b/Doxygen/Docs/html/_camera_8cpp_source.html @@ -0,0 +1,557 @@ + + + + + +HyperGrafx: Camera.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Camera.cpp
+
+
+Go to the documentation of this file.
1 
+
9 #include <stdexcept>
+
10 #include <iostream>
+
11 
+
12 #include "mat.hpp"
+
13 #include "vec.hpp"
+
14 #include "Camera.hpp"
+
15 #include "globals.h" //Math constants and macros (SQRT2, POW5)
+
16 #include "Timer.hpp" //Global timer to sync with framerate.
+
17 using namespace Angel;
+
18 
+
19 void Camera::commonInit( void ) {
+
20 
+
21  // Extend the Uniforms array.
+
22  if ( DEBUG )
+
23  fprintf( stderr, "Extending Uniforms Array to %d\n", Camera::END );
+
24  this->_handles.resize( Camera::END, -1 );
+
25 
+
26  /* Default Variable Links */
+
27  link( Camera::TRANSLATION, "T" );
+
28  link( Camera::ROTATION, "R" );
+
29  link( Camera::VIEW, "P" );
+
30  link( Camera::CTM, "CTM" );
+
31 
+
32  for ( size_t i = (size_t) Camera::DIR_BEGIN; i != (size_t) DIR_END; ++i )
+
33  _motion[i] = false;
+
34 
+
35  this->_speed = 0;
+
36  this->_speed_cap = 0;
+
37  this->_maxAccel = 10;
+
38  this->_maxSpeed = 2000;
+
39  this->_frictionMagnitude = 4;
+
40  this->_aspectRatio = 1;
+
41  this->_currentView = PERSPECTIVE;
+
42  this->_fovy = 45.0;
+
43 }
+
44 
+
45 Camera::Camera( const std::string &name, GLuint gShader, float x, float y,
+
46  float z ) :
+
47  Object( name, gShader ) {
+
48  commonInit();
+
49  this->pos( x, y, z, false );
+
50 }
+
51 
+
52 Camera::Camera( const std::string &name, GLuint gShader, vec3 &in ) :
+
53  Object( name, gShader ) {
+
54  commonInit();
+
55  this->pos( in, false );
+
56 }
+
57 
+
58 Camera::Camera( const std::string &name, GLuint gShader, vec4 &in ) :
+
59  Object( name, gShader ) {
+
60  commonInit();
+
61  this->pos( in, false );
+
62 }
+
63 
+
64 Camera::~Camera( void ) {
+
65 
+
66 }
+
67 
+
68 void Camera::x( const float &in, const bool &update ) {
+
69 
+
70  _ctm._offset.setX( -in );
+
71  _trans._offset.setX( in );
+
72  if ( update ) {
+
73  _ctm.calcCTM();
+
74  _trans.calcCTM();
+
75  send( TRANSLATION );
+
76  }
+
77 }
+
78 
+
79 void Camera::y( const float &in, const bool &update ) {
+
80  _ctm._offset.setY( -in );
+
81  _trans._offset.setY( in );
+
82  if ( update ) {
+
83  _ctm.calcCTM();
+
84  _trans.calcCTM();
+
85  send( TRANSLATION );
+
86  }
+
87 }
+
88 
+
89 void Camera::z( const float &in, const bool &update ) {
+
90  _ctm._offset.setZ( -in );
+
91  _trans._offset.setZ( in );
+
92  if ( update ) {
+
93  _trans.calcCTM();
+
94  _ctm.calcCTM();
+
95  send( TRANSLATION );
+
96  }
+
97 }
+
98 
+
99 void Camera::pos( const float &newX, const float &newY, const float &newZ,
+
100  const bool &update ) {
+
101  x( newX, false );
+
102  y( newY, false );
+
103  z( newZ, false );
+
104  if ( update ) {
+
105  _trans.calcCTM();
+
106  _ctm.calcCTM();
+
107  send( TRANSLATION );
+
108  }
+
109 }
+
110 
+
111 void Camera::pos( const vec4 &in, const bool &update ) {
+
112  this->pos( in.x, in.y, in.z, update );
+
113 }
+
114 
+
115 void Camera::pos( const vec3 &in, const bool &update ) {
+
116  this->pos( in.x, in.y, in.z, update );
+
117 }
+
118 
+
119 void Camera::dX( const float &by, const bool &update ) {
+
120  x( x() + by, update );
+
121 }
+
122 
+
123 void Camera::dY( const float &by, const bool &update ) {
+
124  y( y() + by, update );
+
125 }
+
126 
+
127 void Camera::dZ( const float &by, const bool &update ) {
+
128  z( z() + by, update );
+
129 }
+
130 
+
131 void Camera::dPos( const float &x, const float &y, const float &z ) {
+
132  dX( x, false );
+
133  dY( y, false );
+
134  dZ( z, false );
+
135  _trans.calcCTM();
+
136  _ctm.calcCTM();
+
137  send( TRANSLATION );
+
138 }
+
139 
+
140 void Camera::dPos( const vec3 &by ) {
+
141  dPos( by.x, by.y, by.z );
+
142 }
+
143 
+
144 void Camera::dPos( const vec4 &by ) {
+
145  dPos( by.x, by.y, by.z );
+
146 }
+
147 
+
148 void Camera::adjustRotation( const mat4 &adjustment, const bool &fixed ) {
+
149 
+
150  /*
+
151  By default, the 'order' bool represents the PREMULT behavior.
+
152  However, if the fixed bool is present, toggle the order bool.
+
153  This stealthily inserts this _rotation "first",
+
154  So that it is applied before any other rotations.
+
155  */
+
156  bool order = POSTMULT;
+
157  if ( fixed ) order = !order;
+
158 
+
159  // Apply our rotational adjustment to the camera.
+
160  // Unintuitively, we need to adjust the Orbit.
+
161  _ctm._orbit.adjust( adjustment, order );
+
162 
+
163  /*
+
164  Next, our Camera may have a physical object whose
+
165  Rotations need to be calculated as well.
+
166  We need to apply the OPPOSITE rotations,
+
167  So Transpose the Adjustment to obtain that.
+
168  */
+
169  _trans._rotation.adjust( transpose( adjustment ), !order );
+
170 
+
171  // Update our state.
+
172  _trans.calcCTM();
+
173  _ctm.calcCTM();
+
174  send( ROTATION );
+
175 }
+
176 
+
184 #define ROTATE_OFFSET(V) (V * _ctm._orbit.matrix())
+
185 
+
186 void Camera::sway( const float &by ) {
+
187  dPos( ROTATE_OFFSET(vec4(by,0,0,0)) );
+
188 }
+
189 
+
190 void Camera::surge( const float &by ) {
+
191  dPos( ROTATE_OFFSET(vec4(0,0,-by,0)) );
+
192 }
+
193 
+
194 void Camera::heave( const float &by ) {
+
195  dPos( ROTATE_OFFSET(vec4(0,by,0,0)) );
+
196 }
+
197 
+
198 void Camera::pitch( const float &by, const bool &fixed ) {
+
199  /*
+
200  Since negative values are interpreted as pitching down,
+
201  We leave the input uninverted, because a negative _rotation
+
202  about the x axis rotates counter-clockwise (looking right),
+
203  and clockwise (looking left), which achieves the effect of
+
204  looking 'down'.
+
205  */
+
206  adjustRotation( RotateX( -by ), fixed );
+
207 }
+
208 
+
209 void Camera::yaw( const float &by, const bool &fixed ) {
+
210  /*
+
211  Since a positive 'by' should represent looking right,
+
212  we invert the _rotation because rotating by a positive value
+
213  will rotate right, which simulates looking left.
+
214  Therefore, invert.
+
215  */
+
216  adjustRotation( RotateY( by ), fixed );
+
217 }
+
218 
+
219 void Camera::roll( const float &by, const bool &fixed ) {
+
220  adjustRotation( RotateZ( by ), fixed );
+
221 }
+
222 
+
223 void Camera::accel( const vec3 &raw_accel ) {
+
224 
+
225  /*
+
226  This scale factor is the cumulation of several scaling factors.
+
227  (A) (MaxAccel/SQRT3)
+
228  scales the vector so that it has a magnitude
+
229  Between -MAX_ACCEL and MAX_ACCEL.
+
230 
+
231  (B) (1-POW5(speed_cap))
+
232  scales the vector with relation to the
+
233  current speed. This effectively models "Drag".
+
234  The closer we are to maximum speed, this scaling factor
+
235  Will approach 0, so that if we are at MAX SPEED,
+
236  our acceleration will be scaled to (nearly) zero.
+
237 
+
238  (C) (tick.scale())
+
239  This scales the amount of acceleration by an amount [0,1]
+
240  so that if we are drawing many frames, we'll apply less acceleration.
+
241  If we are drawing not so many, we'll apply more.
+
242  This should keep the animation relatively consistent across platforms.
+
243  */
+
244 
+
245  float Scale = (_maxAccel / SQRT3) * (1 - POW5(_speed_cap)) * (tick.scale());
+
246  vec3 accel = raw_accel * Scale;
+
247 
+
248  if ( DEBUG_MOTION ) {
+
249  fprintf( stderr, "Accel(); raw_accel = (%f,%f,%f)\n", raw_accel.x,
+
250  raw_accel.y, raw_accel.z );
+
251  fprintf(
+
252  stderr,
+
253  "Accel(); Scale = (MaxAccel/SQRT3) * (1-POW5(speed_cap)) * Tick.Scale()\n" );
+
254  fprintf( stderr, "Accel(); Scale = (%f/%f) * (%f) * (%f)\n", _maxAccel,
+
255  SQRT3, (1 - POW5(_speed_cap)), tick.scale() );
+
256  fprintf( stderr, "Accel(); Scale = %f\n", Scale );
+
257  fprintf( stderr, "Accle(); accel = raw_accel * Scale = (%f,%f,%f)\n",
+
258  accel.x, accel.y, accel.z );
+
259  }
+
260 
+
261  //The acceleration is finally applied to the velocity vector.
+
262  _velocity += accel;
+
263 
+
264  //speed and speed_cap must now be recalculated.
+
265  _speed_cap = (_speed = length( _velocity )) / _maxSpeed;
+
266 
+
267  if ( DEBUG_MOTION )
+
268  fprintf( stderr, "Applied Acceleration to Velocity, Is now: (%f,%f,%f)\n",
+
269  _velocity.x, _velocity.y, _velocity.z );
+
270 }
+
271 
+
272 void Camera::move( const Camera::Direction &Dir ) {
+
273  _motion[Dir] = true;
+
274 }
+
275 
+
276 void Camera::stop( const Camera::Direction &Dir ) {
+
277  _motion[Dir] = false;
+
278 }
+
279 
+
280 void Camera::idle( void ) {
+
281 
+
282  /* Apply the automated motion instructions, if any --
+
283  These are primarily from the keyboard. */
+
284  if ( _motion[Camera::DIR_FORWARD] ) accel( vec3( 0, 0, 1 ) );
+
285  if ( _motion[Camera::DIR_BACKWARD] ) accel( vec3( 0, 0, -1 ) );
+
286  if ( _motion[Camera::DIR_RIGHT] ) accel( vec3( 0, 1, 0 ) );
+
287  if ( _motion[Camera::DIR_LEFT] ) accel( vec3( 0, -1, 0 ) );
+
288  if ( _motion[Camera::DIR_UP] ) accel( vec3( 1, 0, 0 ) );
+
289  if ( _motion[Camera::DIR_DOWN] ) accel( vec3( -1, 0, 0 ) );
+
290 
+
291  if ( _speed ) {
+
292  /* Apply the velocity vectors computed from accel,
+
293  which includes instructions from keyboard and the Balance Board. */
+
294  /* 1/20000 is a magic constant which converts our velocity units
+
295  into model units. */
+
296  /* tick.scale() helps keep animation speed consistent
+
297  between different hardware. */
+
298  float UnitScale = (1.0 / 20000.0);
+
299  float Scale = tick.scale() * UnitScale;
+
300 
+
301  if ( DEBUG_MOTION )
+
302  fprintf( stderr, "Applying Translation: + (%f,%f,%f)\n",
+
303  _velocity.x * Scale, _velocity.y * Scale, _velocity.z * Scale );
+
304 
+
305  heave( _velocity.x * Scale );
+
306  sway( _velocity.y * Scale );
+
307  surge( _velocity.z * Scale );
+
308 
+
309  // Friction Calculations
+
310  if ( _speed < (_frictionMagnitude * tick.scale()) ) {
+
311  if ( DEBUG_MOTION )
+
312  fprintf( stderr, "Friction has stopped all movement.\n" );
+
313  _velocity = vec3( 0, 0, 0 );
+
314  _speed = 0;
+
315  _speed_cap = 0;
+
316  } else {
+
317  // Friction is a vector that is the opposite of velocity.
+
318  vec3 frictionVec = -_velocity;
+
319  /* By dividing friction by (speed/FrictionMagnitude),
+
320  we guarantee that the magnitude is FrictionMagnitude. */
+
321  frictionVec = frictionVec / (_speed / _frictionMagnitude);
+
322  frictionVec *= tick.scale();
+
323 
+
324  if ( DEBUG_MOTION )
+
325  fprintf( stderr, "Applying friction to Velocity: + (%f,%f,%f)\n",
+
326  frictionVec.x, frictionVec.y, frictionVec.z );
+
327  _velocity += frictionVec;
+
328  _speed = length( _velocity );
+ +
330  }
+
331  }
+
332 }
+
333 
+
334 float Camera::x( void ) const {
+
335  return -_ctm._offset.matrix()[0][3];
+
336 }
+
337 
+
338 float Camera::y( void ) const {
+
339  return -_ctm._offset.matrix()[1][3];
+
340 }
+
341 
+
342 float Camera::z( void ) const {
+
343  return -_ctm._offset.matrix()[2][3];
+
344 }
+
345 
+
346 vec4 Camera::pos( void ) const {
+
347  return vec4( x(), y(), z(), 1.0 );
+
348 }
+
349 
+
350 float Camera::fieldOfView( void ) const {
+
351  return _fovy;
+
352 }
+
353 
+
354 void Camera::fieldOfView( const float &in ) {
+
355  _fovy = in;
+
356  if ( _currentView == Camera::PERSPECTIVE ) refreshPerspective();
+
357 }
+
358 
+
359 void Camera::changePerspective( const ViewType &vType ) {
+
360 
+
361  _currentView = vType;
+ +
363 
+
364 }
+
365 
+ +
367 
+
368  // Some constants. For your pleasure.
+
369  static const GLfloat zNear = 0.001;
+
370  static const GLfloat zFar = 100.0;
+
371 
+
372  switch ( _currentView ) {
+
373  case PERSPECTIVE:
+
374  _view = Perspective( _fovy, _aspectRatio, zNear, zFar );
+
375  break;
+
376  case ORTHO:
+
377  _view = Ortho( -1.0, 1.0, -1.0, 1.0, zNear, zFar );
+
378  break;
+
379  case ORTHO2D:
+
380  _view = Ortho2D( -1.0, 1.0, -1.0, 1.0 );
+
381  break;
+
382  case FRUSTUM:
+
383  _view = Frustum( -1.0, 1.0, -1.0, 1.0, zNear, zFar );
+
384  break;
+
385  case IDENTITY:
+
386  default:
+
387  _view = mat4( GLuint( 1.0 ) );
+
388  break;
+
389  }
+
390 }
+
391 
+
392 void Camera::adjustFieldOfView( const float &by ) {
+
393  fieldOfView( fieldOfView() + by );
+
394 }
+
395 
+
396 void Camera::viewport( size_t _X, size_t _Y, size_t _Width, size_t _Height ) {
+
397  this->_viewportPosition = Angel::vec2( _X, _Y );
+
398  this->_viewportSize = Angel::vec2( _Width, _Height );
+
399  this->_aspectRatio = (double) _Width / (double) _Height;
+ +
401 }
+
402 
+ +
404 
+
405  switch ( which ) {
+
406  case TRANSLATION:
+
407  if ( _handles[which] != -1 )
+
408  glUniformMatrix4fv( _handles[which], 1, GL_TRUE, _ctm._offset.matrix() );
+
409  send( CTM );
+
410  break;
+
411  case ROTATION:
+
412  if ( _handles[which] != -1 )
+
413  glUniformMatrix4fv( _handles[which], 1, GL_TRUE, _ctm._orbit.matrix() );
+
414  send( CTM );
+
415  break;
+
416  case VIEW:
+
417  if ( _handles[which] != -1 )
+
418  glUniformMatrix4fv( _handles[which], 1, GL_TRUE, _view );
+
419  send( CTM );
+
420  break;
+
421  case CTM:
+
422  _ctm.calcCTM( POSTMULT );
+
423  if ( _handles[which] != -1 )
+
424  glUniformMatrix4fv( _handles[which], 1, GL_TRUE, _ctm.otm() );
+
425  break;
+
426  default:
+
427  // If we don't know which variable this is,
+
428  // See if our parent method knows.
+
429  Object::send( which );
+
430  break;
+
431  }
+
432 }
+
433 
+
434 void Camera::view( void ) {
+
435 
+ +
437  _viewportSize.y );
+
438  /* send all of our matrices, who knows what the shader's gonna do with 'em */
+
439  send( TRANSLATION );
+
440  send( ROTATION );
+
441  send( VIEW );
+
442  send( CTM );
+
443 
+
444 }
+
445 
+
446 void Camera::resetRotation( void ) {
+
447 
+
448  // The transpose of any _rotation is its inverse.
+
449  // Thus, this resets the rotational matrix.
+
450  this->_ctm._orbit.adjust( transpose( this->_ctm._rotation.matrix() ) );
+
451 
+
452 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_camera_8hpp.html b/Doxygen/Docs/html/_camera_8hpp.html new file mode 100644 index 00000000..5dd3006c --- /dev/null +++ b/Doxygen/Docs/html/_camera_8hpp.html @@ -0,0 +1,143 @@ + + + + + +HyperGrafx: Camera.hpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Camera.hpp File Reference
+
+
+ +

Header for the Camera class. +More...

+
#include <string>
+#include "mat.hpp"
+#include "vec.hpp"
+#include "Object.hpp"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  Camera
 The Camera class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state. More...
+

Detailed Description

+

Header for the Camera class.

+
Author
John Huston
+
Authors
John Huston, Nicholas StPierre, Chris Compton
+
Date
2013-03-13
+ +

Definition in file Camera.hpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_camera_8hpp_source.html b/Doxygen/Docs/html/_camera_8hpp_source.html new file mode 100644 index 00000000..5b87a238 --- /dev/null +++ b/Doxygen/Docs/html/_camera_8hpp_source.html @@ -0,0 +1,263 @@ + + + + + +HyperGrafx: Camera.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Camera.hpp
+
+
+Go to the documentation of this file.
1 
+
8 #ifndef __CAMERA_H
+
9 #define __CAMERA_H
+
10 
+
11 #include <string>
+
12 #include "mat.hpp"
+
13 #include "vec.hpp"
+
14 #include "Object.hpp"
+
15 
+
16 using Angel::vec2;
+
17 using Angel::vec3;
+
18 using Angel::vec4;
+
19 using Angel::mat4;
+
20 using std::string;
+
21 
+
37 class Camera : public Object {
+
38 
+
39 public:
+
40 
+
47  typedef enum Direction {
+
48  DIR_FORWARD,
+
49  DIR_BACKWARD,
+
50  DIR_LEFT,
+
51  DIR_RIGHT,
+
52  DIR_UP,
+
53  DIR_DOWN,
+
54  DIR_END,
+
55  DIR_BEGIN = DIR_FORWARD
+
56  } Direction;
+
57 
+
63  typedef enum ViewType {
+
64  PERSPECTIVE, ORTHO, ORTHO2D, IDENTITY, FRUSTUM
+
65  } ViewType;
+
66 
+
73  typedef enum Uniforms {
+
74  BEGIN = Object::END, TRANSLATION = BEGIN, ROTATION, VIEW, CTM, END
+
75  } Uniform;
+
76 
+
85  Camera( const std::string &name, GLuint gShader, float x = 0.0, float y = 0.0,
+
86  float z = 0.0 );
+
87 
+
94  Camera( const std::string &name, GLuint gShader, vec3 &in );
+
95 
+
102  Camera( const std::string &name, GLuint gShader, vec4 &in );
+
103 
+
107  virtual ~Camera( void );
+
108 
+
109  /* Set positionals: forcibly move the camera */
+
116  void x( const float &in, const bool &update = true );
+
123  void y( const float &in, const bool &update = true );
+
130  void z( const float &in, const bool &update = true );
+
131 
+
140  void pos( const float &x, const float &y, const float &z, const bool &update =
+
141  true );
+
142 
+
149  void pos( const vec3 &in, const bool &update = true );
+
150 
+
157  void pos( const vec4 &in, const bool &update = true );
+
158 
+
159  /* Adjust positionals: move the camera by an offset */
+
167  void dX( const float &by, const bool &update = true );
+
168 
+
176  void dY( const float &by, const bool &update = true );
+
177 
+
185  void dZ( const float &by, const bool &update = true );
+
186 
+
194  void dPos( const float &x, const float &y, const float &z );
+
195 
+
201  void dPos( const vec3 &by );
+
202 
+
208  void dPos( const vec4 &by );
+
209 
+
210  /* Field-of-view */
+
217  void fieldOfView( const float &fovy );
+
222  float fieldOfView( void ) const;
+
228  void adjustFieldOfView( const float &by );
+
234  void changePerspective( const ViewType &vType );
+
240  void refreshPerspective( void );
+
251  void viewport( size_t _X, size_t _Y, size_t _width, size_t _height );
+
252 
+
253  /* Adjust the camera position with regards to its current vector */
+
261  void sway( const float &by );
+
271  void surge( const float &by );
+
279  void heave( const float &by );
+
280 
+
281  /* Adjust the camera's current view angle */
+
290  void pitch( const float &by, const bool &fixed = false );
+
299  void yaw( const float &by, const bool &fixed = false );
+
308  void roll( const float &by, const bool &fixed = false );
+
309 
+
310  /* Instruct the camera to automatically move. */
+
317  void move( const Camera::Direction &Dir );
+
323  void stop( const Camera::Direction &Dir );
+
329  void idle( void );
+
337  void accel( const vec3 &accel );
+
338 
+
339  /* Get Position */
+
344  float x( void ) const;
+
349  float y( void ) const;
+
354  float z( void ) const;
+
359  vec4 pos( void ) const;
+
360 
+
361  /* OpenGL Methods */
+
367  virtual void send( Object::UniformEnum which );
+
373  void view( void );
+
374 
+
381  void resetRotation( void );
+
382 
+
383 private:
+
384 
+
392  void adjustRotation( const mat4 &adjustment, const bool &fixed = false );
+
398  void commonInit( void );
+
399 
+ +
402 
+ +
405 
+ +
408 
+
410  GLfloat _speed;
+
411 
+ +
414 
+
416  GLfloat _speed_cap;
+
417 
+
419  GLfloat _maxAccel;
+
420 
+
422  GLfloat _maxSpeed;
+
423 
+ +
426 
+
428  GLfloat _aspectRatio;
+
429 
+
431  GLfloat _fovy;
+
432 
+ +
435 
+
437  Angel::vec2 _viewportPosition; // XPos and YPos
+
438 
+
440  bool _motion[Camera::DIR_END];
+
441 
+
442 };
+
443 
+
444 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_cameras_8cpp.html b/Doxygen/Docs/html/_cameras_8cpp.html new file mode 100644 index 00000000..3f00a037 --- /dev/null +++ b/Doxygen/Docs/html/_cameras_8cpp.html @@ -0,0 +1,137 @@ + + + + + +HyperGrafx: Cameras.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Cameras.cpp File Reference
+
+
+ +

Implementation for the Cameras class, which is a container for Camera objects. +More...

+
#include <cmath>
+#include <vector>
+#include <stdexcept>
+#include "Camera.hpp"
+#include "Cameras.hpp"
+#include "globals.h"
+
+

Go to the source code of this file.

+

Detailed Description

+

Implementation for the Cameras class, which is a container for Camera objects.

+
Author
John Huston
+
Authors
John Huston, Nicholas StPierre, Chris Compton
+
Date
2012-12-04
+ +

Definition in file Cameras.cpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_cameras_8cpp_source.html b/Doxygen/Docs/html/_cameras_8cpp_source.html new file mode 100644 index 00000000..5bfc4cec --- /dev/null +++ b/Doxygen/Docs/html/_cameras_8cpp_source.html @@ -0,0 +1,288 @@ + + + + + +HyperGrafx: Cameras.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Cameras.cpp
+
+
+Go to the documentation of this file.
1 
+
9 #include <cmath>
+
10 #include <vector>
+
11 #include <stdexcept>
+
12 #include "Camera.hpp"
+
13 #include "Cameras.hpp"
+
14 #include "globals.h"
+
15 
+ +
20  this->_size = Angel::vec2( 0, 0 );
+
21 }
+
22 
+ +
27 }
+
28 
+
35 Camera *Cameras::addCamera( const std::string &name ) {
+
36 
+
37  Camera *cam = new Camera( name, _gShader );
+
38 
+
39  Scene::insertObject( cam );
+
40 
+ +
42  return cam;
+
43  //Set active Camera?
+
44 
+
45 }
+
46 
+
52 void Cameras::popCamera( void ) {
+ + +
55 }
+
56 
+
57 //DelCamera( const std::string &name );
+
58 //DelCamera( void );
+
59 //DestroyCamera( void );
+
60 
+ +
67  Scene::next();
+
68  active()->send( Camera::CTM );
+
69  return active();
+
70 }
+
71 
+ +
78  Scene::prev();
+
79  active()->send( Camera::CTM );
+
80  return active();
+
81 }
+
82 
+
88 Camera *Cameras::active( void ) const {
+
89 
+
90  // Use the base method to retrieve the active object.
+
91  Object *camptr = Scene::active();
+
92 
+
93  // Convert it to a Camera pointer.
+
94  return dynamic_cast< Camera* >( camptr );
+
95 
+
96 }
+
97 
+
103 size_t Cameras::numCameras( void ) const {
+
104  return _list.size();
+
105 }
+
106 
+
113 void Cameras::idleMotion( void ) {
+
114  std::list< Object* >::iterator it;
+
115  for ( it = _list.begin(); it != _list.end(); ++it ) {
+
116  obj2Cam( it )->idle();
+
117  }
+
118 }
+
119 
+
130 void Cameras::resize( int width, int height ) {
+
131  this->_size = Angel::vec2( width, height );
+
132  if ( DEBUG )
+
133  std::cerr << "Setting Cameras WxH: " << width << "x" << height << "\n";
+ +
135 }
+
136 
+ +
144 
+
145  unsigned Width = _size.x;
+
146  unsigned Height = _size.y;
+
147 
+
148  /*
+
149  * This function is a little confusing.
+
150  * Ultimately, we see how many virtual cameras we have,
+
151  * then we compute how many "rows" and "columns" of virtual viewports
+
152  * we will need to accommodate that many.
+
153  *
+
154  * After those calculations, we run through a loop that goes
+
155  * row-by-row and then column-by-column computing the actual
+
156  * x,y offsets, height and widths of each viewport.
+
157  */
+
158 
+
159  /* Let's not try to distribute Viewports if the window system
+
160  hasn't been initialized yet, i.e, if resize() has not yet
+
161  been called. */
+
162  if ( !_size.x || !_size.y ) return;
+
163 
+
164  // How many cameras do we have?
+
165  size_t numCameras = Cameras::numCameras();
+
166 
+
167  // Let's not try to resize zero cameras.
+
168  if ( numCameras == 0 ) return;
+
169 
+
170  // How many virtual rows will we need to display this many?
+
171  size_t numRows = ceil( sqrt( numCameras ) );
+
172 
+
173  // How many columns will we need (average) in general to display this many?
+
174  double numCols = (double) numCameras / (double) numRows;
+
175  size_t numMaxCols = ceil( numCols );
+
176  size_t numMinCols = floor( numCols );
+
177 
+
178  // How many rows do we need to draw with MinCols?
+
179  // (By extension: drawMaxRows = (numRows-drawMinRows))
+
180  size_t drawMinRows =
+
181  (numCameras % numRows) ?
+
182  ((int) (numCameras - (numRows * numMaxCols))
+
183  / (int) (numMinCols - numMaxCols)) :
+
184  0;
+
185 
+
186  std::list< Object * >::iterator it = _list.begin();
+
187 
+
188  /* This is confusing as hell. Good luck! */
+
189  for ( size_t allocHeight = 0, row = 0; (row < numRows) || (it != _list.end());
+
190  ++row ) {
+
191  size_t myWidth;
+
192  size_t myHeight;
+
193  size_t allocWidth = 0;
+
194  size_t colsThisRow = (row < drawMinRows) ? numMinCols : numMaxCols;
+
195  if ( 0 )
+
196  fprintf( stderr, "Row: %lu; Columns this row: %lu\n", row, colsThisRow );
+
197 
+
198  for ( size_t col = 0; col < colsThisRow; ++col, ++it ) {
+
199  // Is this the last column? Use the remaining width.
+
200  if ( col + 1 == colsThisRow ) myWidth = (Width) - allocWidth;
+
201  else myWidth = (Width) / colsThisRow;
+
202  // Is this the last row? Use the remaining height.
+
203  if ( row + 1 == numRows ) myHeight = (Height) - allocHeight;
+
204  else myHeight = (Height) / numRows;
+
205 
+
206  // Tell this camera his new viewport.
+
207  // height looks a little goofy because we are allocating height
+
208  // from the top of the coordinate system and working down,
+
209  // so we have to take the complement.
+
210  obj2Cam( it )->viewport( allocWidth,
+
211  ((Height) - (allocHeight + myHeight)), myWidth,
+
212  myHeight );
+
213  if ( 0 )
+
214  fprintf( stderr, "Camera: (%lu x %lu) @ (%lu,%lu)\n", myWidth, myHeight,
+
215  allocWidth, ((Height) - (allocHeight + myHeight)) );
+
216 
+
217  // Increment our allocated width counter.
+
218  allocWidth += myWidth;
+
219  }
+
220  // Increment our allocated height counter.
+
221  allocHeight += ((Height) / numRows);
+
222  }
+
223 }
+
224 
+
234 void Cameras::view( void (*draw_func)( void ) ) {
+
235  std::list< Object* >::iterator it;
+
236  for ( it = _list.begin(); it != _list.end(); ++it ) {
+
237  obj2Cam( it )->view();
+
238  (*draw_func)();
+
239  }
+
240 }
+
241 
+
251 Camera *Cameras::obj2Cam( std::list< Object* >::iterator &it ) {
+
252  return dynamic_cast< Camera* >( *it );
+
253 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_cameras_8hpp.html b/Doxygen/Docs/html/_cameras_8hpp.html new file mode 100644 index 00000000..a5e48c5a --- /dev/null +++ b/Doxygen/Docs/html/_cameras_8hpp.html @@ -0,0 +1,142 @@ + + + + + +HyperGrafx: Cameras.hpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Cameras.hpp File Reference
+
+
+ +

Header for the 'Cameras' class, a collection of Camera objects. +More...

+
#include <vector>
+#include "Camera.hpp"
+#include "Scene.hpp"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  Cameras
 The Cameras class represents a group of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space. More...
+

Detailed Description

+

Header for the 'Cameras' class, a collection of Camera objects.

+
Author
John Huston
+
Authors
John Huston, Nicholas StPierre, Chris Compton
+
Date
2012-12-04
+ +

Definition in file Cameras.hpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_cameras_8hpp_source.html b/Doxygen/Docs/html/_cameras_8hpp_source.html new file mode 100644 index 00000000..2f4b4b5e --- /dev/null +++ b/Doxygen/Docs/html/_cameras_8hpp_source.html @@ -0,0 +1,171 @@ + + + + + +HyperGrafx: Cameras.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Cameras.hpp
+
+
+Go to the documentation of this file.
1 
+
9 #ifndef __CAMERAS_HPP
+
10 #define __CAMERAS_HPP
+
11 
+
12 #include <vector>
+
13 #include "Camera.hpp"
+
14 #include "Scene.hpp"
+
15 using std::vector;
+
16 
+
29 class Cameras : public Scene {
+
30 
+
31 public:
+
32 
+
36  Cameras( void );
+
40  ~Cameras( void );
+
41 
+
42  /* Proxies */
+
49  Camera *addCamera( const std::string &name );
+
50 
+
56  void popCamera( void );
+
57  //void DelCamera( const std::string &name );
+
58  //void DelCamera( void );
+
59  //void DestroyCamera( void );
+
60 
+
61  /* Inherited and Overloaded */
+
67  Camera *next( void );
+
68 
+
74  Camera *prev( void );
+
75 
+
81  Camera *active( void ) const;
+
82 
+
83  /* New Definitions */
+
89  size_t numCameras( void ) const;
+
90 
+
97  void idleMotion( void );
+
98 
+
109  void resize( int width, int height );
+
110 
+
118  void calculateViewports( void );
+
119 
+
129  void view( void (*draw_func)( void ) );
+
130 
+
131  /* Utility */
+
141  Camera *obj2Cam( std::list< Object* >::iterator &it );
+
142 
+
143 private:
+
144 
+ +
149 
+
150 };
+
151 
+
152 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_engine_8cpp.html b/Doxygen/Docs/html/_engine_8cpp.html new file mode 100644 index 00000000..c06ba19c --- /dev/null +++ b/Doxygen/Docs/html/_engine_8cpp.html @@ -0,0 +1,138 @@ + + + + + +HyperGrafx: Engine.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Engine.cpp File Reference
+
+
+ +

Implementation for the Engine class. +More...

+
#include <stdexcept>
+#include <string>
+#include <map>
+#include "Engine.hpp"
+#include "Cameras.hpp"
+#include "Scene.hpp"
+#include "Screen.hpp"
+
+

Go to the source code of this file.

+

Detailed Description

+

Implementation for the Engine class.

+
Author
John Huston
+
Authors
https://github.com/UMLComputerGraphics
+
Date
2013-03-13
+ +

Definition in file Engine.cpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_engine_8cpp_source.html b/Doxygen/Docs/html/_engine_8cpp_source.html new file mode 100644 index 00000000..eb78b95f --- /dev/null +++ b/Doxygen/Docs/html/_engine_8cpp_source.html @@ -0,0 +1,192 @@ + + + + + +HyperGrafx: Engine.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Engine.cpp
+
+
+Go to the documentation of this file.
1 
+
8 #include <stdexcept>
+
9 #include <string>
+
10 #include <map>
+
11 
+
12 #include "Engine.hpp"
+
13 #include "Cameras.hpp"
+
14 #include "Scene.hpp"
+
15 #include "Screen.hpp"
+
16 
+ +
21 
+ +
30 
+
31  if ( _engineSingleton == NULL ) _engineSingleton = new Engine();
+
32 
+
33  return _engineSingleton;
+
34 
+
35 }
+
36 
+
40 Engine::Engine( void ) {
+
41  // Nihil. How's the weather?
+
42 }
+
43 
+
47 Engine::~Engine( void ) {
+
48  // Nihil.
+
49 }
+
50 
+
57 Engine::Engine( const Engine &copy ) {
+
58  throw std::logic_error( "Engine is a Singleton. You can't make more!" );
+
59 }
+
60 
+ +
68  throw std::logic_error(
+
69  "Cannot assign a Engine to another; You can seriously only have one!" );
+
70 }
+
71 
+ +
77 
+
78  return &(_screen._camList);
+
79 
+
80 }
+
81 
+ +
87 
+
88  return &_scene;
+
89 
+
90 }
+
91 
+ +
97 
+
98  return &_screen;
+
99 
+
100 }
+
101 
+
107 bool Engine::opt( const std::string &Option ) {
+
108  return _engineSettings[Option];
+
109 }
+
110 
+
117 void Engine::opt( const std::string &Option, bool setting ) {
+
118  _engineSettings[Option] = setting;
+
119 }
+
120 
+
127 bool Engine::set( const std::string &Option ) {
+
128  SettingsMap::iterator it;
+
129  it = _engineSettings.find( Option );
+
130  if ( it == _engineSettings.end() ) return false;
+
131  return true;
+
132 }
+
133 
+
139 bool Engine::flip( const std::string &Option ) {
+
140  return _engineSettings[Option] = (!_engineSettings[Option]);
+
141 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_engine_8hpp.html b/Doxygen/Docs/html/_engine_8hpp.html new file mode 100644 index 00000000..a72de565 --- /dev/null +++ b/Doxygen/Docs/html/_engine_8hpp.html @@ -0,0 +1,152 @@ + + + + + +HyperGrafx: Engine.hpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Engine.hpp File Reference
+
+
+ +

Header for the Engine class. +More...

+
#include "Cameras.hpp"
+#include "Scene.hpp"
+#include "Screen.hpp"
+#include <string>
+#include <map>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  Engine
 The Engine class is a singleton-style class which helps keep track of instances of important objects (for Cameras, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace. More...
+ + + +

+Typedefs

+typedef std::map< std::string,
+bool > 
SettingsMap
 An alias for the type used by the Settings Map.
+

Detailed Description

+

Header for the Engine class.

+
Author
John Huston
+
Authors
https://github.com/UMLComputerGraphics
+
Date
2013-03-13
+ +

Definition in file Engine.hpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_engine_8hpp.js b/Doxygen/Docs/html/_engine_8hpp.js new file mode 100644 index 00000000..262dcc3a --- /dev/null +++ b/Doxygen/Docs/html/_engine_8hpp.js @@ -0,0 +1,5 @@ +var _engine_8hpp = +[ + [ "Engine", "class_engine.html", "class_engine" ], + [ "SettingsMap", "_engine_8hpp.html#a35f3ec1606bb0642e48d2e62fea0d6a6", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/_engine_8hpp_source.html b/Doxygen/Docs/html/_engine_8hpp_source.html new file mode 100644 index 00000000..83df5084 --- /dev/null +++ b/Doxygen/Docs/html/_engine_8hpp_source.html @@ -0,0 +1,178 @@ + + + + + +HyperGrafx: Engine.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Engine.hpp
+
+
+Go to the documentation of this file.
1 
+
8 #ifndef __ENGINE_HPP
+
9 #define __ENGINE_HPP
+
10 
+
11 #include "Cameras.hpp"
+
12 #include "Scene.hpp"
+
13 #include "Screen.hpp"
+
14 
+
15 #include <string>
+
16 #include <map>
+
17 
+
21 typedef std::map< std::string, bool > SettingsMap;
+
22 
+
32 class Engine {
+
33 
+
34 public:
+
35 
+
43  static Engine *instance( void );
+
44 
+
45  // Getters for core components.
+
50  Cameras *cams( void );
+
51 
+
56  Scene *rootScene( void );
+
57 
+
62  Screen *mainScreen( void );
+
63 
+
64  // Settings Getters/Setters.
+
70  bool opt( const std::string &Option );
+
71 
+
78  void opt( const std::string &Option, bool setting );
+
79 
+
86  bool set( const std::string &Option );
+
87 
+
93  bool flip( const std::string &Option );
+
94 
+
98  ~Engine( void );
+
99 
+
100 private:
+
101 
+ +
106 
+
107  // Engine's main components
+ +
112 
+ +
117 
+
118  // Settings Storage
+ +
125 
+
126  // Singleton Enforcement
+
130  Engine( void );
+
131 
+
138  Engine( const Engine &copy );
+
139 
+
146  Engine &operator=( Engine &assign );
+
147 
+
148 };
+
149 
+
150 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_init_shader_8cpp.html b/Doxygen/Docs/html/_init_shader_8cpp.html new file mode 100644 index 00000000..37381134 --- /dev/null +++ b/Doxygen/Docs/html/_init_shader_8cpp.html @@ -0,0 +1,192 @@ + + + + + +HyperGrafx: InitShader.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
InitShader.cpp File Reference
+
+
+ +

Provides a wrapper utility for quickly linking against glsl programs. +More...

+
#include <cstdio>
+#include <string.h>
+#include <string>
+#include <sstream>
+#include <iostream>
+#include <vector>
+#include "platform.h"
+#include "InitShader.hpp"
+#include "eric_rules.hpp"
+
+

Go to the source code of this file.

+ + + + + + +

+Macros

#define GEOMETRY_VERTICES_OUT_EXT   0x8DDA
 GEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant.
#define GL_GEOMETRY_SHADER   0x8DD9
 GEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant.
+ + + + + +

+Functions

static char * Angel::readShaderSource (const char *shaderFile)
 Read in a shader file into a NULL-terminated string.
GLuint Angel::InitShader (const char *vShaderFile, const char *fShaderFile, const char *gShaderFile)
 InitShader takes two shader sourcefiles and compiles them into a shader program.
+

Detailed Description

+

Provides a wrapper utility for quickly linking against glsl programs.

+
Authors
Ed Angel, Nick St.Pierre
+
Date
2013-03-13
+ +

Definition in file InitShader.cpp.

+

Macro Definition Documentation

+ +
+
+ + + + +
#define GEOMETRY_VERTICES_OUT_EXT   0x8DDA
+
+ +

GEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant.

+

On some systems, we might need to define this manually. It is normally provided by OpenGL directly. FIXME: This seems hacky!

+ +

Definition at line 27 of file InitShader.cpp.

+ +
+
+ +
+
+ + + + +
#define GL_GEOMETRY_SHADER   0x8DD9
+
+ +

GEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant.

+

On some systems, we might need to define this manually. It is normally provided by OpenGL directly. FIXME: This seems hacky!

+ +

Definition at line 38 of file InitShader.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/_init_shader_8cpp.js b/Doxygen/Docs/html/_init_shader_8cpp.js new file mode 100644 index 00000000..528b5485 --- /dev/null +++ b/Doxygen/Docs/html/_init_shader_8cpp.js @@ -0,0 +1,7 @@ +var _init_shader_8cpp = +[ + [ "GEOMETRY_VERTICES_OUT_EXT", "_init_shader_8cpp.html#aa848a95e858e08d3718ccb1ecce0a05a", null ], + [ "GL_GEOMETRY_SHADER", "_init_shader_8cpp.html#a1e0c2d7120ea4f2e30000d134a9dc335", null ], + [ "InitShader", "_init_shader_8cpp.html#a2aada14c28b14e8b0cd65624c977f232", null ], + [ "readShaderSource", "_init_shader_8cpp.html#a3843d248891b046152c72626e9815c85", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/_init_shader_8cpp_source.html b/Doxygen/Docs/html/_init_shader_8cpp_source.html new file mode 100644 index 00000000..5ad02bad --- /dev/null +++ b/Doxygen/Docs/html/_init_shader_8cpp_source.html @@ -0,0 +1,242 @@ + + + + + +HyperGrafx: InitShader.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
InitShader.cpp
+
+
+Go to the documentation of this file.
1 
+
9 #include <cstdio>
+
10 #include <string.h>
+
11 #include <string>
+
12 #include <sstream>
+
13 #include <iostream>
+
14 #include <vector>
+
15 #include "platform.h"
+
16 #include "InitShader.hpp"
+
17 #include "eric_rules.hpp"
+
18 
+
26 #ifndef GEOMETRY_VERTICES_OUT_EXT
+
27 #define GEOMETRY_VERTICES_OUT_EXT 0x8DDA
+
28 #endif
+
29 
+
37 #ifndef GL_GEOMETRY_SHADER
+
38 #define GL_GEOMETRY_SHADER 0x8DD9
+
39 #endif
+
40 
+
41 namespace Angel {
+
42 
+
50  static char *readShaderSource( const char* shaderFile ) {
+
51 
+
52  FILE* fp = fopen( VooDoo::getRelativePath(shaderFile), "r" );
+
53 
+
54  if ( fp == NULL ) {
+
55  return NULL;
+
56  }
+
57 
+
58  fseek( fp, 0L, SEEK_END );
+
59  long size = ftell( fp );
+
60 
+
61  fseek( fp, 0L, SEEK_SET );
+
62  char* buf = new char[size + 1];
+
63 
+
64  buf[fread( buf, 1, size, fp )] = '\0';
+
65  fclose( fp );
+
66 
+
67  return buf;
+
68  }
+
69 
+
80  GLuint InitShader( const char* vShaderFile, const char* fShaderFile, const char* gShaderFile ) {
+
81  const int nShaders = (gShaderFile == NULL ? 2 : 3);
+
82 
+
83  struct Shader {
+
84  const char* filename;
+
85  GLenum type;
+
86  GLchar* source;
+
87  } shaders[3] = { { vShaderFile, GL_VERTEX_SHADER, NULL },
+
88  { fShaderFile, GL_FRAGMENT_SHADER, NULL },
+
89  { gShaderFile, GL_GEOMETRY_SHADER, NULL } };
+
90 
+
91  GLuint program = glCreateProgram();
+
92 
+
93  for ( int i = 0; i < nShaders; ++i ) {
+
94  Shader& s = shaders[i];
+
95  s.source = readShaderSource( s.filename );
+
96  if ( shaders[i].source == NULL ) {
+
97  std::cerr << "Failed to read " << s.filename << std::endl;
+
98  exit( EXIT_FAILURE );
+
99  }
+
100 
+
101  GLuint shader = glCreateShader( s.type );
+
102  glShaderSource( shader, 1, (const GLchar**) &s.source, NULL );
+
103  glCompileShader( shader );
+
104 
+
105  GLint compiled;
+
106  glGetShaderiv( shader, GL_COMPILE_STATUS, &compiled );
+
107  if ( !compiled ) {
+
108  std::cerr << s.filename << " failed to compile:" << std::endl;
+
109  GLint logSize;
+
110  glGetShaderiv( shader, GL_INFO_LOG_LENGTH, &logSize );
+
111  char* logMsg = new char[logSize];
+
112  glGetShaderInfoLog( shader, logSize, NULL, logMsg );
+
113  std::cerr << logMsg << std::endl;
+
114  delete[] logMsg;
+
115 
+
116  /*exit( EXIT_FAILURE );*/
+
117  }
+
118 
+
119  delete[] s.source;
+
120 
+
121  if ( s.type == GL_GEOMETRY_SHADER ) {// Gshader init requires a few extra things
+
122 
+
123  //GLint n;
+
124  //glGetIntegerv( GL_MAX_GEOMETRY_OUTPUT_COMPONENTS, &n );
+
125 
+
126  glProgramParameteriEXT( shader, GL_GEOMETRY_INPUT_TYPE_EXT,
+
127  GL_TRIANGLES );
+
128 
+
129  glProgramParameteriEXT( shader, GL_GEOMETRY_OUTPUT_TYPE_EXT,
+
130  GL_TRIANGLE_STRIP );
+
131 
+
132  }
+
133 
+
134  glAttachShader( program, shader );
+
135  }
+
136 
+
137  // Gshader gak
+
138  if (nShaders == 3)
+
139  glProgramParameteriEXT( program, GEOMETRY_VERTICES_OUT_EXT, 4 );
+
140 
+
141  /* link and error check */glLinkProgram( program );
+
142 
+
143  GLint linked;
+
144  glGetProgramiv( program, GL_LINK_STATUS, &linked );
+
145  if ( !linked ) {
+
146  std::cerr << "Shader program failed to link" << std::endl;
+
147  GLint logSize;
+
148  glGetProgramiv( program, GL_INFO_LOG_LENGTH, &logSize );
+
149  char* logMsg = new char[logSize];
+
150  glGetProgramInfoLog( program, logSize, NULL, logMsg );
+
151  std::cerr << logMsg << std::endl;
+
152  delete[] logMsg;
+
153 
+
154  exit( EXIT_FAILURE );
+
155  }
+
156 
+
157  /* use program object */
+
158  glUseProgram(program);
+
159  return program;
+
160  }
+
161 } // Close namespace Angel block
+
+
+ + + + diff --git a/Doxygen/Docs/html/_init_shader_8hpp.html b/Doxygen/Docs/html/_init_shader_8hpp.html new file mode 100644 index 00000000..6a5f292a --- /dev/null +++ b/Doxygen/Docs/html/_init_shader_8hpp.html @@ -0,0 +1,146 @@ + + + + + +HyperGrafx: InitShader.hpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
InitShader.hpp File Reference
+
+
+ +

Provides a wrapper utility for quickly linking against glsl programs. +More...

+ +

Go to the source code of this file.

+ + + +

+Macros

+#define GL_INVALID_SHADER   -1
+ + + + + +

+Functions

const char * Angel::InitInitShader (const char *binloc)
 InitInitShader is a preparation step allowing executables to be invoked from working directories OTHER than the one containing the shaders directory.
GLuint Angel::InitShader (const char *vShaderFile, const char *fShaderFile, const char *gShaderFile)
 InitShader takes two shader sourcefiles and compiles them into a shader program.
+

Detailed Description

+

Provides a wrapper utility for quickly linking against glsl programs.

+
Authors
Ed Angel, Nick St.Pierre
+
Date
2013-03-13
+ +

Definition in file InitShader.hpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_init_shader_8hpp.js b/Doxygen/Docs/html/_init_shader_8hpp.js new file mode 100644 index 00000000..6139c39e --- /dev/null +++ b/Doxygen/Docs/html/_init_shader_8hpp.js @@ -0,0 +1,6 @@ +var _init_shader_8hpp = +[ + [ "GL_INVALID_SHADER", "_init_shader_8hpp.html#abb13017b9a808564eee922ad64d2fb64", null ], + [ "InitInitShader", "_init_shader_8hpp.html#ae6e696012f217d3f454fe4d616fe2845", null ], + [ "InitShader", "_init_shader_8hpp.html#a2aada14c28b14e8b0cd65624c977f232", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/_init_shader_8hpp_source.html b/Doxygen/Docs/html/_init_shader_8hpp_source.html new file mode 100644 index 00000000..7e82ab85 --- /dev/null +++ b/Doxygen/Docs/html/_init_shader_8hpp_source.html @@ -0,0 +1,132 @@ + + + + + +HyperGrafx: InitShader.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
InitShader.hpp
+
+
+Go to the documentation of this file.
1 
+
9 #ifndef __INIT_SHADER_H
+
10 #define __INIT_SHADER_H
+
11 
+
12 #define GL_INVALID_SHADER -1
+
13 
+
14 namespace Angel {
+
23  const char* InitInitShader( const char* binloc );
+
24 
+
35  GLuint InitShader( const char* vShaderFile, const char* fShaderFile, const char* gShaderFile = NULL );
+
36 }
+
37 
+
38 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_kinect_inator_8cpp.html b/Doxygen/Docs/html/_kinect_inator_8cpp.html new file mode 100644 index 00000000..30790c68 --- /dev/null +++ b/Doxygen/Docs/html/_kinect_inator_8cpp.html @@ -0,0 +1,208 @@ + + + + + +HyperGrafx: KinectInator.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
KinectInator.cpp File Reference
+
+
+ +

FIXME: Documentation needed from Eric. +More...

+
#include "KinectInator.hpp"
+
+

Go to the source code of this file.

+ + + +

+Macros

#define CHECK_RC(nRetVal, what)
+ + + + +

+Functions

+XnBool fileExists (const char *fn)
+void printhead (int user, double x, double y, double z)
+void noop (int user, double x, double y, double z)
+ + + + + + +

+Variables

+boost::function< void
+XN_CALLBACK_TYPE(xn::UserGenerator
+&, XnUserID, void *)> 
TiemSpelchk::_new_user
+boost::function< void
+XN_CALLBACK_TYPE(xn::UserGenerator
+&, XnUserID, void *)> 
TiemSpelchk::_lost_user
+boost::function< void
+XN_CALLBACK_TYPE(xn::PoseDetectionCapability
+&, const XnChar *, XnUserID,
+void *)> 
TiemSpelchk::_pose
+boost::function< void
+XN_CALLBACK_TYPE(xn::SkeletonCapability
+&, XnUserID, void *)> 
TiemSpelchk::_cal_start
+boost::function< void
+XN_CALLBACK_TYPE(xn::SkeletonCapability
+&, XnUserID,
+XnCalibrationStatus, void *)> 
TiemSpelchk::_cal_complete
+

Detailed Description

+

FIXME: Documentation needed from Eric.

+
Date
2013-03-13
+
Authors
PrimeSense Ltd, Eric McCann
+ +

Definition in file KinectInator.cpp.

+

Macro Definition Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define CHECK_RC( nRetVal,
 what 
)
+
+Value:
if (nRetVal != XN_STATUS_OK) \
+
{ \
+
printf("%s failed: %s\n", what, xnGetStatusString(nRetVal)); \
+
return nRetVal; \
+
}
+
+

Definition at line 99 of file KinectInator.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/_kinect_inator_8cpp.js b/Doxygen/Docs/html/_kinect_inator_8cpp.js new file mode 100644 index 00000000..349a6f01 --- /dev/null +++ b/Doxygen/Docs/html/_kinect_inator_8cpp.js @@ -0,0 +1,12 @@ +var _kinect_inator_8cpp = +[ + [ "CHECK_RC", "_kinect_inator_8cpp.html#a60ac817a27259ef08534e893bbf50739", null ], + [ "fileExists", "_kinect_inator_8cpp.html#ad04f37063176106882768375bd165688", null ], + [ "noop", "_kinect_inator_8cpp.html#a82a48d671384d81ae21db20a59e1bd77", null ], + [ "printhead", "_kinect_inator_8cpp.html#a8ba5423b62998cceb82796c41cd0fa5f", null ], + [ "_cal_complete", "_kinect_inator_8cpp.html#aff60759f8c46a07b0bdf3274b6685e87", null ], + [ "_cal_start", "_kinect_inator_8cpp.html#a8aecdfd3373cb573aceb7f8bfa1b6a01", null ], + [ "_lost_user", "_kinect_inator_8cpp.html#a573ac54b7dee7b9c4b5f74bb5b624f93", null ], + [ "_new_user", "_kinect_inator_8cpp.html#a7c2fa90a51789e3f8c1ed931cd92b176", null ], + [ "_pose", "_kinect_inator_8cpp.html#ae8ca42e4f66c3bb2d063e8adf9882209", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/_kinect_inator_8cpp_source.html b/Doxygen/Docs/html/_kinect_inator_8cpp_source.html new file mode 100644 index 00000000..1b050813 --- /dev/null +++ b/Doxygen/Docs/html/_kinect_inator_8cpp_source.html @@ -0,0 +1,410 @@ + + + + + +HyperGrafx: KinectInator.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
KinectInator.cpp
+
+
+Go to the documentation of this file.
1 
+
8 /**************************************************
+
9  * ERIC MCCANN WAS HERE AND TURNED THIS INSIDE OUT.
+
10  * IT WAS ORIGINALY NiSimpleSkeleton.cpp FROM PRIMESENSE SAMPLES
+
11  * ORIGINAL LICENSE BLOCK STUCK AT TOP OF KinectInator.h
+
12  * now it's abstracted in a class, and runs in parallel with the opengl mainloop
+
13  **************************************************/
+
14 
+
15 //#define EDBG
+
16 #include "KinectInator.hpp"
+
17 
+
18 //---------------------------------------------------------------------------
+
19 // Code
+
20 //---------------------------------------------------------------------------
+
21 
+
22 XnBool fileExists( const char *fn ) {
+
23  XnBool exists;
+
24  xnOSDoesFileExist( fn, &exists );
+
25  return exists;
+
26 }
+
27 
+
28 namespace TiemSpelchk {
+
29 // Callback: New user was detected
+
30  void XN_CALLBACK_TYPE Lurn2SpielNub::User_NewUser(xn::UserGenerator& /*generator*/, XnUserID nId, void* /*pCookie*/)
+
31  {
+
32  XnUInt32 epochTime = 0;
+
33  xnOSGetEpochTime(&epochTime);
+
34  printf("%d New User %d\n", epochTime, nId);
+
35  // New user found
+
36  if (g_bNeedPose)
+
37  {
+
38  g_UserGenerator.GetPoseDetectionCap().StartPoseDetection(g_strPose, nId);
+
39  }
+
40  else
+
41  {
+
42  g_UserGenerator.GetSkeletonCap().RequestCalibration(nId, TRUE);
+
43  }
+
44  }
+
45 // Callback: An existing user was lost
+
46  void XN_CALLBACK_TYPE Lurn2SpielNub::User_LostUser(xn::UserGenerator& /*generator*/, XnUserID nId, void* /*pCookie*/)
+
47  {
+
48  XnUInt32 epochTime = 0;
+
49  xnOSGetEpochTime(&epochTime);
+
50  printf("%d Lost user %d\n", epochTime, nId);
+
51  }
+
52 // Callback: Detected a pose
+
53  void XN_CALLBACK_TYPE Lurn2SpielNub::UserPose_PoseDetected(xn::PoseDetectionCapability& /*capability*/, const XnChar* strPose, XnUserID nId, void* /*pCookie*/)
+
54  {
+
55  XnUInt32 epochTime = 0;
+
56  xnOSGetEpochTime(&epochTime);
+
57  printf("%d Pose %s detected for user %d\n", epochTime, strPose, nId);
+
58  g_UserGenerator.GetPoseDetectionCap().StopPoseDetection(nId);
+
59  g_UserGenerator.GetSkeletonCap().RequestCalibration(nId, TRUE);
+
60  }
+
61 // Callback: Started calibration
+
62  void XN_CALLBACK_TYPE Lurn2SpielNub::UserCalibration_CalibrationStart(xn::SkeletonCapability& /*capability*/, XnUserID nId, void* /*pCookie*/)
+
63  {
+
64  XnUInt32 epochTime = 0;
+
65  xnOSGetEpochTime(&epochTime);
+
66  printf("%d Calibration started for user %d\n", epochTime, nId);
+
67  }
+
68 
+
69  void XN_CALLBACK_TYPE Lurn2SpielNub::UserCalibration_CalibrationComplete(xn::SkeletonCapability& /*capability*/, XnUserID nId, XnCalibrationStatus eStatus, void* /*pCookie*/)
+
70  {
+
71  XnUInt32 epochTime = 0;
+
72  xnOSGetEpochTime(&epochTime);
+
73  if (eStatus == XN_CALIBRATION_STATUS_OK)
+
74  {
+
75  // Calibration succeeded
+
76  printf("%d Calibration complete, start tracking user %d\n", epochTime, nId);
+
77  g_UserGenerator.GetSkeletonCap().StartTracking(nId);
+
78  }
+
79  else
+
80  {
+
81  // Calibration failed
+
82  printf("%d Calibration failed for user %d\n", epochTime, nId);
+
83  if(eStatus==XN_CALIBRATION_STATUS_MANUAL_ABORT)
+
84  {
+
85  printf("Manual abort occured, stop attempting to calibrate!");
+
86  return;
+
87  }
+
88  if (g_bNeedPose)
+
89  {
+
90  g_UserGenerator.GetPoseDetectionCap().StartPoseDetection(g_strPose, nId);
+
91  }
+
92  else
+
93  {
+
94  g_UserGenerator.GetSkeletonCap().RequestCalibration(nId, TRUE);
+
95  }
+
96  }
+
97  }
+
98 
+
99 #define CHECK_RC(nRetVal, what) \
+
100  if (nRetVal != XN_STATUS_OK) \
+
101 { \
+
102  printf("%s failed: %s\n", what, xnGetStatusString(nRetVal)); \
+
103  return nRetVal; \
+
104 }
+
105 
+
106  void Lurn2SpielNub::FUNKMASTER_thread_func() {
+
107  XnUserID aUsers[MAX_NUM_USERS];
+
108  XnUInt16 nUsers;
+
109  XnSkeletonJointTransformation torsoJoint;
+
110 
+
111  printf( "KICK THE TIRES AND LIGHT THE FIRES\n" );
+
112  //now print some annoying ascii art
+
113  printf(
+
114  "-----------------------------------------\n-------------------\n\\\\===\\\\ || //=\\\\\n \\\\ \\\\ ||//===\\\\\n // // ||\\\\\n// //===|| \\\\===\n-------------------\n-----------------------------------------" );
+
115  if ( g_bNeedPose ) {
+
116  printf( "\n\n\n\nSTICK 'EM UP, SCUMBAG!\n" );
+
117  printf( "(Assume the \"Psi\" position to callibrate)" );
+
118  }
+
119  while ( !needsToSeppuku ) {
+
120  g_Context.WaitOneUpdateAll( g_UserGenerator );//this blocks, so we want to abort if it returns after shutdown is called
+
121  if ( needsToSeppuku ) break;
+
122 
+
123  //call our callback function for whichever user we're currently tracking
+
124  nUsers = MAX_NUM_USERS;
+
125  g_UserGenerator.GetUsers( aUsers, nUsers );
+
126  float minz = FLT_MAX, x, y;
+
127  int u = -1;
+
128  for ( XnUInt16 i = 0; i < nUsers; i++ ) {
+
129  if ( g_UserGenerator.GetSkeletonCap().IsTracking( aUsers[i] ) == FALSE )
+
130  continue;
+
131 
+
132  g_UserGenerator.GetSkeletonCap().GetSkeletonJoint( aUsers[i],
+
133  XN_SKEL_TORSO,
+
134  torsoJoint );
+
135 
+
136  //TODO: ONLY SEND CALLBACK ONCE FOR CLOSEST USER IN LIST!!!
+
137 
+
138 #ifdef EDBG
+
139  printhead(aUsers[i], torsoJoint.position.position.X, torsoJoint.position.position.Y, torsoJoint.position.position.Z);
+
140 #endif
+
141  if ( torsoJoint.position.position.Z < minz ) {
+
142  x = torsoJoint.position.position.X;
+
143  y = torsoJoint.position.position.Y;
+
144  minz = torsoJoint.position.position.Z;
+
145  u = aUsers[i];
+
146  }
+
147  }
+
148  if ( u != -1 ) _cb( u, x, y, minz );
+
149  }
+
150  }
+
151 
+
152  Lurn2SpielNub::Lurn2SpielNub() {
+
153  g_bNeedPose = false;
+
154  needsToSeppuku = true;
+
155  //currenthead = -1;
+
156  //prevent double-printing when instantiated with default constructor, and debug is enabled
+
157 #ifdef EDBG
+
158  _cb = &noop;
+
159 #else
+
160  _cb = &printhead;
+
161 #endif
+
162  }
+
163 
+
164  void Lurn2SpielNub::setCallback(
+
165  boost::function< void( int, double, double, double ) > CB ) {
+
166  _cb = CB;
+
167  }
+
168 
+
169  boost::function<void XN_CALLBACK_TYPE (xn::UserGenerator&, XnUserID, void*)> _new_user;
+
170  boost::function<void XN_CALLBACK_TYPE (xn::UserGenerator&, XnUserID, void*)> _lost_user;
+
171  boost::function<void XN_CALLBACK_TYPE (xn::PoseDetectionCapability&, const XnChar*, XnUserID, void*)> _pose;
+
172  boost::function<void XN_CALLBACK_TYPE (xn::SkeletonCapability&, XnUserID, void*)> _cal_start;
+
173  boost::function<void XN_CALLBACK_TYPE (xn::SkeletonCapability&, XnUserID, XnCalibrationStatus, void*)> _cal_complete;
+
174  void Lurn2SpielNub::new_user( xn::UserGenerator& a, XnUserID b, void* c ) {
+
175  _new_user( a, b, c );
+
176  }
+
177  void Lurn2SpielNub::lost_user( xn::UserGenerator& a, XnUserID b, void* c ) {
+
178  _lost_user( a, b, c );
+
179  }
+
180  void Lurn2SpielNub::pose( xn::PoseDetectionCapability& a, const XnChar* b,
+
181  XnUserID c, void* d ) {
+
182  _pose( a, b, c, d );
+
183  }
+
184  void Lurn2SpielNub::cal_start( xn::SkeletonCapability& a, XnUserID b,
+
185  void* c ) {
+
186  _cal_start( a, b, c );
+
187  }
+
188  void Lurn2SpielNub::cal_complete( xn::SkeletonCapability& a, XnUserID b,
+
189  XnCalibrationStatus c, void* d ) {
+
190  _cal_complete( a, b, c, d );
+
191  }
+
192 
+
193  Lurn2SpielNub::~Lurn2SpielNub() {
+
194  Shutdown();
+
195  }
+
196 
+
197  void Lurn2SpielNub::Shutdown() {
+
198  needsToSeppuku = true;
+
199  }
+
200 
+
201  int Lurn2SpielNub::Start() {
+
202  if ( needsToSeppuku ) {
+
203  needsToSeppuku = false;
+
204 
+
205  XnStatus nRetVal = XN_STATUS_OK;
+
206  xn::EnumerationErrors errors;
+
207 
+
208  const char *fn = NULL;
+
209  if ( fileExists( SAMPLE_XML_PATH ) ) fn = SAMPLE_XML_PATH;
+
210  else if ( fileExists( SAMPLE_XML_PATH_LOCAL ) ) fn = SAMPLE_XML_PATH_LOCAL;
+
211  else {
+
212  printf( "Could not find '%s' nor '%s'. Aborting.\n", SAMPLE_XML_PATH,
+
213  SAMPLE_XML_PATH_LOCAL );
+
214  return XN_STATUS_ERROR;
+
215  }
+
216  printf( "Reading config from: '%s'\n", fn );
+
217 
+
218  nRetVal = g_Context.InitFromXmlFile( fn, g_scriptNode, &errors );
+
219  if ( nRetVal == XN_STATUS_NO_NODE_PRESENT ) {
+
220  XnChar strError[1024];
+
221  errors.ToString( strError, 1024 );
+
222  printf( "%s\n", strError );
+
223  return (nRetVal);
+
224  } else if ( nRetVal != XN_STATUS_OK ) {
+
225  printf( "Open failed: %s\n", xnGetStatusString( nRetVal ) );
+
226  return (nRetVal);
+
227  }
+
228 
+
229  nRetVal = g_Context.FindExistingNode( XN_NODE_TYPE_DEPTH,
+
230  g_DepthGenerator );
+
231  CHECK_RC( nRetVal, "No depth" );
+
232 
+
233  nRetVal = g_Context.FindExistingNode( XN_NODE_TYPE_USER,
+
234  g_UserGenerator );
+
235  if ( nRetVal != XN_STATUS_OK ) {
+
236  nRetVal = g_UserGenerator.Create( g_Context );
+
237  CHECK_RC( nRetVal, "Find user generator" );
+
238  }
+
239 
+
240  XnCallbackHandle hUserCallbacks, hCalibrationStart, hCalibrationComplete,
+
241  hPoseDetected;
+
242  if ( !g_UserGenerator.IsCapabilitySupported( XN_CAPABILITY_SKELETON ) ) {
+
243  printf( "Supplied user generator doesn't support skeleton\n" );
+
244  return 1;
+
245  }
+
246  _new_user = boost::bind( &Lurn2SpielNub::User_NewUser, this, _1, _2, _3 );
+
247  _lost_user = boost::bind( &Lurn2SpielNub::User_LostUser, this, _1, _2,
+
248  _3 );
+
249  _cal_start = boost::bind(
+
250  &Lurn2SpielNub::UserCalibration_CalibrationStart, this, _1, _2, _3 );
+
251  _cal_complete = boost::bind(
+
252  &Lurn2SpielNub::UserCalibration_CalibrationComplete, this, _1, _2, _3,
+
253  _4 );
+
254  _pose = boost::bind( &Lurn2SpielNub::UserPose_PoseDetected, this, _1, _2,
+
255  _3, _4 );
+
256 
+
257  nRetVal = g_UserGenerator.RegisterUserCallbacks(
+
258  &Lurn2SpielNub::new_user, &Lurn2SpielNub::lost_user, NULL,
+
259  hUserCallbacks );
+
260  CHECK_RC( nRetVal, "Register to user callbacks" );
+
261  nRetVal = g_UserGenerator.GetSkeletonCap().RegisterToCalibrationStart(
+
262  &Lurn2SpielNub::cal_start, NULL, hCalibrationStart );
+
263  CHECK_RC( nRetVal, "Register to calibration start" );
+
264  nRetVal = g_UserGenerator.GetSkeletonCap().RegisterToCalibrationComplete(
+
265  &Lurn2SpielNub::cal_complete, NULL, hCalibrationComplete );
+
266  CHECK_RC( nRetVal, "Register to calibration complete" );
+
267 
+
268  if ( g_UserGenerator.GetSkeletonCap().NeedPoseForCalibration() ) {
+
269  g_bNeedPose = TRUE;
+
270  if ( !g_UserGenerator.IsCapabilitySupported(
+
271  XN_CAPABILITY_POSE_DETECTION ) ) {
+
272  printf( "Pose required, but not supported\n" );
+
273  return 1;
+
274  }
+
275  nRetVal = g_UserGenerator.GetPoseDetectionCap().RegisterToPoseDetected(
+
276  &Lurn2SpielNub::pose, NULL, hPoseDetected );
+
277  CHECK_RC( nRetVal, "Register to Pose Detected" );
+
278  g_UserGenerator.GetSkeletonCap().GetCalibrationPose( g_strPose );
+
279  }
+
280 
+
281  g_UserGenerator.GetSkeletonCap().SetSkeletonProfile(
+
282  XN_SKEL_PROFILE_ALL );
+
283 
+
284  nRetVal = g_Context.StartGeneratingAll();
+
285  CHECK_RC( nRetVal, "StartGenerating" );
+
286 
+
287  _thread = boost::thread( &Lurn2SpielNub::FUNKMASTER_thread_func, this );
+
288  }
+
289  return 0;
+
290  }
+
291 }
+
292 
+
293 void printhead( int user, double x, double y, double z ) {
+
294  printf( "user %d: head at (%6.2f,%6.2f,%6.2f)\n", user, x, y, z );
+
295 }
+
296 void noop( int user, double x, double y, double z ) {
+
297 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_kinect_inator_8hpp.html b/Doxygen/Docs/html/_kinect_inator_8hpp.html new file mode 100644 index 00000000..0b0e2d51 --- /dev/null +++ b/Doxygen/Docs/html/_kinect_inator_8hpp.html @@ -0,0 +1,166 @@ + + + + + +HyperGrafx: KinectInator.hpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
KinectInator.hpp File Reference
+
+
+ +

FIXME: Documentation needed from Eric. +More...

+
#include <XnCppWrapper.h>
+#include <boost/thread/thread.hpp>
+#include <boost/thread/mutex.hpp>
+#include <boost/function.hpp>
+#include <iostream>
+#include <cfloat>
+
+

Go to the source code of this file.

+ + + +

+Classes

class  TiemSpelchk::Lurn2SpielNub
+ + + + + +

+Macros

+#define __OPENNIFTW
+#define SAMPLE_XML_PATH   "OpenNIConfig.xml"
+#define SAMPLE_XML_PATH_LOCAL   "OpenNIConfig.xml"
+#define MAX_NUM_USERS   15
+ + + + +

+Functions

+void printhead (int, double, double, double)
+void noop (int, double, double, double)
+void noopint (int)
+

Detailed Description

+

FIXME: Documentation needed from Eric.

+
Date
2013-03-13
+
Author
PrimeSense Ltd.
+
Authors
PrimeSense Ltd., Eric McCann
+ +

Definition in file KinectInator.hpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_kinect_inator_8hpp.js b/Doxygen/Docs/html/_kinect_inator_8hpp.js new file mode 100644 index 00000000..2ffc4cb4 --- /dev/null +++ b/Doxygen/Docs/html/_kinect_inator_8hpp.js @@ -0,0 +1,11 @@ +var _kinect_inator_8hpp = +[ + [ "Lurn2SpielNub", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html", "class_tiem_spelchk_1_1_lurn2_spiel_nub" ], + [ "__OPENNIFTW", "_kinect_inator_8hpp.html#ad325d7e7cf672f0e4528ca4d749892fd", null ], + [ "MAX_NUM_USERS", "_kinect_inator_8hpp.html#ae9240abca632df157780cb9c6a06e452", null ], + [ "SAMPLE_XML_PATH", "_kinect_inator_8hpp.html#a34f2c6bb9f5eae3dd5a8de1117093ee9", null ], + [ "SAMPLE_XML_PATH_LOCAL", "_kinect_inator_8hpp.html#a5d4347bd3b04b46e63d5448a3fc5ace6", null ], + [ "noop", "_kinect_inator_8hpp.html#ab39ca03856a52b67f27ad9b418b6bcc6", null ], + [ "noopint", "_kinect_inator_8hpp.html#a1a8a54afcffdea07862f5d526d2d8d5e", null ], + [ "printhead", "_kinect_inator_8hpp.html#a1752c24f7978482426e096cf18602f2d", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/_kinect_inator_8hpp_source.html b/Doxygen/Docs/html/_kinect_inator_8hpp_source.html new file mode 100644 index 00000000..33bced70 --- /dev/null +++ b/Doxygen/Docs/html/_kinect_inator_8hpp_source.html @@ -0,0 +1,198 @@ + + + + + +HyperGrafx: KinectInator.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
KinectInator.hpp
+
+
+Go to the documentation of this file.
1 
+
9 /****************************************************************************
+
10  * *
+
11  * OpenNI 1.x Alpha *
+
12  * Copyright (C) 2011 PrimeSense Ltd. *
+
13  * *
+
14  * This file is part of OpenNI. *
+
15  * *
+
16  * OpenNI is free software: you can redistribute it and/or modify *
+
17  * it under the terms of the GNU Lesser General Public License as published *
+
18  * by the Free Software Foundation, either version 3 of the License, or *
+
19  * (at your option) any later version. *
+
20  * *
+
21  * OpenNI is distributed in the hope that it will be useful, *
+
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+
24  * GNU Lesser General Public License for more details. *
+
25  * *
+
26  * You should have received a copy of the GNU Lesser General Public License *
+
27  * along with OpenNI. If not, see <http://www.gnu.org/licenses/>. *
+
28  * *
+
29  ****************************************************************************/
+
30 
+
31 #ifndef __OPENNIFTW
+
32 /**************************************************
+
33  * ERIC MCCANN WAS HERE AND TURNED THIS INSIDE OUT.
+
34  * IT WAS ORIGINALY NiSimpleSkeleton.cpp FROM PRIMESENSE SAMPLES
+
35  * now it's abstracted in a class, and runs in parallel with the opengl mainloop
+
36  **************************************************/
+
37 #define __OPENNIFTW
+
38 //---------------------------------------------------------------------------
+
39 // Includes
+
40 //---------------------------------------------------------------------------
+
41 #include <XnCppWrapper.h>
+
42 #include <boost/thread/thread.hpp>
+
43 #include <boost/thread/mutex.hpp>
+
44 #include <boost/function.hpp>
+
45 #include <iostream>
+
46 #include <cfloat>
+
47 
+
48 //---------------------------------------------------------------------------
+
49 // Defines
+
50 //---------------------------------------------------------------------------
+
51 #define SAMPLE_XML_PATH "OpenNIConfig.xml"
+
52 #define SAMPLE_XML_PATH_LOCAL "OpenNIConfig.xml"
+
53 #define MAX_NUM_USERS 15
+
54 
+
55 namespace TiemSpelchk {
+
56  class Lurn2SpielNub {
+
57  private:
+
58  boost::function< void( int, double, double, double ) > _cb;
+
59  boost::thread _thread;
+
60  void FUNKMASTER_thread_func();
+
61  bool needsToSeppuku;
+
62 
+
63  xn::Context g_Context;
+
64  xn::ScriptNode g_scriptNode;
+
65  xn::DepthGenerator g_DepthGenerator;
+
66  xn::UserGenerator g_UserGenerator;
+
67  XnBool g_bNeedPose;
+
68  XnChar g_strPose[20];
+
69 
+
70  //callback VOODOO
+
71  void XN_CALLBACK_TYPE User_NewUser(xn::UserGenerator& /*generator*/, XnUserID nId, void* /*pCookie*/);void XN_CALLBACK_TYPE User_LostUser(xn::UserGenerator& /*generator*/, XnUserID nId, void* /*pCookie*/);void XN_CALLBACK_TYPE UserPose_PoseDetected(xn::PoseDetectionCapability& /*capability*/, const XnChar* strPose, XnUserID nId, void* /*pCookie*/);void XN_CALLBACK_TYPE UserCalibration_CalibrationStart(xn::SkeletonCapability& /*capability*/, XnUserID nId, void* /*pCookie*/);void XN_CALLBACK_TYPE UserCalibration_CalibrationComplete(xn::SkeletonCapability& /*capability*/, XnUserID nId, XnCalibrationStatus eStatus, void* /*pCookie*/);
+
72  public:
+
73  void setCallback(
+
74  boost::function< void( int, double, double, double ) > headCB );
+
75  int Start();
+
76  void Shutdown();
+
77  Lurn2SpielNub();
+
78  ~Lurn2SpielNub();static void XN_CALLBACK_TYPE new_user(xn::UserGenerator&, XnUserID, void*);static void XN_CALLBACK_TYPE lost_user(xn::UserGenerator&, XnUserID, void*);static void XN_CALLBACK_TYPE pose(xn::PoseDetectionCapability&, const XnChar*, XnUserID, void*);static void XN_CALLBACK_TYPE cal_start(xn::SkeletonCapability&, XnUserID, void*);static void XN_CALLBACK_TYPE cal_complete(xn::SkeletonCapability&, XnUserID, XnCalibrationStatus, void*);
+
79  };
+
80 }
+
81 
+
82 void printhead( int, double, double, double );
+
83 void noop( int, double, double, double );
+
84 void noopint( int );
+
85 
+
86 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_obj_loader_8cpp.html b/Doxygen/Docs/html/_obj_loader_8cpp.html new file mode 100644 index 00000000..03a57a6d --- /dev/null +++ b/Doxygen/Docs/html/_obj_loader_8cpp.html @@ -0,0 +1,184 @@ + + + + + +HyperGrafx: ObjLoader.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
ObjLoader.cpp File Reference
+
+
+ +

Implementation for reading in geometry from .OBJ files. +More...

+
#include <vector>
+#include <string>
+#include <sstream>
+#include <fstream>
+#include <stdexcept>
+#include <cstdio>
+#include "vec.hpp"
+#include "ObjLoader.hpp"
+#include "eric_rules.hpp"
+
+

Go to the source code of this file.

+ + + + +

+Macros

#define RAND_FLOAT   (rand() / (float) RAND_MAX)
 RAND_FLOAT returns a random float from (0,1).
+ + + + + + + + + + + + + + + + + +

+Functions

const vector< string > ObjLoader::split (const string &str, const char delim)
 Split a string by an arbitrary delimiter.
vec4 ObjLoader::parseVertex (string line)
 Obtain a vertex from a std::string line.
vec2 ObjLoader::parseTextureUV (string line)
 Obtain a 2D TexUV coordinate from a std::string line.
vec3 ObjLoader::parseNormal (string line)
 Obtain a 3D normal vector from a std::string line.
vector< vector< int > > ObjLoader::parseFaceElements (string line)
 parses face elements into a vector of 3 vectors of 3 ints from an .obj line
void ObjLoader::parseElementTriple (string triple, vector< int > &v_elements, vector< int > &uv_elements, vector< int > &n_elements)
 Helper function that splits an obj element listing (x/y/z) into their proper components (vertices, UVs, _normals.)
Object * ObjLoader::loadObj (Scene &scene, const char *filename, const char *defaultObjName)
 loadObj loads all available objects from a .obj file into the provided scene.
void ObjLoader::loadModelFromFile (Object *object, const char *filename)
 Legacy function until I make everything suck less: Loads a single model from an OBJ and stores it into a single Object instance.
+

Detailed Description

+

Implementation for reading in geometry from .OBJ files.

+
Date
2013-03-14
+
Authors
Greg Giannone, Nick VerVoort, John Huston
+ +

Definition in file ObjLoader.cpp.

+

Macro Definition Documentation

+ +
+
+ + + + +
#define RAND_FLOAT   (rand() / (float) RAND_MAX)
+
+ +

RAND_FLOAT returns a random float from (0,1).

+ +

Definition at line 288 of file ObjLoader.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/_obj_loader_8cpp.js b/Doxygen/Docs/html/_obj_loader_8cpp.js new file mode 100644 index 00000000..e126efd8 --- /dev/null +++ b/Doxygen/Docs/html/_obj_loader_8cpp.js @@ -0,0 +1,12 @@ +var _obj_loader_8cpp = +[ + [ "RAND_FLOAT", "_obj_loader_8cpp.html#a5fc5a76891a19debb9aa8e2557e3d26a", null ], + [ "loadModelFromFile", "_obj_loader_8cpp.html#a8f7b9385e9df4b840509b33d1054bc9e", null ], + [ "loadObj", "_obj_loader_8cpp.html#af5cf29ebddab573e1abf3798e4cdb031", null ], + [ "parseElementTriple", "_obj_loader_8cpp.html#aeaebb6a6f99caea6d583b022830691de", null ], + [ "parseFaceElements", "_obj_loader_8cpp.html#ad99d9bd311b4c7d846d08c21944bda40", null ], + [ "parseNormal", "_obj_loader_8cpp.html#aae18dfc115b28f55832ce80fc95f8d96", null ], + [ "parseTextureUV", "_obj_loader_8cpp.html#a943cf8094179b0b8d0ff49157e17b377", null ], + [ "parseVertex", "_obj_loader_8cpp.html#a4cb0dfcb29f0477e362e8cd71dfd7e66", null ], + [ "split", "_obj_loader_8cpp.html#ac0b05bceb9e38231baf226daa7d741de", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/_obj_loader_8cpp_source.html b/Doxygen/Docs/html/_obj_loader_8cpp_source.html new file mode 100644 index 00000000..36770eed --- /dev/null +++ b/Doxygen/Docs/html/_obj_loader_8cpp_source.html @@ -0,0 +1,429 @@ + + + + + +HyperGrafx: ObjLoader.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
ObjLoader.cpp
+
+
+Go to the documentation of this file.
1 
+
8 #include <vector>
+
9 #include <string>
+
10 #include <sstream>
+
11 #include <fstream>
+
12 #include <stdexcept>
+
13 #include <cstdio>
+
14 #include "vec.hpp"
+
15 #include "ObjLoader.hpp"
+
16 #include "eric_rules.hpp"
+
17 
+
18 using std::vector;
+
19 using std::string;
+
20 using Angel::vec4;
+
21 using Angel::vec3;
+
22 using Angel::vec2;
+
23 using std::istringstream;
+
24 
+
25 namespace ObjLoader {
+
32  const vector< string > split( const string &str, const char delim ) {
+
33  std::vector< string > elements;
+
34  std::string tmp = str;
+
35 
+
36  // loop through and break string up by the delimiter
+
37  while ( tmp.find_first_of( delim ) != string::npos ) {
+
38  // position of delimiter in current string
+
39  int pos = tmp.find_first_of( delim );
+
40  elements.push_back( tmp.substr( 0, pos ) );
+
41  tmp = tmp.substr( pos + 1 );
+
42  }
+
43 
+
44  // str will have the final element remaining in it
+
45  elements.push_back( tmp );
+
46  return elements;
+
47  }
+
48 
+
55  vec4 parseVertex( string line ) {
+
56 
+
57  vec4 v;
+
58 
+
59  // read in vertex coords
+
60  istringstream s( line.substr( 2 ) );
+
61  s >> v.x;
+
62  s >> v.y;
+
63  s >> v.z;
+
64  v.w = 1.0;
+
65 
+
66  return v;
+
67  }
+
68 
+
75  vec2 parseTextureUV( string line ) {
+
76  vec2 uv;
+
77 
+
78  // read in uv coords
+
79  istringstream s( line.substr( 3 ) );
+
80  s >> uv.x;
+
81  s >> uv.y;
+
82 
+
83  return uv;
+
84  }
+
85 
+
92  vec3 parseNormal( string line ) {
+
93  vec3 vn;
+
94 
+
95  istringstream s( line.substr( 3 ) );
+
96  s >> vn.x;
+
97  s >> vn.y;
+
98  s >> vn.z;
+
99 
+
100  return vn;
+
101  }
+
102 
+
109  vector< vector< int > > parseFaceElements( string line ) {
+
110  vector< vector< int > > elements;
+
111 
+
112  // vectors for vertex, texture, and normal elements
+
113  vector< int > v_elements;
+
114  vector< int > uv_elements;
+
115  vector< int > n_elements;
+
116 
+
117  // vector for elements returned from split
+
118  vector< string > raw_elements;
+
119 
+
120  // get the 3 triples of elements from the line
+
121  istringstream s( line.substr( 2 ) );
+
122  string a, b, c;
+
123  s >> a;
+
124  s >> b;
+
125  s >> c;
+
126 
+
127  // parse the 3 triples into 3 vectors
+
128  parseElementTriple( a, v_elements, uv_elements, n_elements );
+
129  parseElementTriple( b, v_elements, uv_elements, n_elements );
+
130  parseElementTriple( c, v_elements, uv_elements, n_elements );
+
131 
+
132  // add the vectors of different elements to single vector
+
133  elements.push_back( v_elements );
+
134  elements.push_back( uv_elements );
+
135  elements.push_back( n_elements );
+
136 
+
137  return elements;
+
138  }
+
139 
+
149 // parses a line of elements and adds the elements to the vectors passed in
+
150 // if a line has less than 3 kinds of elements, the vectors of the types
+
151 // of elements that are not included in the file will not be updated
+
152  void parseElementTriple( string triple, vector< int > &v_elements,
+
153  vector< int > &uv_elements,
+
154  vector< int > &n_elements ) {
+
155  vector< string > raw_elements = split( triple, '/' );
+
156 
+
157  switch ( raw_elements.size() ) {
+
158  // if we have at least 3 types, add in _normals
+
159  case 3:
+
160  n_elements.push_back( atoi( raw_elements[2].c_str() ) );
+
161  // if we have at least 2, add in uv elements if they exist
+
162  case 2:
+
163  if ( raw_elements[1].compare( "" ) != 0 ) {
+
164  uv_elements.push_back( atoi( raw_elements[1].c_str() ) );
+
165  }
+
166  // add in vertex elements
+
167  case 1:
+
168  v_elements.push_back( atoi( raw_elements[0].c_str() ) );
+
169  }
+
170  }
+
171 
+
180  Object *loadObj( Scene &scene, const char* filename,
+
181  const char *defaultObjName ) {
+
182  // file input stream
+
183  std::ifstream in( filename, std::ios::in );
+
184 
+
185  if ( !in ) {
+
186  throw std::runtime_error( "Could not open file." );
+
187  }
+
188 
+
189  bool firstObject = true;
+
190 
+
191  vector< vec4 > raw_vertices;
+
192  vector< vec4 > vertices;
+
193  vector< vec3 > raw_normals;
+
194  vector< vec3 > normals;
+
195  vector< vec2 > raw_textureUVs;
+
196  vector< vec2 > textureUVs;
+
197 
+
198  string line;
+
199  string objName;
+
200 
+
201  // parse the .obj file for its data
+
202  while ( getline( in, line ) ) {
+
203  // lines beginning with 'v ' have vertices
+
204  if ( line.substr( 0, 2 ) == "v " ) {
+
205  raw_vertices.push_back( parseVertex( line ) );
+
206  }
+
207 
+
208  // 'o ' or 'g ' signify a new object is starting
+
209  else if ( line.substr( 0, 1 ) == "o" || line.substr( 0, 1 ) == "g" ) {
+
210 
+
211  if ( line.substr( 1 ).compare( "" ) == 0 ) {
+
212  if ( defaultObjName ) objName = defaultObjName;
+
213  else objName = std::string( filename ) + " Unnamed Object";
+
214  } else {
+
215  objName = line.substr( 2 );
+
216  }
+
217 
+
218  // skip writing data to an object if we don't have data yet
+
219  if ( firstObject ) {
+
220  firstObject = false;
+
221  continue;
+
222  }
+
223 
+
224  // Add this object up-in-here.
+
225  fprintf( stderr, "CREATING OBJECT1: %s\n", objName.c_str() );
+
226  Object *thisObj = scene.addObject( objName );
+
227  thisObj->_vertices = vertices;
+
228  thisObj->_texUVs = textureUVs;
+
229  thisObj->_normals = normals;
+
230 
+
231  vertices.clear();
+
232  textureUVs.clear();
+
233  normals.clear();
+
234  }
+
235 
+
236  // lines beginning with 'f ' have elements
+
237  else if ( line.substr( 0, 2 ) == "f " ) {
+
238  // parse the elements from the .obj line
+
239  vector< vector< int > > faceElements = parseFaceElements( line );
+
240 
+
241  // put the vertices described by the element vector into the main vertex vector
+
242  for ( uint i = 0; i < faceElements.at( 0 ).size(); i++ ) {
+
243  vertices.push_back(
+
244  raw_vertices.at( faceElements.at( 0 ).at( i ) - 1 ) );
+
245  }
+
246 
+
247  // do the same for texture elements
+
248  for ( uint i = 0; i < faceElements.at( 1 ).size(); i++ ) {
+
249  textureUVs.push_back(
+
250  raw_textureUVs.at( faceElements.at( 1 ).at( i ) - 1 ) );
+
251  }
+
252 
+
253  // and finally for normal elements
+
254  for ( uint i = 0; i < faceElements.at( 2 ).size(); i++ ) {
+
255  normals.push_back(
+
256  raw_normals.at( faceElements.at( 2 ).at( i ) - 1 ) );
+
257  }
+
258  }
+
259 
+
260  // lines beginning with 'vt ' will have UV coords
+
261  else if ( line.substr( 0, 3 ) == "vt " ) {
+
262  raw_textureUVs.push_back( parseTextureUV( line ) );
+
263  }
+
264 
+
265  // lines beginning with 'vn ' will have _normals
+
266  else if ( line.substr( 0, 3 ) == "vn " ) {
+
267  raw_normals.push_back( parseNormal( line ) );
+
268  }
+
269 
+
270  else if ( line[0] == '#' ) { /* ignore comments */
+
271  } else { /* blank/junk */
+
272  }
+
273  }
+
274 
+
275  // Add this object up-in-here.
+
276  fprintf( stderr, "CREATING OBJECT: %s\n", objName.c_str() );
+
277  if ( objName.length() == 0 ) objName = defaultObjName;
+
278  Object *thisObj = scene.addObject( objName );
+
279  thisObj->_vertices = vertices;
+
280  thisObj->_texUVs = textureUVs;
+
281  thisObj->_normals = normals;
+
282 
+
283  return thisObj;
+
284 
+
285  }
+
286 
+
288 #define RAND_FLOAT (rand() / (float) RAND_MAX)
+
289 
+
299  void loadModelFromFile( Object *object, const char *filename ) {
+
300 
+
301  // file input stream
+
302  std::ifstream in( VooDoo::getRelativePath(filename), std::ios::in );
+
303 
+
304  if ( !in ) {
+
305  throw std::runtime_error( "Could not open file." );
+
306  }
+
307 
+
308  vector< vec4 > raw_vertices;
+
309  vector< vec3 > raw_normals;
+
310  vector< vec2 > raw_textureUVs;
+
311 
+
312  string line;
+
313 
+
314  short unsigned numObjects = 0;
+
315 
+
316  // parse the .obj file for its data
+
317  while ( getline( in, line ) ) {
+
318  // lines beginning with 'v ' have vertices
+
319  if ( line.substr( 0, 2 ) == "v " ) {
+
320  raw_vertices.push_back( parseVertex( line ) );
+
321  }
+
322 
+
323  // 'o ' or 'g ' signify a new object is starting
+
324  else if ( line.substr( 0, 1 ) == "o" || line.substr( 0, 1 ) == "g" ) {
+
325  if ( ++numObjects > 1 ) break;
+
326  }
+
327 
+
328  // lines beginning with 'f ' have elements
+
329  else if ( line.substr( 0, 2 ) == "f " ) {
+
330  // parse the elements from the .obj line
+
331  vector< vector< int > > faceElements = parseFaceElements( line );
+
332 
+
333  // put the vertices described by the element vector into the main vertex vector
+
334  for ( uint i = 0; i < faceElements.at( 0 ).size(); i++ ) {
+
335  object->_vertices.push_back(
+
336  raw_vertices.at( faceElements.at( 0 ).at( i ) - 1 ) );
+
337  }
+
338 
+
339  // do the same for texture elements
+
340  for ( uint i = 0; i < faceElements.at( 1 ).size(); i++ ) {
+
341  object->_texUVs.push_back(
+
342  raw_textureUVs.at( faceElements.at( 1 ).at( i ) - 1 ) );
+
343  }
+
344 
+
345  // and finally for normal elements
+
346  for ( uint i = 0; i < faceElements.at( 2 ).size(); i++ ) {
+
347  object->_normals.push_back(
+
348  raw_normals.at( faceElements.at( 2 ).at( i ) - 1 ) );
+
349  }
+
350  }
+
351 
+
352  // lines beginning with 'vt ' will have UV coords
+
353  else if ( line.substr( 0, 3 ) == "vt " ) {
+
354  raw_textureUVs.push_back( parseTextureUV( line ) );
+
355  }
+
356 
+
357  // lines beginning with 'vn ' will have _normals
+
358  else if ( line.substr( 0, 3 ) == "vn " ) {
+
359  raw_normals.push_back( parseNormal( line ) );
+
360  }
+
361 
+
362  else if ( line[0] == '#' ) { /* ignore comments */
+
363  }
+
364  }
+
365 
+
366  if ( object->_texUVs.size() < object->_vertices.size() )
+
367  for ( size_t i = 0; i < object->_vertices.size(); ++i ) {
+
368  object->_colors.push_back(
+
369  vec4( RAND_FLOAT, RAND_FLOAT, RAND_FLOAT, 1.0 ) );
+
370  }
+
371 
+
372  }
+
373 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_obj_loader_8hpp.html b/Doxygen/Docs/html/_obj_loader_8hpp.html new file mode 100644 index 00000000..068e9522 --- /dev/null +++ b/Doxygen/Docs/html/_obj_loader_8hpp.html @@ -0,0 +1,158 @@ + + + + + +HyperGrafx: ObjLoader.hpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
ObjLoader.hpp File Reference
+
+
+ +

Headers for functions for reading in geometry from .OBJ files. +More...

+
#include <vector>
+#include <string>
+#include <exception>
+#include <sstream>
+#include "vec.hpp"
+#include "Object.hpp"
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + +

+Functions

const vector< string > ObjLoader::split (const string &str, const char delim)
 Split a string by an arbitrary delimiter.
Object * ObjLoader::loadObj (Scene &scene, const char *filename, const char *defaultObjName)
 loadObj loads all available objects from a .obj file into the provided scene.
vec4 ObjLoader::parseVertex (string line)
 Obtain a vertex from a std::string line.
vec2 ObjLoader::parseTextureUV (string line)
 Obtain a 2D TexUV coordinate from a std::string line.
vec3 ObjLoader::parseNormal (string line)
 Obtain a 3D normal vector from a std::string line.
vector< vector< int > > ObjLoader::parseFaceElements (string line)
 parses face elements into a vector of 3 vectors of 3 ints from an .obj line
void ObjLoader::parseElementTriple (string triple, vector< int > &v_elements, vector< int > &uv_elements, vector< int > &n_elements)
 Helper function that splits an obj element listing (x/y/z) into their proper components (vertices, UVs, _normals.)
void ObjLoader::loadModelFromFile (Object *object, const char *filename)
 Legacy function until I make everything suck less: Loads a single model from an OBJ and stores it into a single Object instance.
+

Detailed Description

+

Headers for functions for reading in geometry from .OBJ files.

+
Date
2013-03-14
+
Authors
Greg Giannone, Nick VerVoort, John Huston
+ +

Definition in file ObjLoader.hpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_obj_loader_8hpp.js b/Doxygen/Docs/html/_obj_loader_8hpp.js new file mode 100644 index 00000000..14c27f13 --- /dev/null +++ b/Doxygen/Docs/html/_obj_loader_8hpp.js @@ -0,0 +1,11 @@ +var _obj_loader_8hpp = +[ + [ "loadModelFromFile", "_obj_loader_8hpp.html#a8f7b9385e9df4b840509b33d1054bc9e", null ], + [ "loadObj", "_obj_loader_8hpp.html#af5cf29ebddab573e1abf3798e4cdb031", null ], + [ "parseElementTriple", "_obj_loader_8hpp.html#aeaebb6a6f99caea6d583b022830691de", null ], + [ "parseFaceElements", "_obj_loader_8hpp.html#ad99d9bd311b4c7d846d08c21944bda40", null ], + [ "parseNormal", "_obj_loader_8hpp.html#aae18dfc115b28f55832ce80fc95f8d96", null ], + [ "parseTextureUV", "_obj_loader_8hpp.html#a943cf8094179b0b8d0ff49157e17b377", null ], + [ "parseVertex", "_obj_loader_8hpp.html#a4cb0dfcb29f0477e362e8cd71dfd7e66", null ], + [ "split", "_obj_loader_8hpp.html#ac0b05bceb9e38231baf226daa7d741de", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/_obj_loader_8hpp_source.html b/Doxygen/Docs/html/_obj_loader_8hpp_source.html new file mode 100644 index 00000000..05640d00 --- /dev/null +++ b/Doxygen/Docs/html/_obj_loader_8hpp_source.html @@ -0,0 +1,158 @@ + + + + + +HyperGrafx: ObjLoader.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
ObjLoader.hpp
+
+
+Go to the documentation of this file.
1 
+
8 #ifndef __OBJ_LOADER_HPP
+
9 #define __OBJ_LOADER_HPP
+
10 
+
11 #include <vector>
+
12 #include <string>
+
13 #include <exception>
+
14 #include <sstream>
+
15 #include "vec.hpp"
+
16 #include "Object.hpp"
+
17 
+
18 using std::string;
+
19 using std::vector;
+
20 using std::exception;
+
21 
+
22 namespace ObjLoader {
+
23 
+
30  const vector< string > split( const string &str, const char delim );
+
31 
+
40  Object *loadObj( Scene &scene, const char* filename, const char *objName =
+
41  NULL );
+
42 
+
49  Angel::vec4 parseVertex( string line );
+
50 
+
57  Angel::vec2 parseTextureUV( string line );
+
58 
+
65  Angel::vec3 parseNormal( string line );
+
66 
+
73  vector< vector< int > > parseFaceElements( string line );
+
74 
+
84  void parseElementTriple( string triple, vector< int > &v_elements,
+
85  vector< int > &uv_elements,
+
86  vector< int > &n_elements );
+
87 
+
97  void loadModelFromFile( Object *object, const char *filename );
+
98 
+
99 }
+
100 
+
101 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_object_8cpp.html b/Doxygen/Docs/html/_object_8cpp.html new file mode 100644 index 00000000..703f5571 --- /dev/null +++ b/Doxygen/Docs/html/_object_8cpp.html @@ -0,0 +1,142 @@ + + + + + +HyperGrafx: Object.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Object.cpp File Reference
+
+
+ +

Implementation for the Object class. +More...

+
#include <string>
+#include <vector>
+#include "Texture.hpp"
+#include <stdexcept>
+#include "platform.h"
+#include "Engine.hpp"
+#include "vec.hpp"
+#include "mat.hpp"
+#include "Object.hpp"
+#include "globals.h"
+#include "Timer.hpp"
+
+

Go to the source code of this file.

+

Detailed Description

+

Implementation for the Object class.

+
Author
John Huston
+
Authors
Nick St.Pierre, Nick VerVoort, Chris Compton
+
Date
2013-03-15
+ +

Definition in file Object.cpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_object_8cpp_source.html b/Doxygen/Docs/html/_object_8cpp_source.html new file mode 100644 index 00000000..d7e4056e --- /dev/null +++ b/Doxygen/Docs/html/_object_8cpp_source.html @@ -0,0 +1,559 @@ + + + + + +HyperGrafx: Object.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Object.cpp
+
+
+Go to the documentation of this file.
1 
+
8 #include <string>
+
9 #include <vector>
+
10 #include "Texture.hpp"
+
11 #include <stdexcept>
+
12 
+
13 #include "platform.h"
+
14 #include "Engine.hpp"
+
15 #include "vec.hpp"
+
16 #include "mat.hpp"
+
17 #include "Object.hpp"
+
18 #include "globals.h"
+
19 #include "Timer.hpp"
+
20 
+
21 using Angel::vec4;
+
22 using Angel::mat4;
+
23 
+
29 Object::Object( const std::string &name, GLuint gShader ) {
+
30 
+
31  /* The constructor is going to initialize the VAO and a series of VBOs.
+
32  The VAO is our general handle to this collection of VBOs.
+
33 
+
34  Each VBO contains some component data for how to render the vertex:
+
35  Position, Color, Direction (Normal), texture and draw Order. */
+
36 
+
37  // Create room for our GLUniform _handles
+
38  if ( DEBUG )
+
39  fprintf( stderr, "\nCreating %d handles for uniforms\n", Object::END );
+
40  _handles.resize( Object::END );
+
41 
+
42  // Associate this Object with the shader.
+
43  shader( gShader );
+
44 
+
45  // Set our _name from the constructor...
+
46  this->_name = name;
+
47 
+
48  /* Initialize our draw mode to GL_TRIANGLES until informed otherwise. */
+
49  _drawMode = GL_TRIANGLES;
+
50 
+
51  // Get Uniform _handles for the following shader variables
+
52  link( Object::IS_TEXTURED, "fIsTextured" );
+
53  link( Object::OBJECT_CTM, "OTM" );
+
54  link( Object::MORPH_PCT, "morphPercentage" );
+
55  link( Object::TEX_SAMPLER, "sampler" );
+
56 
+
57  //Default to "Not Textured"
+
58  this->_isTextured = false;
+
59 
+
60  // Linear Interpolation Demo: Morph Percentage
+
61  this->_morphPercentage = 1.0;
+
62  // Pointer to an Object to Morph to.
+
63  this->_morphTarget = NULL;
+
64 
+
65  /* Create our VAO, which is our handle to all
+
66  the rest of the following information. */glGenVertexArrays( 1, &_vao );
+
67  glBindVertexArray( _vao );
+
68  GLuint glsl_uniform;
+
69 
+
70  /* Create (Eight) VBOs: One each for Positions, Colors, Normals,
+
71  Textures, draw Order; Three for Morphing (Position,Colors,Normals.) */glGenBuffers(
+ +
73 
+
74  /* Create the Vertex _buffer and link it with the shader. */glBindBuffer(
+
75  GL_ARRAY_BUFFER, _buffer[VERTICES] );
+
76  glsl_uniform = glGetAttribLocation( gShader, "vPosition" );
+
77  glEnableVertexAttribArray( glsl_uniform );
+
78  glVertexAttribPointer( glsl_uniform, 4, GL_FLOAT, GL_FALSE, 0, 0 );
+
79 
+
80  /* Create the MORPH Vertex _buffer and link it with the shader. */glBindBuffer(
+
81  GL_ARRAY_BUFFER, _buffer[VERTICES_MORPH] );
+
82  glsl_uniform = glGetAttribLocation( gShader, "vPositionMorph" );
+
83  glEnableVertexAttribArray( glsl_uniform );
+
84  glVertexAttribPointer( glsl_uniform, 4, GL_FLOAT, GL_FALSE, 0, 0 );
+
85 
+
86  /* Create the Normal _buffer and link it with the shader. */glBindBuffer(
+
87  GL_ARRAY_BUFFER, _buffer[NORMALS] );
+
88  glsl_uniform = glGetAttribLocation( gShader, "vNormal" );
+
89  glEnableVertexAttribArray( glsl_uniform );
+
90  glVertexAttribPointer( glsl_uniform, 3, GL_FLOAT, GL_FALSE, 0, 0 );
+
91 
+
92  /* Create the Normal MORPH _buffer and link it with the shader. */glBindBuffer(
+
93  GL_ARRAY_BUFFER, _buffer[NORMALS_MORPH] );
+
94  glsl_uniform = glGetAttribLocation( gShader, "vNormalMorph" );
+
95  glEnableVertexAttribArray( glsl_uniform );
+
96  glVertexAttribPointer( glsl_uniform, 3, GL_FLOAT, GL_FALSE, 0, 0 );
+
97 
+
98  /* Create the Color _buffer and link it with the shader. */glBindBuffer(
+
99  GL_ARRAY_BUFFER, _buffer[COLORS] );
+
100  glEnable( GL_BLEND );
+
101  glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
+
102  glsl_uniform = glGetAttribLocation( gShader, "vColor" );
+
103  glEnableVertexAttribArray( glsl_uniform );
+
104  glVertexAttribPointer( glsl_uniform, 4, GL_FLOAT, GL_FALSE, 0, 0 );
+
105 
+
106  /* Create the Color Morph _buffer and link it with the shader. */glBindBuffer(
+
107  GL_ARRAY_BUFFER, _buffer[COLORS_MORPH] );
+
108  glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
+
109  glsl_uniform = glGetAttribLocation( gShader, "vColorMorph" );
+
110  glEnableVertexAttribArray( glsl_uniform );
+
111  glVertexAttribPointer( glsl_uniform, 4, GL_FLOAT, GL_FALSE, 0, 0 );
+
112 
+
113  /* Create the texture Coordinate _buffer and link it with the shader. */glBindBuffer(
+
114  GL_ARRAY_BUFFER, _buffer[TEXCOORDS] );
+
115  glsl_uniform = glGetAttribLocation( gShader, "vTex" );
+
116  glEnableVertexAttribArray( glsl_uniform );
+
117  glVertexAttribPointer( glsl_uniform, 2, GL_FLOAT, GL_FALSE, 0, 0 );
+
118 
+
119  if ( DEBUG )
+
120  fprintf( stderr, "buffhandles: %u %u %u %u %u %u %u %u\n",
+
121  _buffer[VERTICES], _buffer[NORMALS], _buffer[COLORS],
+
122  _buffer[TEXCOORDS], _buffer[INDICES], _buffer[VERTICES_MORPH],
+
123  _buffer[NORMALS_MORPH], _buffer[COLORS_MORPH] );
+
124 
+
125  /* Create the Drawing Order _buffer, but we don't need to link it
+
126  with any uniform,
+
127  because we won't be accessing this data directly. (I.e, the numbers here
+
128  are not important once we are in the Vertex shader. */glBindBuffer(
+
129  GL_ELEMENT_ARRAY_BUFFER, _buffer[INDICES] );
+
130 
+
131  /* Unset the VAO context. */
+
132  glBindVertexArray( 0 );
+
133 }
+
134 
+ +
139 
+ +
141 
+
142 }
+
143 
+
147 void Object::draw( void ) {
+
148 
+
149  glBindVertexArray( _vao );
+
150 
+
151  // Check to see if the correct shader program is engaged.
+
152  GLint currShader;
+
153  glGetIntegerv( GL_CURRENT_PROGRAM, &currShader );
+
154  if ( (GLuint) currShader != shader() ) {
+
155 
+
156  Camera *activeCamera = Engine::instance()->cams()->active();
+
157 
+
158  //if (DEBUG) std::cerr << "Switching shading context.\n";
+
159 
+
160  // Set OpenGL to use this object's shader.
+
161  glUseProgram( shader() );
+
162 
+
163  // Set the Active Camera's shader to the Object's shader.
+
164  activeCamera->shader( shader() );
+
165 
+
166  // send the Camera's info to the new shader.
+
167  activeCamera->view();
+
168  }
+
169 
+ + + + +
174 
+
175  // this->morphPercentage() == -1.0 ? ; : send( Object::MORPH_PCT );
+
176 
+
177  /* Are we using a draw order? */
+
178  if ( _indices.size() > 1 ) glDrawElements( _drawMode, _indices.size(),
+
179  GL_UNSIGNED_INT, 0 );
+
180  else glDrawArrays( _drawMode, 0, _vertices.size() );
+
181 
+
182  glBindVertexArray( 0 );
+
183 
+
184  // draw all of our Children.
+
185  // (With clothes on, pervert.)
+
186  Scene::draw();
+
187 
+
188 }
+
189 
+
194 void Object::buffer( void ) {
+
195 
+
196  glBindVertexArray( _vao );
+
197 
+
198  glBindBuffer( GL_ARRAY_BUFFER, _buffer[VERTICES] );
+
199  glBufferData( GL_ARRAY_BUFFER, sizeof(Angel::vec4) * _vertices.size(),
+
200  &(_vertices[0]), GL_STATIC_DRAW );
+
201 
+
202  glBindBuffer( GL_ARRAY_BUFFER, _buffer[NORMALS] );
+
203  glBufferData( GL_ARRAY_BUFFER, sizeof(Angel::vec3) * _normals.size(),
+
204  &(_normals[0]), GL_STATIC_DRAW );
+
205 
+
206  glBindBuffer( GL_ARRAY_BUFFER, _buffer[COLORS] );
+
207  glBufferData( GL_ARRAY_BUFFER, sizeof(Angel::vec4) * _colors.size(),
+
208  &(_colors[0]), GL_STATIC_DRAW );
+
209 
+
210  /* Without the following workaround code,
+
211  Mac OSX will segfault attempting to access
+
212  the texcoordinate buffers on nontextured objects. */
+
213  if ( _texUVs.size() == 0 && _isTextured == false ) {
+
214  _texUVs.push_back( Angel::vec2( -1, -1 ) );
+
215  } else if ( _texUVs.size() > 1 ) {
+
216  /* Yes, this workaround prevents us from having
+
217  textured objects with only one point.
+
218  Oops. */
+
219  _isTextured = true;
+
220  }
+
221 
+
222  glBindBuffer( GL_ARRAY_BUFFER, _buffer[TEXCOORDS] );
+
223  glBufferData( GL_ARRAY_BUFFER, sizeof(Angel::vec2) * _texUVs.size(),
+
224  (_texUVs.size() ? &(_texUVs[0]) : NULL), GL_STATIC_DRAW );
+
225 
+
226  glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, _buffer[INDICES] );
+
227  glBufferData( GL_ELEMENT_ARRAY_BUFFER, sizeof(unsigned int) * _indices.size(),
+
228  &(_indices[0]), GL_STATIC_DRAW );
+
229 
+
230  glBindVertexArray( 0 );
+
231 
+
232 }
+
233 
+ +
238 
+
239  glBindVertexArray( _vao );
+
240 
+
241  glBindBuffer( GL_ARRAY_BUFFER, _buffer[VERTICES_MORPH] );
+
242  glBufferData( GL_ARRAY_BUFFER,
+
243  sizeof(Angel::vec4) * morphTarget()->_vertices.size(),
+
244  &(morphTarget()->_vertices[0]), GL_STATIC_DRAW );
+
245 
+
246  glBindBuffer( GL_ARRAY_BUFFER, _buffer[NORMALS_MORPH] );
+
247  glBufferData( GL_ARRAY_BUFFER,
+
248  sizeof(Angel::vec3) * morphTarget()->_normals.size(),
+
249  &(morphTarget()->_normals[0]), GL_STATIC_DRAW );
+
250 
+
251  glBindBuffer( GL_ARRAY_BUFFER, _buffer[COLORS_MORPH] );
+
252  glBufferData( GL_ARRAY_BUFFER,
+
253  sizeof(Angel::vec4) * morphTarget()->_colors.size(),
+
254  &(morphTarget()->_colors[0]), GL_STATIC_DRAW );
+
255 
+
256  // #MORPH
+
257  // TODO: MORPH TEXTURES AND INDICIES
+
258 
+
259  glBindVertexArray( 0 );
+
260 
+
261 }
+
262 
+
269 void Object::drawMode( GLenum new_mode ) {
+
270  _drawMode = new_mode;
+
271 }
+
272 
+
279 void Object::texture( const char** filename ) {
+
280 
+
281  tick.tock();
+
282  glBindVertexArray( _vao );
+
283 
+
284  Texture **textures = (Texture **) malloc( sizeof(Texture*) * 5 );
+
285  textures[0] = new Texture( GL_TEXTURE_2D );
+
286  textures[1] = new Texture( GL_TEXTURE_2D );
+
287  textures[2] = new Texture( GL_TEXTURE_2D );
+
288  textures[3] = new Texture( GL_TEXTURE_2D );
+
289  textures[4] = new Texture( GL_TEXTURE_2D );
+
290 
+
291  textures[0]->load( filename[0] );
+
292  textures[1]->load( filename[1] );
+
293  textures[2]->load( filename[2] );
+
294  textures[3]->load( filename[3] );
+
295  textures[4]->load( filename[4] );
+
296  tick.tock();
+
297  fprintf( stderr, "Texture loads: %lu\n", tick.delta() );
+
298 
+
299  textures[0]->buffer();
+
300  textures[1]->buffer();
+
301  textures[2]->buffer();
+
302  textures[3]->buffer();
+
303  textures[4]->buffer();
+
304  tick.tock();
+
305  fprintf( stderr, "Texture buffering: %lu\n", tick.delta() );
+
306 
+
307  textures[0]->bind( GL_TEXTURE0 );
+
308  textures[1]->bind( GL_TEXTURE1 );
+
309  textures[2]->bind( GL_TEXTURE2 );
+
310  textures[3]->bind( GL_TEXTURE3 );
+
311  textures[4]->bind( GL_TEXTURE4 );
+
312 
+
313  GLuint gSampler0 = glGetUniformLocation( shader(), "gSampler0" );
+
314  glUniform1i( gSampler0, 0 );
+
315  GLuint gSampler1 = glGetUniformLocation( shader(), "gSampler1" );
+
316  glUniform1i( gSampler1, 1 );
+
317  GLuint gSampler2 = glGetUniformLocation( shader(), "gSampler2" );
+
318  glUniform1i( gSampler2, 2 );
+
319  GLuint gSampler3 = glGetUniformLocation( shader(), "gSampler3" );
+
320  glUniform1i( gSampler3, 3 );
+
321  GLuint gSampler4 = glGetUniformLocation( shader(), "gSampler4" );
+
322  glUniform1i( gSampler4, 4 );
+
323  tick.tock();
+
324  fprintf( stderr, "Texture binding and sending sampler uniforms: %lu\n", tick.delta() );
+
325 
+
326  glBindVertexArray( 0 );
+
327 }
+
328 
+
333 const std::string &Object::name( void ) const {
+
334 
+
335  return _name;
+
336 
+
337 }
+
338 
+
345 void Object::link( UniformEnum which, const std::string &name ) {
+
346 
+
347  if ( which >= _handles.size() ) {
+
348  fprintf(
+
349  stderr,
+
350  "WARNING: Ignoring request to link a uniform (#%u) beyond our handles array [%lu].\n",
+
351  which, _handles.size() );
+
352  return;
+
353  }
+
354 
+
355  // Save the link between the Uniform and the Variable _name.
+
356  _uniformMap[which] = name;
+
357 
+
358  if ( DEBUG )
+
359  fprintf( stderr, "Linking enum[%u] with %s for object %s\n", which,
+
360  name.c_str(), this->_name.c_str() );
+
361 
+
362  _handles[which] = glGetUniformLocation( shader(), name.c_str() );
+
363  if ( DEBUG )
+
364  fprintf( stderr, "Linking handles[%d] to %s; got %d.\n", which,
+
365  name.c_str(), _handles[which] );
+
366 
+
367 }
+
368 
+ +
374  switch ( which ) {
+
375 
+
376  case Object::IS_TEXTURED:
+
377  glUniform1i( _handles[Object::IS_TEXTURED], (_isTextured) ? 1 : 0 );
+
378  break;
+
379 
+
380  case Object::OBJECT_CTM:
+
381  glUniformMatrix4fv( _handles[Object::OBJECT_CTM], 1, GL_TRUE,
+
382  this->_trans.otm() );
+
383  break;
+
384 
+
385  case Object::MORPH_PCT:
+
386  glUniform1f( _handles[Object::MORPH_PCT], this->morphPercentage() );
+
387 
+
388  break;
+
389 
+
390  case Object::TEX_SAMPLER:
+
391  glUniform1i( _handles[Object::TEX_SAMPLER], _textureID );
+
392  break;
+
393 
+
394  default:
+
395  throw std::invalid_argument( "Unknown Uniform Handle Enumeration." );
+
396  }
+
397 }
+
398 
+
406 GLuint Object::shader( void ) {
+
407 
+
408  return Scene::shader();
+
409 
+
410 }
+
411 
+
422 void Object::shader( GLuint newShader ) {
+
423 
+
424  // Cache the shader handle for later.
+
425  Scene::shader( newShader );
+
426 
+
427  // We have to use the program to query the glUniform locations.
+
428  glUseProgram( newShader );
+
429 
+
430  // Re-link our Uniforms to this shader.
+
431  UniformMap::iterator it;
+
432  for ( it = _uniformMap.begin(); it != _uniformMap.end(); ++it ) {
+
433  link( it->first, it->second );
+
434  }
+
435 
+
436 }
+
437 
+
443 void Object::animation( void (*anim_func)( TransCache &arg ) ) {
+
444  anim_func( this->_trans );
+ +
446 }
+
447 
+
452 void Object::propagate( void ) {
+
453 
+
454  //fprintf( stderr, "\n" );
+
455  //fprintf( stderr, "propagate called on %s\n", _name.c_str() );
+
456 
+
457  std::list< Object* >::iterator it;
+
458 
+
459  //std::cerr << "Calling CALCCTM:\n";
+
460  //Update my Object's CTM...
+
461  this->_trans.calcCTM();
+
462 
+
463  //send my otm as the ptm to all of my children.
+
464  for ( it = _list.begin(); it != _list.end(); ++it ) {
+
465  (*it)->_trans.ptm( this->_trans.otm() );
+
466  //Tell that child to update his CTM and propagate.
+
467  (*it)->propagate();
+
468  }
+
469 
+
470  //std::cerr << "{" << _name << "::otm:" << this->_trans.otm() << "}\n";
+
471 
+
472 }
+
473 
+
478 vec4 Object::position( void ) const {
+
479 
+
480  mat4 theOTM = this->_trans.otm();
+
481 
+
482  return vec4( theOTM[0][3], theOTM[1][3], theOTM[2][3], 1.0 );
+
483 }
+
484 
+
489 Object* Object::morphTarget( void ) const {
+
490 
+
491  return _morphTarget;
+
492 
+
493 }
+
494 
+
503 Object* Object::genMorphTarget( GLuint shader ) {
+
504 
+
505  Object *obj = new Object( this->_name + "_morph", shader );
+
506  _morphTarget = obj;
+
507  return obj;
+
508 
+
509 }
+
510 
+
515 float Object::morphPercentage( void ) const {
+
516 
+
517  return _morphPercentage;
+
518 }
+
519 
+
524 void Object::morphPercentage( const float newPercentage ) {
+
525  _morphPercentage = newPercentage;
+
526 }
+
527 
+ +
532 
+
533  if ( _morphTarget != NULL ) {
+
534  delete _morphTarget;
+
535  _morphTarget = NULL;
+
536  }
+
537 
+
538 }
+
539 
+ +
545  return _vertices.size();
+
546 }
+
547 
+
+
+ + + + diff --git a/Doxygen/Docs/html/_object_8hpp.html b/Doxygen/Docs/html/_object_8hpp.html new file mode 100644 index 00000000..7307af4b --- /dev/null +++ b/Doxygen/Docs/html/_object_8hpp.html @@ -0,0 +1,146 @@ + + + + + +HyperGrafx: Object.hpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Object.hpp File Reference
+
+
+ +

Header for the Object class. +More...

+
#include <vector>
+#include <string>
+#include "platform.h"
+#include "vec.hpp"
+#include "mat.hpp"
+#include "Scene.hpp"
+#include "TransCache.hpp"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  Object
 Object Class: Renderable Object Implementation. More...
+

Detailed Description

+

Header for the Object class.

+
Author
John Huston
+
Authors
Nick St.Pierre, Nick VerVoort, Chris Compton
+
Date
2013-03-15
+ +

Definition in file Object.hpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_object_8hpp.js b/Doxygen/Docs/html/_object_8hpp.js new file mode 100644 index 00000000..af61a513 --- /dev/null +++ b/Doxygen/Docs/html/_object_8hpp.js @@ -0,0 +1,6 @@ +var _object_8hpp = +[ + [ "Object", "class_object.html", "class_object" ], + [ "color4", "_object_8hpp.html#a5c48af6a06eb70709fe4ce950c3015e3", null ], + [ "point4", "_object_8hpp.html#acd96474ea1ee15dc164c05371abfd25b", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/_object_8hpp_source.html b/Doxygen/Docs/html/_object_8hpp_source.html new file mode 100644 index 00000000..18444778 --- /dev/null +++ b/Doxygen/Docs/html/_object_8hpp_source.html @@ -0,0 +1,252 @@ + + + + + +HyperGrafx: Object.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Object.hpp
+
+
+Go to the documentation of this file.
1 
+
9 #ifndef __OBJECT_HPP
+
10 #define __OBJECT_HPP
+
11 
+
12 #include <vector>
+
13 #include <string>
+
14 #include "platform.h"
+
15 #include "vec.hpp"
+
16 #include "mat.hpp"
+
17 #include "Scene.hpp"
+
18 #include "TransCache.hpp"
+
19 
+
20 using Angel::vec4;
+
21 
+
36 class Object : public Scene {
+
37 
+
44  enum BufferType {
+ + + + + + + + + +
54  };
+
55 
+
56 public:
+
57 
+
62  typedef const unsigned int UniformEnum;
+
63 
+
70  typedef std::map< Object::UniformEnum, std::string > UniformMap;
+
71 
+
79  typedef enum Uniforms {
+ + + + + +
85  END
+
86  } Uniform;
+
87 
+
93  Object( const std::string &name, GLuint gShader );
+
94 
+
98  virtual ~Object( void );
+
99 
+
103  void draw( void );
+
104 
+
109  void buffer( void );
+
110 
+
114  void bufferMorphOnly( void );
+
115 
+
122  void drawMode( GLenum new_mode );
+
123 
+
130  void texture( const char** filename );
+
131 
+
136  const std::string &name( void ) const;
+
137 
+
138  // OpenGL Methods ===========================================================
+
139 
+
146  virtual void link( UniformEnum which, const std::string &name );
+
147 
+
152  virtual void send( UniformEnum which );
+
153 
+
161  virtual GLuint shader( void );
+
162 
+
173  virtual void shader( GLuint newShader );
+
174 
+
175  // animation and Related ====================================================
+
176 
+
182  void animation( void (*anim_func)( TransCache &arg ) );
+
183 
+
188  void propagate( void );
+
189 
+
190  // Getters ==================================================================
+
191 
+
196  vec4 position() const;
+
197 
+
198  // Morph Methods ============================================================
+
199 
+
204  Object* morphTarget() const;
+
205 
+
214  Object* genMorphTarget( GLuint shader );
+
215 
+
220  float morphPercentage() const;
+
221 
+
226  void morphPercentage( const float newPercentage );
+
227 
+
231  void destroyMorphTarget();
+
232 
+
237  int numberOfPoints();
+
238 
+
244  void textureID( GLint newTextureID ) {
+
245  _textureID = newTextureID;
+
246  }
+
247 
+
248  // FIXME: Should these members be protected?
+
250  std::vector< Angel::vec4 > _vertices;
+
252  std::vector< Angel::vec3 > _normals;
+
254  std::vector< unsigned int > _indices;
+
256  std::vector< Angel::vec4 > _colors;
+
258  std::vector< Angel::vec2 > _texUVs;
+
259 
+
260  // FIXME: Should the transformational state be protected?
+ +
266 
+
267 protected:
+
269  std::string _name;
+
270 
+
272  GLuint _vao;
+
273 
+ +
276 
+
278  GLenum _drawMode;
+
279 
+ +
282 
+
283  // Morphing/Tweening Things
+
284 
+ +
290 
+ +
295 
+
300  std::map< Object::UniformEnum, std::string > _uniformMap;
+
301 
+
307  std::vector< GLint > _handles;
+
308 
+
312  GLint _textureID;
+
313 
+
314 };
+
315 
+
316 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_open_g_l_8h.html b/Doxygen/Docs/html/_open_g_l_8h.html new file mode 100644 index 00000000..d4d86da3 --- /dev/null +++ b/Doxygen/Docs/html/_open_g_l_8h.html @@ -0,0 +1,134 @@ + + + + + +HyperGrafx: OpenGL.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
OpenGL.h File Reference
+
+
+ +

Core OpenGL includes needed for basic functionality. +More...

+
#include <GL/glew.h>
+#include <GL/freeglut.h>
+#include <GL/freeglut_ext.h>
+
+

Go to the source code of this file.

+

Detailed Description

+

Core OpenGL includes needed for basic functionality.

+
Date
2013-03-15
+
Author
John Huston
+

Includes platform-dependent macros that need to be supported by the Makefile in order to function correctly on both Linux and OSX.

+ +

Definition in file OpenGL.h.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_open_g_l_8h_source.html b/Doxygen/Docs/html/_open_g_l_8h_source.html new file mode 100644 index 00000000..2ae4a16d --- /dev/null +++ b/Doxygen/Docs/html/_open_g_l_8h_source.html @@ -0,0 +1,135 @@ + + + + + +HyperGrafx: OpenGL.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
OpenGL.h
+
+
+Go to the documentation of this file.
1 
+
11 #ifndef __OPENGL_H
+
12 #define __OPENGL_H
+
13 
+
14 #ifdef __APPLE__ // include Mac OS X verions of headers
+
15 # include <Carbon/Carbon.h>
+
16 # include <OpenGL/OpenGL.h>
+
17 # include <GLUT/glut.h>
+
18 //# include <CoreGraphics/CGGeometry.h>
+
19 //# include <CoreGraphics/CGRemoteOperation.h>
+
20 #else // non-Mac OS X operating systems
+
21 # include <GL/glew.h>
+
22 # include <GL/freeglut.h>
+
23 # include <GL/freeglut_ext.h>
+
24 #endif // __APPLE__
+
25 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_particle_8cpp.html b/Doxygen/Docs/html/_particle_8cpp.html new file mode 100644 index 00000000..90d6b3e6 --- /dev/null +++ b/Doxygen/Docs/html/_particle_8cpp.html @@ -0,0 +1,142 @@ + + + + + +HyperGrafx: Particle.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Particle.cpp File Reference
+
+
+ +

FIXME: Needs documentation from NVV/CC. +More...

+
#include <string>
+#include <stdexcept>
+#include <vector>
+#include "globals.h"
+#include "mat.hpp"
+#include "model.hpp"
+#include "Object.hpp"
+#include "Particle.hpp"
+#include "platform.h"
+#include "Timer.hpp"
+#include "vec.hpp"
+
+

Go to the source code of this file.

+

Detailed Description

+

FIXME: Needs documentation from NVV/CC.

+
Author
FIXME
+
Authors
FIXME
+
Date
2013-03-15
+ +

Definition in file Particle.cpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_particle_8cpp_source.html b/Doxygen/Docs/html/_particle_8cpp_source.html new file mode 100644 index 00000000..1ca98d61 --- /dev/null +++ b/Doxygen/Docs/html/_particle_8cpp_source.html @@ -0,0 +1,183 @@ + + + + + +HyperGrafx: Particle.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Particle.cpp
+
+
+Go to the documentation of this file.
1 
+
8 #include <string>
+
9 #include <stdexcept>
+
10 #include <vector>
+
11 #include "globals.h"
+
12 #include "mat.hpp"
+
13 #include "model.hpp"
+
14 #include "Object.hpp"
+
15 #include "Particle.hpp"
+
16 #include "platform.h"
+
17 #include "Timer.hpp"
+
18 #include "vec.hpp"
+
19 
+
20 using Angel::vec4;
+
21 using Angel::mat4;
+
22 
+
23 // Constructor(s)
+
24 Particle::Particle( vec4 position, float scale, float lifeSpan ) :
+
25  mPos( position ), mScale( scale ), lifespan( lifeSpan ) {
+
26 
+
27 }
+
28 
+
29 // Destructor(s)
+
30 Particle::~Particle() {
+
31 
+
32 }
+
33 
+
34 // Setters (Will we need getters? Probably not)
+
35 
+
36 void Particle::changeVel( vec3 newVel ) {
+
37  mVel += newVel;
+
38 }
+
39 
+
40 float Particle::getLifespan( void ) {
+
41  return lifespan;
+
42 }
+
43 
+
44 void Particle::setAlpha( float newAlpha ) {
+
45  color.w = newAlpha;
+
46 }
+
47 
+
48 void Particle::setColor( vec4 newColor ) {
+
49  color = newColor;
+
50 }
+
51 
+
52 void Particle::setLifespan( float newLifespan ) {
+
53  lifespan = newLifespan;
+
54 }
+
55 
+
56 void Particle::setPos( vec4 newPos ) {
+
57  mPos = newPos;
+
58 }
+
59 
+
60 void Particle::setScale( vec3 newScale ) {
+
61  mScale = newScale;
+
62 }
+
63 
+
64 void Particle::setVel( vec3 newVel ) {
+
65  mVel = newVel;
+
66 }
+
67 
+
68 void Particle::setTexFile( string newFilename ) {
+
69  texFilename = newFilename;
+
70 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_particle_8hpp.html b/Doxygen/Docs/html/_particle_8hpp.html new file mode 100644 index 00000000..39b02283 --- /dev/null +++ b/Doxygen/Docs/html/_particle_8hpp.html @@ -0,0 +1,143 @@ + + + + + +HyperGrafx: Particle.hpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Particle.hpp File Reference
+
+
+ +

FIXME: Needs documentation from NVV/CC. +More...

+
#include <string>
+#include "mat.hpp"
+#include "vec.hpp"
+#include "Object.hpp"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  Particle
 TODO: You know you've been bad. More...
+

Detailed Description

+

FIXME: Needs documentation from NVV/CC.

+
Author
FIXME
+
Authors
FIXME
+
Date
2013-03-15
+ +

Definition in file Particle.hpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/_particle_8hpp_source.html b/Doxygen/Docs/html/_particle_8hpp_source.html new file mode 100644 index 00000000..098d3cc2 --- /dev/null +++ b/Doxygen/Docs/html/_particle_8hpp_source.html @@ -0,0 +1,167 @@ + + + + + +HyperGrafx: Particle.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Particle.hpp
+
+
+Go to the documentation of this file.
1 
+
9 #ifndef __PARTICLE_H
+
10 #define __PARTICLE_H
+
11 
+
12 #include <string>
+
13 #include "mat.hpp"
+
14 #include "vec.hpp"
+
15 #include "Object.hpp"
+
16 
+
17 using Angel::vec2;
+
18 using Angel::vec3;
+
19 using Angel::vec4;
+
20 using Angel::mat4;
+
21 using std::string;
+
22 
+
31 class Particle {
+
32 
+
33 public:
+
34 
+
35  Particle( vec4 position, float scale, float lifeSpan );
+
36  ~Particle( void );
+
37 
+
38  void changeVel( vec3 newVel );
+
39 
+
40  float getLifespan( void );
+
41 
+
42  void setAlpha( float newAlpha ); // changes the alpha level of color
+
43  void setColor( vec4 newColor );
+
44  void setLifespan( float newLifespan );
+
45  void setPos( vec4 newPos );
+
46  void setScale( vec3 newScale );
+
47  void setSpin( float newSpin );
+
48  void setVel( vec3 newVel );
+
49  void setTexFile( string newFilename );
+
50 
+
51 private:
+
52  vec4 mPos;
+
53  vec3 mScale;
+
54  vec3 mVel;
+
55  vec4 color;
+
56  float lifespan;
+
57  // float spin;
+
58 
+
59  string texFilename;
+
60 
+
61 };
+
62 
+
63 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_scene_8cpp_source.html b/Doxygen/Docs/html/_scene_8cpp_source.html new file mode 100644 index 00000000..e2d70ed7 --- /dev/null +++ b/Doxygen/Docs/html/_scene_8cpp_source.html @@ -0,0 +1,265 @@ + + + + + +HyperGrafx: Scene.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Scene.cpp
+
+
+Go to the documentation of this file.
1 
+
9 #include <string>
+
10 #include <map>
+
11 #include <list>
+
12 #include <stdexcept>
+
13 
+
14 #include "Scene.hpp"
+
15 #include "Object.hpp"
+
16 
+
17 typedef std::pair< std::string, Object * > mapping;
+
18 
+ +
23  _currentObj = _list.end();
+
24  _gShader = 0;
+
25 }
+
26 
+ +
35 
+
36  /* Traverse the list and free all Objects. */
+
37  std::list< Object* >::reverse_iterator it;
+
38  for ( it = _list.rbegin(); it != _list.rend(); ++it )
+
39  delete *it;
+
40 
+
41 }
+
42 
+
52 void Scene::shader( GLuint gShader ) {
+
53  this->_gShader = gShader;
+
54 }
+
55 
+
63 GLuint Scene::shader( void ) {
+
64  return _gShader;
+
65 }
+
66 
+
77 Object *Scene::addObject( const std::string &objName, GLuint shader ) {
+
78 
+
79  // Note that 'shader' defaults to 0.
+
80  if ( (!shader) && (!_gShader) )
+
81  throw std::invalid_argument(
+
82  "A call to AddObject() was made without "
+
83  "specifying either the object-specific shader,\n"
+
84  "\tor informing the parent Scene of a default shader to use." );
+
85 
+
86  Object *obj = new Object( objName, ((shader) ? shader : _gShader) );
+
87 
+
88  insertObject( obj );
+
89 
+
90  return obj;
+
91 
+
92 }
+
93 
+
99 void Scene::delObject( const std::string &objName ) {
+
100  Object *obj = _map[objName];
+
101  deleteObject( obj );
+
102 }
+
103 
+
107 void Scene::delObject( void ) {
+
108  deleteObject( *(_list.begin()) );
+
109 }
+
110 
+
114 void Scene::popObject( void ) {
+
115  deleteObject( *(--_list.end()) );
+
116 }
+
117 
+ +
119  _list.push_back( obj );
+
120  _map.insert( mapping( obj->name(), obj ) );
+
121 }
+
122 
+ +
130 
+
131  if ( obj == active() ) prev();
+
132 
+
133  _list.remove( obj );
+
134  _map.erase( obj->name() );
+
135  delete obj;
+
136 
+
137 }
+
138 
+
139 Object *Scene::next( void ) {
+
140 
+
141  // If the list is empty, we can't cycle.
+
142  if ( _list.size() == 0 )
+
143  throw std::logic_error( "Next() called, but there are no Objects"
+
144  " in this list." );
+
145 
+
146  // Move to the next one. Cycle back if needed.
+
147  if ( ++_currentObj == _list.end() ) _currentObj = _list.begin();
+
148 
+
149  return *_currentObj;
+
150 
+
151 }
+
152 
+
153 Object *Scene::prev( void ) {
+
154 
+
155  if ( _list.size() == 0 )
+
156  throw std::logic_error( "Prev() called, but there are no objects"
+
157  " in this list." );
+
158 
+
159  if ( _currentObj == _list.begin() ) _currentObj = --_list.end();
+
160  else --_currentObj;
+
161 
+
162  return *_currentObj;
+
163 
+
164 }
+
165 
+
166 Object *Scene::active( void ) const {
+
167 
+
168  if ( _list.size() == 0 ) throw std::logic_error(
+
169  "Active() called, but the object list is empty." );
+
170  else if ( _currentObj == _list.end() ) throw std::logic_error(
+
171  "Active() called, but the active object is out-of-bounds." );
+
172  else return *_currentObj;
+
173 
+
174 }
+
175 
+
176 void Scene::draw( void ) {
+
177  std::list< Object* >::iterator it;
+
178  for ( it = _list.begin(); it != _list.end(); ++it ) {
+
179  (*it)->draw();
+
180  }
+
181 }
+
182 
+
183 Object *Scene::operator[]( std::string const &objname ) {
+
184 
+
185  std::map< std::string, Object* >::iterator ret;
+
186  ret = _map.find( objname );
+
187 
+
188  if ( ret == _map.end() ) return NULL;
+
189  //if (ret == map.end()) throw std::out_of_range("Requested scene object \"" + objname + "\" not in scene");
+
190  return ret->second;
+
191 
+
192 }
+
193 
+
194 Scene &Scene::operator=( const Scene &copy ) {
+
195 
+
196  this->_gShader = copy._gShader;
+
197  this->_map.clear();
+
198  this->_list.clear();
+
199  this->_currentObj = _list.end();
+
200  return *this;
+
201 
+
202 }
+
203 
+
204 Scene::Scene( const Scene &copy ) {
+
205  (*this) = copy;
+
206 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_scene_8hpp_source.html b/Doxygen/Docs/html/_scene_8hpp_source.html new file mode 100644 index 00000000..fc1aca2d --- /dev/null +++ b/Doxygen/Docs/html/_scene_8hpp_source.html @@ -0,0 +1,177 @@ + + + + + +HyperGrafx: Scene.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Scene.hpp
+
+
+Go to the documentation of this file.
1 
+
8 #ifndef __SCENE_HPP
+
9 #define __SCENE_HPP
+
10 
+
11 #include <string>
+
12 #include <map>
+
13 #include <list>
+
14 #include "platform.h" // for GLuint
+
20 class Object;
+
21 
+
30 class Scene {
+
31 
+
32 public:
+
36  Scene();
+
37 
+
45  virtual ~Scene();
+
46 
+
56  virtual void shader( GLuint gShader );
+
57 
+
65  GLuint shader( void );
+
66 
+
77  Object *addObject( const std::string &objName, GLuint Object_Shader = 0 );
+
78 
+
84  void delObject( const std::string &objName );
+
85 
+
89  void delObject( void );
+
90 
+
94  void popObject( void );
+
95 
+
96  Object *next( void );
+
97  Object *prev( void );
+
98  Object *active( void ) const;
+
99 
+
100  void draw( void );
+
101 
+
102  Object *operator[]( const std::string &objname );
+
103 
+
104  /* WARNING: Copies do NOT copy Children... ! */
+
105  Scene( const Scene &copy );
+
106  Scene &operator=( const Scene &copy );
+
107 
+
113  void insertObject( Object *obj );
+
114 
+
115 protected:
+
120  std::list< Object* > _list;
+
121 
+
127  std::map< std::string, Object* > _map;
+
128 
+
133  std::list< Object* >::iterator _currentObj;
+
134 
+
139  GLuint _gShader;
+
140 
+
141  // Internal use =============================================================
+
146  void deleteObject( Object *obj );
+
147 
+
148 };
+
149 
+
150 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_screen_8cpp_source.html b/Doxygen/Docs/html/_screen_8cpp_source.html new file mode 100644 index 00000000..b9980cd7 --- /dev/null +++ b/Doxygen/Docs/html/_screen_8cpp_source.html @@ -0,0 +1,166 @@ + + + + + +HyperGrafx: Screen.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Screen.cpp
+
+
+Go to the documentation of this file.
1 
+
10 #include "Screen.hpp"
+
11 #include "Cameras.hpp"
+
12 #include "vec.hpp"
+
13 using Angel::vec2;
+
14 
+
15 Screen::Screen( int x, int y ) {
+
16  this->size( x, y );
+
17 }
+
18 
+
19 Screen::Screen( const vec2 &startSize ) {
+
20  this->size( startSize );
+
21 }
+
22 
+
23 void Screen::size( int x, int y ) {
+
24  size( vec2( x, y ) );
+
25 }
+
26 
+
27 void Screen::size( const vec2 &newSize ) {
+
28  _size = newSize;
+
29  _center = newSize / 2;
+
30  _camList.resize( _size.x, _size.y );
+
31 }
+
32 
+
33 const vec2 &Screen::size( void ) {
+
34  return _size;
+
35 }
+
36 
+
37 int Screen::width( void ) {
+
38  return _size.x;
+
39 }
+
40 
+
41 int Screen::height( void ) {
+
42  return _size.y;
+
43 }
+
44 
+
45 const vec2 &Screen::center( void ) {
+
46  return _center;
+
47 }
+
48 
+
49 int Screen::midpointX( void ) {
+
50  return _center.x;
+
51 }
+
52 
+
53 int Screen::midpointY( void ) {
+
54  return _center.y;
+
55 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_screen_8hpp_source.html b/Doxygen/Docs/html/_screen_8hpp_source.html new file mode 100644 index 00000000..3bf99ecf --- /dev/null +++ b/Doxygen/Docs/html/_screen_8hpp_source.html @@ -0,0 +1,157 @@ + + + + + +HyperGrafx: Screen.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Screen.hpp
+
+
+Go to the documentation of this file.
1 
+
8 #ifndef __SCREEN_HPP
+
9 #define __SCREEN_HPP
+
10 
+
11 #include "vec.hpp"
+
12 #include "Cameras.hpp"
+
13 using Angel::vec2;
+
14 
+
15 class Screen {
+
16 
+
17 public:
+
18 
+
19  Screen( int x = 0, int y = 0 );
+
20  Screen( const vec2 &newSize );
+
21 
+
22  // Set the size
+
23  void size( int x, int y );
+
24  void size( const vec2 &newSize );
+
25 
+
26  const vec2 &size( void );
+
27  int width( void );
+
28  int height( void );
+
29 
+
30  const vec2 &center( void );
+
31  int midpointX( void );
+
32  int midpointY( void );
+
33 
+
34  // Public. Users should be able to interface with the Cameras.
+
35  Cameras _camList;
+
36 
+
37 private:
+
38 
+
39  vec2 _size;
+
40  vec2 _center;
+
41 
+
42 };
+
43 
+
44 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_spelchk_camera_8cpp_source.html b/Doxygen/Docs/html/_spelchk_camera_8cpp_source.html new file mode 100644 index 00000000..c39244ea --- /dev/null +++ b/Doxygen/Docs/html/_spelchk_camera_8cpp_source.html @@ -0,0 +1,268 @@ + + + + + +HyperGrafx: SpelchkCamera.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
SpelchkCamera.cpp
+
+
+Go to the documentation of this file.
1 
+
9 #include "SpelchkCamera.hpp"
+
10 
+
11 SpelchkCamera::SpelchkCamera( vec4 _initialTranslationVector ) {
+
12  _timeRef = 0;
+
13  _initialTranslationVector = _initialTranslationVector;
+
14  reset();
+
15 }
+
16 
+
17 SpelchkCamera::~SpelchkCamera() {
+
18 }
+
19 
+
20 void SpelchkCamera::reset() {
+
21  _projectionType = 0;
+
22  _fovy = 45;
+
23 
+
24  _left = -1.0;
+
25  _right = 1.0;
+
26  _bottom = -1.0;
+
27  _top = 1.0;
+
28  _zNear = 0.1;
+
29  _zFar = 20.0;
+
30 
+
31  _xDepth = 0.0;
+
32  _yDepth = 0.0;
+
33  _zDepth = 0.0;
+
34 
+
35  _xAngle = 0.0;
+
36  _yAngle = 0.0;
+
37  _zAngle = 0.0;
+
38 
+
39  _xHead = 0.0;
+
40  _yHead = 0.0;
+
41  _zHead = 0.0;
+
42 
+
43  _xHeadAngle = 0.0;
+
44  _yHeadAngle = 0.0;
+
45  _zHeadAngle = 0.0;
+
46 
+
47  _oldTranslationVector = _initialTranslationVector;
+
48  _translationVector = _oldTranslationVector;
+
49  calculateTranslationVector();
+
50 }
+
51 
+
52 mat4 SpelchkCamera::getProjectionMatrix() {
+
53  switch ( _projectionType ) {
+
54  case 1:
+
55  return Ortho( _left, _right, _bottom, _top, _zNear, _zFar );
+
56  case 2:
+
57  return Frustum( _left, _right, _bottom, _top, _zNear, _zFar );
+
58  default:
+
59  return Perspective( _fovy, _aspect, _zNear, _zFar );
+
60  }
+
61 }
+
62 
+
63 mat4 SpelchkCamera::getModelViewMatrix() {
+
64  _modelViewMatrix = RotateX( _xAngle ) * RotateY( _yAngle )
+
65  * RotateZ( _zAngle ) * RotateX( _xHeadAngle )
+
66  * RotateY( _yHeadAngle ) * Translate( _translationVector )
+
67  * RotateX( -_xHeadAngle ) * RotateY( -_yHeadAngle );
+
68  return _modelViewMatrix;
+
69 }
+
70 
+
71 vec4 SpelchkCamera::getTranslationVector() {
+
72  return _translationVector;
+
73 }
+
74 
+
75 void SpelchkCamera::calculateTranslationVector() {
+
76  // calculate displacement based on current angles (note rotations done in reverse order and negative to move model in opposite direction)
+
77 
+
78  vec4 calculateDisplacement = RotateZ( -_zAngle ) * RotateY( -_yAngle )
+
79  * RotateX( -_xAngle )
+
80  * vec4( _xDepth, _yDepth, -_zDepth, 0.0 );
+
81  _translationVector = (_oldTranslationVector + calculateDisplacement);
+
82 }
+
83 
+
84 void SpelchkCamera::moveCamera( float _xDepth, float _yDepth, float _zDepth ) {
+
85  _oldTranslationVector = _translationVector;
+
86 
+
87  _xDepth = _xDepth;
+
88  _yDepth = _yDepth;
+
89  _zDepth = _zDepth;
+
90 
+
91  calculateTranslationVector();
+
92 }
+
93 
+
94 void SpelchkCamera::rotateCamera( float _xAngle, float _yAngle,
+
95  float _zAngle ) {
+
96  _xAngle += _xAngle;
+
97  _yAngle += _yAngle;
+
98  _zAngle += _zAngle;
+
99 
+
100  // Keep camera from flipping over
+
101  if ( _xAngle > 90.0 ) {
+
102  _xAngle = 90.0;
+
103  } else if ( _xAngle < -90 ) {
+
104  _xAngle = -90;
+
105  }
+
106 
+
107  calculateTranslationVector();
+
108 }
+
109 
+
110 void SpelchkCamera::setScreenSize( int width, int height ) {
+
111  glViewport( 0, 0, width, height );
+
112  _screenWidth = width;
+
113  _screenHeight = height;
+
114  _aspect = GLfloat( width ) / height;
+
115 }
+
116 
+
117 void SpelchkCamera::setProjection( int _projectionType ) {
+
118  _projectionType = _projectionType;
+
119 }
+
120 
+
121 void SpelchkCamera::setLightMovementRef( GLuint ref ) {
+
122  _timeRef = ref;
+
123 
+
124 }
+
125 
+
126 void SpelchkCamera::setLightMovementTime( float elapsed ) {
+
127  if ( _timeRef != 0 )
+
128  glUniform1f( _timeRef, elapsed );
+
129 }
+
130 void SpelchkCamera::headMovement( int usernum, double x, double y, double z ) {
+
131  //mm to meters and cast to float
+
132 
+
133  calculateTranslationVector();
+
134  getModelViewMatrix();
+
135 
+
136  vec4 originCentric = _modelViewMatrix
+
137  * vec4( x / 250.0, y / 250.0, z / 250.0, 1.0 );
+
138  if ( originCentric.z != 0 ) {
+
139  float ysin = originCentric.x / originCentric.z;
+
140  float xcos = originCentric.y / originCentric.z;
+
141  if ( ysin > 1 ) ysin = 1;
+
142  else if ( ysin < -1 ) ysin = -1;
+
143  if ( xcos > 1 ) xcos = 1;
+
144  else if ( xcos < -1 ) xcos = -1;
+
145  _yHeadAngle = -atan( ysin );
+
146  _xHeadAngle = -atan( xcos );
+
147  }
+
148 
+
149  moveCamera( _xHead - (float) (x / 250.0), _yHead - (float) (y / 250.0),
+
150  _zHead + (float) (z / 250.0) );
+
151  _xHead = (float) (x / 250.0);
+
152  _yHead = (float) (y / 250.0);
+
153  _zHead = -(float) (z / 250.0);
+
154 
+
155 // printf("%d - (%6.2f, %6.2f, %6.2f) ==> (%6.2f,%6.2f,%6.2f), yaw=%f, pitch=%f\n", usernum,x,y,z,_xHead, _yHead, _zHead, _xHeadAngle, _yHeadAngle);
+
156 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_spelchk_camera_8hpp_source.html b/Doxygen/Docs/html/_spelchk_camera_8hpp_source.html new file mode 100644 index 00000000..96eda8ae --- /dev/null +++ b/Doxygen/Docs/html/_spelchk_camera_8hpp_source.html @@ -0,0 +1,188 @@ + + + + + +HyperGrafx: SpelchkCamera.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
SpelchkCamera.hpp
+
+
+Go to the documentation of this file.
1 
+
9 #ifndef CAMERA_H_
+
10 #define CAMERA_H_
+
11 
+
12 #include <cmath>
+
13 #include "mat.hpp"
+
14 #include "vec.hpp"
+
15 using namespace Angel;
+
16 
+ +
18 private:
+
19  int _projectionType;
+
20 
+
21  // Projection transformation parameters
+
22  GLfloat _fovy; // Field-of-view in Y direction angle (in degrees)
+
23  GLfloat _aspect; // Viewport aspect ratio
+
24 
+
25  GLfloat _left, _right;
+
26  GLfloat _bottom, _top;
+
27  GLfloat _zNear, _zFar;
+
28 
+
29  GLuint _timeRef;
+
30 
+
31  int _screenWidth, _screenHeight;
+
32 
+
33  GLfloat _xDepth, _yDepth, _zDepth;
+
34  GLfloat _xAngle, _yAngle, _zAngle;
+
35  GLfloat _xHead, _yHead, _zHead;
+
36  float _xHeadStart, _yHeadStart, _zHeadStart;
+
37  GLfloat _xHeadAngle, _yHeadAngle, _zHeadAngle;
+
38 
+
39  vec4 _initialTranslationVector;
+
40  vec4 _translationVector;
+
41  vec4 _oldTranslationVector;
+
42 
+
43  mat4 _modelViewMatrix;
+
44 
+
45  int _inboundHeadData;
+
46  vec4 _initialHeadPosition;
+
47 
+
48  void calculateTranslationVector();
+
49 
+
50 public:
+
51  SpelchkCamera( vec4 initialTranslationVector );
+
52  virtual ~SpelchkCamera();
+
53 
+
54  mat4 getProjectionMatrix();
+
55  mat4 getModelViewMatrix();
+
56  vec4 getTranslationVector();
+
57 
+
58  // Displaces camera from its current location
+
59  void moveCamera( float xDepth, float yDepth, float zDepth );
+
60 
+
61  // Rotate camera from its current orientation
+
62  void rotateCamera( float xAngle, float yAngle, float zAngle );
+
63 
+
64  void setScreenSize( int width, int height );
+
65  void setProjection( int projectionType );
+
66 
+
67  void reset();
+
68 
+
69  void setLightMovementRef( GLuint ref );
+
70  void setLightMovementTime( float elapsed );
+
71 
+
72  void getReadyForZero( int usernum );
+
73  void headMovement( int usernum, double x, double y, double z );
+
74 };
+
75 
+
76 #endif /* CAMERA_H_ */
+
+
+ + + + diff --git a/Doxygen/Docs/html/_timer_8cpp_source.html b/Doxygen/Docs/html/_timer_8cpp_source.html new file mode 100644 index 00000000..70a41920 --- /dev/null +++ b/Doxygen/Docs/html/_timer_8cpp_source.html @@ -0,0 +1,178 @@ + + + + + +HyperGrafx: Timer.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Timer.cpp
+
+
+Go to the documentation of this file.
1 
+
13 #include <time.h>
+
14 #include <sys/time.h>
+
15 #include "Timer.hpp"
+
16 
+
17 /* Globally provided Timer. */
+ +
19 
+
20 #define SecToNSec (1000000000)
+
21 #define SecTouSec (1000000)
+
22 #define SecToMSec (1000)
+
23 
+
24 Timer::Timer( void ) {
+
25 #ifdef _RT
+
26  clock_gettime( CLOCK_REALTIME, &_t1 );
+
27  clock_gettime( CLOCK_REALTIME, &_t2 );
+
28 #else
+
29  gettimeofday( &_t1, NULL );
+
30  gettimeofday( &_t2, NULL );
+
31 #endif
+
32 
+
33  _keyFrameRate = (DEFAULT_KEYFRAME_RATE);
+
34 
+
35 }
+
36 
+
44 unsigned long Timer::tick( void ) {
+
45  return this->tock();
+
46 }
+
47 
+
54 unsigned long Timer::tock( void ) {
+
55 #ifdef _RT
+
56  clock_gettime( CLOCK_REALTIME, &_t2 );
+
57  _delta = (_t2.tv_nsec - _t1.tv_nsec) + (SecToNSec * (_t2.tv_sec - _t1.tv_sec));
+
58  _scale = (_delta / (keyFrameRate() * 1000))
+
59 #else
+
60  gettimeofday( &_t2, NULL );
+
61  _delta = (_t2.tv_usec - _t1.tv_usec)
+
62  + (SecTouSec * (_t2.tv_sec - _t1.tv_sec));
+
63  _scale = (_delta / keyFrameRate());
+
64 #endif
+
65  _t1 = _t2;
+
66  return _delta;
+
67 }
+
68 
+
74 unsigned long Timer::delta( void ) const {
+
75  return _delta;
+
76 }
+
77 
+
87 double Timer::scale( void ) const {
+
88  return _scale;
+
89 }
+
90 
+
91 float Timer::keyFrameRate() const {
+
92  return _keyFrameRate;
+
93 }
+
94 
+
95 float Timer::keyFrameRate( float newFrameRate ) {
+
96  _keyFrameRate = newFrameRate;
+
97 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_timer_8hpp_source.html b/Doxygen/Docs/html/_timer_8hpp_source.html new file mode 100644 index 00000000..54bde7f6 --- /dev/null +++ b/Doxygen/Docs/html/_timer_8hpp_source.html @@ -0,0 +1,154 @@ + + + + + +HyperGrafx: Timer.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Timer.hpp
+
+
+Go to the documentation of this file.
1 
+
9 #ifndef __TIMER_HPP
+
10 #define __TIMER_HPP
+
11 
+
12 #include <time.h>
+
13 
+
14 class Timer {
+
15 
+
16 public:
+
17  Timer();
+
18  unsigned long tick();
+
19  unsigned long tock();
+
20  unsigned long delta() const;
+
21  float keyFrameRate() const;
+
22  float keyFrameRate( float newFrameRate );
+
23  double scale() const;
+
24 
+
25 private:
+
26 #ifdef _RT
+
27  struct timespec _t1;
+
28  struct timespec _t2;
+
29 #else
+
30  struct timeval _t1;
+
31  struct timeval _t2;
+
32 #endif
+
33  unsigned long _delta;
+
34  double _scale;
+
35  float _keyFrameRate;
+
36 };
+
37 
+
42 extern Timer tick;
+
43 
+
51 #define DEFAULT_KEYFRAME_RATE (16667.0)
+
52 
+
53 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_trans_cache_8cpp_source.html b/Doxygen/Docs/html/_trans_cache_8cpp_source.html new file mode 100644 index 00000000..e68cac74 --- /dev/null +++ b/Doxygen/Docs/html/_trans_cache_8cpp_source.html @@ -0,0 +1,159 @@ + + + + + +HyperGrafx: TransCache.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
TransCache.cpp
+
+
+Go to the documentation of this file.
1 
+
11 #include "TransCache.hpp"
+
12 #include "Transformation.hpp"
+
13 #include "mat.hpp"
+
14 
+
15 void TransCache::ptm( const Angel::mat4 &new_ptm, bool postmult ) {
+
16 
+
17  /* Update our cached ptm. */
+
18  this->_ptm = new_ptm;
+
19 
+
20  /* Update our Result Matrix. */
+
21  if ( postmult ) _otm = _ptm * _ctm;
+
22  else _otm = _ctm * _ptm;
+
23 
+
24 }
+
25 
+
26 void TransCache::calcCTM( bool postmult ) {
+
27 
+
28  if ( postmult ) {
+
29  /* Recompute our ctm */
+
30  _ctm = _displacement * _orbit * _offset * _rotation * _scale * _preRotation;
+
31  /* Recompute our Cached Result Transformation Matrix */
+
32  _otm = _ptm * _ctm;
+
33  } else {
+
34  /* Recompute our ctm */
+
35  _ctm = _preRotation * _scale * _rotation * _offset * _orbit * _displacement;
+
36  /* Recompute our Cached Result Transformation Matrix */
+
37  _otm = _ctm * _ptm;
+
38  }
+
39 }
+
40 
+
41 const Angel::mat4 &TransCache::ptm( void ) const {
+
42  return _ptm;
+
43 }
+
44 const Angel::mat4 &TransCache::ctm( void ) const {
+
45  return _ctm;
+
46 }
+
47 const Angel::mat4 &TransCache::otm( void ) const {
+
48  return _otm;
+
49 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_trans_cache_8hpp_source.html b/Doxygen/Docs/html/_trans_cache_8hpp_source.html new file mode 100644 index 00000000..288d9ceb --- /dev/null +++ b/Doxygen/Docs/html/_trans_cache_8hpp_source.html @@ -0,0 +1,155 @@ + + + + + +HyperGrafx: TransCache.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
TransCache.hpp
+
+
+Go to the documentation of this file.
1 
+
11 #include "mat.hpp"
+
12 #include "Transformation.hpp"
+
13 
+
14 class TransCache {
+
15 
+
16 public:
+
17 
+
18  void ptm( const Angel::mat4 &ptm_in, bool postmult = true );
+
19 
+
20  const Angel::mat4 &ptm( void ) const;
+
21  const Angel::mat4 &ctm( void ) const;
+
22  const Angel::mat4 &otm( void ) const;
+
23 
+
24  // Hacky: For Camera.
+
25  TransMat _preOffset;
+
26  RotMat _preRotation;
+
27 
+
28  // Component Transformations //
+
29  ScaleMat _scale; /* Scale Matrix */
+
30  RotMat _rotation; /* Rotation-in-place Matrix */
+
31  TransMat _offset; /* Radius, or _offset from origin. */
+
32  RotMat _orbit; /* Rotation about the origin */
+
33  TransMat _displacement; /* Offset of entire animation from origin. */
+
34 
+
35  /* Updates our ctm. Private Use. */
+
36  void calcCTM( bool postmult = true );
+
37 
+
38 private:
+
39 
+
40  // Cached Result Matrices
+
41  Angel::mat4 _ptm; /* Parent's Cumulative Transformation Matrix */
+
42  Angel::mat4 _ctm; /* Current Transformation Matrix */
+
43  Angel::mat4 _otm; /* Cached Result Transformation Matrix: e.g; ctm * ptm */
+
44 
+
45 };
+
+
+ + + + diff --git a/Doxygen/Docs/html/_transformation_8cpp_source.html b/Doxygen/Docs/html/_transformation_8cpp_source.html new file mode 100644 index 00000000..74f3949d --- /dev/null +++ b/Doxygen/Docs/html/_transformation_8cpp_source.html @@ -0,0 +1,240 @@ + + + + + +HyperGrafx: Transformation.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Transformation.cpp
+
+
+Go to the documentation of this file.
1 
+
10 #include "mat.hpp"
+
11 #include "Transformation.hpp"
+
12 #include "platform.h" //OpenGL types.
+
13 Transformation::~Transformation( void ) {
+
14  // Nihil. Provided for inheritance only.
+
15 }
+
16 
+
17 const Angel::mat4 &Transformation::matrix( void ) const {
+
18  return mat;
+
19 }
+
20 
+
21 Angel::mat4 Transformation::operator*( const Angel::mat4 &rhs ) const {
+
22  return mat * rhs;
+
23 }
+
24 
+
25 Angel::mat4 Transformation::operator*( const Transformation &rhs ) const {
+
26  return mat * rhs.matrix();
+
27 }
+
28 
+
29 Angel::mat4 operator*( const Angel::mat4 &lhs, const Transformation &rhs ) {
+
30  return lhs * rhs.matrix();
+
31 }
+
32 
+
33 /* ROTATION */
+
34 
+
35 const RotMat &RotMat::reset( const Angel::mat4 &NewState ) {
+
36  mat = NewState;
+
37  return (*this);
+
38 }
+
39 
+
40 const RotMat &RotMat::rotateX( GLfloat theta, bool postmult ) {
+
41  return adjust( Angel::RotateX( theta ), postmult );
+
42 }
+
43 
+
44 const RotMat &RotMat::rotateY( GLfloat theta, bool postmult ) {
+
45  return adjust( Angel::RotateY( theta ), postmult );
+
46 }
+
47 
+
48 const RotMat &RotMat::rotateZ( GLfloat theta, bool postmult ) {
+
49  return adjust( Angel::RotateZ( theta ), postmult );
+
50 }
+
51 
+
52 const RotMat &RotMat::adjust( const Angel::mat4 &adjustment, bool postmult ) {
+
53  // If we are post-multiplying, The default,
+
54  // Adjustments, which come "last", must appear first.
+
55  if ( postmult ) mat = adjustment * mat;
+
56  // Otherwise, we are pre-multiplying, and later adjustments
+
57  // really do come last.
+
58  else mat = mat * adjustment;
+
59  return (*this);
+
60 }
+
61 
+
62 /* TRANSLATION */
+
63 
+
64 const TransMat &TransMat::setX( const float x ) {
+
65  //fprintf( stderr, "setX( %f )\n", x );
+
66  mat[0][3] = x;
+
67  return (*this);
+
68 }
+
69 
+
70 const TransMat &TransMat::setY( const float y ) {
+
71  //fprintf( stderr, "setY( %f )\n", y );
+
72  mat[1][3] = y;
+
73  return (*this);
+
74 }
+
75 
+
76 const TransMat &TransMat::setZ( const float z ) {
+
77  //fprintf( stderr, "setZ( %f )\n", z );
+
78  mat[2][3] = z;
+
79  return (*this);
+
80 }
+
81 
+
82 const TransMat &TransMat::set( const float x, const float y, const float z ) {
+
83  mat[0][3] = x;
+
84  mat[1][3] = y;
+
85  mat[2][3] = z;
+
86  return (*this);
+
87 }
+
88 
+
89 const TransMat &TransMat::set( const Angel::vec3 &arg ) {
+
90  return set( arg.x, arg.y, arg.z );
+
91 }
+
92 
+
93 const TransMat &TransMat::delta( const float x, const float y, const float z ) {
+
94  mat[0][3] += x;
+
95  mat[1][3] += y;
+
96  mat[2][3] += z;
+
97  return (*this);
+
98 }
+
99 
+
100 const TransMat &TransMat::delta( const Angel::vec3 &arg ) {
+
101  return delta( arg.x, arg.y, arg.z );
+
102 }
+
103 
+
104 /* SCALE */
+
105 
+
106 const ScaleMat &ScaleMat::set( const float x, const float y, const float z ) {
+
107 
+
108  mat[0][0] = x;
+
109  mat[1][1] = y;
+
110  mat[2][2] = z;
+
111  return (*this);
+
112 
+
113 }
+
114 
+
115 const ScaleMat &ScaleMat::set( const float pct ) {
+
116  return set( pct, pct, pct );
+
117 }
+
118 
+
119 const ScaleMat &ScaleMat::adjust( const float x, const float y,
+
120  const float z ) {
+
121  mat[0][0] *= x;
+
122  mat[1][1] *= y;
+
123  mat[2][2] *= z;
+
124  return (*this);
+
125 }
+
126 
+
127 const ScaleMat &ScaleMat::adjust( const float pct ) {
+
128  return adjust( pct, pct, pct );
+
129 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_transformation_8hpp_source.html b/Doxygen/Docs/html/_transformation_8hpp_source.html new file mode 100644 index 00000000..4a4b1399 --- /dev/null +++ b/Doxygen/Docs/html/_transformation_8hpp_source.html @@ -0,0 +1,189 @@ + + + + + +HyperGrafx: Transformation.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Transformation.hpp
+
+
+Go to the documentation of this file.
1 
+
10 #ifndef __TRANSMAT_HPP
+
11 #define __TRANSMAT_HPP
+
12 
+
13 #include "mat.hpp"
+
14 #include "vec.hpp"
+
15 #include "platform.h" //OpenGL types.
+ +
17 
+
18 public:
+
19  /*
+
20  These are all default and are not currently needed.
+
21  Transformation( void );
+
22  Transformation( const Transformation &copy );
+
23  Transformation &operator=( const Transformation &assignment );
+
24  */
+
25  virtual ~Transformation( void );
+
26 
+
27  const Angel::mat4 &matrix( void ) const;
+
28  Angel::mat4 operator*( const Angel::mat4 &rhs ) const;
+
29  Angel::mat4 operator*( const Transformation &rhs ) const;
+
30 
+
31 protected:
+
32  Angel::mat4 mat;
+
33 
+
34 };
+
35 
+
36 Angel::mat4 operator*( const Angel::mat4 &lhs, const Transformation &rhs );
+
37 
+
40 class RotMat : public Transformation {
+
41 
+
42 public:
+
43 
+
44  const RotMat &reset( const Angel::mat4 &NewState );
+
45  const RotMat &rotateX( const GLfloat theta, bool postmult = true );
+
46  const RotMat &rotateY( const GLfloat theta, bool postmult = true );
+
47  const RotMat &rotateZ( const GLfloat theta, bool postmult = true );
+
48  const RotMat &adjust( const Angel::mat4 &Adjustment, bool postmult = true );
+
49 
+
50 };
+
51 
+
54 class TransMat : public Transformation {
+
55 
+
56 public:
+
57 
+
58  const TransMat &setX( const float x );
+
59  const TransMat &setY( const float y );
+
60  const TransMat &setZ( const float z );
+
61 
+
62  const TransMat &set( const float x, const float y, const float z );
+
63  const TransMat &set( const Angel::vec3 &arg );
+
64 
+
65  const TransMat &delta( const float x, const float y, const float z );
+
66  const TransMat &delta( const Angel::vec3 &arg );
+
67 
+
68 };
+
69 
+
70 class ScaleMat : public Transformation {
+
71 
+
72 public:
+
73 
+
74  const ScaleMat &set( const float x, const float y, const float z );
+
75  const ScaleMat &set( const float pct );
+
76 
+
77  const ScaleMat &adjust( const float x, const float y, const float z );
+
78  const ScaleMat &adjust( const float pct );
+
79 
+
80 };
+
81 
+
82 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/_wii_util_8cpp_source.html b/Doxygen/Docs/html/_wii_util_8cpp_source.html new file mode 100644 index 00000000..bc6ccada --- /dev/null +++ b/Doxygen/Docs/html/_wii_util_8cpp_source.html @@ -0,0 +1,473 @@ + + + + + +HyperGrafx: WiiUtil.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
WiiUtil.cpp
+
+
+Go to the documentation of this file.
1 
+
11 /*
+
12  * This file is part of WiiC, written by:
+
13  * Gabriele Randelli
+
14  * Email: randelli@dis.uniroma1.it
+
15  *
+
16  * Copyright 2010
+
17  *
+
18  * This file is based on WiiuseCpp, written By:
+
19  * James Thomas
+
20  * Email: jt@missioncognition.net
+
21  *
+
22  * Copyright 2009
+
23  *
+
24  * This program is free software; you can redistribute it and/or modify
+
25  * it under the terms of the GNU General Public License as published by
+
26  * the Free Software Foundation; either version 3 of the License, or
+
27  * (at your option) any later version.
+
28  *
+
29  * This program is distributed in the hope that it will be useful,
+
30  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+
31  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
32  * GNU General Public License for more details.
+
33  *
+
34  * You should have received a copy of the GNU General Public License
+
35  * along with this program. If not, see <http://www.gnu.org/licenses/>.
+
36  *
+
37  */
+
38 
+
39 #include "WiiUtil.h"
+
40 #include "vec.hpp"
+
41 #include "globals.h" /* Some math constants and macros. */
+
42 #include <wiicpp.h>
+
43 #include <iostream>
+
44 
+
45 #include <sys/time.h>
+
46 
+
47 using std::cerr;
+
48 using Angel::vec3;
+
49 vec3 bbMagnitudes;
+
50 WiiPollData pollResults;
+
51 
+
52 int ::ledMap[4] = { CWiimote::LED_1, CWiimote::LED_2, CWiimote::LED_3,
+
53  CWiimote::LED_4 };
+
54 
+
55 bool initWii( CWii &wii ) {
+
56 
+
57  std::vector< CWiimote >* wiimotes;
+
58  size_t found;
+
59 
+
60  for ( size_t attempts = 0; attempts < 5; ++attempts ) {
+
61 
+
62  std::cerr
+
63  << "Please place at least one Wii Remote and one Wii Balance Board in discoverable mode.\n";
+
64  std::cerr
+
65  << "The Wii Remote can be placed in discoverable mode by pressing 1+2 simultaneously.\n";
+
66  std::cerr
+
67  << "The Balance Board has a SYNC button under the battery cover on the bottom.\n";
+
68 
+
69  found = wii.Find( 5 );
+
70 
+
71  if ( found < 2 ) {
+
72  cout << "Found " << found << " wiimote device(s), looking for 2+\n";
+
73  continue;
+
74  }
+
75 
+
76  std::vector< CWiimote >::iterator it;
+
77  size_t index;
+
78  wiimotes = &(wii.Connect( true ));
+
79 
+
80  for ( index = 0, it = wiimotes->begin(); it != wiimotes->end();
+
81  ++it, ++index ) {
+
82  CWiimote &wm = *it;
+
83  /*CExpansionDevice &CED = wm.ExpansionDevice;*/
+
84  wm.SetLEDs( ::ledMap[index] );
+
85  ;
+
86  }
+
87  return true; /* We're all good! */
+
88  }
+
89  return false; /* Couldn't find 2+ devices. */
+
90 }
+
91 
+
96 void HandleEvent( CWiimote &wm ) {
+
97  char prefixString[64];
+
98  sprintf( prefixString, "Controller [%i]: ", wm.GetID() );
+
99  int exType = wm.ExpansionDevice.GetType();
+
100 
+
101  if ( wm.Buttons.isJustPressed( CButtons::BUTTON_MINUS ) ) {
+
102  wm.SetMotionSensingMode( CWiimote::ON );
+
103  wm.IR.SetMode( CIR::ON );
+
104  wm.EnableMotionPlus( CWiimote::ON );
+
105  pollResults.resetCamera = true;
+
106  }
+
107 
+
108  // if the accelerometer is turned on then print angles
+
109  if ( wm.isUsingACC() ) {
+
110  float pitch, roll, yaw;
+
111  wm.Accelerometer.GetOrientation( pitch, roll, yaw );
+
112  pollResults.wrThetas.x = pitch;
+
113  pollResults.wrThetas.y = yaw;
+
114  pollResults.wrThetas.z = roll;
+
115  printf( "%s wiimote roll = %f\n", prefixString, roll );
+
116  printf( "%s wiimote pitch = %f\n", prefixString, pitch );
+
117  printf( "%s wiimote yaw = %f\n", prefixString, yaw );
+
118  }
+
119 
+
120  // if the Motion Plus is turned on then print angles
+
121  if ( wm.isUsingMotionPlus() ) {
+
122  float roll_rate, pitch_rate, yaw_rate;
+
123  wm.ExpansionDevice.MotionPlus.Gyroscope.GetRates( roll_rate, pitch_rate,
+
124  yaw_rate );
+
125  pollResults.wrRates.x = pitch_rate;
+
126  pollResults.wrRates.y = yaw_rate;
+
127  pollResults.wrRates.z = roll_rate;
+
128  printf( "%s motion plus roll rate = %f\n", prefixString, roll_rate );
+
129  printf( "%s motion plus pitch rate = %f\n", prefixString, pitch_rate );
+
130  printf( "%s motion plus yaw rate = %f\n", prefixString, yaw_rate );
+
131  }
+
132 
+
133  // if(IR tracking is on then print the coordinates
+
134  if ( wm.isUsingIR() ) {
+
135  std::vector< CIRDot >::iterator it;
+
136  int x, y;
+
137  int index;
+
138  printf( "%s Num IR Dots: %i\n", prefixString, wm.IR.GetNumDots() );
+
139  printf( "%s IR State: %u\n", prefixString, wm.IR.GetState() );
+
140  std::vector< CIRDot >& dots = wm.IR.GetDots();
+
141  for ( index = 0, it = dots.begin(); it != dots.end(); ++index, ++it ) {
+
142  if ( (*it).isVisible() ) {
+
143  (*it).GetCoordinate( x, y );
+
144  printf( "%s IR source %i: (%i, %i)\n", prefixString, index, x, y );
+
145 
+
146  wm.IR.GetCursorPosition( x, y );
+
147  printf( "%s IR cursor: (%i, %i)\n", prefixString, x, y );
+
148  printf( "%s IR z distance: %f\n", prefixString, wm.IR.GetDistance() );
+
149  }
+
150  }
+
151  }
+
152 
+
153  if ( exType == wm.ExpansionDevice.TYPE_NUNCHUK ) {
+
154  float pitch, roll, yaw;
+
155  float angle, magnitude;
+
156 
+
157  CNunchuk &nc = wm.ExpansionDevice.Nunchuk;
+
158 
+
159  sprintf( prefixString, "Nunchuk [%i]: ", wm.GetID() );
+
160 
+
161  if ( nc.Buttons.isPressed( CNunchukButtons::BUTTON_C ) ) {
+
162  printf( "%s C pressed\n", prefixString );
+
163  }
+
164 
+
165  if ( nc.Buttons.isPressed( CNunchukButtons::BUTTON_Z ) ) {
+
166  printf( "%s Z pressed\n", prefixString );
+
167  }
+
168 
+
169  nc.Accelerometer.GetOrientation( pitch, roll, yaw );
+
170  printf( "%s roll = %f\n", prefixString, roll );
+
171  printf( "%s pitch = %f\n", prefixString, pitch );
+
172  printf( "%s yaw = %f\n", prefixString, yaw );
+
173 
+
174  nc.Joystick.GetPosition( angle, magnitude );
+
175  printf( "%s joystick angle = %f\n", prefixString, angle );
+
176  printf( "%s joystick magnitude = %f\n", prefixString, magnitude );
+
177  }
+
178  if ( exType == wm.ExpansionDevice.TYPE_BALANCE_BOARD ) wiiHandleBB( wm );
+
179 }
+
180 
+
181 void wiiHandleBB( CWiimote &wm ) {
+
182  enum bb_sensor {
+
183  TOP_LEFT, TOP_RIGHT, BOT_LEFT, BOT_RIGHT, TOT_WEIGHT
+
184  };
+
185 
+
186  static bool tare = false;
+
187  static float tare_val[5] = { 0, 0, 0, 0, 0 };
+
188  static float raw_val[5] = { 0, 0, 0, 0, 0 };
+
189  static float adj_val[5] = { 0, 0, 0, 0, 0 };
+
190  static size_t tare_polls = 0;
+
191 
+
192  if ( wm.Buttons.isPressed( CButtons::BUTTON_A ) ) {
+
193  std::cerr << "Enabling Tare\n";
+
194  tare = true;
+
195  tare_polls = 0;
+
196  for ( size_t i = 0; i < 5; ++i )
+
197  tare_val[i] = 0;
+
198  pollResults.bbMagnitudes = vec3( 0, 0, 0 );
+
199  }
+
200  CBalanceBoard &bb = wm.ExpansionDevice.BalanceBoard;
+
201  bb.WeightSensor.GetWeight( raw_val[TOT_WEIGHT], raw_val[TOP_LEFT],
+
202  raw_val[TOP_RIGHT], raw_val[BOT_LEFT],
+
203  raw_val[BOT_RIGHT] );
+
204 
+
205  /* Compute our adjusted values. */
+
206  adj_val[TOT_WEIGHT] = 0;
+
207  for ( size_t i = 0; i < 4; ++i ) {
+
208  adj_val[i] = raw_val[i] - tare_val[i];
+
209  adj_val[TOT_WEIGHT] += adj_val[i];
+
210  }
+
211 
+
212  /* We are now either going to zero the scale,
+
213  or ignore the inputs if they are too small. */
+
214  if ( tare ) {
+
215  for ( size_t i = 0; i < 4; ++i )
+
216  tare_val[i] += raw_val[i];
+
217  if ( ++tare_polls >= 1000 ) {
+
218  std::cerr << "Tare complete.\n";
+
219  tare_val[4] = 0;
+
220  tare_polls = 0;
+
221  tare = false;
+
222  for ( size_t i = 0; i < 4; ++i ) {
+
223  tare_val[i] = tare_val[i] / 1000;
+
224  std::cerr << "Tare[" << i << "] == " << tare_val[i] << ".\n";
+
225  tare_val[4] += tare_val[i];
+
226  }
+
227  }
+
228  return; /* Return early: do not compute anything with weird half-tared values. */
+
229  } else if ( adj_val[TOT_WEIGHT] < 10 ) {
+
230  pollResults.bbMagnitudes = vec3( 0, 0, 0 );
+
231  return;
+
232  }
+
233 
+
234  /* Compute X and Y magnitudes. */
+
235  float surge_pct = (adj_val[TOP_LEFT] + adj_val[TOP_RIGHT] - adj_val[BOT_LEFT]
+
236  - adj_val[BOT_RIGHT])
+
237  / adj_val[TOT_WEIGHT];
+
238  float sway_pct = (adj_val[TOP_RIGHT] + adj_val[BOT_RIGHT] - adj_val[TOP_LEFT]
+
239  - adj_val[BOT_LEFT])
+
240  / adj_val[TOT_WEIGHT];
+
241 
+
242  /* Even with zeroing the scale and ignoring small weights,
+
243  Sometimes the sensors report something weird.
+
244  With this we ensure that we've normalized to the [-1,1] range. */
+
245  if ( surge_pct < -1 ) surge_pct = -1;
+
246  else if ( surge_pct > 1 ) surge_pct = 1;
+
247  if ( sway_pct < -1 ) sway_pct = -1;
+
248  else if ( sway_pct > 1 ) sway_pct = 1;
+
249 
+
250  pollResults.bbMagnitudes.y = sway_pct;
+
251  pollResults.bbMagnitudes.z = surge_pct;
+
252 
+
253  if ( 0 ) {
+
254  printf( "Balance Board Raw Weights: {" );
+
255  for ( size_t i = 0; i < 5; ++i )
+
256  printf( "%6f, ", raw_val[i] );
+
257  printf( "}\n" );
+
258  printf( "Balance Board Adj Weights: {" );
+
259  for ( size_t i = 0; i < 5; ++i )
+
260  printf( "%6f, ", adj_val[i] );
+
261  printf( "}\n" );
+
262  printf( "SURGE: %6f; SWAY: %6f\n", surge_pct, sway_pct );
+
263  }
+
264 
+
265 }
+
266 
+
267 void enableRemote( CWiimote &wm ) {
+
268 
+
269  wm.SetMotionSensingMode( CWiimote::ON );
+
270  wm.IR.SetMode( CIR::ON );
+
271  //wm.EnableMotionPlus(CWiimote::ON);
+
272 
+
273 }
+
274 
+
275 void calibrateGyro( CWii &wii ) {
+
276 
+
277  std::vector< CWiimote >& wiimotes = wii.GetWiimotes();
+
278  std::vector< CWiimote >::iterator it;
+
279 
+
280  for ( it = wiimotes.begin(); it != wiimotes.end(); ++it ) {
+
281  CWiimote& wiimote = *it;
+
282  if ( wiimote.isUsingMotionPlus() ) {
+
283  wiimote.EnableMotionPlus( CWiimote::ON );
+
284  }
+
285  }
+
286 
+
287 }
+
288 
+
289 void pollWii( CWii &wii, bool CalibrateGyro ) {
+
290 
+
291  struct timeval start, end;
+
292  pollResults.resetCamera = false;
+
293 
+
294  //Poll the wiimotes to get the status like pitch or roll
+
295  if ( 0 ) gettimeofday( &start, NULL );
+
296  if ( wii.Poll() ) {
+
297 
+
298  std::vector< CWiimote >& wiimotes = wii.GetWiimotes();
+
299  std::vector< CWiimote >::iterator it;
+
300 
+
301  for ( it = wiimotes.begin(); it != wiimotes.end(); ++it ) {
+
302 
+
303  // Use a reference to make working with the iterator handy.
+
304  CWiimote& wiimote = *it;
+
305 
+
306  switch ( wiimote.GetEvent() ) {
+
307 
+
308  case CWiimote::EVENT_EVENT:
+
309  if ( wiimote.ExpansionDevice.GetType()
+
310  == wiimote.ExpansionDevice.TYPE_BALANCE_BOARD )
+
311  wiiHandleBB( wiimote );
+
312  HandleEvent( wiimote );
+
313  break;
+
314 
+
315  case CWiimote::EVENT_CONNECT:
+
316  std::cerr << "Device connecting.\n";
+
317  break;
+
318  case CWiimote::EVENT_UNEXPECTED_DISCONNECT:
+
319  std::cerr << "Unexpected disconnect.\n";
+
320  break;
+
321  case CWiimote::EVENT_NUNCHUK_INSERTED:
+
322  enableRemote( wiimote );
+
323  std::cerr << "Nunchuk has become available.\n";
+
324  break;
+
325  case CWiimote::EVENT_NUNCHUK_REMOVED:
+
326  std::cerr << "Nunchuk has been removed.\n";
+
327  break;
+
328  case CWiimote::EVENT_BALANCE_BOARD_INSERTED:
+
329  std::cerr << "A balance board has become available.\n";
+
330  wiimote.SetLEDs( ::ledMap[3] );
+
331  ;
+
332  wiimote.SetLEDs( ::ledMap[3] );
+
333  ;
+
334  break;
+
335  case CWiimote::EVENT_BALANCE_BOARD_REMOVED:
+
336  std::cerr << "A balance board has been removed.\n";
+
337  break;
+
338 
+
339  case CWiimote::EVENT_CLASSIC_CTRL_INSERTED:
+
340  case CWiimote::EVENT_MOTION_PLUS_INSERTED:
+
341  enableRemote( wiimote );
+
342  std::cerr << "A peripheral has been attached.\n";
+
343  break;
+
344 
+
345  case CWiimote::EVENT_CLASSIC_CTRL_REMOVED:
+
346  case CWiimote::EVENT_MOTION_PLUS_REMOVED:
+
347  std::cerr << "A peripheral has been removed.\n";
+
348  break;
+
349 
+
350  default:
+
351  break;
+
352  }
+
353  }
+
354  }
+
356  /* Debug section for polltime */
+
357  if ( 0 ) {
+
358  gettimeofday( &end, NULL );
+
359  size_t i, j;
+
360  if ( (i = end.tv_sec - start.tv_sec) == 0 ) j = end.tv_usec - start.tv_usec;
+
361  else if ( (j = end.tv_usec - start.tv_usec) < 0 ) {
+
362  i--;
+
363  j = 1000000 + j;
+
364  }
+
365  fprintf( stderr, "polltime: %lus%luu\n", i, j );
+
366  }
+
367 
+
368 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/_wii_util_8h_source.html b/Doxygen/Docs/html/_wii_util_8h_source.html new file mode 100644 index 00000000..d99b36bf --- /dev/null +++ b/Doxygen/Docs/html/_wii_util_8h_source.html @@ -0,0 +1,143 @@ + + + + + +HyperGrafx: WiiUtil.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
WiiUtil.h
+
+
+Go to the documentation of this file.
1 
+
9 #ifndef __WII_H
+
10 #define __WII_H
+
11 
+
12 #include <wiicpp.h>
+
13 #include "vec.hpp"
+
14 
+
15 typedef struct {
+
16  Angel::vec3 bbMagnitudes;
+
17  Angel::vec3 wrThetas;
+
18  Angel::vec3 wrRates;
+
19  bool resetCamera;
+
20 } WiiPollData;
+
21 
+
22 extern int ledMap[4];
+
23 extern Angel::vec3 bbMagnitudes;
+
24 extern WiiPollData pollResults;
+
25 
+
26 bool initWii( CWii &wii );
+
27 void pollWii( CWii &wii, bool CalibrateGyro = false );
+
28 void wiiHandleBB( CWiimote &wm );
+
29 void calibrateGyro( CWii &wii );
+
30 
+
31 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/annotated.html b/Doxygen/Docs/html/annotated.html new file mode 100644 index 00000000..eeae21d4 --- /dev/null +++ b/Doxygen/Docs/html/annotated.html @@ -0,0 +1,150 @@ + + + + + +HyperGrafx: Class List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+
[detail level 12]
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
oNAngel
|oCmat2Mat2 - 2D square matrix
|oCmat3Mat3 - 3D square matrix
|oCmat4Mat4 - 4D square matrix
|oCvec2
|oCvec3
|\Cvec4
oNTiemSpelchk
|\CLurn2SpielNub
oCCameraLogical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state
oCCamerasGroup of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space
oCEngineSingleton-style class which helps keep track of instances of important objects (for Cameras, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace
oCObjectObject Class: Renderable Object Implementation
oCParticleTODO: You know you've been bad
oCParticleSystem
oCRotMatRotations
oCScaleMat
oCSceneThe Scene object keeps track of a list of objects considered to be "children" of the Scene
oCScreen
oCSpelchkCamera
oCTexture
oCTimer
oCTransCache
oCTransformation
oCTransMatTranslations
\CWiiPollData
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/annotated.js b/Doxygen/Docs/html/annotated.js new file mode 100644 index 00000000..afb649ac --- /dev/null +++ b/Doxygen/Docs/html/annotated.js @@ -0,0 +1,31 @@ +var annotated = +[ + [ "Angel", null, [ + [ "mat2", "class_angel_1_1mat2.html", "class_angel_1_1mat2" ], + [ "mat3", "class_angel_1_1mat3.html", "class_angel_1_1mat3" ], + [ "mat4", "class_angel_1_1mat4.html", "class_angel_1_1mat4" ], + [ "vec2", "struct_angel_1_1vec2.html", "struct_angel_1_1vec2" ], + [ "vec3", "struct_angel_1_1vec3.html", "struct_angel_1_1vec3" ], + [ "vec4", "struct_angel_1_1vec4.html", "struct_angel_1_1vec4" ] + ] ], + [ "TiemSpelchk", null, [ + [ "Lurn2SpielNub", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html", "class_tiem_spelchk_1_1_lurn2_spiel_nub" ] + ] ], + [ "Camera", "class_camera.html", "class_camera" ], + [ "Cameras", "class_cameras.html", "class_cameras" ], + [ "Engine", "class_engine.html", "class_engine" ], + [ "Object", "class_object.html", "class_object" ], + [ "Particle", "class_particle.html", "class_particle" ], + [ "ParticleSystem", "class_particle_system.html", "class_particle_system" ], + [ "RotMat", "class_rot_mat.html", "class_rot_mat" ], + [ "ScaleMat", "class_scale_mat.html", "class_scale_mat" ], + [ "Scene", "class_scene.html", "class_scene" ], + [ "Screen", "class_screen.html", "class_screen" ], + [ "SpelchkCamera", "class_spelchk_camera.html", "class_spelchk_camera" ], + [ "Texture", "class_texture.html", "class_texture" ], + [ "Timer", "class_timer.html", "class_timer" ], + [ "TransCache", "class_trans_cache.html", "class_trans_cache" ], + [ "Transformation", "class_transformation.html", "class_transformation" ], + [ "TransMat", "class_trans_mat.html", "class_trans_mat" ], + [ "WiiPollData", "struct_wii_poll_data.html", "struct_wii_poll_data" ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/bc_s.png b/Doxygen/Docs/html/bc_s.png new file mode 100644 index 00000000..25e3beb4 Binary files /dev/null and b/Doxygen/Docs/html/bc_s.png differ diff --git a/Doxygen/Docs/html/bdwn.png b/Doxygen/Docs/html/bdwn.png new file mode 100644 index 00000000..940a0b95 Binary files /dev/null and b/Doxygen/Docs/html/bdwn.png differ diff --git a/Doxygen/Docs/html/class_angel_1_1mat2-members.html b/Doxygen/Docs/html/class_angel_1_1mat2-members.html new file mode 100644 index 00000000..abaff2e2 --- /dev/null +++ b/Doxygen/Docs/html/class_angel_1_1mat2-members.html @@ -0,0 +1,146 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Angel::mat2 Member List
+
+
+ +

This is the complete list of members for Angel::mat2, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + +
_mAngel::mat2private
mat2(const GLfloat d=GLfloat(1.0)) (defined in Angel::mat2)Angel::mat2
mat2(const vec2 &a, const vec2 &b) (defined in Angel::mat2)Angel::mat2
mat2(GLfloat m00, GLfloat m10, GLfloat m01, GLfloat m11) (defined in Angel::mat2)Angel::mat2
mat2(const mat2 &m) (defined in Angel::mat2)Angel::mat2
operator const GLfloat *() const (defined in Angel::mat2)Angel::mat2
operator GLfloat *() (defined in Angel::mat2)Angel::mat2
operator*(const GLfloat s) const (defined in Angel::mat2)Angel::mat2
operator* (defined in Angel::mat2)Angel::mat2friend
operator*(const mat2 &m) const (defined in Angel::mat2)Angel::mat2
operator*(const vec2 &v) const Angel::mat2
operator*=(const GLfloat s) (defined in Angel::mat2)Angel::mat2
operator*=(const mat2 &m) (defined in Angel::mat2)Angel::mat2
operator+(const mat2 &m) const (defined in Angel::mat2)Angel::mat2
operator+=(const mat2 &m) (defined in Angel::mat2)Angel::mat2
operator-(const mat2 &m) const (defined in Angel::mat2)Angel::mat2
operator-=(const mat2 &m) (defined in Angel::mat2)Angel::mat2
operator/(const GLfloat s) const (defined in Angel::mat2)Angel::mat2
operator/=(const GLfloat s) (defined in Angel::mat2)Angel::mat2
operator<< (defined in Angel::mat2)Angel::mat2friend
operator>> (defined in Angel::mat2)Angel::mat2friend
operator[](int i) (defined in Angel::mat2)Angel::mat2
operator[](int i) const (defined in Angel::mat2)Angel::mat2
+
+ + + + diff --git a/Doxygen/Docs/html/class_angel_1_1mat2.html b/Doxygen/Docs/html/class_angel_1_1mat2.html new file mode 100644 index 00000000..8a175fbd --- /dev/null +++ b/Doxygen/Docs/html/class_angel_1_1mat2.html @@ -0,0 +1,243 @@ + + + + + +HyperGrafx: Angel::mat2 Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Angel::mat2 Class Reference
+
+
+ +

mat2 - 2D square matrix. + More...

+ +

#include <mat.hpp>

+ + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+ mat2 (const GLfloat d=GLfloat(1.0))
+ mat2 (const vec2 &a, const vec2 &b)
+ mat2 (GLfloat m00, GLfloat m10, GLfloat m01, GLfloat m11)
+ mat2 (const mat2 &m)
+vec2 & operator[] (int i)
+const vec2 & operator[] (int i) const
+mat2 operator+ (const mat2 &m) const
+mat2 operator- (const mat2 &m) const
+mat2 operator* (const GLfloat s) const
+mat2 operator/ (const GLfloat s) const
+mat2 operator* (const mat2 &m) const
+mat2 & operator+= (const mat2 &m)
+mat2 & operator-= (const mat2 &m)
+mat2 & operator*= (const GLfloat s)
+mat2 & operator*= (const mat2 &m)
+mat2 & operator/= (const GLfloat s)
vec2 operator* (const vec2 &v) const
 Returns the result of the operation M*v.
+ operator const GLfloat * () const
+ operator GLfloat * ()
+ + + +

+Private Attributes

vec2 _m [2]
 The data is stored as an array of two vectors.
+ + + + +

+Friends

+mat2 operator* (const GLfloat s, const mat2 &m)
+std::ostream & operator<< (std::ostream &os, const mat2 &m)
+std::istream & operator>> (std::istream &is, mat2 &m)
+

Detailed Description

+

mat2 - 2D square matrix.

+
Author
Ed Angel Class for a 2x2 matrix. Modified from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition
+ +

Definition at line 36 of file mat.hpp.

+

Member Function Documentation

+ +
+
+ + + + + + + + +
vec2 Angel::mat2::operator* (const vec2 & v) const
+
+ +

Returns the result of the operation M*v.

+

Assumes v is a one column, two row matrix.

+ +

Definition at line 154 of file mat.cpp.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
vec2 Angel::mat2::_m[2]
+
+private
+
+ +

The data is stored as an array of two vectors.

+ +

Definition at line 39 of file mat.hpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_angel_1_1mat2.js b/Doxygen/Docs/html/class_angel_1_1mat2.js new file mode 100644 index 00000000..1f9b8dca --- /dev/null +++ b/Doxygen/Docs/html/class_angel_1_1mat2.js @@ -0,0 +1,26 @@ +var class_angel_1_1mat2 = +[ + [ "mat2", "class_angel_1_1mat2.html#ae102b820abff2323c45227b2b8bbf750", null ], + [ "mat2", "class_angel_1_1mat2.html#a28913fa178e1d31303701bfb68a18206", null ], + [ "mat2", "class_angel_1_1mat2.html#a922505784f3ff68666c32ea610d98579", null ], + [ "mat2", "class_angel_1_1mat2.html#a4311450f6bb2b9c0413470c1877718f7", null ], + [ "operator const GLfloat *", "class_angel_1_1mat2.html#a413f7a4b589ff434f6a4f3a2bf2e3238", null ], + [ "operator GLfloat *", "class_angel_1_1mat2.html#a1964937b0ce62e819edb23c8eeee9ddc", null ], + [ "operator*", "class_angel_1_1mat2.html#a227fe98f0e64b8c849ddc45d64b31524", null ], + [ "operator*", "class_angel_1_1mat2.html#ab07cf1133d24947e4c9c5b329bb97526", null ], + [ "operator*", "class_angel_1_1mat2.html#a1be53f556f8dd39cc2a95c0168319129", null ], + [ "operator*=", "class_angel_1_1mat2.html#a50fb8a22b3178810f74a0cca7dcb5b42", null ], + [ "operator*=", "class_angel_1_1mat2.html#ae473dedc654b83baa25a34f9d5e9061f", null ], + [ "operator+", "class_angel_1_1mat2.html#a9015e221ffcb42c91a927a8a307ace8b", null ], + [ "operator+=", "class_angel_1_1mat2.html#a6ae2926130c3291c6901355c0d7ab9d0", null ], + [ "operator-", "class_angel_1_1mat2.html#a767d5c1e30cf67ddce4d5f917d337bae", null ], + [ "operator-=", "class_angel_1_1mat2.html#a0b457bdc16735b356a68baaca2d2037f", null ], + [ "operator/", "class_angel_1_1mat2.html#a181da09b6d2e8e687a8a6832b453a053", null ], + [ "operator/=", "class_angel_1_1mat2.html#ad72c91bf3c2d1ea79a0ee67f50b3dda6", null ], + [ "operator[]", "class_angel_1_1mat2.html#a9cd43f0d8628af058eb2a8a45823558d", null ], + [ "operator[]", "class_angel_1_1mat2.html#ae6f4de77d3e72ce41397fd5accdbbc4e", null ], + [ "operator*", "class_angel_1_1mat2.html#a93186aa02a28897515079acad73bd0dd", null ], + [ "operator<<", "class_angel_1_1mat2.html#a264412852cfa06a39b477d08b390d8e8", null ], + [ "operator>>", "class_angel_1_1mat2.html#a43f4ce08af11ef35f85de6c785b093a8", null ], + [ "_m", "class_angel_1_1mat2.html#a04ca47b08412fa9c9ed5067843df53e9", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_angel_1_1mat3-members.html b/Doxygen/Docs/html/class_angel_1_1mat3-members.html new file mode 100644 index 00000000..ffecfdbf --- /dev/null +++ b/Doxygen/Docs/html/class_angel_1_1mat3-members.html @@ -0,0 +1,146 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Angel::mat3 Member List
+
+
+ +

This is the complete list of members for Angel::mat3, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + +
_m (defined in Angel::mat3)Angel::mat3private
mat3(const GLfloat d=GLfloat(1.0)) (defined in Angel::mat3)Angel::mat3
mat3(const vec3 &a, const vec3 &b, const vec3 &c) (defined in Angel::mat3)Angel::mat3
mat3(GLfloat m00, GLfloat m10, GLfloat m20, GLfloat m01, GLfloat m11, GLfloat m21, GLfloat m02, GLfloat m12, GLfloat m22) (defined in Angel::mat3)Angel::mat3
mat3(const mat3 &m) (defined in Angel::mat3)Angel::mat3
operator const GLfloat *() const (defined in Angel::mat3)Angel::mat3
operator GLfloat *() (defined in Angel::mat3)Angel::mat3
operator*(const GLfloat s) const (defined in Angel::mat3)Angel::mat3
operator* (defined in Angel::mat3)Angel::mat3friend
operator*(const mat3 &m) const (defined in Angel::mat3)Angel::mat3
operator*(const vec3 &v) const (defined in Angel::mat3)Angel::mat3
operator*=(const GLfloat s) (defined in Angel::mat3)Angel::mat3
operator*=(const mat3 &m) (defined in Angel::mat3)Angel::mat3
operator+(const mat3 &m) const (defined in Angel::mat3)Angel::mat3
operator+=(const mat3 &m) (defined in Angel::mat3)Angel::mat3
operator-(const mat3 &m) const (defined in Angel::mat3)Angel::mat3
operator-=(const mat3 &m) (defined in Angel::mat3)Angel::mat3
operator/(const GLfloat s) const (defined in Angel::mat3)Angel::mat3
operator/=(const GLfloat s) (defined in Angel::mat3)Angel::mat3
operator<< (defined in Angel::mat3)Angel::mat3friend
operator>> (defined in Angel::mat3)Angel::mat3friend
operator[](int i) (defined in Angel::mat3)Angel::mat3
operator[](int i) const (defined in Angel::mat3)Angel::mat3
+
+ + + + diff --git a/Doxygen/Docs/html/class_angel_1_1mat3.html b/Doxygen/Docs/html/class_angel_1_1mat3.html new file mode 100644 index 00000000..06daac4c --- /dev/null +++ b/Doxygen/Docs/html/class_angel_1_1mat3.html @@ -0,0 +1,196 @@ + + + + + +HyperGrafx: Angel::mat3 Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Angel::mat3 Class Reference
+
+
+ +

mat3 - 3D square matrix. + More...

+ +

#include <mat.hpp>

+ + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+ mat3 (const GLfloat d=GLfloat(1.0))
+ mat3 (const vec3 &a, const vec3 &b, const vec3 &c)
+ mat3 (GLfloat m00, GLfloat m10, GLfloat m20, GLfloat m01, GLfloat m11, GLfloat m21, GLfloat m02, GLfloat m12, GLfloat m22)
+ mat3 (const mat3 &m)
+vec3 & operator[] (int i)
+const vec3 & operator[] (int i) const
+mat3 operator+ (const mat3 &m) const
+mat3 operator- (const mat3 &m) const
+mat3 operator* (const GLfloat s) const
+mat3 operator/ (const GLfloat s) const
+mat3 operator* (const mat3 &m) const
+mat3 & operator+= (const mat3 &m)
+mat3 & operator-= (const mat3 &m)
+mat3 & operator*= (const GLfloat s)
+mat3 & operator*= (const mat3 &m)
+mat3 & operator/= (const GLfloat s)
+vec3 operator* (const vec3 &v) const
+ operator const GLfloat * () const
+ operator GLfloat * ()
+ + +

+Private Attributes

+vec3 _m [3]
+ + + + +

+Friends

+mat3 operator* (const GLfloat s, const mat3 &m)
+std::ostream & operator<< (std::ostream &os, const mat3 &m)
+std::istream & operator>> (std::istream &is, mat3 &m)
+

Detailed Description

+

mat3 - 3D square matrix.

+
Author
Ed Angel Class for a 2x2 matrix. Modified from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition
+ +

Definition at line 94 of file mat.hpp.

+

The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_angel_1_1mat3.js b/Doxygen/Docs/html/class_angel_1_1mat3.js new file mode 100644 index 00000000..c70e04db --- /dev/null +++ b/Doxygen/Docs/html/class_angel_1_1mat3.js @@ -0,0 +1,26 @@ +var class_angel_1_1mat3 = +[ + [ "mat3", "class_angel_1_1mat3.html#a169ddab082b2c0da9ab028ec1a1c223c", null ], + [ "mat3", "class_angel_1_1mat3.html#a62a888ec4f7f9246960253eea5acfc89", null ], + [ "mat3", "class_angel_1_1mat3.html#adac89ce7cc0b0b566f0dcd66e9746119", null ], + [ "mat3", "class_angel_1_1mat3.html#a1315bcb40b29673956e48f7c807a8e6e", null ], + [ "operator const GLfloat *", "class_angel_1_1mat3.html#a1d8dde0ed668c30af292f9b53253dec9", null ], + [ "operator GLfloat *", "class_angel_1_1mat3.html#a5b68f66855c70b79a86a3ddc65acda6f", null ], + [ "operator*", "class_angel_1_1mat3.html#a6635568333982f7819539a273e1d5c88", null ], + [ "operator*", "class_angel_1_1mat3.html#aec8a7afc3f8b30365d30a393048e43e6", null ], + [ "operator*", "class_angel_1_1mat3.html#a816f9f6ba6cbebea56b0f84432643e4a", null ], + [ "operator*=", "class_angel_1_1mat3.html#add5cf6842bebfce53ba2af6bdd48436f", null ], + [ "operator*=", "class_angel_1_1mat3.html#ace9e4a45d3dc4ad3d6d05474159e75f9", null ], + [ "operator+", "class_angel_1_1mat3.html#ab15ce66a9d7c31c47eb954c1fac269dc", null ], + [ "operator+=", "class_angel_1_1mat3.html#a7f2d2eee7fdca9f2a97bb169153a501d", null ], + [ "operator-", "class_angel_1_1mat3.html#ad6ad753f499abf25615da51a4acd3451", null ], + [ "operator-=", "class_angel_1_1mat3.html#a80b42b08d55fbaee1001ee733ed16471", null ], + [ "operator/", "class_angel_1_1mat3.html#a74f28d013f4b222a45fd4ca339e04ed0", null ], + [ "operator/=", "class_angel_1_1mat3.html#a72b528f838b9a7c25daeda95c2e54431", null ], + [ "operator[]", "class_angel_1_1mat3.html#a5548a1da78e29cc9e093414e897e44b0", null ], + [ "operator[]", "class_angel_1_1mat3.html#a9d05f262d88c02009bdcc24afb0b5f91", null ], + [ "operator*", "class_angel_1_1mat3.html#ad9345c93609b63264fb4a4d48cef9e47", null ], + [ "operator<<", "class_angel_1_1mat3.html#a85d71885cc6797f2553701eb01c52851", null ], + [ "operator>>", "class_angel_1_1mat3.html#aa6ac075e9f3776b3d6eba3e8207ab990", null ], + [ "_m", "class_angel_1_1mat3.html#a937bb5305c6e023812a87d0a329546b0", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_angel_1_1mat4-members.html b/Doxygen/Docs/html/class_angel_1_1mat4-members.html new file mode 100644 index 00000000..523c5a1f --- /dev/null +++ b/Doxygen/Docs/html/class_angel_1_1mat4-members.html @@ -0,0 +1,147 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Angel::mat4 Member List
+
+
+ +

This is the complete list of members for Angel::mat4, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + +
_m (defined in Angel::mat4)Angel::mat4private
mat4(const GLfloat d=GLfloat(1.0)) (defined in Angel::mat4)Angel::mat4
mat4(const vec4 &a, const vec4 &b, const vec4 &c, const vec4 &d) (defined in Angel::mat4)Angel::mat4
mat4(GLfloat m00, GLfloat m01, GLfloat m02, GLfloat m03, GLfloat m10, GLfloat m11, GLfloat m12, GLfloat m13, GLfloat m20, GLfloat m21, GLfloat m22, GLfloat m23, GLfloat m30, GLfloat m31, GLfloat m32, GLfloat m33) (defined in Angel::mat4)Angel::mat4
mat4(const mat4 &m) (defined in Angel::mat4)Angel::mat4
operator const GLfloat *() const (defined in Angel::mat4)Angel::mat4
operator GLfloat *() (defined in Angel::mat4)Angel::mat4
operator*(const GLfloat s) const (defined in Angel::mat4)Angel::mat4
operator* (defined in Angel::mat4)Angel::mat4friend
operator* (defined in Angel::mat4)Angel::mat4friend
operator*(const mat4 &m) const (defined in Angel::mat4)Angel::mat4
operator*(const vec4 &v) const (defined in Angel::mat4)Angel::mat4
operator*=(const GLfloat s) (defined in Angel::mat4)Angel::mat4
operator*=(const mat4 &m) (defined in Angel::mat4)Angel::mat4
operator+(const mat4 &m) const (defined in Angel::mat4)Angel::mat4
operator+=(const mat4 &m) (defined in Angel::mat4)Angel::mat4
operator-(const mat4 &m) const (defined in Angel::mat4)Angel::mat4
operator-=(const mat4 &m) (defined in Angel::mat4)Angel::mat4
operator/(const GLfloat s) const (defined in Angel::mat4)Angel::mat4
operator/=(const GLfloat s) (defined in Angel::mat4)Angel::mat4
operator<< (defined in Angel::mat4)Angel::mat4friend
operator>> (defined in Angel::mat4)Angel::mat4friend
operator[](int i) (defined in Angel::mat4)Angel::mat4
operator[](int i) const (defined in Angel::mat4)Angel::mat4
+
+ + + + diff --git a/Doxygen/Docs/html/class_angel_1_1mat4.html b/Doxygen/Docs/html/class_angel_1_1mat4.html new file mode 100644 index 00000000..3d28d204 --- /dev/null +++ b/Doxygen/Docs/html/class_angel_1_1mat4.html @@ -0,0 +1,198 @@ + + + + + +HyperGrafx: Angel::mat4 Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Angel::mat4 Class Reference
+
+
+ +

mat4 - 4D square matrix. + More...

+ +

#include <mat.hpp>

+ + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+ mat4 (const GLfloat d=GLfloat(1.0))
+ mat4 (const vec4 &a, const vec4 &b, const vec4 &c, const vec4 &d)
+ mat4 (GLfloat m00, GLfloat m01, GLfloat m02, GLfloat m03, GLfloat m10, GLfloat m11, GLfloat m12, GLfloat m13, GLfloat m20, GLfloat m21, GLfloat m22, GLfloat m23, GLfloat m30, GLfloat m31, GLfloat m32, GLfloat m33)
+ mat4 (const mat4 &m)
+vec4 & operator[] (int i)
+const vec4 & operator[] (int i) const
+mat4 operator+ (const mat4 &m) const
+mat4 operator- (const mat4 &m) const
+mat4 operator* (const GLfloat s) const
+mat4 operator/ (const GLfloat s) const
+mat4 operator* (const mat4 &m) const
+mat4 & operator+= (const mat4 &m)
+mat4 & operator-= (const mat4 &m)
+mat4 & operator*= (const GLfloat s)
+mat4 & operator*= (const mat4 &m)
+mat4 & operator/= (const GLfloat s)
+vec4 operator* (const vec4 &v) const
+ operator const GLfloat * () const
+ operator GLfloat * ()
+ + +

+Private Attributes

+vec4 _m [4]
+ + + + + +

+Friends

+mat4 operator* (const GLfloat s, const mat4 &m)
+vec4 operator* (const vec4 &v, const mat4 &_m)
+std::ostream & operator<< (std::ostream &os, const mat4 &m)
+std::istream & operator>> (std::istream &is, mat4 &m)
+

Detailed Description

+

mat4 - 4D square matrix.

+
Author
Ed Angel Class for a 2x2 matrix. Modified from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition
+ +

Definition at line 150 of file mat.hpp.

+

The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_angel_1_1mat4.js b/Doxygen/Docs/html/class_angel_1_1mat4.js new file mode 100644 index 00000000..c95afe9a --- /dev/null +++ b/Doxygen/Docs/html/class_angel_1_1mat4.js @@ -0,0 +1,27 @@ +var class_angel_1_1mat4 = +[ + [ "mat4", "class_angel_1_1mat4.html#ae4dcc751dab1439d187d31187527d7db", null ], + [ "mat4", "class_angel_1_1mat4.html#a751177e4ed4083c4935c18e20d99c394", null ], + [ "mat4", "class_angel_1_1mat4.html#a4231505378561a211c9c98ef665ed2e4", null ], + [ "mat4", "class_angel_1_1mat4.html#aa1d00cd134d37716c9613435b624bf7d", null ], + [ "operator const GLfloat *", "class_angel_1_1mat4.html#a93c2295529f8cde832378076837d202e", null ], + [ "operator GLfloat *", "class_angel_1_1mat4.html#a83e8b31ac751f67e31985fc104e1a0e6", null ], + [ "operator*", "class_angel_1_1mat4.html#aabe5c0344339577204843c3fcee0b456", null ], + [ "operator*", "class_angel_1_1mat4.html#a90585682655be2fb6093f8b95756b12c", null ], + [ "operator*", "class_angel_1_1mat4.html#a820e0c317d1836cd224ff75f676c6f2f", null ], + [ "operator*=", "class_angel_1_1mat4.html#a0f22db6237d4fbb916bf82be7132bd6c", null ], + [ "operator*=", "class_angel_1_1mat4.html#a36a1eca30d83a2bdbd7d2ec6675ee853", null ], + [ "operator+", "class_angel_1_1mat4.html#a4d1df5516693e2a58bef2fb89e1820ad", null ], + [ "operator+=", "class_angel_1_1mat4.html#afcec838432820dec7fa3059f5142270d", null ], + [ "operator-", "class_angel_1_1mat4.html#abb4e232fc14fe9a7033a093613ea4b58", null ], + [ "operator-=", "class_angel_1_1mat4.html#af061ec3446e24ea24e7e0eb981ed4465", null ], + [ "operator/", "class_angel_1_1mat4.html#a7d837bc6b2b7cc9e1d5b76b52d61c784", null ], + [ "operator/=", "class_angel_1_1mat4.html#a0f8c1b50c454341ff26f006a0ff09788", null ], + [ "operator[]", "class_angel_1_1mat4.html#ac78d6efb4a0d639d645acd4f00e8b3b6", null ], + [ "operator[]", "class_angel_1_1mat4.html#a8458337af4a94968e5840e9851ecfa81", null ], + [ "operator*", "class_angel_1_1mat4.html#aee74ba4512e3c59e8ed73764e4396d59", null ], + [ "operator*", "class_angel_1_1mat4.html#a43eac2e676368c54279c3babf511fa6b", null ], + [ "operator<<", "class_angel_1_1mat4.html#ac079e857a3c74a1b974e4f4619e16adf", null ], + [ "operator>>", "class_angel_1_1mat4.html#a897b946d3a30dbddc811d486bfa4b61a", null ], + [ "_m", "class_angel_1_1mat4.html#a927716d9eb0e35e6f577beca4a4fc243", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_camera-members.html b/Doxygen/Docs/html/class_camera-members.html new file mode 100644 index 00000000..2ea9b23f --- /dev/null +++ b/Doxygen/Docs/html/class_camera-members.html @@ -0,0 +1,264 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Camera Member List
+
+
+ +

This is the complete list of members for Camera, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_aspectRatioCameraprivate
_bufferObjectprotected
_colorsObject
_ctmCameraprivate
_currentObjSceneprotected
_currentViewCameraprivate
_drawModeObjectprotected
_fovyCameraprivate
_frictionMagnitudeCameraprivate
_gShaderSceneprotected
_handlesObjectprotected
_indicesObject
_isTexturedObjectprotected
_listSceneprotected
_mapSceneprotected
_maxAccelCameraprivate
_maxSpeedCameraprivate
_morphPercentageObjectprotected
_morphTargetObjectprotected
_motionCameraprivate
_nameObjectprotected
_normalsObject
_speedCameraprivate
_speed_capCameraprivate
_textureIDObjectprotected
_texUVsObject
_transObject
_uniformMapObjectprotected
_vaoObjectprotected
_velocityCameraprivate
_verticesObject
_viewCameraprivate
_viewportPositionCameraprivate
_viewportSizeCameraprivate
accel(const vec3 &accel)Camera
active(void) const (defined in Scene)Scene
addObject(const std::string &objName, GLuint Object_Shader=0)Scene
adjustFieldOfView(const float &by)Camera
adjustRotation(const mat4 &adjustment, const bool &fixed=false)Cameraprivate
animation(void(*anim_func)(TransCache &arg))Object
BEGIN enum value (defined in Camera)Camera
buffer(void)Object
bufferMorphOnly(void)Object
Camera(const std::string &name, GLuint gShader, float x=0.0, float y=0.0, float z=0.0)Camera
Camera(const std::string &name, GLuint gShader, vec3 &in)Camera
Camera(const std::string &name, GLuint gShader, vec4 &in)Camera
changePerspective(const ViewType &vType)Camera
commonInit(void)Cameraprivate
CTM enum value (defined in Camera)Camera
deleteObject(Object *obj)Sceneprotected
delObject(const std::string &objName)Scene
delObject(void)Scene
destroyMorphTarget()Object
DIR_BACKWARD enum value (defined in Camera)Camera
DIR_BEGIN enum value (defined in Camera)Camera
DIR_DOWN enum value (defined in Camera)Camera
DIR_END enum value (defined in Camera)Camera
DIR_FORWARD enum value (defined in Camera)Camera
DIR_LEFT enum value (defined in Camera)Camera
DIR_RIGHT enum value (defined in Camera)Camera
DIR_UP enum value (defined in Camera)Camera
Direction enum nameCamera
Direction typedefCamera
dPos(const float &x, const float &y, const float &z)Camera
dPos(const vec3 &by)Camera
dPos(const vec4 &by)Camera
draw(void)Object
drawMode(GLenum new_mode)Object
dX(const float &by, const bool &update=true)Camera
dY(const float &by, const bool &update=true)Camera
dZ(const float &by, const bool &update=true)Camera
END enum value (defined in Camera)Camera
fieldOfView(const float &fovy)Camera
fieldOfView(void) const Camera
FRUSTUM enum value (defined in Camera)Camera
genMorphTarget(GLuint shader)Object
heave(const float &by)Camera
IDENTITY enum value (defined in Camera)Camera
idle(void)Camera
insertObject(Object *obj)Scene
IS_TEXTURED enum valueObject
link(UniformEnum which, const std::string &name)Objectvirtual
MORPH_PCT enum valueObject
morphPercentage() const Object
morphPercentage(const float newPercentage)Object
morphTarget() const Object
move(const Camera::Direction &Dir)Camera
name(void) const Object
next(void) (defined in Scene)Scene
numberOfPoints()Object
Object(const std::string &name, GLuint gShader)Object
OBJECT_CTM enum valueObject
operator=(const Scene &copy) (defined in Scene)Scene
operator[](const std::string &objname) (defined in Scene)Scene
ORTHO enum value (defined in Camera)Camera
ORTHO2D enum value (defined in Camera)Camera
PERSPECTIVE enum value (defined in Camera)Camera
pitch(const float &by, const bool &fixed=false)Camera
popObject(void)Scene
pos(const float &x, const float &y, const float &z, const bool &update=true)Camera
pos(const vec3 &in, const bool &update=true)Camera
pos(const vec4 &in, const bool &update=true)Camera
pos(void) const Camera
position() const Object
prev(void) (defined in Scene)Scene
propagate(void)Object
refreshPerspective(void)Camera
resetRotation(void)Camera
roll(const float &by, const bool &fixed=false)Camera
ROTATION enum value (defined in Camera)Camera
Scene()Scene
Scene(const Scene &copy) (defined in Scene)Scene
send(Object::UniformEnum which)Cameravirtual
shader(void)Objectvirtual
shader(GLuint newShader)Objectvirtual
stop(const Camera::Direction &Dir)Camera
surge(const float &by)Camera
sway(const float &by)Camera
TEX_SAMPLER enum valueObject
texture(const char **filename)Object
textureID(GLint newTextureID)Objectinline
TRANSLATION enum value (defined in Camera)Camera
Uniform typedefCamera
UniformEnum typedefObject
UniformMap typedefObject
Uniforms enum nameCamera
VIEW enum value (defined in Camera)Camera
view(void)Camera
viewport(size_t _X, size_t _Y, size_t _width, size_t _height)Camera
ViewType enum nameCamera
ViewType typedefCamera
x(const float &in, const bool &update=true)Camera
x(void) const Camera
y(const float &in, const bool &update=true)Camera
y(void) const Camera
yaw(const float &by, const bool &fixed=false)Camera
z(const float &in, const bool &update=true)Camera
z(void) const Camera
~Camera(void)Cameravirtual
~Object(void)Objectvirtual
~Scene()Scenevirtual
+
+ + + + diff --git a/Doxygen/Docs/html/class_camera.html b/Doxygen/Docs/html/class_camera.html new file mode 100644 index 00000000..ef39c259 --- /dev/null +++ b/Doxygen/Docs/html/class_camera.html @@ -0,0 +1,3118 @@ + + + + + +HyperGrafx: Camera Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Camera Class Reference
+
+
+ +

The Camera class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state. + More...

+ +

#include <Camera.hpp>

+
+Inheritance diagram for Camera:
+
+
+ + +Object +Scene + +
+ + + + + + + + + + + + + + + + + + +

+Public Types

enum  Direction {
+  DIR_FORWARD, +DIR_BACKWARD, +DIR_LEFT, +DIR_RIGHT, +
+  DIR_UP, +DIR_DOWN, +DIR_END, +DIR_BEGIN = DIR_FORWARD +
+ }
 The Direction enumeration lists all of the possible directions the camera may travel in. More...
enum  ViewType {
+  PERSPECTIVE, +ORTHO, +ORTHO2D, +IDENTITY, +
+  FRUSTUM +
+ }
 The ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between. More...
enum  Uniforms {
+  BEGIN = Object::END, +TRANSLATION = BEGIN, +ROTATION, +VIEW, +
+  CTM, +END +
+ }
 The glsl_var enumeration lists the various variables the Camera class is capable of sending to the shader. More...
typedef enum Camera::Direction Direction
 The Direction enumeration lists all of the possible directions the camera may travel in.
typedef enum Camera::ViewType ViewType
 The ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between.
typedef enum Camera::Uniforms Uniform
 The glsl_var enumeration lists the various variables the Camera class is capable of sending to the shader.
typedef const unsigned int UniformEnum
 The Object class takes advantage of child-extendible enumerations.
typedef std::map
+< Object::UniformEnum,
+std::string > 
UniformMap
 We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Camera (const std::string &name, GLuint gShader, float x=0.0, float y=0.0, float z=0.0)
 Initialization Constructor; sets the x,y,z coordinates explicitly.
 Camera (const std::string &name, GLuint gShader, vec3 &in)
 Initialization Constructor, uses a vec3 as its initial coordinates.
 Camera (const std::string &name, GLuint gShader, vec4 &in)
 Initialization Constructor, uses a vec4 as its initial coordinates.
virtual ~Camera (void)
 Default destructor.
void x (const float &in, const bool &update=true)
 Sets the x coordinate of the camera.
void y (const float &in, const bool &update=true)
 Sets the y coordinate of the camera.
void z (const float &in, const bool &update=true)
 Sets the z coordinate of the camera.
void pos (const float &x, const float &y, const float &z, const bool &update=true)
 Sets the absolute position of the camera.
void pos (const vec3 &in, const bool &update=true)
 Sets the absolute position of the camera.
void pos (const vec4 &in, const bool &update=true)
 Sets the absolute position of the camera.
void dX (const float &by, const bool &update=true)
 Moves the camera along the x axis.
void dY (const float &by, const bool &update=true)
 Moves the camera along the y axis.
void dZ (const float &by, const bool &update=true)
 Moves the camera along the z axis.
void dPos (const float &x, const float &y, const float &z)
 Moves the camera along the x, y, and z axes.
void dPos (const vec3 &by)
 Moves the camera along the x, y, and z axes.
void dPos (const vec4 &by)
 Moves the camera along the x, y, and z axes.
void fieldOfView (const float &fovy)
 fieldOfView sets the current camera Field-of-view angle.
float fieldOfView (void) const
 fieldOfView() gets the current camera Field-of-view angle.
void adjustFieldOfView (const float &by)
 adjustFieldOfView adjusts the field of view angle up or down by an amount.
void changePerspective (const ViewType &vType)
 changePerspective changes the current perspective of the camera.
void refreshPerspective (void)
 refreshPerspective re-generates the current view/perspective matrix of the camera.
void viewport (size_t _X, size_t _Y, size_t _width, size_t _height)
 viewport instructs this camera what his expected drawing window will be.
void sway (const float &by)
 Adjusts the camera's x coordinate relative to its current position.
void surge (const float &by)
 Adjusts the camera's z coordinate relative to its current position.
void heave (const float &by)
 Adjusts the camera's y coordinate relative to its current position.
void pitch (const float &by, const bool &fixed=false)
 pitch adjusts the x axis rotation; up/down look.
void yaw (const float &by, const bool &fixed=false)
 yaw adjusts the y axis rotation; left/right look.
void roll (const float &by, const bool &fixed=false)
 roll adjusts the z axis rotation; tilt or lean left/right.
void move (const Camera::Direction &Dir)
 move instructs the camera to begin moving in the specified direction.
void stop (const Camera::Direction &Dir)
 stop instructs the camera to stop moving in the specified direction.
void idle (void)
 idle moves the camera forward in whichever directions it is configured to move in.
void accel (const vec3 &accel)
 accel takes an input vec2 which represents an acceleration, and applies it to the motion vectors with regards to the maximum acceleration and the maximum speed of the camera.
float x (void) const
 x() returns the current position of the camera in model coordinates.
float y (void) const
 y() returns the current position of the camera in model coordinates.
float z (void) const
 z() returns the current position of the camera in model coordinates.
vec4 pos (void) const
 pos() gets the current camera position in model coordinates.
virtual void send (Object::UniformEnum which)
 send will send a glsl variable to the shader.
void view (void)
 view will instruct OpenGL of the viewport we want, and then send all of our current matrices to the shader for rendering.
void resetRotation (void)
 resetRotation adjusts the camera's rotational state back to its default state (The Identity Matrix.)
+void draw (void)
 draw method: Render this object to the screen _buffer.
+void buffer (void)
 buffer all of our data: Vertices, TexUVs, Normals, Indices, Colors and Morph Buffers.
+void bufferMorphOnly (void)
 buffer only the Morph-related buffers.
void drawMode (GLenum new_mode)
 Select a new OpenGL draw mode for this Object.
void texture (const char **filename)
 FIXME: This is a junk, nonflexible method.
const std::string & name (void) const
 Retrieve the _name of this Object.
virtual void link (UniformEnum which, const std::string &name)
 link a specified Uniform against the shader's variable _name.
virtual GLuint shader (void)
 Returns the Object's current shader.
virtual void shader (GLuint newShader)
 Sets the shader to be used by this object.
void animation (void(*anim_func)(TransCache &arg))
 Apply an animation callback function to this Object.
void propagate (void)
 Scene-graph changes are not automatically applied to children.
vec4 position () const
 Obtain the vec4 representative of the Object's current position in space.
Object * morphTarget () const
 Retrieve a pointer to this object's morph target.
Object * genMorphTarget (GLuint shader)
 Instantiate a new morphing target.
float morphPercentage () const
 Retrieve the morph Percentage of this object.
void morphPercentage (const float newPercentage)
 Set the morph percentage of this Object.
+void destroyMorphTarget ()
 Obliterate the morph target for this object.
int numberOfPoints ()
 Retrieve the number of _vertices this object has.
void textureID (GLint newTextureID)
 Set the Texture ID / Texture Unit for this Object.
Object * addObject (const std::string &objName, GLuint Object_Shader=0)
 addObject creates a new Object with the given name and, optionally, a specified shader and adds it to the Scene graph.
void delObject (const std::string &objName)
 delObject will remove from the Scene graph the object with the given name.
+void delObject (void)
 delObject with no parameters will delete the first Object in the Scene.
+void popObject (void)
 popObject deletes the last Object in the Scene.
+Object * next (void)
+Object * prev (void)
+Object * active (void) const
+Object * operator[] (const std::string &objname)
void insertObject (Object *obj)
 Register a created object with the scene graph.
+ + + + + + + + + + + + + +

+Public Attributes

std::vector< Angel::vec4 > _vertices
 vertex buffer.
std::vector< Angel::vec3 > _normals
 Normals buffer.
std::vector< unsigned int > _indices
 Draw Order Index buffer.
std::vector< Angel::vec4 > _colors
 Colors buffer.
std::vector< Angel::vec2 > _texUVs
 Texture Coordinates buffer.
+TransCache _trans
 The _trans cache encompasses the current transformational state of this object.
+ + + +

+Protected Member Functions

void deleteObject (Object *obj)
 Very seriously delete a child object and free his memory.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

std::string _name
 _name is used as an identifying handle for the object.
GLuint _vao
 Vertex Array Object handle identifying our buffers/object.
+GLuint _buffer [NUM_BUFFERS]
 Handles to our buffers (Vertices, TexUVs, etc.)
GLenum _drawMode
 Drawing mode for this object.
+bool _isTextured
 Is this object textured?
float _morphPercentage
 The percentage of the morph.
+Object * _morphTarget
 A pointer to the object we wish to morph into.
std::map< Object::UniformEnum,
+std::string > 
_uniformMap
 A map between Uniform variable functions and the actual uniform variable names.
std::vector< GLint > _handles
 Handles to Uniforms on the shader.
+GLint _textureID
 The texture unit index this Object uses.
+std::list< Object * > _list
 For the purposes of rapid propagation of scene-graph changes, Object pointers are stored in a regular flat list.
std::map< std::string, Object * > _map
 For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map.
+std::list< Object * >::iterator _currentObj
 We keep an iterator on-hand that references what the scene considers to be it's active, current object.
+GLuint _gShader
 A handle to a shader program to be used as the default shader for new children objects added to the scene.
+ + + + + +

+Private Member Functions

void adjustRotation (const mat4 &adjustment, const bool &fixed=false)
 adjustRotation is an internal function that rotates the camera.
void commonInit (void)
 commonInit is a private function that initializes local object attributes.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Private Attributes

mat4 _view
 The current view matrix (defaultly perspective) for this camera.
TransCache _ctm
 The Current Transformation state for this Camera.
ViewType _currentView
 The current viewing mode type.
GLfloat _speed
 Current Speed of camera motion.
vec3 _velocity
 Current Velocity of camera motion.
+GLfloat _speed_cap
 Current Speed Capacity: (speed/MaxSpeed)
+GLfloat _maxAccel
 Maximum Acceleration Magnitude.
+GLfloat _maxSpeed
 Maximum Speed.
GLfloat _frictionMagnitude
 Friction.
GLfloat _aspectRatio
 Current aspect ratio for certain perspectives.
GLfloat _fovy
 Current field-of-view angle for perspective view.
+Angel::vec2 _viewportSize
 Camera's Drawbox Width and Height.
+Angel::vec2 _viewportPosition
 Camera's Drawbox x,y Coordinate (Upper-Left Pixel)
bool _motion [Camera::DIR_END]
 Booleans correlating to the different motion directions.
+

Detailed Description

+

The Camera class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state.

+
Author
John Huston, jhust.nosp@m.on@c.nosp@m.s.uml.nosp@m..edu
+
Since
16 Nov 2012
+

Functions are provided to adjust the rotation according to pitch(), yaw() and roll() motions; surge(), sway(), and heave() are provided to adjust position in space.

+

move(), stop(), and idle() are provided to help the camera automatically move along the x, y, or z axes.

+ +

Definition at line 37 of file Camera.hpp.

+

Member Typedef Documentation

+ +
+
+ + + + +
typedef enum Camera::Direction Camera::Direction
+
+ +

The Direction enumeration lists all of the possible directions the camera may travel in.

+

'BEGIN' and 'END' are special sentinel directions for the purposes of iteration, and are ignored by any functions that accept a Direction.

+ +
+
+ +
+
+ + + + +
typedef enum Camera::Uniforms Camera::Uniform
+
+ +

The glsl_var enumeration lists the various variables the Camera class is capable of sending to the shader.

+

The NumGlslVars variable is a sentinel value that is ignored by any functions that accept a glsl_var.

+ +
+
+ +
+
+ + + + + +
+ + + + +
typedef const unsigned int Object::UniformEnum
+
+inherited
+
+ +

The Object class takes advantage of child-extendible enumerations.

+

We create an alias here for sake of ease.

+ +

Definition at line 62 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
typedef std::map< Object::UniformEnum, std::string > Object::UniformMap
+
+inherited
+
+ +

We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables.

+

This is utilized if we ever switch this object's shader, so we can re-associate with the correct uniform locations.

+ +

Definition at line 70 of file Object.hpp.

+ +
+
+ +
+
+ + + + +
typedef enum Camera::ViewType Camera::ViewType
+
+ +

The ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between.

+

The default is PERSPECTIVE.

+ +
+
+

Member Enumeration Documentation

+ +
+
+ + + + +
enum Camera::Direction
+
+ +

The Direction enumeration lists all of the possible directions the camera may travel in.

+

'BEGIN' and 'END' are special sentinel directions for the purposes of iteration, and are ignored by any functions that accept a Direction.

+ +

Definition at line 47 of file Camera.hpp.

+ +
+
+ +
+
+ + + + +
enum Camera::Uniforms
+
+ +

The glsl_var enumeration lists the various variables the Camera class is capable of sending to the shader.

+

The NumGlslVars variable is a sentinel value that is ignored by any functions that accept a glsl_var.

+ +

Definition at line 73 of file Camera.hpp.

+ +
+
+ +
+
+ + + + +
enum Camera::ViewType
+
+ +

The ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between.

+

The default is PERSPECTIVE.

+ +

Definition at line 63 of file Camera.hpp.

+ +
+
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Camera::Camera (const std::string & name,
GLuint gShader,
float x = 0.0,
float y = 0.0,
float z = 0.0 
)
+
+ +

Initialization Constructor; sets the x,y,z coordinates explicitly.

+
Parameters
+ + + + + + +
nameThe name of this Camera/Object.
gShaderA handle to this camera's associated shader object.
xThe initial x coordinate.
yThe initial y coordinate.
zThe initial z coordinate.
+
+
+ +

Definition at line 45 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Camera::Camera (const std::string & name,
GLuint gShader,
vec3 & in 
)
+
+ +

Initialization Constructor, uses a vec3 as its initial coordinates.

+
Parameters
+ + + + +
nameThe name of this Camera/Object.
gShaderA handle to this camera's associated shader object.
inA vec3 representing the initial coordinates.
+
+
+ +

Definition at line 52 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Camera::Camera (const std::string & name,
GLuint gShader,
vec4 & in 
)
+
+ +

Initialization Constructor, uses a vec4 as its initial coordinates.

+
Parameters
+ + + + +
nameThe name of this Camera/Object.
gShaderA handle to this camera's associated shader object.
inA vec4 representing the initial coordinates. The w component is ignored.
+
+
+ +

Definition at line 58 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Camera::~Camera (void )
+
+virtual
+
+ +

Default destructor.

+

Defined only to allow inheritance.

+ +

Definition at line 64 of file Camera.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
void Camera::accel (const vec3 & accel)
+
+ +

accel takes an input vec2 which represents an acceleration, and applies it to the motion vectors with regards to the maximum acceleration and the maximum speed of the camera.

+
Parameters
+ + +
accelThe vec3 which represents the (x,y,z) acceleration, where x,y,z are [-1,1].
+
+
+
Returns
Void.
+ +

Definition at line 223 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object * Scene::addObject (const std::string & objName,
GLuint shader = 0 
)
+
+inherited
+
+ +

addObject creates a new Object with the given name and, optionally, a specified shader and adds it to the Scene graph.

+

If no shader is given, a default shader MUST have been specified for the Scene prior to the call.

+
Parameters
+ + + +
objNameThe name of the new Object to add.
Object_ShaderThe shader that should be used to render this object.
+
+
+
Returns
A pointer to the new Object.
+ +

Definition at line 77 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::adjustFieldOfView (const float & by)
+
+ +

adjustFieldOfView adjusts the field of view angle up or down by an amount.

+
Parameters
+ + +
byThe float to adjust the fieldOfView angle by.
+
+
+
Returns
Void.
+ +

Definition at line 392 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Camera::adjustRotation (const mat4 & adjustment,
const bool & fixed = false 
)
+
+private
+
+ +

adjustRotation is an internal function that rotates the camera.

+

Technically, any transformation, not just a rotation, is possible.

+
Parameters
+ + + +
adjustmentThe 4x4 matrix to transform the CTM by.
fixedShould this rotation be fixed about the origin?
+
+
+
Returns
Void.
+ +

Definition at line 148 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Object::animation (void(*)(TransCache &arg) anim_func)
+
+inherited
+
+ +

Apply an animation callback function to this Object.

+

Works once only: Does not save the function or automatically run on idle.

+
Parameters
+ + +
anim_funcThe transformation/animation function to apply.
+
+
+ +

Definition at line 443 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::changePerspective (const ViewType & vType)
+
+ +

changePerspective changes the current perspective of the camera.

+
Parameters
+ + +
vTypeWhich perspective to use. see enum ViewType for possibilities.
+
+
+
Returns
Void.
+ +

Definition at line 359 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Camera::commonInit (void )
+
+private
+
+ +

commonInit is a private function that initializes local object attributes.

+

It should be called by all available constructors.

+
Returns
Void.
+ +

Definition at line 19 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::deleteObject (Object * obj)
+
+protectedinherited
+
+ +

Very seriously delete a child object and free his memory.

+

deleteObject is the actual implementation function that will remove an Object from the Scene list and Scene map, then free the object.

+
Parameters
+ + + +
objThe object to delete.
objThe pointer to the object to free.
+
+
+ +

Definition at line 129 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::delObject (const std::string & objName)
+
+inherited
+
+ +

delObject will remove from the Scene graph the object with the given name.

+
Parameters
+ + +
objNameName of the Object to delete.
+
+
+ +

Definition at line 99 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void Camera::dPos (const float & x,
const float & y,
const float & z 
)
+
+ +

Moves the camera along the x, y, and z axes.

+
Parameters
+ + + + +
xthe x-axis displacement.
ythe y-axis displacement.
zthe z-axis displacement.
+
+
+
Returns
Void.
+ +

Definition at line 131 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::dPos (const vec3 & by)
+
+ +

Moves the camera along the x, y, and z axes.

+
Parameters
+ + +
byA vec3 containing the x, y, and z axis displacements.
+
+
+
Returns
Void.
+ +

Definition at line 140 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::dPos (const vec4 & by)
+
+ +

Moves the camera along the x, y, and z axes.

+
Parameters
+ + +
byA vec4 containing the x, y, and z axis displacements. The w component is ignored.
+
+
+
Returns
Void.
+ +

Definition at line 144 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Object::drawMode (GLenum new_mode)
+
+inherited
+
+ +

Select a new OpenGL draw mode for this Object.

+

Can be GL_LINES, GL_LINE_LOOP, GL_TRIANGLES, etc.

+
See Also
http://www.opengl.org/wiki/Primitive
+
Parameters
+ + +
new_modeThe primitive rendering mode to use.
+
+
+ +

Definition at line 269 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Camera::dX (const float & by,
const bool & update = true 
)
+
+ +

Moves the camera along the x axis.

+
Parameters
+ + + +
byThe float value of the x-axis displacement.
updateA boolean indicating whether or not to update the shader. update defaults to true.
+
+
+
Returns
void.
+ +

Definition at line 119 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Camera::dY (const float & by,
const bool & update = true 
)
+
+ +

Moves the camera along the y axis.

+
Parameters
+ + + +
byThe float value of the y-axis displacement.
updateA boolean indicating whether or not to update the shader. update defaults to true.
+
+
+
Returns
Void.
+ +

Definition at line 123 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Camera::dZ (const float & by,
const bool & update = true 
)
+
+ +

Moves the camera along the z axis.

+
Parameters
+ + + +
byThe float value of the z-axis displacement.
updateA boolean indicating whether or not to update the shader. update defaults to true.
+
+
+
Returns
Void.
+ +

Definition at line 127 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::fieldOfView (const float & fovy)
+
+ +

fieldOfView sets the current camera Field-of-view angle.

+

This function will send the new perspective matrix to the shader.

+
Parameters
+ + +
fovyThe new field of view angle.
+
+
+
Returns
Void.
+ +

Definition at line 354 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
float Camera::fieldOfView (void ) const
+
+ +

fieldOfView() gets the current camera Field-of-view angle.

+
Returns
A float that is the y axis viewing angle.
+ +

Definition at line 350 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object * Object::genMorphTarget (GLuint shader)
+
+inherited
+
+ +

Instantiate a new morphing target.

+
Parameters
+ + +
shaderThe shader to use for the new morphing target. NOT USED for rendering the object, but Objects cannot be instantiated without a shader, so here it is.
+
+
+
Returns
A pointer to the newly created target.
+ +

Definition at line 503 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::heave (const float & by)
+
+ +

Adjusts the camera's y coordinate relative to its current position.

+

Positive values move the camera up, and negative values move the camera down.

+
Parameters
+ + +
byThe float to adjust the y coordinate by.
+
+
+
Returns
Void.
+ +

Definition at line 194 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::idle (void )
+
+ +

idle moves the camera forward in whichever directions it is configured to move in.

+

Call it in the glut idle function.

+
Returns
Void.
+ +

Definition at line 280 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::insertObject (Object * obj)
+
+inherited
+
+ +

Register a created object with the scene graph.

+
Parameters
+ + + +
nameThe name of the object (For the associative map),
objThe Object pointer to add to the scene.
+
+
+ +

Definition at line 118 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Object::link (UniformEnum which,
const std::string & name 
)
+
+virtualinherited
+
+ +

link a specified Uniform against the shader's variable _name.

+
Parameters
+ + + +
whichThe Uniform to link.
nameThe variable _name on the shader.
+
+
+ +

Definition at line 345 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
float Object::morphPercentage (void ) const
+
+inherited
+
+ +

Retrieve the morph Percentage of this object.

+
Returns
The morph percentage, as a float.
+ +

Definition at line 515 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Object::morphPercentage (const float newPercentage)
+
+inherited
+
+ +

Set the morph percentage of this Object.

+
Parameters
+ + +
newPercentageThe new morphing percentage.
+
+
+ +

Definition at line 524 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Object * Object::morphTarget (void ) const
+
+inherited
+
+ +

Retrieve a pointer to this object's morph target.

+
Returns
An Object pointer to the morph target.
+ +

Definition at line 489 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::move (const Camera::Direction & Dir)
+
+ +

move instructs the camera to begin moving in the specified direction.

+
Parameters
+ + +
DirThe direction in which to move. Can be any direction in the enumerated type Camera::Direction.
+
+
+
Returns
Void.
+ +

Definition at line 272 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
const std::string & Object::name (void ) const
+
+inherited
+
+ +

Retrieve the _name of this Object.

+
Returns
The _name of this Object.
+ +

Definition at line 333 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
int Object::numberOfPoints (void )
+
+inherited
+
+ +

Retrieve the number of _vertices this object has.

+
Returns
An integer representing the number of vertices the object has.
+ +

Definition at line 544 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Camera::pitch (const float & by,
const bool & fixed = false 
)
+
+ +

pitch adjusts the x axis rotation; up/down look.

+

A positive value represents looking up, while a negative value represents looking down.

+
Parameters
+ + + +
byA float, in degrees, to adjust the pitch by.
fixedShould this rotation be fixed about the origin?
+
+
+
Returns
Void.
+ +

Definition at line 198 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void Camera::pos (const float & x,
const float & y,
const float & z,
const bool & update = true 
)
+
+ +

Sets the absolute position of the camera.

+
Parameters
+ + + + + +
xThe new x coordinate of the camera.
yThe new y coordinate of the camera.
zThe new z coordinate of the camera.
updateWhether or not to update the shader with the new coordinates.
+
+
+
Returns
Void.
+ +

Definition at line 99 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Camera::pos (const vec3 & in,
const bool & update = true 
)
+
+ +

Sets the absolute position of the camera.

+
Parameters
+ + + +
inA vec3 containing the x, y, and z coordinates to set the camera to.
updateWhether or not to update the shader with the new coordinates.
+
+
+
Returns
Void.
+ +

Definition at line 115 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Camera::pos (const vec4 & in,
const bool & update = true 
)
+
+ +

Sets the absolute position of the camera.

+
Parameters
+ + + +
inA vec4 containing the x, y, and z coordinates to set the camera to. The w coordinate is ignored.
updateWhether or not to update the shader with the new coordinates.
+
+
+
Returns
Void.
+ +

Definition at line 111 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
vec4 Camera::pos (void ) const
+
+ +

pos() gets the current camera position in model coordinates.

+
Returns
A vec4 that represents the current camera coordinates.
+ +

Definition at line 346 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
vec4 Object::position (void ) const
+
+inherited
+
+ +

Obtain the vec4 representative of the Object's current position in space.

+
Returns
vec4 representing the Object's position in space.
+ +

Definition at line 478 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Object::propagate (void )
+
+inherited
+
+ +

Scene-graph changes are not automatically applied to children.

+

For efficiency reasons, you need to call propagate() manually.

+ +

Definition at line 452 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::refreshPerspective (void )
+
+ +

refreshPerspective re-generates the current view/perspective matrix of the camera.

+

This function should be called after physical or virtual (viewport) screen resizes.

+
Returns
Void.
+ +

Definition at line 366 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::resetRotation (void )
+
+ +

resetRotation adjusts the camera's rotational state back to its default state (The Identity Matrix.)

+
Returns
void.
+ +

Definition at line 446 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Camera::roll (const float & by,
const bool & fixed = false 
)
+
+ +

roll adjusts the z axis rotation; tilt or lean left/right.

+

A positive value represents leaning right, while a negative value represents leaning left.

+
Parameters
+ + + +
byA float, in degrees, to adjust the roll by.
fixedShould this rotation be fixed about the origin?
+
+
+
Returns
Void.
+ +

Definition at line 219 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Camera::send (Object::UniformEnum which)
+
+virtual
+
+ +

send will send a glsl variable to the shader.

+
Parameters
+ + +
whichThe parameter to send. Can be any from enum glsl_var.
+
+
+
Returns
Void.
+ +

Reimplemented from Object.

+ +

Definition at line 403 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
GLuint Object::shader (void )
+
+virtualinherited
+
+ +

Returns the Object's current shader.

+

Defined because C++ will not let you overload an overrided function, without re-overloading it in the derived class.

+
Returns
a GLuint handle to the shader program used by this Object.
+ +

Reimplemented from Scene.

+ +

Definition at line 406 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Object::shader (GLuint newShader)
+
+virtualinherited
+
+ +

Sets the shader to be used by this object.

+

Triggers a query of the shader program, for the locations of the Uniform locations that the object needs.

+
Parameters
+ + +
newShadera GLuint handle to the shader program to use.
+
+
+
Returns
None.
+ +

Reimplemented from Scene.

+ +

Definition at line 422 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::stop (const Camera::Direction & Dir)
+
+ +

stop instructs the camera to stop moving in the specified direction.

+
Parameters
+ + +
DirThe direction in which to stop moving.
+
+
+
Returns
Void.
+ +

Definition at line 276 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::surge (const float & by)
+
+ +

Adjusts the camera's z coordinate relative to its current position.

+

Positive values move the camera forward, and negative values move the camera backward. Note that the camera uses model coordinates internally, so moving forward will increase the camera's z position negatively.

+
Parameters
+ + +
byThe float to adjust the z coordinate by.
+
+
+
Returns
Void.
+ +

Definition at line 190 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::sway (const float & by)
+
+ +

Adjusts the camera's x coordinate relative to its current position.

+

Negative values move the camera left, and positive values move the camera right.

+
Parameters
+ + +
byThe float to adjust the x coordinate by.
+
+
+
Returns
Void.
+ +

Definition at line 186 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Object::texture (const char ** filename)
+
+inherited
+
+ +

FIXME: This is a junk, nonflexible method.

+

It would be better if you didn't think of this as being here.

+
Parameters
+ + +
filenamean array of strings to load textures from.
+
+
+ +

Definition at line 279 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Object::textureID (GLint newTextureID)
+
+inlineinherited
+
+ +

Set the Texture ID / Texture Unit for this Object.

+
Parameters
+ + +
newTextureIDThe new Texture Unit ID/Index for this Object.
+
+
+
Returns
None.
+ +

Definition at line 244 of file Object.hpp.

+ +
+
+ +
+
+ + + + + + + + +
void Camera::view (void )
+
+ +

view will instruct OpenGL of the viewport we want, and then send all of our current matrices to the shader for rendering.

+
Returns
Void.
+ +

Definition at line 434 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void Camera::viewport (size_t _X,
size_t _Y,
size_t _width,
size_t _height 
)
+
+ +

viewport instructs this camera what his expected drawing window will be.

+

This allows the camera to generate his viewing matrices with the correct aspect ratio.

+
Parameters
+ + + + + +
_XThe x coordinate of the lower-left corner of our viewport.
_Ythe y coordinate of the lower-left corner of our viewport.
_widthThe width of our viewport.
_heightthe height of our viewport.
+
+
+
Returns
Void.
+ +

Definition at line 396 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Camera::x (const float & in,
const bool & update = true 
)
+
+ +

Sets the x coordinate of the camera.

+
Parameters
+ + + +
inThe new x coordinate of the camera.
updateWhether or not to update the shader with the new coordinates.
+
+
+
Returns
Void.
+ +

Definition at line 68 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
float Camera::x (void ) const
+
+ +

x() returns the current position of the camera in model coordinates.

+
Returns
The current x coordinate of the camera in model coordinates.
+ +

Definition at line 334 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Camera::y (const float & in,
const bool & update = true 
)
+
+ +

Sets the y coordinate of the camera.

+
Parameters
+ + + +
inThe new y coordinate of the camera.
updateWhether or not to update the shader with the new coordinates.
+
+
+
Returns
Void.
+ +

Definition at line 79 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
float Camera::y (void ) const
+
+ +

y() returns the current position of the camera in model coordinates.

+
Returns
The current y coordinate of the camera in model coordinates.
+ +

Definition at line 338 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Camera::yaw (const float & by,
const bool & fixed = false 
)
+
+ +

yaw adjusts the y axis rotation; left/right look.

+

A positive value represents looking right, while a negative value represents looking left.

+
Parameters
+ + + +
byA float, in degrees, to adjust the yaw by.
fixedShould this rotation be fixed about the origin?
+
+
+
Returns
Void.
+ +

Definition at line 209 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Camera::z (const float & in,
const bool & update = true 
)
+
+ +

Sets the z coordinate of the camera.

+
Parameters
+ + + +
inThe new z coordinate of the camera.
updateWhether or not to update the shader with the new coordinates.
+
+
+
Returns
Void.
+ +

Definition at line 89 of file Camera.cpp.

+ +
+
+ +
+
+ + + + + + + + +
float Camera::z (void ) const
+
+ +

z() returns the current position of the camera in model coordinates.

+
Returns
The current z coordinate of the camera in model coordinates.
+ +

Definition at line 342 of file Camera.cpp.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
GLfloat Camera::_aspectRatio
+
+private
+
+ +

Current aspect ratio for certain perspectives.

+ +

Definition at line 428 of file Camera.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector< Angel::vec4 > Object::_colors
+
+inherited
+
+ +

Colors buffer.

+ +

Definition at line 256 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
TransCache Camera::_ctm
+
+private
+
+ +

The Current Transformation state for this Camera.

+ +

Definition at line 404 of file Camera.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
ViewType Camera::_currentView
+
+private
+
+ +

The current viewing mode type.

+ +

Definition at line 407 of file Camera.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
GLenum Object::_drawMode
+
+protectedinherited
+
+ +

Drawing mode for this object.

+

GL_TRIANGLES, GL_LINE_LOOP, etc.

+ +

Definition at line 278 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
GLfloat Camera::_fovy
+
+private
+
+ +

Current field-of-view angle for perspective view.

+ +

Definition at line 431 of file Camera.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
GLfloat Camera::_frictionMagnitude
+
+private
+
+ +

Friction.

+

Should be less than MaxAccel.

+ +

Definition at line 425 of file Camera.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector< GLint > Object::_handles
+
+protectedinherited
+
+ +

Handles to Uniforms on the shader.

+

Protected to allow derived classes to extend it as needed.

+ +

Definition at line 307 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector< unsigned int > Object::_indices
+
+inherited
+
+ +

Draw Order Index buffer.

+

If not used, engine assumes GL_DRAW_ARRAYS.

+ +

Definition at line 254 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::map< std::string, Object* > Scene::_map
+
+protectedinherited
+
+ +

For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map.

+

It's a little superfluous, but here it is!

+ +

Definition at line 127 of file Scene.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float Object::_morphPercentage
+
+protectedinherited
+
+ +

The percentage of the morph.

+

0.0 means 100% the original, current object. 100.0 means 100% the new, targeted object.

+ +

Definition at line 289 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool Camera::_motion[Camera::DIR_END]
+
+private
+
+ +

Booleans correlating to the different motion directions.

+ +

Definition at line 440 of file Camera.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::string Object::_name
+
+protectedinherited
+
+ +

_name is used as an identifying handle for the object.

+ +

Definition at line 269 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector< Angel::vec3 > Object::_normals
+
+inherited
+
+ +

Normals buffer.

+ +

Definition at line 252 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
GLfloat Camera::_speed
+
+private
+
+ +

Current Speed of camera motion.

+ +

Definition at line 410 of file Camera.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector< Angel::vec2 > Object::_texUVs
+
+inherited
+
+ +

Texture Coordinates buffer.

+ +

Definition at line 258 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::map< Object::UniformEnum, std::string > Object::_uniformMap
+
+protectedinherited
+
+ +

A map between Uniform variable functions and the actual uniform variable names.

+

Used when linking against a shader.

+ +

Definition at line 300 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
GLuint Object::_vao
+
+protectedinherited
+
+ +

Vertex Array Object handle identifying our buffers/object.

+ +

Definition at line 272 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
vec3 Camera::_velocity
+
+private
+
+ +

Current Velocity of camera motion.

+ +

Definition at line 413 of file Camera.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector< Angel::vec4 > Object::_vertices
+
+inherited
+
+ +

vertex buffer.

+ +

Definition at line 250 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
mat4 Camera::_view
+
+private
+
+ +

The current view matrix (defaultly perspective) for this camera.

+ +

Definition at line 401 of file Camera.hpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_camera.js b/Doxygen/Docs/html/class_camera.js new file mode 100644 index 00000000..bf1cda37 --- /dev/null +++ b/Doxygen/Docs/html/class_camera.js @@ -0,0 +1,137 @@ +var class_camera = +[ + [ "Direction", "class_camera.html#a94bb7ceb1c7a05e54cf638924f228baf", null ], + [ "Uniform", "class_camera.html#a0ed19c96505cbb70625938d1e883af24", null ], + [ "UniformEnum", "class_camera.html#a79b74057dbc5182b85c9c3ba8480fcf2", null ], + [ "UniformMap", "class_camera.html#a6e19bd8516360bff956408cbae33b878", null ], + [ "ViewType", "class_camera.html#a5b2dc5eaed6cbaabee0eea3f2714acd7", null ], + [ "Direction", "class_camera.html#a80cb65605322d27ad3b6d973484509ec", [ + [ "DIR_FORWARD", "class_camera.html#a80cb65605322d27ad3b6d973484509eca902b2cfde2f51a981043dd00b382d7ae", null ], + [ "DIR_BACKWARD", "class_camera.html#a80cb65605322d27ad3b6d973484509eca5d7f93a74e5435edd0bb88ab06169912", null ], + [ "DIR_LEFT", "class_camera.html#a80cb65605322d27ad3b6d973484509eca6c93a7586f26ad3018cb5a8fbed714dc", null ], + [ "DIR_RIGHT", "class_camera.html#a80cb65605322d27ad3b6d973484509ecaff74732b6e731f12136d1e9c543030d2", null ], + [ "DIR_UP", "class_camera.html#a80cb65605322d27ad3b6d973484509eca35b8ccf8cb2ea0eeb25555bbf80fd3a9", null ], + [ "DIR_DOWN", "class_camera.html#a80cb65605322d27ad3b6d973484509ecaaae67014745e71ff3f8a9b15312eeede", null ], + [ "DIR_END", "class_camera.html#a80cb65605322d27ad3b6d973484509ecae3cd0178bdd55c347c9f6118a97b061f", null ], + [ "DIR_BEGIN", "class_camera.html#a80cb65605322d27ad3b6d973484509eca1182ad86cdaf5ee5871a7623093f499a", null ] + ] ], + [ "Uniforms", "class_camera.html#a630738fd23098d44c0d15ee28d5649dd", [ + [ "BEGIN", "class_camera.html#a630738fd23098d44c0d15ee28d5649dda8755e70833f6013e9e9ace5105be6d36", null ], + [ "TRANSLATION", "class_camera.html#a630738fd23098d44c0d15ee28d5649ddaa724886fecc6e17614369a89202de10a", null ], + [ "ROTATION", "class_camera.html#a630738fd23098d44c0d15ee28d5649dda42232985b2e20533d58b84ea50d8262b", null ], + [ "VIEW", "class_camera.html#a630738fd23098d44c0d15ee28d5649dda5247bef56608d201873d36337882ff40", null ], + [ "CTM", "class_camera.html#a630738fd23098d44c0d15ee28d5649dda0668f2f217abfa641e0ccc950afb5502", null ], + [ "END", "class_camera.html#a630738fd23098d44c0d15ee28d5649dda1827921189f1705617e9095c4c987a72", null ] + ] ], + [ "ViewType", "class_camera.html#aaa256acd50a2fa143d9f8d9456e2802f", [ + [ "PERSPECTIVE", "class_camera.html#aaa256acd50a2fa143d9f8d9456e2802fa34783417054408fd9e024048b1cefa47", null ], + [ "ORTHO", "class_camera.html#aaa256acd50a2fa143d9f8d9456e2802fa5421bcd519dac606b7af9786b11f88d6", null ], + [ "ORTHO2D", "class_camera.html#aaa256acd50a2fa143d9f8d9456e2802fa956cf59f551197f8d3db160be681024f", null ], + [ "IDENTITY", "class_camera.html#aaa256acd50a2fa143d9f8d9456e2802fa78d477575c92ab2e4a2458b20c8c3303", null ], + [ "FRUSTUM", "class_camera.html#aaa256acd50a2fa143d9f8d9456e2802fac36bb001e86bb48deaa6d984034eba83", null ] + ] ], + [ "Camera", "class_camera.html#a16516fa8c830cecef5c8eb43eff12783", null ], + [ "Camera", "class_camera.html#a24329612384948d2b64f78094fe84e75", null ], + [ "Camera", "class_camera.html#aa131bc7f1bad2cc8baea463714c4485d", null ], + [ "~Camera", "class_camera.html#a06211f202c145b3ec8253f96e1e654a6", null ], + [ "accel", "class_camera.html#abee6a36602b8044478739cea9221ed41", null ], + [ "active", "class_camera.html#ad0ea1a6bcf7815c63988bd937f06eb23", null ], + [ "addObject", "class_camera.html#aa5a48614e959c38c35d824fa9d6a4b8b", null ], + [ "adjustFieldOfView", "class_camera.html#a717f5d58bb0a73f8c5513a3520d98203", null ], + [ "adjustRotation", "class_camera.html#aba32f195cdb5bfcfd05c2ce74315b6c3", null ], + [ "animation", "class_camera.html#a0d604a816115c474b9593aeaebda9f8b", null ], + [ "buffer", "class_camera.html#a7edb92c30d86b6479b0ff2a5e9f06e13", null ], + [ "bufferMorphOnly", "class_camera.html#a293792abfe0671e00a0ec10e85ea9d9e", null ], + [ "changePerspective", "class_camera.html#a8463a19c9e1e7a1c51cd97051e937230", null ], + [ "commonInit", "class_camera.html#a20243a7e3eb06ab1265118c5fb9cce9b", null ], + [ "deleteObject", "class_camera.html#ad3897f8ac658af62c133783b2c4eaee4", null ], + [ "delObject", "class_camera.html#a2a6845dacbb468c5c097c7a6ab5a0fe0", null ], + [ "delObject", "class_camera.html#a2e6b319b60e27e66ad43bb942a6c4424", null ], + [ "destroyMorphTarget", "class_camera.html#a98d3f1b9ebb61c3b21e2a59ed267480a", null ], + [ "dPos", "class_camera.html#a2ac5f89b4f9f012dead66980925143c0", null ], + [ "dPos", "class_camera.html#a928de59670f0b31264307a8a0888b99d", null ], + [ "dPos", "class_camera.html#a4ec2e3d2a66826aedb1ac1eee7da0b96", null ], + [ "draw", "class_camera.html#a53e2ee7f548550be014126bed139fe69", null ], + [ "drawMode", "class_camera.html#adafdf22583b051b4c61c8eb725fb07d5", null ], + [ "dX", "class_camera.html#ac7985a6cb48f4e1e74fda17e5213dd74", null ], + [ "dY", "class_camera.html#a59570a88e3ff2d277c9e995372fcadfe", null ], + [ "dZ", "class_camera.html#ab94ed9b3c7e12f484d6bfa5f827b59ff", null ], + [ "fieldOfView", "class_camera.html#a36ec0e0e832f789e27d42e7bd4f6d174", null ], + [ "fieldOfView", "class_camera.html#a9b3675bf6866a67f8fa802bb4aecba89", null ], + [ "genMorphTarget", "class_camera.html#ab0ba603904f8f7de15dc0450e2d9b30e", null ], + [ "heave", "class_camera.html#a2148d751f104d8e39c9832e2372df2d9", null ], + [ "idle", "class_camera.html#a9c620bd05c119791c080e479ee71abc2", null ], + [ "insertObject", "class_camera.html#a8893899f0088a72642ae32a656252e7f", null ], + [ "link", "class_camera.html#a11d6063c580331d6af59c8d71b7f3e9f", null ], + [ "morphPercentage", "class_camera.html#accb051cdc79bc93e8c9c0edb79dd6b30", null ], + [ "morphPercentage", "class_camera.html#a543d2329b25df9fb0a782f09d03e5cb1", null ], + [ "morphTarget", "class_camera.html#a7694c9cfe445c3d5b993a38e3f8badd9", null ], + [ "move", "class_camera.html#aaa9706527438bd5bd323dd018bb34fcf", null ], + [ "name", "class_camera.html#aafd766fce2598f718cac97a3ac731706", null ], + [ "next", "class_camera.html#a70fcdad192a4c6ff508125de8af6cf4d", null ], + [ "numberOfPoints", "class_camera.html#a73f1a6210bacf504de9a808009479b81", null ], + [ "operator[]", "class_camera.html#ae9b69d8db8a46991017635f22e45baad", null ], + [ "pitch", "class_camera.html#aac7dbb6201be7f17e014fc6fdf915560", null ], + [ "popObject", "class_camera.html#ad6c9d1d1d0c786d39bf97dc60410e28b", null ], + [ "pos", "class_camera.html#a432e03c15d63f8839fe4731016d907a4", null ], + [ "pos", "class_camera.html#ae9dc2206b71b25cf320a05d148cb8b56", null ], + [ "pos", "class_camera.html#aec2115038562e514193bb2b67f5da153", null ], + [ "pos", "class_camera.html#a9982ac5f48fe0af97fefa725080d6da6", null ], + [ "position", "class_camera.html#ac64609eb614aa5974b74000cec6fc95c", null ], + [ "prev", "class_camera.html#ac852d5d763eb35b4908c9aa7ea54d1ae", null ], + [ "propagate", "class_camera.html#a2fdd201413e0408f5a2508874acd2ef5", null ], + [ "refreshPerspective", "class_camera.html#a24c5346fc0dfaa93257b6716fe0f2421", null ], + [ "resetRotation", "class_camera.html#a8ec7938c5e25068e5bff25aeb7038af4", null ], + [ "roll", "class_camera.html#a1ba0979fe0b2ec58085d5f9721858e5e", null ], + [ "send", "class_camera.html#a401decef27b59d6485b4ab9762f5b9e6", null ], + [ "shader", "class_camera.html#a459489106838a1e3a8dbbd13045cd523", null ], + [ "shader", "class_camera.html#aeaf11bb87bd59381c9e066f0b4f40d8e", null ], + [ "stop", "class_camera.html#ae7414c6ae83c3c9392ab90e957daf2b9", null ], + [ "surge", "class_camera.html#abb2251df65445bf8efd3fe0074fb5033", null ], + [ "sway", "class_camera.html#abbe6fe82ed05e64e35b0c4ed2001b34e", null ], + [ "texture", "class_camera.html#afebb27ddb10daed8e2c5085b76cbc500", null ], + [ "textureID", "class_camera.html#a74300b3fa318786e21b65183461c5e25", null ], + [ "view", "class_camera.html#ae845a36306bba6b6e359cbdddce65f7f", null ], + [ "viewport", "class_camera.html#adda458a9212825164b52019597f2e9c8", null ], + [ "x", "class_camera.html#a14d59ca64bf258adacbed4e0e70ba701", null ], + [ "x", "class_camera.html#ab84abdd525581fbaf0462595d0a087d6", null ], + [ "y", "class_camera.html#a5021b8379a853f306851837178856db0", null ], + [ "y", "class_camera.html#a68d0865ed19510ee41c6477511d70185", null ], + [ "yaw", "class_camera.html#a0ce7d12edbe47d9a8915d8af98d8f524", null ], + [ "z", "class_camera.html#a4acfa20291c83f13c98781c0d53cdbd8", null ], + [ "z", "class_camera.html#ab1167495c547046c57b1c417e53c39f6", null ], + [ "_aspectRatio", "class_camera.html#a42082e8f2d80a13674ce163d8e720bfb", null ], + [ "_buffer", "class_camera.html#adf8365e2c661ab4014c3dbf60e48572b", null ], + [ "_colors", "class_camera.html#a29a0e9959c490067db69378bf57a17ba", null ], + [ "_ctm", "class_camera.html#a6c1e31c8470b923f9f872f73597cb95b", null ], + [ "_currentObj", "class_camera.html#ae87ca5350fcc595f3f15a4fd3c39f3d9", null ], + [ "_currentView", "class_camera.html#ac9062d9bb891aa81d163076738451081", null ], + [ "_drawMode", "class_camera.html#ae8457eabfb89d55826142508013b56c0", null ], + [ "_fovy", "class_camera.html#a82542bb76347e2a2bb66b3bb7842945b", null ], + [ "_frictionMagnitude", "class_camera.html#a66fb66da0ccd400c4986dc19276b6716", null ], + [ "_gShader", "class_camera.html#a8f9bdd8ec5edb1f414fbd314a36e2724", null ], + [ "_handles", "class_camera.html#a983963f564898beca4bda99676245663", null ], + [ "_indices", "class_camera.html#ab85adc7a2d3b891051c096593982653d", null ], + [ "_isTextured", "class_camera.html#abcb877094b696561a49bc931c5a12d9f", null ], + [ "_list", "class_camera.html#acdd0123ca6b2d64d8d447bb485b235fc", null ], + [ "_map", "class_camera.html#a8bd5d86484a12255b26b92b6cbf8d29a", null ], + [ "_maxAccel", "class_camera.html#acbfae99c73c118ca92be9a6ba664b303", null ], + [ "_maxSpeed", "class_camera.html#a83cab43f9ccc3d5f4c7db8543a806745", null ], + [ "_morphPercentage", "class_camera.html#a7fbbac9027e1a8266342bd5ce064120d", null ], + [ "_morphTarget", "class_camera.html#a5baa9891bd4981d62b4e86a1c2a8eea7", null ], + [ "_motion", "class_camera.html#abec7e2becbad5a692a54a69b6a5f6d75", null ], + [ "_name", "class_camera.html#a3f617214b260ebbe394e7c7b08ab5e43", null ], + [ "_normals", "class_camera.html#a20bb786cb5915934853855aab9d1a1b3", null ], + [ "_speed", "class_camera.html#a21f8eb53e5369018e39add0453ae626d", null ], + [ "_speed_cap", "class_camera.html#a4d875d29a43bdfed4eac4c76747939d3", null ], + [ "_textureID", "class_camera.html#aefef7502dd10fb3c1c266cf688c432de", null ], + [ "_texUVs", "class_camera.html#aa9ddc3b95d74b76ab8a251fb376dfafb", null ], + [ "_trans", "class_camera.html#af17d57ea2dab64e21112e8949d50d85f", null ], + [ "_uniformMap", "class_camera.html#a6378d0b0eeec23045ae2a5245e42bf13", null ], + [ "_vao", "class_camera.html#a564aa6b1df66a05ab6b6c2f071851c4e", null ], + [ "_velocity", "class_camera.html#aa15577ff9e67c81699ee86d4d20a7ee7", null ], + [ "_vertices", "class_camera.html#a4ac354b3ec284f27358b1d4b8d95b9a9", null ], + [ "_view", "class_camera.html#a28f6e710df6db726568cd0f2bbd3643a", null ], + [ "_viewportPosition", "class_camera.html#adb7506be3632abc2d33e77a5783f5be8", null ], + [ "_viewportSize", "class_camera.html#a67c7600162abef1d2cddfce8cc75c33b", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_camera.png b/Doxygen/Docs/html/class_camera.png new file mode 100644 index 00000000..089ed6b6 Binary files /dev/null and b/Doxygen/Docs/html/class_camera.png differ diff --git a/Doxygen/Docs/html/class_cameras-members.html b/Doxygen/Docs/html/class_cameras-members.html new file mode 100644 index 00000000..85e962ff --- /dev/null +++ b/Doxygen/Docs/html/class_cameras-members.html @@ -0,0 +1,155 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Cameras Member List
+
+
+ +

This is the complete list of members for Cameras, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_currentObjSceneprotected
_gShaderSceneprotected
_listSceneprotected
_mapSceneprotected
_sizeCamerasprivate
active(void) const Cameras
addCamera(const std::string &name)Cameras
addObject(const std::string &objName, GLuint Object_Shader=0)Scene
calculateViewports(void)Cameras
Cameras(void)Cameras
deleteObject(Object *obj)Sceneprotected
delObject(const std::string &objName)Scene
delObject(void)Scene
draw(void) (defined in Scene)Scene
idleMotion(void)Cameras
insertObject(Object *obj)Scene
next(void)Cameras
numCameras(void) const Cameras
obj2Cam(std::list< Object * >::iterator &it)Cameras
operator=(const Scene &copy) (defined in Scene)Scene
operator[](const std::string &objname) (defined in Scene)Scene
popCamera(void)Cameras
popObject(void)Scene
prev(void)Cameras
resize(int width, int height)Cameras
Scene()Scene
Scene(const Scene &copy) (defined in Scene)Scene
shader(GLuint gShader)Scenevirtual
shader(void)Scene
view(void(*draw_func)(void))Cameras
~Cameras(void)Cameras
~Scene()Scenevirtual
+
+ + + + diff --git a/Doxygen/Docs/html/class_cameras.html b/Doxygen/Docs/html/class_cameras.html new file mode 100644 index 00000000..9923c824 --- /dev/null +++ b/Doxygen/Docs/html/class_cameras.html @@ -0,0 +1,799 @@ + + + + + +HyperGrafx: Cameras Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Cameras Class Reference
+
+
+ +

The Cameras class represents a group of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space. + More...

+ +

#include <Cameras.hpp>

+
+Inheritance diagram for Cameras:
+
+
+ + +Scene + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Cameras (void)
 Default constructor.
 ~Cameras (void)
 Default destructor.
Camera * addCamera (const std::string &name)
 addCamera takes a name for a camera and returns a handle to a newly created camera.
void popCamera (void)
 popCamera removes the most recently added Camera from the scene.
Camera * next (void)
 Sets the active camera to the next available one in the collection.
Camera * prev (void)
 Sets the active Camera to the previous available one in the collection.
Camera * active (void) const
 active returns the Camera in the collection that is considered 'active'.
size_t numCameras (void) const
 numCameras fetches the number of Cameras in the collection.
void idleMotion (void)
 idleMotion calls the idle method on all child cameras.
void resize (int width, int height)
 resize informs the Cameras collection of the new window size.
void calculateViewports (void)
 For each Camera in the collection, computes the position and size of that Camera's viewport in a split-screen, single-window configuration.
void view (void(*draw_func)(void))
 view calls the view method on all child cameras, followed by the provided draw function.
Camera * obj2Cam (std::list< Object * >::iterator &it)
 obj2Cam is a gross hack; the function is used as a utility to convert Object pointers to Camera pointers safely.
virtual void shader (GLuint gShader)
 Sets the Default shader for the scene.
GLuint shader (void)
 Retrieves the handle for the default shader for the scene.
Object * addObject (const std::string &objName, GLuint Object_Shader=0)
 addObject creates a new Object with the given name and, optionally, a specified shader and adds it to the Scene graph.
void delObject (const std::string &objName)
 delObject will remove from the Scene graph the object with the given name.
+void delObject (void)
 delObject with no parameters will delete the first Object in the Scene.
+void popObject (void)
 popObject deletes the last Object in the Scene.
+void draw (void)
+Object * operator[] (const std::string &objname)
void insertObject (Object *obj)
 Register a created object with the scene graph.
+ + + +

+Protected Member Functions

void deleteObject (Object *obj)
 Very seriously delete a child object and free his memory.
+ + + + + + + + + +

+Protected Attributes

+std::list< Object * > _list
 For the purposes of rapid propagation of scene-graph changes, Object pointers are stored in a regular flat list.
std::map< std::string, Object * > _map
 For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map.
+std::list< Object * >::iterator _currentObj
 We keep an iterator on-hand that references what the scene considers to be it's active, current object.
+GLuint _gShader
 A handle to a shader program to be used as the default shader for new children objects added to the scene.
+ + + +

+Private Attributes

+Angel::vec2 _size
 _size is a simple vec2 (x,y) that contains the size of the screen.
+

Detailed Description

+

The Cameras class represents a group of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space.

+
Author
John Huston, jhust.nosp@m.on@c.nosp@m.s.uml.nosp@m..edu
+
Since
28 Nov 2012
+

Each Camera possesses its own CTM which can be resent to the GPU at will.

+ +

Definition at line 29 of file Cameras.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
Cameras::Cameras (void )
+
+ +

Default constructor.

+

Nothing special.

+ +

Definition at line 19 of file Cameras.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Cameras::~Cameras (void )
+
+ +

Default destructor.

+

Nothing special here, either.

+ +

Definition at line 26 of file Cameras.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
Camera * Cameras::active (void ) const
+
+ +

active returns the Camera in the collection that is considered 'active'.

+
Returns
A pointer to the currently selected, active Camera.
+ +

Reimplemented from Scene.

+ +

Definition at line 88 of file Cameras.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Camera * Cameras::addCamera (const std::string & name)
+
+ +

addCamera takes a name for a camera and returns a handle to a newly created camera.

+
Parameters
+ + +
nameThe name of the new camera to create.
+
+
+
Returns
A Pointer to a newly created Camera object.
+ +

Definition at line 35 of file Cameras.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object * Scene::addObject (const std::string & objName,
GLuint shader = 0 
)
+
+inherited
+
+ +

addObject creates a new Object with the given name and, optionally, a specified shader and adds it to the Scene graph.

+

If no shader is given, a default shader MUST have been specified for the Scene prior to the call.

+
Parameters
+ + + +
objNameThe name of the new Object to add.
Object_ShaderThe shader that should be used to render this object.
+
+
+
Returns
A pointer to the new Object.
+ +

Definition at line 77 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Cameras::calculateViewports (void )
+
+ +

For each Camera in the collection, computes the position and size of that Camera's viewport in a split-screen, single-window configuration.

+

The Camera object is updated with the new information.

+
Returns
void.
+
+void.
+ +

Definition at line 143 of file Cameras.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::deleteObject (Object * obj)
+
+protectedinherited
+
+ +

Very seriously delete a child object and free his memory.

+

deleteObject is the actual implementation function that will remove an Object from the Scene list and Scene map, then free the object.

+
Parameters
+ + + +
objThe object to delete.
objThe pointer to the object to free.
+
+
+ +

Definition at line 129 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::delObject (const std::string & objName)
+
+inherited
+
+ +

delObject will remove from the Scene graph the object with the given name.

+
Parameters
+ + +
objNameName of the Object to delete.
+
+
+ +

Definition at line 99 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Cameras::idleMotion (void )
+
+ +

idleMotion calls the idle method on all child cameras.

+

Intended to be called during the idle() loop in GLUT.

+
Returns
void.
+ +

Definition at line 113 of file Cameras.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::insertObject (Object * obj)
+
+inherited
+
+ +

Register a created object with the scene graph.

+
Parameters
+ + + +
nameThe name of the object (For the associative map),
objThe Object pointer to add to the scene.
+
+
+ +

Definition at line 118 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Camera * Cameras::next (void )
+
+ +

Sets the active camera to the next available one in the collection.

+

Sets the active Camera to the next available one in the collection.

+
Returns
A pointer to the newly active Camera.
+ +

Reimplemented from Scene.

+ +

Definition at line 66 of file Cameras.cpp.

+ +
+
+ +
+
+ + + + + + + + +
size_t Cameras::numCameras (void ) const
+
+ +

numCameras fetches the number of Cameras in the collection.

+
Returns
an unsigned integer, the number of Cameras in the collection.
+ +

Definition at line 103 of file Cameras.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Camera * Cameras::obj2Cam (std::list< Object * >::iterator & it)
+
+ +

obj2Cam is a gross hack; the function is used as a utility to convert Object pointers to Camera pointers safely.

+

FIXME: Refactor the inheritance here to make this less hacky.

+
Parameters
+ + +
itA list<Object*> iterator that points to the Object.
+
+
+
Returns
A pointer to a Camera object.
+ +

Definition at line 251 of file Cameras.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Cameras::popCamera (void )
+
+ +

popCamera removes the most recently added Camera from the scene.

+
Returns
void.
+ +

Definition at line 52 of file Cameras.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Camera * Cameras::prev (void )
+
+ +

Sets the active Camera to the previous available one in the collection.

+
Returns
A pointer to the newly active Camera.
+ +

Reimplemented from Scene.

+ +

Definition at line 77 of file Cameras.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Cameras::resize (int width,
int height 
)
+
+ +

resize informs the Cameras collection of the new window size.

+

Intended to be called from the GLUT main loop. This method also invokes Cameras::calculateViewports.

+
Parameters
+ + + +
widthThe new window width.
heightThe new window height.
+
+
+
Returns
void.
+ +

Definition at line 130 of file Cameras.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::shader (GLuint gShader)
+
+virtualinherited
+
+ +

Sets the Default shader for the scene.

+

In the context of inheritance by objects, This sets the shader to use to render the physical object.

+
Parameters
+ + +
gShaderThe GLuint handle to the shader to use.
+
+
+
Returns
void.
+ +

Reimplemented in Object.

+ +

Definition at line 52 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
GLuint Scene::shader (void )
+
+inherited
+
+ +

Retrieves the handle for the default shader for the scene.

+

In the context of inheritance by objects, This retrieves the shader handle to use to draw the object.

+
Returns
A GLuint handle to the shader program.
+ +

Reimplemented in Object.

+ +

Definition at line 63 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Cameras::view (void(*)(void) draw_func)
+
+ +

view calls the view method on all child cameras, followed by the provided draw function.

+

Intended to be called during the display() portion of the GLUT main loop.

+

view() is intended to "set up" the object, but not actually draw it.

+
Parameters
+ + +
draw_funcA pointer to a function that will actually draw the object.
+
+
+ +

Definition at line 234 of file Cameras.cpp.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
std::map< std::string, Object* > Scene::_map
+
+protectedinherited
+
+ +

For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map.

+

It's a little superfluous, but here it is!

+ +

Definition at line 127 of file Scene.hpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_cameras.js b/Doxygen/Docs/html/class_cameras.js new file mode 100644 index 00000000..9797948a --- /dev/null +++ b/Doxygen/Docs/html/class_cameras.js @@ -0,0 +1,31 @@ +var class_cameras = +[ + [ "Cameras", "class_cameras.html#a14342354c24f588c24e004a722849c3d", null ], + [ "~Cameras", "class_cameras.html#a7de763b562cce2a06cb120610987cd29", null ], + [ "active", "class_cameras.html#a6002cbceb6a93092a1a029af486349a0", null ], + [ "addCamera", "class_cameras.html#a436b481bf293ec6dfa09d2f89054c54b", null ], + [ "addObject", "class_cameras.html#aa5a48614e959c38c35d824fa9d6a4b8b", null ], + [ "calculateViewports", "class_cameras.html#a9d3b24eec1504127e4942aa0e9412ae7", null ], + [ "deleteObject", "class_cameras.html#ad3897f8ac658af62c133783b2c4eaee4", null ], + [ "delObject", "class_cameras.html#a2a6845dacbb468c5c097c7a6ab5a0fe0", null ], + [ "delObject", "class_cameras.html#a2e6b319b60e27e66ad43bb942a6c4424", null ], + [ "draw", "class_cameras.html#a41fbbe388ea322df338648e66611ffcf", null ], + [ "idleMotion", "class_cameras.html#ac4fee80c5cd473ee4fa2360a95857da7", null ], + [ "insertObject", "class_cameras.html#a8893899f0088a72642ae32a656252e7f", null ], + [ "next", "class_cameras.html#a971e1ffd27ff38d58f83996f87700e82", null ], + [ "numCameras", "class_cameras.html#acf7e92b5163efeeb88543e605d436a0e", null ], + [ "obj2Cam", "class_cameras.html#a8a6c7958396c6b0d07380aa762b15fcc", null ], + [ "operator[]", "class_cameras.html#ae9b69d8db8a46991017635f22e45baad", null ], + [ "popCamera", "class_cameras.html#a9dee7bf1f2c56176c461fa2617ce4549", null ], + [ "popObject", "class_cameras.html#ad6c9d1d1d0c786d39bf97dc60410e28b", null ], + [ "prev", "class_cameras.html#a90eb5a3dda940ed494f592d094580dd8", null ], + [ "resize", "class_cameras.html#a0d0b08d599d471c0070665006f3bc437", null ], + [ "shader", "class_cameras.html#a3ea7e92935755c776c235a9872f53394", null ], + [ "shader", "class_cameras.html#a9d8a33f0f0a296aba0fb6717ab85cb18", null ], + [ "view", "class_cameras.html#adeb29c1d639fcfbae4c68017bc8ef4d4", null ], + [ "_currentObj", "class_cameras.html#ae87ca5350fcc595f3f15a4fd3c39f3d9", null ], + [ "_gShader", "class_cameras.html#a8f9bdd8ec5edb1f414fbd314a36e2724", null ], + [ "_list", "class_cameras.html#acdd0123ca6b2d64d8d447bb485b235fc", null ], + [ "_map", "class_cameras.html#a8bd5d86484a12255b26b92b6cbf8d29a", null ], + [ "_size", "class_cameras.html#a2c40cd131741e1904fdfb024006258fd", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_cameras.png b/Doxygen/Docs/html/class_cameras.png new file mode 100644 index 00000000..48490832 Binary files /dev/null and b/Doxygen/Docs/html/class_cameras.png differ diff --git a/Doxygen/Docs/html/class_engine-members.html b/Doxygen/Docs/html/class_engine-members.html new file mode 100644 index 00000000..36ba6efb --- /dev/null +++ b/Doxygen/Docs/html/class_engine-members.html @@ -0,0 +1,139 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Engine Member List
+
+
+ +

This is the complete list of members for Engine, including all inherited members.

+ + + + + + + + + + + + + + + + + +
_engineSettingsEngineprivate
_engineSingletonEngineprivatestatic
_sceneEngineprivate
_screenEngineprivate
cams(void)Engine
Engine(void)Engineprivate
Engine(const Engine &copy)Engineprivate
flip(const std::string &Option)Engine
instance(void)Enginestatic
mainScreen(void)Engine
operator=(Engine &assign)Engineprivate
opt(const std::string &Option)Engine
opt(const std::string &Option, bool setting)Engine
rootScene(void)Engine
set(const std::string &Option)Engine
~Engine(void)Engine
+
+ + + + diff --git a/Doxygen/Docs/html/class_engine.html b/Doxygen/Docs/html/class_engine.html new file mode 100644 index 00000000..18ab4b8d --- /dev/null +++ b/Doxygen/Docs/html/class_engine.html @@ -0,0 +1,523 @@ + + + + + +HyperGrafx: Engine Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Engine Class Reference
+
+
+ +

The Engine class is a singleton-style class which helps keep track of instances of important objects (for Cameras, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace. + More...

+ +

#include <Engine.hpp>

+ + + + + + + + + + + + + + + + + + +

+Public Member Functions

Cameras * cams (void)
 Retrieves a pointer to the Camera List.
Scene * rootScene (void)
 Retrieves a pointer to the Root, top-level Scene graph.
Screen * mainScreen (void)
 Retrieves a pointer to the core 'Screen' object.
bool opt (const std::string &Option)
 opt retrieves the current setting of an option in the Engine.
void opt (const std::string &Option, bool setting)
 opt, with a second parameter, sets an Engine option.
bool set (const std::string &Option)
 set checks to see if an option has been explicitly set to either True/False.
bool flip (const std::string &Option)
 flip changes a setting from its current value to its negated form.
+ ~Engine (void)
 Default, non-virtual destructor.
+ + + +

+Static Public Member Functions

static Engine * instance (void)
 instance returns, or creates and then returns, a pointer to the Engine object.
+ + + + + + + +

+Private Member Functions

 Engine (void)
 Default constructor.
 Engine (const Engine &copy)
 Copy constructor.
Engine & operator= (Engine &assign)
 Assignment operator.
+ + + + + + + +

+Private Attributes

+Scene _scene
 The root Scene graph for the Engine.
+Screen _screen
 The core "Screen" object for the Engine.
+SettingsMap _engineSettings
 _engineSettings is a std::map that contains a series of <std::string, bool> pairs that represent our Engine options.
+ + + +

+Static Private Attributes

+static Engine * _engineSingleton = NULL
 static, stateful variable that is our singleton pointer.
+

Detailed Description

+

The Engine class is a singleton-style class which helps keep track of instances of important objects (for Cameras, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace.

+
Author
John Huston, jhust.nosp@m.on@c.nosp@m.s.uml.nosp@m..edu
+
Date
2013-03-13
+ +

Definition at line 32 of file Engine.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
Engine::Engine (void )
+
+private
+
+ +

Default constructor.

+

Cannot be called, this is a singleton class.

+ +

Definition at line 40 of file Engine.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Engine::Engine (const Engine & copy)
+
+private
+
+ +

Copy constructor.

+

Cannot be called.

+
Parameters
+ + +
copyNot used.
+
+
+
Returns
Will always throw an exception.
+
Exceptions
+ + +
Willalways throw std::logic_error.
+
+
+ +

Definition at line 57 of file Engine.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
Cameras * Engine::cams (void )
+
+ +

Retrieves a pointer to the Camera List.

+
Returns
A pointer to the Camera List.
+ +

Definition at line 76 of file Engine.cpp.

+ +
+
+ +
+
+ + + + + + + + +
bool Engine::flip (const std::string & Option)
+
+ +

flip changes a setting from its current value to its negated form.

+
Parameters
+ + +
OptionThe option to toggle.
+
+
+
Returns
The new, current value of the option.
+ +

Definition at line 139 of file Engine.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Engine * Engine::instance (void )
+
+static
+
+ +

instance returns, or creates and then returns, a pointer to the Engine object.

+

All hail the singleton!

+
Returns
A pointer to the Engine object.
+ +

Definition at line 29 of file Engine.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Screen * Engine::mainScreen (void )
+
+ +

Retrieves a pointer to the core 'Screen' object.

+
Returns
A pointer to the core 'Screen' object.
+ +

Definition at line 96 of file Engine.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
Engine & Engine::operator= (Engine & assign)
+
+private
+
+ +

Assignment operator.

+

Cannot be used. This is a singleton class.

+
Parameters
+ + +
assignNot used.
+
+
+
Returns
Will always throw an exception.
+
Exceptions
+ + +
Willalways throw std::logic_error.
+
+
+ +

Definition at line 67 of file Engine.cpp.

+ +
+
+ +
+
+ + + + + + + + +
bool Engine::opt (const std::string & Option)
+
+ +

opt retrieves the current setting of an option in the Engine.

+
Parameters
+ + +
OptionThe name of the option to access.
+
+
+
Returns
A bool: the current value of the setting.
+ +

Definition at line 107 of file Engine.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Engine::opt (const std::string & Option,
bool setting 
)
+
+ +

opt, with a second parameter, sets an Engine option.

+
Parameters
+ + + +
OptionThe name of the option to set.
settingThe value to give the option.
+
+
+
Returns
void.
+ +

Definition at line 117 of file Engine.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Scene * Engine::rootScene (void )
+
+ +

Retrieves a pointer to the Root, top-level Scene graph.

+
Returns
A pointer to the Root-level Scene graph.
+ +

Definition at line 86 of file Engine.cpp.

+ +
+
+ +
+
+ + + + + + + + +
bool Engine::set (const std::string & Option)
+
+ +

set checks to see if an option has been explicitly set to either True/False.

+
Parameters
+ + +
OptionThe option to check the existence of
+
+
+
Returns
A boolean: True if the option has been set, False otherwise.
+ +

Definition at line 127 of file Engine.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_engine.js b/Doxygen/Docs/html/class_engine.js new file mode 100644 index 00000000..0d948b37 --- /dev/null +++ b/Doxygen/Docs/html/class_engine.js @@ -0,0 +1,19 @@ +var class_engine = +[ + [ "~Engine", "class_engine.html#a4850643b0f929d8021115cf37d7ab608", null ], + [ "Engine", "class_engine.html#a9ad87e382195a05d5d310a2fb3e357fd", null ], + [ "Engine", "class_engine.html#a8e027119a62020acddedd0a14fb44033", null ], + [ "cams", "class_engine.html#a2b2c1cd59c9a5c903bf466284012ce4c", null ], + [ "flip", "class_engine.html#a0e6265ae2700bda2f21abd308430637a", null ], + [ "instance", "class_engine.html#a6cbf9ec80a4a3bb245355ff70498dba0", null ], + [ "mainScreen", "class_engine.html#ad4429218b5aed162269094c6571a2520", null ], + [ "operator=", "class_engine.html#a09761dabaae6f48bd5c612acea76a9bf", null ], + [ "opt", "class_engine.html#ae3658976c5ab1f0c912d2c7d5747cb67", null ], + [ "opt", "class_engine.html#a797b0b934a94cd2ea7ab1c11083e425c", null ], + [ "rootScene", "class_engine.html#a782cf288c161986d0ac0eb48cd187c4d", null ], + [ "set", "class_engine.html#a81f16979bc330c46675e4d7ffab5eff9", null ], + [ "_engineSettings", "class_engine.html#a467d917952b89ef23f7a045e4f87218a", null ], + [ "_engineSingleton", "class_engine.html#ae494a590056c4594f1f3cb39e4d18994", null ], + [ "_scene", "class_engine.html#afc244649d4b31f59f2ef91754472b281", null ], + [ "_screen", "class_engine.html#a181e11b6fd26698bc173647ab2471c8c", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_object-members.html b/Doxygen/Docs/html/class_object-members.html new file mode 100644 index 00000000..4b7ac831 --- /dev/null +++ b/Doxygen/Docs/html/class_object-members.html @@ -0,0 +1,199 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Object Member List
+
+
+ +

This is the complete list of members for Object, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_bufferObjectprotected
_colorsObject
_currentObjSceneprotected
_drawModeObjectprotected
_gShaderSceneprotected
_handlesObjectprotected
_indicesObject
_isTexturedObjectprotected
_listSceneprotected
_mapSceneprotected
_morphPercentageObjectprotected
_morphTargetObjectprotected
_nameObjectprotected
_normalsObject
_textureIDObjectprotected
_texUVsObject
_transObject
_uniformMapObjectprotected
_vaoObjectprotected
_verticesObject
active(void) const (defined in Scene)Scene
addObject(const std::string &objName, GLuint Object_Shader=0)Scene
animation(void(*anim_func)(TransCache &arg))Object
BEGIN enum valueObject
buffer(void)Object
bufferMorphOnly(void)Object
BufferType enum nameObjectprivate
COLORS enum valueObjectprivate
COLORS_MORPH enum valueObjectprivate
deleteObject(Object *obj)Sceneprotected
delObject(const std::string &objName)Scene
delObject(void)Scene
destroyMorphTarget()Object
draw(void)Object
drawMode(GLenum new_mode)Object
END enum valueObject
genMorphTarget(GLuint shader)Object
INDICES enum valueObjectprivate
insertObject(Object *obj)Scene
IS_TEXTURED enum valueObject
link(UniformEnum which, const std::string &name)Objectvirtual
MORPH_PCT enum valueObject
morphPercentage() const Object
morphPercentage(const float newPercentage)Object
morphTarget() const Object
name(void) const Object
next(void) (defined in Scene)Scene
NORMALS enum valueObjectprivate
NORMALS_MORPH enum valueObjectprivate
NUM_BUFFERS enum valueObjectprivate
numberOfPoints()Object
Object(const std::string &name, GLuint gShader)Object
OBJECT_CTM enum valueObject
operator=(const Scene &copy) (defined in Scene)Scene
operator[](const std::string &objname) (defined in Scene)Scene
popObject(void)Scene
position() const Object
prev(void) (defined in Scene)Scene
propagate(void)Object
Scene()Scene
Scene(const Scene &copy) (defined in Scene)Scene
send(UniformEnum which)Objectvirtual
shader(void)Objectvirtual
shader(GLuint newShader)Objectvirtual
TEX_SAMPLER enum valueObject
TEXCOORDS enum valueObjectprivate
texture(const char **filename)Object
textureID(GLint newTextureID)Objectinline
Uniform typedefObject
UniformEnum typedefObject
UniformMap typedefObject
Uniforms enum nameObject
VERTICES enum valueObjectprivate
VERTICES_MORPH enum valueObjectprivate
~Object(void)Objectvirtual
~Scene()Scenevirtual
+
+ + + + diff --git a/Doxygen/Docs/html/class_object.html b/Doxygen/Docs/html/class_object.html new file mode 100644 index 00000000..6a57bd73 --- /dev/null +++ b/Doxygen/Docs/html/class_object.html @@ -0,0 +1,1370 @@ + + + + + +HyperGrafx: Object Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Object Class Reference
+
+
+ +

Object Class: Renderable Object Implementation. + More...

+ +

#include <Object.hpp>

+
+Inheritance diagram for Object:
+
+
+ + +Scene +Camera +ParticleSystem + +
+ + + + + + + + + + +

+Public Types

enum  Uniforms {
+  BEGIN, +IS_TEXTURED = BEGIN, +OBJECT_CTM, +MORPH_PCT, +
+  TEX_SAMPLER, +END +
+ }
 enum Uniforms describes the properties of the base object that need to be visible to the GPU. More...
typedef const unsigned int UniformEnum
 The Object class takes advantage of child-extendible enumerations.
typedef std::map
+< Object::UniformEnum,
+std::string > 
UniformMap
 We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables.
typedef enum Object::Uniforms Uniform
 enum Uniforms describes the properties of the base object that need to be visible to the GPU.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Object (const std::string &name, GLuint gShader)
 Constructor.
+virtual ~Object (void)
 Default destructor.
+void draw (void)
 draw method: Render this object to the screen _buffer.
+void buffer (void)
 buffer all of our data: Vertices, TexUVs, Normals, Indices, Colors and Morph Buffers.
+void bufferMorphOnly (void)
 buffer only the Morph-related buffers.
void drawMode (GLenum new_mode)
 Select a new OpenGL draw mode for this Object.
void texture (const char **filename)
 FIXME: This is a junk, nonflexible method.
const std::string & name (void) const
 Retrieve the _name of this Object.
virtual void link (UniformEnum which, const std::string &name)
 link a specified Uniform against the shader's variable _name.
virtual void send (UniformEnum which)
 Send a Uniform to the shader.
virtual GLuint shader (void)
 Returns the Object's current shader.
virtual void shader (GLuint newShader)
 Sets the shader to be used by this object.
void animation (void(*anim_func)(TransCache &arg))
 Apply an animation callback function to this Object.
void propagate (void)
 Scene-graph changes are not automatically applied to children.
vec4 position () const
 Obtain the vec4 representative of the Object's current position in space.
Object * morphTarget () const
 Retrieve a pointer to this object's morph target.
Object * genMorphTarget (GLuint shader)
 Instantiate a new morphing target.
float morphPercentage () const
 Retrieve the morph Percentage of this object.
void morphPercentage (const float newPercentage)
 Set the morph percentage of this Object.
+void destroyMorphTarget ()
 Obliterate the morph target for this object.
int numberOfPoints ()
 Retrieve the number of _vertices this object has.
void textureID (GLint newTextureID)
 Set the Texture ID / Texture Unit for this Object.
Object * addObject (const std::string &objName, GLuint Object_Shader=0)
 addObject creates a new Object with the given name and, optionally, a specified shader and adds it to the Scene graph.
void delObject (const std::string &objName)
 delObject will remove from the Scene graph the object with the given name.
+void delObject (void)
 delObject with no parameters will delete the first Object in the Scene.
+void popObject (void)
 popObject deletes the last Object in the Scene.
+Object * next (void)
+Object * prev (void)
+Object * active (void) const
+Object * operator[] (const std::string &objname)
void insertObject (Object *obj)
 Register a created object with the scene graph.
+ + + + + + + + + + + + + +

+Public Attributes

std::vector< Angel::vec4 > _vertices
 vertex buffer.
std::vector< Angel::vec3 > _normals
 Normals buffer.
std::vector< unsigned int > _indices
 Draw Order Index buffer.
std::vector< Angel::vec4 > _colors
 Colors buffer.
std::vector< Angel::vec2 > _texUVs
 Texture Coordinates buffer.
+TransCache _trans
 The _trans cache encompasses the current transformational state of this object.
+ + + +

+Protected Member Functions

void deleteObject (Object *obj)
 Very seriously delete a child object and free his memory.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

std::string _name
 _name is used as an identifying handle for the object.
GLuint _vao
 Vertex Array Object handle identifying our buffers/object.
+GLuint _buffer [NUM_BUFFERS]
 Handles to our buffers (Vertices, TexUVs, etc.)
GLenum _drawMode
 Drawing mode for this object.
+bool _isTextured
 Is this object textured?
float _morphPercentage
 The percentage of the morph.
+Object * _morphTarget
 A pointer to the object we wish to morph into.
std::map< Object::UniformEnum,
+std::string > 
_uniformMap
 A map between Uniform variable functions and the actual uniform variable names.
std::vector< GLint > _handles
 Handles to Uniforms on the shader.
+GLint _textureID
 The texture unit index this Object uses.
+std::list< Object * > _list
 For the purposes of rapid propagation of scene-graph changes, Object pointers are stored in a regular flat list.
std::map< std::string, Object * > _map
 For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map.
+std::list< Object * >::iterator _currentObj
 We keep an iterator on-hand that references what the scene considers to be it's active, current object.
+GLuint _gShader
 A handle to a shader program to be used as the default shader for new children objects added to the scene.
+ + + +

+Private Types

enum  BufferType {
+  VERTICES, +NORMALS, +INDICES, +COLORS, +
+  TEXCOORDS, +VERTICES_MORPH, +NORMALS_MORPH, +COLORS_MORPH, +
+  NUM_BUFFERS +
+ }
 These enumerations describe the types of buffers we want on the GPU per-object. More...
+

Detailed Description

+

Object Class: Renderable Object Implementation.

+
Author
John Huston
+
Date
2013-03-15
+

The Object class represents "one renderable object" in terms of the scene graph. It is a simple unit that is rendered with a single draw() call.

+

It contains all of the necessary state for sending uniforms to the shader, all of the buffers needed to send to the card, and also contains a fully-featured scene graph within itself such that children objects can be attached.

+ +

Definition at line 36 of file Object.hpp.

+

Member Typedef Documentation

+ +
+
+ + + + +
typedef enum Object::Uniforms Object::Uniform
+
+ +

enum Uniforms describes the properties of the base object that need to be visible to the GPU.

+

BEGIN and END are special sentinel enumerations that must be first and last, respectively.

+ +
+
+ +
+
+ + + + +
typedef const unsigned int Object::UniformEnum
+
+ +

The Object class takes advantage of child-extendible enumerations.

+

We create an alias here for sake of ease.

+ +

Definition at line 62 of file Object.hpp.

+ +
+
+ +
+
+ + + + +
typedef std::map< Object::UniformEnum, std::string > Object::UniformMap
+
+ +

We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables.

+

This is utilized if we ever switch this object's shader, so we can re-associate with the correct uniform locations.

+ +

Definition at line 70 of file Object.hpp.

+ +
+
+

Member Enumeration Documentation

+ +
+
+ + + + + +
+ + + + +
enum Object::BufferType
+
+private
+
+ +

These enumerations describe the types of buffers we want on the GPU per-object.

+

NUM_BUFFERS is a special sentinel enumeration that must always be last.

+
Enumerator:
+ + + + + + + + + +
VERTICES  +

VERTICES.

+
NORMALS  +

NORMALS.

+
INDICES  +

INDICES.

+
COLORS  +

COLORS.

+
TEXCOORDS  +

TEXCOORDS.

+
VERTICES_MORPH  +

VERTICES_MORPH.

+
NORMALS_MORPH  +

NORMALS_MORPH.

+
COLORS_MORPH  +

COLORS_MORPH.

+
NUM_BUFFERS  +

NUM_BUFFERS This is a sentinel enumeration.

+
+
+
+ +

Definition at line 44 of file Object.hpp.

+ +
+
+ +
+
+ + + + +
enum Object::Uniforms
+
+ +

enum Uniforms describes the properties of the base object that need to be visible to the GPU.

+

BEGIN and END are special sentinel enumerations that must be first and last, respectively.

+
Enumerator:
+ + + + + + +
BEGIN  +

BEGIN.

+
IS_TEXTURED  +

IS_TEXTURED.

+
OBJECT_CTM  +

OBJECT_CTM.

+
MORPH_PCT  +

MORPH_PCT.

+
TEX_SAMPLER  +

TEX_SAMPLER.

+
END  +

END.

+
+
+
+ +

Definition at line 79 of file Object.hpp.

+ +
+
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Object::Object (const std::string & name,
GLuint gShader 
)
+
+ +

Constructor.

+

Requires at minimum a _name and a shader handle.

+
Parameters
+ + + +
nameThe _name of this object.
gShaderThe shader to use to render this object.
+
+
+ +

Definition at line 29 of file Object.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Object * Scene::addObject (const std::string & objName,
GLuint shader = 0 
)
+
+inherited
+
+ +

addObject creates a new Object with the given name and, optionally, a specified shader and adds it to the Scene graph.

+

If no shader is given, a default shader MUST have been specified for the Scene prior to the call.

+
Parameters
+ + + +
objNameThe name of the new Object to add.
Object_ShaderThe shader that should be used to render this object.
+
+
+
Returns
A pointer to the new Object.
+ +

Definition at line 77 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Object::animation (void(*)(TransCache &arg) anim_func)
+
+ +

Apply an animation callback function to this Object.

+

Works once only: Does not save the function or automatically run on idle.

+
Parameters
+ + +
anim_funcThe transformation/animation function to apply.
+
+
+ +

Definition at line 443 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::deleteObject (Object * obj)
+
+protectedinherited
+
+ +

Very seriously delete a child object and free his memory.

+

deleteObject is the actual implementation function that will remove an Object from the Scene list and Scene map, then free the object.

+
Parameters
+ + + +
objThe object to delete.
objThe pointer to the object to free.
+
+
+ +

Definition at line 129 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::delObject (const std::string & objName)
+
+inherited
+
+ +

delObject will remove from the Scene graph the object with the given name.

+
Parameters
+ + +
objNameName of the Object to delete.
+
+
+ +

Definition at line 99 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Object::drawMode (GLenum new_mode)
+
+ +

Select a new OpenGL draw mode for this Object.

+

Can be GL_LINES, GL_LINE_LOOP, GL_TRIANGLES, etc.

+
See Also
http://www.opengl.org/wiki/Primitive
+
Parameters
+ + +
new_modeThe primitive rendering mode to use.
+
+
+ +

Definition at line 269 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Object * Object::genMorphTarget (GLuint shader)
+
+ +

Instantiate a new morphing target.

+
Parameters
+ + +
shaderThe shader to use for the new morphing target. NOT USED for rendering the object, but Objects cannot be instantiated without a shader, so here it is.
+
+
+
Returns
A pointer to the newly created target.
+ +

Definition at line 503 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::insertObject (Object * obj)
+
+inherited
+
+ +

Register a created object with the scene graph.

+
Parameters
+ + + +
nameThe name of the object (For the associative map),
objThe Object pointer to add to the scene.
+
+
+ +

Definition at line 118 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Object::link (UniformEnum which,
const std::string & name 
)
+
+virtual
+
+ +

link a specified Uniform against the shader's variable _name.

+
Parameters
+ + + +
whichThe Uniform to link.
nameThe variable _name on the shader.
+
+
+ +

Definition at line 345 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
float Object::morphPercentage (void ) const
+
+ +

Retrieve the morph Percentage of this object.

+
Returns
The morph percentage, as a float.
+ +

Definition at line 515 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Object::morphPercentage (const float newPercentage)
+
+ +

Set the morph percentage of this Object.

+
Parameters
+ + +
newPercentageThe new morphing percentage.
+
+
+ +

Definition at line 524 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Object * Object::morphTarget (void ) const
+
+ +

Retrieve a pointer to this object's morph target.

+
Returns
An Object pointer to the morph target.
+ +

Definition at line 489 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
const std::string & Object::name (void ) const
+
+ +

Retrieve the _name of this Object.

+
Returns
The _name of this Object.
+ +

Definition at line 333 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
int Object::numberOfPoints (void )
+
+ +

Retrieve the number of _vertices this object has.

+
Returns
An integer representing the number of vertices the object has.
+ +

Definition at line 544 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
vec4 Object::position (void ) const
+
+ +

Obtain the vec4 representative of the Object's current position in space.

+
Returns
vec4 representing the Object's position in space.
+ +

Definition at line 478 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Object::propagate (void )
+
+ +

Scene-graph changes are not automatically applied to children.

+

For efficiency reasons, you need to call propagate() manually.

+ +

Definition at line 452 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Object::send (Object::UniformEnum which)
+
+virtual
+
+ +

Send a Uniform to the shader.

+
Parameters
+ + +
whichThe uniform to send.
+
+
+ +

Reimplemented in Camera.

+ +

Definition at line 373 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
GLuint Object::shader (void )
+
+virtual
+
+ +

Returns the Object's current shader.

+

Defined because C++ will not let you overload an overrided function, without re-overloading it in the derived class.

+
Returns
a GLuint handle to the shader program used by this Object.
+ +

Reimplemented from Scene.

+ +

Definition at line 406 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Object::shader (GLuint newShader)
+
+virtual
+
+ +

Sets the shader to be used by this object.

+

Triggers a query of the shader program, for the locations of the Uniform locations that the object needs.

+
Parameters
+ + +
newShadera GLuint handle to the shader program to use.
+
+
+
Returns
None.
+ +

Reimplemented from Scene.

+ +

Definition at line 422 of file Object.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Object::texture (const char ** filename)
+
+ +

FIXME: This is a junk, nonflexible method.

+

It would be better if you didn't think of this as being here.

+
Parameters
+ + +
filenamean array of strings to load textures from.
+
+
+ +

Definition at line 279 of file Object.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Object::textureID (GLint newTextureID)
+
+inline
+
+ +

Set the Texture ID / Texture Unit for this Object.

+
Parameters
+ + +
newTextureIDThe new Texture Unit ID/Index for this Object.
+
+
+
Returns
None.
+ +

Definition at line 244 of file Object.hpp.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + +
std::vector< Angel::vec4 > Object::_colors
+
+ +

Colors buffer.

+ +

Definition at line 256 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
GLenum Object::_drawMode
+
+protected
+
+ +

Drawing mode for this object.

+

GL_TRIANGLES, GL_LINE_LOOP, etc.

+ +

Definition at line 278 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector< GLint > Object::_handles
+
+protected
+
+ +

Handles to Uniforms on the shader.

+

Protected to allow derived classes to extend it as needed.

+ +

Definition at line 307 of file Object.hpp.

+ +
+
+ +
+
+ + + + +
std::vector< unsigned int > Object::_indices
+
+ +

Draw Order Index buffer.

+

If not used, engine assumes GL_DRAW_ARRAYS.

+ +

Definition at line 254 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::map< std::string, Object* > Scene::_map
+
+protectedinherited
+
+ +

For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map.

+

It's a little superfluous, but here it is!

+ +

Definition at line 127 of file Scene.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
float Object::_morphPercentage
+
+protected
+
+ +

The percentage of the morph.

+

0.0 means 100% the original, current object. 100.0 means 100% the new, targeted object.

+ +

Definition at line 289 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::string Object::_name
+
+protected
+
+ +

_name is used as an identifying handle for the object.

+ +

Definition at line 269 of file Object.hpp.

+ +
+
+ +
+
+ + + + +
std::vector< Angel::vec3 > Object::_normals
+
+ +

Normals buffer.

+ +

Definition at line 252 of file Object.hpp.

+ +
+
+ +
+
+ + + + +
std::vector< Angel::vec2 > Object::_texUVs
+
+ +

Texture Coordinates buffer.

+ +

Definition at line 258 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::map< Object::UniformEnum, std::string > Object::_uniformMap
+
+protected
+
+ +

A map between Uniform variable functions and the actual uniform variable names.

+

Used when linking against a shader.

+ +

Definition at line 300 of file Object.hpp.

+ +
+
+ +
+
+ + + + + +
+ + + + +
GLuint Object::_vao
+
+protected
+
+ +

Vertex Array Object handle identifying our buffers/object.

+ +

Definition at line 272 of file Object.hpp.

+ +
+
+ +
+
+ + + + +
std::vector< Angel::vec4 > Object::_vertices
+
+ +

vertex buffer.

+ +

Definition at line 250 of file Object.hpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_object.js b/Doxygen/Docs/html/class_object.js new file mode 100644 index 00000000..b7f453cf --- /dev/null +++ b/Doxygen/Docs/html/class_object.js @@ -0,0 +1,77 @@ +var class_object = +[ + [ "Uniform", "class_object.html#ae6a2969ddca87d2c54b7cb1c131a7d60", null ], + [ "UniformEnum", "class_object.html#a79b74057dbc5182b85c9c3ba8480fcf2", null ], + [ "UniformMap", "class_object.html#a6e19bd8516360bff956408cbae33b878", null ], + [ "BufferType", "class_object.html#a51d08da3bd559d08734197006bc29a79", [ + [ "VERTICES", "class_object.html#a51d08da3bd559d08734197006bc29a79a23be05de1d4a9e5738eff4c1860f8bfd", null ], + [ "NORMALS", "class_object.html#a51d08da3bd559d08734197006bc29a79ac91e7a2ef76150b999a9af53d229a8e0", null ], + [ "INDICES", "class_object.html#a51d08da3bd559d08734197006bc29a79abe6f0cf968db450f99d8e176c4d23091", null ], + [ "COLORS", "class_object.html#a51d08da3bd559d08734197006bc29a79a69fb14c98b43d636b30ef5e77b492968", null ], + [ "TEXCOORDS", "class_object.html#a51d08da3bd559d08734197006bc29a79adc601b2ac4ff7f3e455faa35208e431f", null ], + [ "VERTICES_MORPH", "class_object.html#a51d08da3bd559d08734197006bc29a79a0e9e165431001465775bc5ba2b8d1bd8", null ], + [ "NORMALS_MORPH", "class_object.html#a51d08da3bd559d08734197006bc29a79aa2afe042e85c0772ba75ba0ee6223a57", null ], + [ "COLORS_MORPH", "class_object.html#a51d08da3bd559d08734197006bc29a79a814c8171ad45f6e954ffb474a5dfacb1", null ], + [ "NUM_BUFFERS", "class_object.html#a51d08da3bd559d08734197006bc29a79a1999a38dc687c7ae05c884078de39b51", null ] + ] ], + [ "Uniforms", "class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3", [ + [ "BEGIN", "class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a8a65225741e4db1df295c9cab71a98c0", null ], + [ "IS_TEXTURED", "class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a8fecaee23530c9befe7feb5166e81484", null ], + [ "OBJECT_CTM", "class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a9aaf45d5144b52065016b5b39e909851", null ], + [ "MORPH_PCT", "class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3ac93e286d52dad730ccf3fdab9b102902", null ], + [ "TEX_SAMPLER", "class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a85f87adc3e3d4242733729ee87b21423", null ], + [ "END", "class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3ad78facbf844c1259f464a49061e1d7ed", null ] + ] ], + [ "Object", "class_object.html#aacf42e81415f32f1f2a105ce29c7c1b9", null ], + [ "~Object", "class_object.html#ac9ec2177266554587e8ddb40eb72ae1c", null ], + [ "active", "class_object.html#ad0ea1a6bcf7815c63988bd937f06eb23", null ], + [ "addObject", "class_object.html#aa5a48614e959c38c35d824fa9d6a4b8b", null ], + [ "animation", "class_object.html#a0d604a816115c474b9593aeaebda9f8b", null ], + [ "buffer", "class_object.html#a7edb92c30d86b6479b0ff2a5e9f06e13", null ], + [ "bufferMorphOnly", "class_object.html#a293792abfe0671e00a0ec10e85ea9d9e", null ], + [ "deleteObject", "class_object.html#ad3897f8ac658af62c133783b2c4eaee4", null ], + [ "delObject", "class_object.html#a2a6845dacbb468c5c097c7a6ab5a0fe0", null ], + [ "delObject", "class_object.html#a2e6b319b60e27e66ad43bb942a6c4424", null ], + [ "destroyMorphTarget", "class_object.html#a98d3f1b9ebb61c3b21e2a59ed267480a", null ], + [ "draw", "class_object.html#a53e2ee7f548550be014126bed139fe69", null ], + [ "drawMode", "class_object.html#adafdf22583b051b4c61c8eb725fb07d5", null ], + [ "genMorphTarget", "class_object.html#ab0ba603904f8f7de15dc0450e2d9b30e", null ], + [ "insertObject", "class_object.html#a8893899f0088a72642ae32a656252e7f", null ], + [ "link", "class_object.html#a11d6063c580331d6af59c8d71b7f3e9f", null ], + [ "morphPercentage", "class_object.html#accb051cdc79bc93e8c9c0edb79dd6b30", null ], + [ "morphPercentage", "class_object.html#a543d2329b25df9fb0a782f09d03e5cb1", null ], + [ "morphTarget", "class_object.html#a7694c9cfe445c3d5b993a38e3f8badd9", null ], + [ "name", "class_object.html#aafd766fce2598f718cac97a3ac731706", null ], + [ "next", "class_object.html#a70fcdad192a4c6ff508125de8af6cf4d", null ], + [ "numberOfPoints", "class_object.html#a73f1a6210bacf504de9a808009479b81", null ], + [ "operator[]", "class_object.html#ae9b69d8db8a46991017635f22e45baad", null ], + [ "popObject", "class_object.html#ad6c9d1d1d0c786d39bf97dc60410e28b", null ], + [ "position", "class_object.html#ac64609eb614aa5974b74000cec6fc95c", null ], + [ "prev", "class_object.html#ac852d5d763eb35b4908c9aa7ea54d1ae", null ], + [ "propagate", "class_object.html#a2fdd201413e0408f5a2508874acd2ef5", null ], + [ "send", "class_object.html#a34258ee199342d785c29d18c49d54e71", null ], + [ "shader", "class_object.html#a459489106838a1e3a8dbbd13045cd523", null ], + [ "shader", "class_object.html#aeaf11bb87bd59381c9e066f0b4f40d8e", null ], + [ "texture", "class_object.html#afebb27ddb10daed8e2c5085b76cbc500", null ], + [ "textureID", "class_object.html#a74300b3fa318786e21b65183461c5e25", null ], + [ "_buffer", "class_object.html#adf8365e2c661ab4014c3dbf60e48572b", null ], + [ "_colors", "class_object.html#a29a0e9959c490067db69378bf57a17ba", null ], + [ "_currentObj", "class_object.html#ae87ca5350fcc595f3f15a4fd3c39f3d9", null ], + [ "_drawMode", "class_object.html#ae8457eabfb89d55826142508013b56c0", null ], + [ "_gShader", "class_object.html#a8f9bdd8ec5edb1f414fbd314a36e2724", null ], + [ "_handles", "class_object.html#a983963f564898beca4bda99676245663", null ], + [ "_indices", "class_object.html#ab85adc7a2d3b891051c096593982653d", null ], + [ "_isTextured", "class_object.html#abcb877094b696561a49bc931c5a12d9f", null ], + [ "_list", "class_object.html#acdd0123ca6b2d64d8d447bb485b235fc", null ], + [ "_map", "class_object.html#a8bd5d86484a12255b26b92b6cbf8d29a", null ], + [ "_morphPercentage", "class_object.html#a7fbbac9027e1a8266342bd5ce064120d", null ], + [ "_morphTarget", "class_object.html#a5baa9891bd4981d62b4e86a1c2a8eea7", null ], + [ "_name", "class_object.html#a3f617214b260ebbe394e7c7b08ab5e43", null ], + [ "_normals", "class_object.html#a20bb786cb5915934853855aab9d1a1b3", null ], + [ "_textureID", "class_object.html#aefef7502dd10fb3c1c266cf688c432de", null ], + [ "_texUVs", "class_object.html#aa9ddc3b95d74b76ab8a251fb376dfafb", null ], + [ "_trans", "class_object.html#af17d57ea2dab64e21112e8949d50d85f", null ], + [ "_uniformMap", "class_object.html#a6378d0b0eeec23045ae2a5245e42bf13", null ], + [ "_vao", "class_object.html#a564aa6b1df66a05ab6b6c2f071851c4e", null ], + [ "_vertices", "class_object.html#a4ac354b3ec284f27358b1d4b8d95b9a9", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_object.png b/Doxygen/Docs/html/class_object.png new file mode 100644 index 00000000..924841e0 Binary files /dev/null and b/Doxygen/Docs/html/class_object.png differ diff --git a/Doxygen/Docs/html/class_particle-members.html b/Doxygen/Docs/html/class_particle-members.html new file mode 100644 index 00000000..bb6fa091 --- /dev/null +++ b/Doxygen/Docs/html/class_particle-members.html @@ -0,0 +1,141 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Particle Member List
+
+
+ +

This is the complete list of members for Particle, including all inherited members.

+ + + + + + + + + + + + + + + + + + + +
changeVel(vec3 newVel) (defined in Particle)Particle
color (defined in Particle)Particleprivate
getLifespan(void) (defined in Particle)Particle
lifespan (defined in Particle)Particleprivate
mPos (defined in Particle)Particleprivate
mScale (defined in Particle)Particleprivate
mVel (defined in Particle)Particleprivate
Particle(vec4 position, float scale, float lifeSpan) (defined in Particle)Particle
setAlpha(float newAlpha) (defined in Particle)Particle
setColor(vec4 newColor) (defined in Particle)Particle
setLifespan(float newLifespan) (defined in Particle)Particle
setPos(vec4 newPos) (defined in Particle)Particle
setScale(vec3 newScale) (defined in Particle)Particle
setSpin(float newSpin) (defined in Particle)Particle
setTexFile(string newFilename) (defined in Particle)Particle
setVel(vec3 newVel) (defined in Particle)Particle
texFilename (defined in Particle)Particleprivate
~Particle(void) (defined in Particle)Particle
+
+ + + + diff --git a/Doxygen/Docs/html/class_particle.html b/Doxygen/Docs/html/class_particle.html new file mode 100644 index 00000000..509114aa --- /dev/null +++ b/Doxygen/Docs/html/class_particle.html @@ -0,0 +1,182 @@ + + + + + +HyperGrafx: Particle Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Particle Class Reference
+
+
+ +

TODO: You know you've been bad. + More...

+ +

#include <Particle.hpp>

+ + + + + + + + + + + + + +

+Public Member Functions

+ Particle (vec4 position, float scale, float lifeSpan)
+void changeVel (vec3 newVel)
+float getLifespan (void)
+void setAlpha (float newAlpha)
+void setColor (vec4 newColor)
+void setLifespan (float newLifespan)
+void setPos (vec4 newPos)
+void setScale (vec3 newScale)
+void setSpin (float newSpin)
+void setVel (vec3 newVel)
+void setTexFile (string newFilename)
+ + + + + + + +

+Private Attributes

+vec4 mPos
+vec3 mScale
+vec3 mVel
+vec4 color
+float lifespan
+string texFilename
+

Detailed Description

+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_particle.js b/Doxygen/Docs/html/class_particle.js new file mode 100644 index 00000000..ddc3abdc --- /dev/null +++ b/Doxygen/Docs/html/class_particle.js @@ -0,0 +1,21 @@ +var class_particle = +[ + [ "Particle", "class_particle.html#a5530a89bc36834f77eb45483f3c82942", null ], + [ "~Particle", "class_particle.html#aedbe5e541966e7799022665fdcb6ba66", null ], + [ "changeVel", "class_particle.html#a4a4f4e73bbfe512c947e3ddb5c7b765c", null ], + [ "getLifespan", "class_particle.html#a65eb1712f7dffd24c9a795020408cb99", null ], + [ "setAlpha", "class_particle.html#a3d339beee1c13eb3d1eed69d14715106", null ], + [ "setColor", "class_particle.html#a8dbaf5f085a47c834c02f0531ccdbae1", null ], + [ "setLifespan", "class_particle.html#a2f59e88a58a6c6ea766ab4c94c75c2b3", null ], + [ "setPos", "class_particle.html#aabc36f29b35e0e1e5c6d6fb926bb7bbb", null ], + [ "setScale", "class_particle.html#a1cdeee73a5eb04f48c0002f7136852ff", null ], + [ "setSpin", "class_particle.html#ac0cd12e63886b12d2b99549ecb552838", null ], + [ "setTexFile", "class_particle.html#a5a387ad04e530af85dcd64763282d3a0", null ], + [ "setVel", "class_particle.html#ac77b501936d44053585151c83b66ba22", null ], + [ "color", "class_particle.html#a258a4d53c38caca98676a7d41022706b", null ], + [ "lifespan", "class_particle.html#a08108b2a0a2c0ec96f235510cc9aa0a2", null ], + [ "mPos", "class_particle.html#a3d51791a544fb2cbf2e93531b3626132", null ], + [ "mScale", "class_particle.html#ad18c1ecffb2e5d032732d4cd058bb986", null ], + [ "mVel", "class_particle.html#a4cd8cbbc5b05126133df8246611339f2", null ], + [ "texFilename", "class_particle.html#a639147e87ea9fd39b04ac3bafb6ff97b", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_particle.png b/Doxygen/Docs/html/class_particle.png new file mode 100644 index 00000000..15c7a3bd Binary files /dev/null and b/Doxygen/Docs/html/class_particle.png differ diff --git a/Doxygen/Docs/html/class_rot_mat-members.html b/Doxygen/Docs/html/class_rot_mat-members.html new file mode 100644 index 00000000..e1696c78 --- /dev/null +++ b/Doxygen/Docs/html/class_rot_mat-members.html @@ -0,0 +1,133 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
RotMat Member List
+
+
+ +

This is the complete list of members for RotMat, including all inherited members.

+ + + + + + + + + + + +
adjust(const Angel::mat4 &Adjustment, bool postmult=true) (defined in RotMat)RotMat
mat (defined in Transformation)Transformationprotected
matrix(void) const (defined in Transformation)Transformation
operator*(const Angel::mat4 &rhs) const (defined in Transformation)Transformation
operator*(const Transformation &rhs) const (defined in Transformation)Transformation
reset(const Angel::mat4 &NewState) (defined in RotMat)RotMat
rotateX(const GLfloat theta, bool postmult=true) (defined in RotMat)RotMat
rotateY(const GLfloat theta, bool postmult=true) (defined in RotMat)RotMat
rotateZ(const GLfloat theta, bool postmult=true) (defined in RotMat)RotMat
~Transformation(void) (defined in Transformation)Transformationvirtual
+
+ + + + diff --git a/Doxygen/Docs/html/class_rot_mat.html b/Doxygen/Docs/html/class_rot_mat.html new file mode 100644 index 00000000..f2a08d6b --- /dev/null +++ b/Doxygen/Docs/html/class_rot_mat.html @@ -0,0 +1,172 @@ + + + + + +HyperGrafx: RotMat Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
RotMat Class Reference
+
+
+ +

Rotations. + More...

+ +

#include <Transformation.hpp>

+
+Inheritance diagram for RotMat:
+
+
+ + +Transformation + +
+ + + + + + + + + + +

+Public Member Functions

+const RotMat & reset (const Angel::mat4 &NewState)
+const RotMat & rotateX (const GLfloat theta, bool postmult=true)
+const RotMat & rotateY (const GLfloat theta, bool postmult=true)
+const RotMat & rotateZ (const GLfloat theta, bool postmult=true)
+const RotMat & adjust (const Angel::mat4 &Adjustment, bool postmult=true)
+const Angel::mat4 & matrix (void) const
+Angel::mat4 operator* (const Angel::mat4 &rhs) const
+Angel::mat4 operator* (const Transformation &rhs) const
+ + +

+Protected Attributes

+Angel::mat4 mat
+

Detailed Description

+

Rotations.

+ +

Definition at line 40 of file Transformation.hpp.

+

The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_rot_mat.js b/Doxygen/Docs/html/class_rot_mat.js new file mode 100644 index 00000000..6de024a1 --- /dev/null +++ b/Doxygen/Docs/html/class_rot_mat.js @@ -0,0 +1,12 @@ +var class_rot_mat = +[ + [ "adjust", "class_rot_mat.html#ae37469da848ee4b633889f44babde9fe", null ], + [ "matrix", "class_rot_mat.html#afcec300424207fc1d20864b73136937e", null ], + [ "operator*", "class_rot_mat.html#afdfbf48815a5b0d885f3b93f04cd2c66", null ], + [ "operator*", "class_rot_mat.html#a85b923e0066365ef2e4aec3671396410", null ], + [ "reset", "class_rot_mat.html#a32b794d5158a61eccc2f9d7b06ab3fb5", null ], + [ "rotateX", "class_rot_mat.html#a15dbc3c6e4870662413e6998ad391191", null ], + [ "rotateY", "class_rot_mat.html#ae1c4ec7d057458bf96ca94cd164617b8", null ], + [ "rotateZ", "class_rot_mat.html#a60364401770d127c040cc3ed1ad83c07", null ], + [ "mat", "class_rot_mat.html#a5f39fb578a1cdf78ca85efbd932d3834", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_rot_mat.png b/Doxygen/Docs/html/class_rot_mat.png new file mode 100644 index 00000000..4e6b55dc Binary files /dev/null and b/Doxygen/Docs/html/class_rot_mat.png differ diff --git a/Doxygen/Docs/html/class_scale_mat-members.html b/Doxygen/Docs/html/class_scale_mat-members.html new file mode 100644 index 00000000..6ef9a74a --- /dev/null +++ b/Doxygen/Docs/html/class_scale_mat-members.html @@ -0,0 +1,132 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
ScaleMat Member List
+
+
+ +

This is the complete list of members for ScaleMat, including all inherited members.

+ + + + + + + + + + +
adjust(const float x, const float y, const float z) (defined in ScaleMat)ScaleMat
adjust(const float pct) (defined in ScaleMat)ScaleMat
mat (defined in Transformation)Transformationprotected
matrix(void) const (defined in Transformation)Transformation
operator*(const Angel::mat4 &rhs) const (defined in Transformation)Transformation
operator*(const Transformation &rhs) const (defined in Transformation)Transformation
set(const float x, const float y, const float z) (defined in ScaleMat)ScaleMat
set(const float pct) (defined in ScaleMat)ScaleMat
~Transformation(void) (defined in Transformation)Transformationvirtual
+
+ + + + diff --git a/Doxygen/Docs/html/class_scale_mat.html b/Doxygen/Docs/html/class_scale_mat.html new file mode 100644 index 00000000..d080f486 --- /dev/null +++ b/Doxygen/Docs/html/class_scale_mat.html @@ -0,0 +1,164 @@ + + + + + +HyperGrafx: ScaleMat Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
ScaleMat Class Reference
+
+
+
+Inheritance diagram for ScaleMat:
+
+
+ + +Transformation + +
+ + + + + + + + + +

+Public Member Functions

+const ScaleMat & set (const float x, const float y, const float z)
+const ScaleMat & set (const float pct)
+const ScaleMat & adjust (const float x, const float y, const float z)
+const ScaleMat & adjust (const float pct)
+const Angel::mat4 & matrix (void) const
+Angel::mat4 operator* (const Angel::mat4 &rhs) const
+Angel::mat4 operator* (const Transformation &rhs) const
+ + +

+Protected Attributes

+Angel::mat4 mat
+

Detailed Description

+
+

Definition at line 70 of file Transformation.hpp.

+

The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_scale_mat.js b/Doxygen/Docs/html/class_scale_mat.js new file mode 100644 index 00000000..0e033ad8 --- /dev/null +++ b/Doxygen/Docs/html/class_scale_mat.js @@ -0,0 +1,11 @@ +var class_scale_mat = +[ + [ "adjust", "class_scale_mat.html#a6d6d05f3af9012223bb0b61530f18688", null ], + [ "adjust", "class_scale_mat.html#a5cb132a1dec58200eceaa33c4c619580", null ], + [ "matrix", "class_scale_mat.html#afcec300424207fc1d20864b73136937e", null ], + [ "operator*", "class_scale_mat.html#afdfbf48815a5b0d885f3b93f04cd2c66", null ], + [ "operator*", "class_scale_mat.html#a85b923e0066365ef2e4aec3671396410", null ], + [ "set", "class_scale_mat.html#ae8b855d2dc58511ab404d5c275936e7d", null ], + [ "set", "class_scale_mat.html#a2c543c3aa6c795de16fba8cb40434a4f", null ], + [ "mat", "class_scale_mat.html#a5f39fb578a1cdf78ca85efbd932d3834", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_scale_mat.png b/Doxygen/Docs/html/class_scale_mat.png new file mode 100644 index 00000000..882e961e Binary files /dev/null and b/Doxygen/Docs/html/class_scale_mat.png differ diff --git a/Doxygen/Docs/html/class_scene-members.html b/Doxygen/Docs/html/class_scene-members.html new file mode 100644 index 00000000..c099fd49 --- /dev/null +++ b/Doxygen/Docs/html/class_scene-members.html @@ -0,0 +1,144 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Scene Member List
+
+
+ +

This is the complete list of members for Scene, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + +
_currentObjSceneprotected
_gShaderSceneprotected
_listSceneprotected
_mapSceneprotected
active(void) const (defined in Scene)Scene
addObject(const std::string &objName, GLuint Object_Shader=0)Scene
deleteObject(Object *obj)Sceneprotected
delObject(const std::string &objName)Scene
delObject(void)Scene
draw(void) (defined in Scene)Scene
insertObject(Object *obj)Scene
next(void) (defined in Scene)Scene
operator=(const Scene &copy) (defined in Scene)Scene
operator[](const std::string &objname) (defined in Scene)Scene
popObject(void)Scene
prev(void) (defined in Scene)Scene
Scene()Scene
Scene(const Scene &copy) (defined in Scene)Scene
shader(GLuint gShader)Scenevirtual
shader(void)Scene
~Scene()Scenevirtual
+
+ + + + diff --git a/Doxygen/Docs/html/class_scene.html b/Doxygen/Docs/html/class_scene.html new file mode 100644 index 00000000..ace2b329 --- /dev/null +++ b/Doxygen/Docs/html/class_scene.html @@ -0,0 +1,458 @@ + + + + + +HyperGrafx: Scene Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Scene Class Reference
+
+
+ +

The Scene object keeps track of a list of objects considered to be "children" of the Scene. + More...

+ +

#include <Scene.hpp>

+
+Inheritance diagram for Scene:
+
+
+ + +Cameras +Object +Camera +ParticleSystem + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+ Scene ()
 Nullary constructor.
virtual ~Scene ()
 Destructor! Will traverse its list and delete all objects! !! CAUTION !! If you have registered your own Objects manually, note that the scene will delete them for you!
virtual void shader (GLuint gShader)
 Sets the Default shader for the scene.
GLuint shader (void)
 Retrieves the handle for the default shader for the scene.
Object * addObject (const std::string &objName, GLuint Object_Shader=0)
 addObject creates a new Object with the given name and, optionally, a specified shader and adds it to the Scene graph.
void delObject (const std::string &objName)
 delObject will remove from the Scene graph the object with the given name.
+void delObject (void)
 delObject with no parameters will delete the first Object in the Scene.
+void popObject (void)
 popObject deletes the last Object in the Scene.
+Object * next (void)
+Object * prev (void)
+Object * active (void) const
+void draw (void)
+Object * operator[] (const std::string &objname)
+ Scene (const Scene &copy)
+Scene & operator= (const Scene &copy)
void insertObject (Object *obj)
 Register a created object with the scene graph.
+ + + +

+Protected Member Functions

void deleteObject (Object *obj)
 Very seriously delete a child object and free his memory.
+ + + + + + + + + +

+Protected Attributes

+std::list< Object * > _list
 For the purposes of rapid propagation of scene-graph changes, Object pointers are stored in a regular flat list.
std::map< std::string, Object * > _map
 For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map.
+std::list< Object * >::iterator _currentObj
 We keep an iterator on-hand that references what the scene considers to be it's active, current object.
+GLuint _gShader
 A handle to a shader program to be used as the default shader for new children objects added to the scene.
+

Detailed Description

+

The Scene object keeps track of a list of objects considered to be "children" of the Scene.

+

The Scene itself has no physical representation or presence otherwise on the GPU, it is purely a logical CPU entity.

+
Date
2013-03-16
+
Author
John Huston
+ +

Definition at line 30 of file Scene.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + +
Scene::~Scene ()
+
+virtual
+
+ +

Destructor! Will traverse its list and delete all objects! !! CAUTION !! If you have registered your own Objects manually, note that the scene will delete them for you!

+

You should, of course, never register objects from the stack.

+ +

Definition at line 34 of file Scene.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Object * Scene::addObject (const std::string & objName,
GLuint shader = 0 
)
+
+ +

addObject creates a new Object with the given name and, optionally, a specified shader and adds it to the Scene graph.

+

If no shader is given, a default shader MUST have been specified for the Scene prior to the call.

+
Parameters
+ + + +
objNameThe name of the new Object to add.
Object_ShaderThe shader that should be used to render this object.
+
+
+
Returns
A pointer to the new Object.
+ +

Definition at line 77 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::deleteObject (Object * obj)
+
+protected
+
+ +

Very seriously delete a child object and free his memory.

+

deleteObject is the actual implementation function that will remove an Object from the Scene list and Scene map, then free the object.

+
Parameters
+ + + +
objThe object to delete.
objThe pointer to the object to free.
+
+
+ +

Definition at line 129 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Scene::delObject (const std::string & objName)
+
+ +

delObject will remove from the Scene graph the object with the given name.

+
Parameters
+ + +
objNameName of the Object to delete.
+
+
+ +

Definition at line 99 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void Scene::insertObject (Object * obj)
+
+ +

Register a created object with the scene graph.

+
Parameters
+ + + +
nameThe name of the object (For the associative map),
objThe Object pointer to add to the scene.
+
+
+ +

Definition at line 118 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Scene::shader (GLuint gShader)
+
+virtual
+
+ +

Sets the Default shader for the scene.

+

In the context of inheritance by objects, This sets the shader to use to render the physical object.

+
Parameters
+ + +
gShaderThe GLuint handle to the shader to use.
+
+
+
Returns
void.
+ +

Reimplemented in Object.

+ +

Definition at line 52 of file Scene.cpp.

+ +
+
+ +
+
+ + + + + + + + +
GLuint Scene::shader (void )
+
+ +

Retrieves the handle for the default shader for the scene.

+

In the context of inheritance by objects, This retrieves the shader handle to use to draw the object.

+
Returns
A GLuint handle to the shader program.
+ +

Reimplemented in Object.

+ +

Definition at line 63 of file Scene.cpp.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
std::map< std::string, Object* > Scene::_map
+
+protected
+
+ +

For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map.

+

It's a little superfluous, but here it is!

+ +

Definition at line 127 of file Scene.hpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_scene.js b/Doxygen/Docs/html/class_scene.js new file mode 100644 index 00000000..3ce29a11 --- /dev/null +++ b/Doxygen/Docs/html/class_scene.js @@ -0,0 +1,24 @@ +var class_scene = +[ + [ "Scene", "class_scene.html#ad10176d75a9cc0da56626f682d083507", null ], + [ "~Scene", "class_scene.html#a3b8cec2e32546713915f8c6303c951f1", null ], + [ "Scene", "class_scene.html#aa6e6354478dc7df82446b3abf9f91d96", null ], + [ "active", "class_scene.html#ad0ea1a6bcf7815c63988bd937f06eb23", null ], + [ "addObject", "class_scene.html#aa5a48614e959c38c35d824fa9d6a4b8b", null ], + [ "deleteObject", "class_scene.html#ad3897f8ac658af62c133783b2c4eaee4", null ], + [ "delObject", "class_scene.html#a2a6845dacbb468c5c097c7a6ab5a0fe0", null ], + [ "delObject", "class_scene.html#a2e6b319b60e27e66ad43bb942a6c4424", null ], + [ "draw", "class_scene.html#a41fbbe388ea322df338648e66611ffcf", null ], + [ "insertObject", "class_scene.html#a8893899f0088a72642ae32a656252e7f", null ], + [ "next", "class_scene.html#a70fcdad192a4c6ff508125de8af6cf4d", null ], + [ "operator=", "class_scene.html#a6336263b33b06ce4ace53599ffd8122c", null ], + [ "operator[]", "class_scene.html#ae9b69d8db8a46991017635f22e45baad", null ], + [ "popObject", "class_scene.html#ad6c9d1d1d0c786d39bf97dc60410e28b", null ], + [ "prev", "class_scene.html#ac852d5d763eb35b4908c9aa7ea54d1ae", null ], + [ "shader", "class_scene.html#a3ea7e92935755c776c235a9872f53394", null ], + [ "shader", "class_scene.html#a9d8a33f0f0a296aba0fb6717ab85cb18", null ], + [ "_currentObj", "class_scene.html#ae87ca5350fcc595f3f15a4fd3c39f3d9", null ], + [ "_gShader", "class_scene.html#a8f9bdd8ec5edb1f414fbd314a36e2724", null ], + [ "_list", "class_scene.html#acdd0123ca6b2d64d8d447bb485b235fc", null ], + [ "_map", "class_scene.html#a8bd5d86484a12255b26b92b6cbf8d29a", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_scene.png b/Doxygen/Docs/html/class_scene.png new file mode 100644 index 00000000..4209fa41 Binary files /dev/null and b/Doxygen/Docs/html/class_scene.png differ diff --git a/Doxygen/Docs/html/class_screen-members.html b/Doxygen/Docs/html/class_screen-members.html new file mode 100644 index 00000000..34607ef1 --- /dev/null +++ b/Doxygen/Docs/html/class_screen-members.html @@ -0,0 +1,136 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Screen Member List
+
+
+ +

This is the complete list of members for Screen, including all inherited members.

+ + + + + + + + + + + + + + +
_camList (defined in Screen)Screen
_center (defined in Screen)Screenprivate
_size (defined in Screen)Screenprivate
center(void) (defined in Screen)Screen
height(void) (defined in Screen)Screen
midpointX(void) (defined in Screen)Screen
midpointY(void) (defined in Screen)Screen
Screen(int x=0, int y=0) (defined in Screen)Screen
Screen(const vec2 &newSize) (defined in Screen)Screen
size(int x, int y) (defined in Screen)Screen
size(const vec2 &newSize) (defined in Screen)Screen
size(void) (defined in Screen)Screen
width(void) (defined in Screen)Screen
+
+ + + + diff --git a/Doxygen/Docs/html/class_screen.html b/Doxygen/Docs/html/class_screen.html new file mode 100644 index 00000000..74fd418c --- /dev/null +++ b/Doxygen/Docs/html/class_screen.html @@ -0,0 +1,169 @@ + + + + + +HyperGrafx: Screen Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Screen Class Reference
+
+
+ + + + + + + + + + + + +

+Public Member Functions

+ Screen (int x=0, int y=0)
+ Screen (const vec2 &newSize)
+void size (int x, int y)
+void size (const vec2 &newSize)
+const vec2 & size (void)
+int width (void)
+int height (void)
+const vec2 & center (void)
+int midpointX (void)
+int midpointY (void)
+ + +

+Public Attributes

+Cameras _camList
+ + + +

+Private Attributes

+vec2 _size
+vec2 _center
+

Detailed Description

+
+

Definition at line 15 of file Screen.hpp.

+

The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_screen.js b/Doxygen/Docs/html/class_screen.js new file mode 100644 index 00000000..8fc85559 --- /dev/null +++ b/Doxygen/Docs/html/class_screen.js @@ -0,0 +1,16 @@ +var class_screen = +[ + [ "Screen", "class_screen.html#ad97151af2e654778bad86043c32fe19f", null ], + [ "Screen", "class_screen.html#a7b45282430392ffa8b5891936363f8f8", null ], + [ "center", "class_screen.html#ab1031780f278f25b9ad4efc0379e12fd", null ], + [ "height", "class_screen.html#a492352f72fd2ee5f3cadcd553539bab1", null ], + [ "midpointX", "class_screen.html#a8ebfcb6f8f6a01c9397b0255e7e07b3e", null ], + [ "midpointY", "class_screen.html#a4c579b4f3e27635f30b912d90a6b53d7", null ], + [ "size", "class_screen.html#a24e5be647130c965757db6cb9617fbe1", null ], + [ "size", "class_screen.html#a2c027dc96b9133619687f21fd92d66ba", null ], + [ "size", "class_screen.html#a7c7219ac566e00e09bf3dd7df1a19ccd", null ], + [ "width", "class_screen.html#aa411196a9c73a097e23e5e2cc6f4fb6d", null ], + [ "_camList", "class_screen.html#a0098c32ec26cba2df8108d7b706986e5", null ], + [ "_center", "class_screen.html#a1c82610b27dd93ae998b96d1fe11c792", null ], + [ "_size", "class_screen.html#a02a1812a3807a9c4db6d4456861a7130", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_spelchk_camera-members.html b/Doxygen/Docs/html/class_spelchk_camera-members.html new file mode 100644 index 00000000..e52d16e5 --- /dev/null +++ b/Doxygen/Docs/html/class_spelchk_camera-members.html @@ -0,0 +1,171 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
SpelchkCamera Member List
+
+
+ +

This is the complete list of members for SpelchkCamera, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
_aspect (defined in SpelchkCamera)SpelchkCameraprivate
_bottom (defined in SpelchkCamera)SpelchkCameraprivate
_fovy (defined in SpelchkCamera)SpelchkCameraprivate
_inboundHeadData (defined in SpelchkCamera)SpelchkCameraprivate
_initialHeadPosition (defined in SpelchkCamera)SpelchkCameraprivate
_initialTranslationVector (defined in SpelchkCamera)SpelchkCameraprivate
_left (defined in SpelchkCamera)SpelchkCameraprivate
_modelViewMatrix (defined in SpelchkCamera)SpelchkCameraprivate
_oldTranslationVector (defined in SpelchkCamera)SpelchkCameraprivate
_projectionType (defined in SpelchkCamera)SpelchkCameraprivate
_right (defined in SpelchkCamera)SpelchkCameraprivate
_screenHeight (defined in SpelchkCamera)SpelchkCameraprivate
_screenWidth (defined in SpelchkCamera)SpelchkCameraprivate
_timeRef (defined in SpelchkCamera)SpelchkCameraprivate
_top (defined in SpelchkCamera)SpelchkCameraprivate
_translationVector (defined in SpelchkCamera)SpelchkCameraprivate
_xAngle (defined in SpelchkCamera)SpelchkCameraprivate
_xDepth (defined in SpelchkCamera)SpelchkCameraprivate
_xHead (defined in SpelchkCamera)SpelchkCameraprivate
_xHeadAngle (defined in SpelchkCamera)SpelchkCameraprivate
_xHeadStart (defined in SpelchkCamera)SpelchkCameraprivate
_yAngle (defined in SpelchkCamera)SpelchkCameraprivate
_yDepth (defined in SpelchkCamera)SpelchkCameraprivate
_yHead (defined in SpelchkCamera)SpelchkCameraprivate
_yHeadAngle (defined in SpelchkCamera)SpelchkCameraprivate
_yHeadStart (defined in SpelchkCamera)SpelchkCameraprivate
_zAngle (defined in SpelchkCamera)SpelchkCameraprivate
_zDepth (defined in SpelchkCamera)SpelchkCameraprivate
_zFar (defined in SpelchkCamera)SpelchkCameraprivate
_zHead (defined in SpelchkCamera)SpelchkCameraprivate
_zHeadAngle (defined in SpelchkCamera)SpelchkCameraprivate
_zHeadStart (defined in SpelchkCamera)SpelchkCameraprivate
_zNear (defined in SpelchkCamera)SpelchkCameraprivate
calculateTranslationVector() (defined in SpelchkCamera)SpelchkCameraprivate
getModelViewMatrix() (defined in SpelchkCamera)SpelchkCamera
getProjectionMatrix() (defined in SpelchkCamera)SpelchkCamera
getReadyForZero(int usernum) (defined in SpelchkCamera)SpelchkCamera
getTranslationVector() (defined in SpelchkCamera)SpelchkCamera
headMovement(int usernum, double x, double y, double z) (defined in SpelchkCamera)SpelchkCamera
moveCamera(float xDepth, float yDepth, float zDepth) (defined in SpelchkCamera)SpelchkCamera
reset() (defined in SpelchkCamera)SpelchkCamera
rotateCamera(float xAngle, float yAngle, float zAngle) (defined in SpelchkCamera)SpelchkCamera
setLightMovementRef(GLuint ref) (defined in SpelchkCamera)SpelchkCamera
setLightMovementTime(float elapsed) (defined in SpelchkCamera)SpelchkCamera
setProjection(int projectionType) (defined in SpelchkCamera)SpelchkCamera
setScreenSize(int width, int height) (defined in SpelchkCamera)SpelchkCamera
SpelchkCamera(vec4 initialTranslationVector) (defined in SpelchkCamera)SpelchkCamera
~SpelchkCamera() (defined in SpelchkCamera)SpelchkCameravirtual
+
+ + + + diff --git a/Doxygen/Docs/html/class_spelchk_camera.html b/Doxygen/Docs/html/class_spelchk_camera.html new file mode 100644 index 00000000..db8a960a --- /dev/null +++ b/Doxygen/Docs/html/class_spelchk_camera.html @@ -0,0 +1,237 @@ + + + + + +HyperGrafx: SpelchkCamera Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
SpelchkCamera Class Reference
+
+
+ + + + + + + + + + + + + + + +

+Public Member Functions

+ SpelchkCamera (vec4 initialTranslationVector)
+mat4 getProjectionMatrix ()
+mat4 getModelViewMatrix ()
+vec4 getTranslationVector ()
+void moveCamera (float xDepth, float yDepth, float zDepth)
+void rotateCamera (float xAngle, float yAngle, float zAngle)
+void setScreenSize (int width, int height)
+void setProjection (int projectionType)
+void reset ()
+void setLightMovementRef (GLuint ref)
+void setLightMovementTime (float elapsed)
+void getReadyForZero (int usernum)
+void headMovement (int usernum, double x, double y, double z)
+ + +

+Private Member Functions

+void calculateTranslationVector ()
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Private Attributes

+int _projectionType
+GLfloat _fovy
+GLfloat _aspect
+GLfloat _left
+GLfloat _right
+GLfloat _bottom
+GLfloat _top
+GLfloat _zNear
+GLfloat _zFar
+GLuint _timeRef
+int _screenWidth
+int _screenHeight
+GLfloat _xDepth
+GLfloat _yDepth
+GLfloat _zDepth
+GLfloat _xAngle
+GLfloat _yAngle
+GLfloat _zAngle
+GLfloat _xHead
+GLfloat _yHead
+GLfloat _zHead
+float _xHeadStart
+float _yHeadStart
+float _zHeadStart
+GLfloat _xHeadAngle
+GLfloat _yHeadAngle
+GLfloat _zHeadAngle
+vec4 _initialTranslationVector
+vec4 _translationVector
+vec4 _oldTranslationVector
+mat4 _modelViewMatrix
+int _inboundHeadData
+vec4 _initialHeadPosition
+

Detailed Description

+
+

Definition at line 17 of file SpelchkCamera.hpp.

+

The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_spelchk_camera.js b/Doxygen/Docs/html/class_spelchk_camera.js new file mode 100644 index 00000000..96699326 --- /dev/null +++ b/Doxygen/Docs/html/class_spelchk_camera.js @@ -0,0 +1,51 @@ +var class_spelchk_camera = +[ + [ "SpelchkCamera", "class_spelchk_camera.html#a1d894472ef9e588ddeb56434e549cd0a", null ], + [ "~SpelchkCamera", "class_spelchk_camera.html#a9591e471f5e0fb565a1b6a8c33f99d96", null ], + [ "calculateTranslationVector", "class_spelchk_camera.html#a539230ff6d91932526666d4eee9d6c0d", null ], + [ "getModelViewMatrix", "class_spelchk_camera.html#af702dfbd3c3719e4b738440bb2269922", null ], + [ "getProjectionMatrix", "class_spelchk_camera.html#a2a9aa83f6e5d3d2371dd00ae162aef30", null ], + [ "getReadyForZero", "class_spelchk_camera.html#a90aa5e06ba61d44e63535acf2cc3e373", null ], + [ "getTranslationVector", "class_spelchk_camera.html#a4ad8fbfe69914453580c02406bffc501", null ], + [ "headMovement", "class_spelchk_camera.html#afc39db6b4eab85070aa5d7494d0c5198", null ], + [ "moveCamera", "class_spelchk_camera.html#a1396d6aa2a3e85d9ed8b90c17751da41", null ], + [ "reset", "class_spelchk_camera.html#a29d4ba987d9f3e1c47e1103fcea0ae2b", null ], + [ "rotateCamera", "class_spelchk_camera.html#aa012e2d10f196ae007a8f8b4ac8471c3", null ], + [ "setLightMovementRef", "class_spelchk_camera.html#a20436fee96b0d6a1279d10b88e20f520", null ], + [ "setLightMovementTime", "class_spelchk_camera.html#aed5d76d2de23473dec034161efe29275", null ], + [ "setProjection", "class_spelchk_camera.html#a95b87c80007941d85d26c43d30fa7f87", null ], + [ "setScreenSize", "class_spelchk_camera.html#a24f5fe7d296bcd7ec9d70b25b6a92fe5", null ], + [ "_aspect", "class_spelchk_camera.html#af45ecbaf2abdb45ba7a7b10988cb32bf", null ], + [ "_bottom", "class_spelchk_camera.html#a4b6008e072c2c969bdad94340c9e883f", null ], + [ "_fovy", "class_spelchk_camera.html#a28e265ba33968587a514c40e1c188362", null ], + [ "_inboundHeadData", "class_spelchk_camera.html#a4d0112ca90bced7facf868165b109f2c", null ], + [ "_initialHeadPosition", "class_spelchk_camera.html#a92d895ed8ba20382bcf9000acb8f62c4", null ], + [ "_initialTranslationVector", "class_spelchk_camera.html#ab55d117dbbe81571f7647c99a8254c96", null ], + [ "_left", "class_spelchk_camera.html#a42693efc09de379317a24175a8820a4b", null ], + [ "_modelViewMatrix", "class_spelchk_camera.html#a97affea96b6d50eb2f918e7a657211fa", null ], + [ "_oldTranslationVector", "class_spelchk_camera.html#a22330eebe446d1b1f2df252299af1bec", null ], + [ "_projectionType", "class_spelchk_camera.html#a1300ebc7e19c9784307668e5fbd54230", null ], + [ "_right", "class_spelchk_camera.html#a4b673ae943e77ac4e84ef3655dffb9dc", null ], + [ "_screenHeight", "class_spelchk_camera.html#a71989db7bbd6ee6e53c449edbd5b97c2", null ], + [ "_screenWidth", "class_spelchk_camera.html#a5af9cf826b28b2089f455b2a9dd55273", null ], + [ "_timeRef", "class_spelchk_camera.html#a842fe340902238c352e3ae353c69efe3", null ], + [ "_top", "class_spelchk_camera.html#a4e57c23cb7296bf3b377b2695684f2f0", null ], + [ "_translationVector", "class_spelchk_camera.html#ae6c14466dbc61908c0362d5d23a2e4d7", null ], + [ "_xAngle", "class_spelchk_camera.html#affdf1796d7b273b022aab5bcd057906d", null ], + [ "_xDepth", "class_spelchk_camera.html#af358d23e248c4ea34eac1cb6d43650c4", null ], + [ "_xHead", "class_spelchk_camera.html#aed4968712cd26cbcf1b3a0aaefef0be9", null ], + [ "_xHeadAngle", "class_spelchk_camera.html#a81a21a91a20e88cdf22acf708049b514", null ], + [ "_xHeadStart", "class_spelchk_camera.html#a1aee726b5d02ce0dfd94ab332a5bf2ae", null ], + [ "_yAngle", "class_spelchk_camera.html#aa91c493a5fcebf41dd22a2ba19dccb67", null ], + [ "_yDepth", "class_spelchk_camera.html#ac9e259988d55580ca85a8ce675eca238", null ], + [ "_yHead", "class_spelchk_camera.html#a8821e575424b9bf9c7df5b88a00791a9", null ], + [ "_yHeadAngle", "class_spelchk_camera.html#aa1aac3ac2dc8d81aa9c36808811748d2", null ], + [ "_yHeadStart", "class_spelchk_camera.html#a15769e148b33d8a1ec1f66cb31113b5d", null ], + [ "_zAngle", "class_spelchk_camera.html#aee718e71cfc0e1223a651640a92d043d", null ], + [ "_zDepth", "class_spelchk_camera.html#a226c2bd8248e2da25449bb7b259cbe53", null ], + [ "_zFar", "class_spelchk_camera.html#aa634e60867955c15ff1f3930fd65e141", null ], + [ "_zHead", "class_spelchk_camera.html#a5b4f9fd0ac88b154a8ac7c67937a027e", null ], + [ "_zHeadAngle", "class_spelchk_camera.html#a53127a6e46ffee300cba7240768ecc84", null ], + [ "_zHeadStart", "class_spelchk_camera.html#a2de115edea646f121f23948bd11acfc7", null ], + [ "_zNear", "class_spelchk_camera.html#a583fa3f337f6b4f6662c79580a7ac0b9", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_tiem_spelchk_1_1_lurn2_spiel_nub-members.html b/Doxygen/Docs/html/class_tiem_spelchk_1_1_lurn2_spiel_nub-members.html new file mode 100644 index 00000000..31023623 --- /dev/null +++ b/Doxygen/Docs/html/class_tiem_spelchk_1_1_lurn2_spiel_nub-members.html @@ -0,0 +1,148 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
TiemSpelchk::Lurn2SpielNub Member List
+
+
+ +

This is the complete list of members for TiemSpelchk::Lurn2SpielNub, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
_cb (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
_thread (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
cal_complete(xn::SkeletonCapability &, XnUserID, XnCalibrationStatus, void *) (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubstatic
cal_start(xn::SkeletonCapability &, XnUserID, void *) (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubstatic
FUNKMASTER_thread_func() (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
g_bNeedPose (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
g_Context (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
g_DepthGenerator (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
g_scriptNode (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
g_strPose (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
g_UserGenerator (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
lost_user(xn::UserGenerator &, XnUserID, void *) (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubstatic
Lurn2SpielNub() (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNub
needsToSeppuku (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
new_user(xn::UserGenerator &, XnUserID, void *) (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubstatic
pose(xn::PoseDetectionCapability &, const XnChar *, XnUserID, void *) (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubstatic
setCallback(boost::function< void(int, double, double, double) > headCB) (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNub
Shutdown() (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNub
Start() (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNub
User_LostUser(xn::UserGenerator &, XnUserID nId, void *) (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
User_NewUser(xn::UserGenerator &, XnUserID nId, void *) (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
UserCalibration_CalibrationComplete(xn::SkeletonCapability &, XnUserID nId, XnCalibrationStatus eStatus, void *) (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
UserCalibration_CalibrationStart(xn::SkeletonCapability &, XnUserID nId, void *) (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
UserPose_PoseDetected(xn::PoseDetectionCapability &, const XnChar *strPose, XnUserID nId, void *) (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNubprivate
~Lurn2SpielNub() (defined in TiemSpelchk::Lurn2SpielNub)TiemSpelchk::Lurn2SpielNub
+
+ + + + diff --git a/Doxygen/Docs/html/class_tiem_spelchk_1_1_lurn2_spiel_nub.html b/Doxygen/Docs/html/class_tiem_spelchk_1_1_lurn2_spiel_nub.html new file mode 100644 index 00000000..dcb7fd38 --- /dev/null +++ b/Doxygen/Docs/html/class_tiem_spelchk_1_1_lurn2_spiel_nub.html @@ -0,0 +1,194 @@ + + + + + +HyperGrafx: TiemSpelchk::Lurn2SpielNub Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
TiemSpelchk::Lurn2SpielNub Class Reference
+
+
+ + + + + +

+Public Member Functions

+void setCallback (boost::function< void(int, double, double, double) > headCB)
+int Start ()
+void Shutdown ()
+ + + + + + +

+Static Public Member Functions

+static void XN_CALLBACK_TYPE new_user (xn::UserGenerator &, XnUserID, void *)
+static void XN_CALLBACK_TYPE lost_user (xn::UserGenerator &, XnUserID, void *)
+static void XN_CALLBACK_TYPE pose (xn::PoseDetectionCapability &, const XnChar *, XnUserID, void *)
+static void XN_CALLBACK_TYPE cal_start (xn::SkeletonCapability &, XnUserID, void *)
+static void XN_CALLBACK_TYPE cal_complete (xn::SkeletonCapability &, XnUserID, XnCalibrationStatus, void *)
+ + + + + + + +

+Private Member Functions

+void FUNKMASTER_thread_func ()
+void XN_CALLBACK_TYPE User_NewUser (xn::UserGenerator &, XnUserID nId, void *)
+void XN_CALLBACK_TYPE User_LostUser (xn::UserGenerator &, XnUserID nId, void *)
+void XN_CALLBACK_TYPE UserPose_PoseDetected (xn::PoseDetectionCapability &, const XnChar *strPose, XnUserID nId, void *)
+void XN_CALLBACK_TYPE UserCalibration_CalibrationStart (xn::SkeletonCapability &, XnUserID nId, void *)
+void XN_CALLBACK_TYPE UserCalibration_CalibrationComplete (xn::SkeletonCapability &, XnUserID nId, XnCalibrationStatus eStatus, void *)
+ + + + + + + + + + +

+Private Attributes

+boost::function< void(int,
+double, double, double) > 
_cb
+boost::thread _thread
+bool needsToSeppuku
+xn::Context g_Context
+xn::ScriptNode g_scriptNode
+xn::DepthGenerator g_DepthGenerator
+xn::UserGenerator g_UserGenerator
+XnBool g_bNeedPose
+XnChar g_strPose [20]
+

Detailed Description

+
+

Definition at line 56 of file KinectInator.hpp.

+

The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_tiem_spelchk_1_1_lurn2_spiel_nub.js b/Doxygen/Docs/html/class_tiem_spelchk_1_1_lurn2_spiel_nub.js new file mode 100644 index 00000000..e3717cf5 --- /dev/null +++ b/Doxygen/Docs/html/class_tiem_spelchk_1_1_lurn2_spiel_nub.js @@ -0,0 +1,28 @@ +var class_tiem_spelchk_1_1_lurn2_spiel_nub = +[ + [ "Lurn2SpielNub", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a7b073162e53965f1c1691d37e7e96456", null ], + [ "~Lurn2SpielNub", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#af1512e7990752428bbd97e0b62466d6b", null ], + [ "cal_complete", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a41dd33b54013b3974119d7a0da893d8a", null ], + [ "cal_start", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#aeb00f8d55630f3f7d2da36d04302a174", null ], + [ "FUNKMASTER_thread_func", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a28fa0e11dc89f2202890ec873a74d23f", null ], + [ "lost_user", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a9d85ee4de4621c0de0c7133fb15bcaa6", null ], + [ "new_user", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a38db742a870fe48644f795c3e249d6ab", null ], + [ "pose", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a9e8df7c3c86b521fd642e6bd1719b1ad", null ], + [ "setCallback", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a590dbbc3cfd3781cc79e63945d6bdce9", null ], + [ "Shutdown", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a7c055489ec5c140e7bfa91a0c0a76f94", null ], + [ "Start", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a29b93d8ad5bbcefad6df00b4a23f4fc4", null ], + [ "User_LostUser", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a040124fb9e20cfab39c45d334e6c5b1c", null ], + [ "User_NewUser", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#aa28206499ebeb98e2db24db9813232f7", null ], + [ "UserCalibration_CalibrationComplete", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#ad029dba23118fdb5fa2b2cfc74a50305", null ], + [ "UserCalibration_CalibrationStart", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#aaf9264a46a4b2c23587fc67569339992", null ], + [ "UserPose_PoseDetected", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a5bc3222dbbbee803b2b77afbdbd88acc", null ], + [ "_cb", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a46cded6cb265dfcd1c73393952ab0529", null ], + [ "_thread", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a6ce714e2ff4d16b836a16ac526b397fe", null ], + [ "g_bNeedPose", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a3d0fa17772cdaa4775c6eb3c441f1b17", null ], + [ "g_Context", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a89dc8acb0e9b63f52de20364f5c49c47", null ], + [ "g_DepthGenerator", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a7e4f74ecd9de1cfdff8cc2d237ce6e34", null ], + [ "g_scriptNode", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a2500c966681a65ffcd3d2354848227e5", null ], + [ "g_strPose", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#ac2be8464e1436a7f90e2212e31944b7a", null ], + [ "g_UserGenerator", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#ad76a0650fa08d75e692125f3e2e571d0", null ], + [ "needsToSeppuku", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html#ab0b7fd2f68507a79f940ece0c7ce2cb6", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_timer-members.html b/Doxygen/Docs/html/class_timer-members.html new file mode 100644 index 00000000..b46ef87b --- /dev/null +++ b/Doxygen/Docs/html/class_timer-members.html @@ -0,0 +1,135 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Timer Member List
+
+
+ +

This is the complete list of members for Timer, including all inherited members.

+ + + + + + + + + + + + + +
_delta (defined in Timer)Timerprivate
_keyFrameRate (defined in Timer)Timerprivate
_scale (defined in Timer)Timerprivate
_t1 (defined in Timer)Timerprivate
_t2 (defined in Timer)Timerprivate
delta() const Timer
keyFrameRate() const (defined in Timer)Timer
keyFrameRate(float newFrameRate) (defined in Timer)Timer
scale() const Timer
tick()Timer
Timer() (defined in Timer)Timer
tock()Timer
+
+ + + + diff --git a/Doxygen/Docs/html/class_timer.html b/Doxygen/Docs/html/class_timer.html new file mode 100644 index 00000000..8f6424b5 --- /dev/null +++ b/Doxygen/Docs/html/class_timer.html @@ -0,0 +1,248 @@ + + + + + +HyperGrafx: Timer Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Timer Class Reference
+
+
+ + + + + + + + + + + + +

+Public Member Functions

unsigned long tick ()
 tick is an alias for tock.
unsigned long tock ()
 tock returns the time elapsed since the last tock.
unsigned long delta () const
 delta returns the time elapsed between the last tick and the last tock.
+float keyFrameRate () const
+float keyFrameRate (float newFrameRate)
double scale () const
 scale returns the relative lateness or eagerness of the Timer, Relative to a benchmark or Key Frame Rate (The default is 60FPS, or 16667 msec.)
+ + + + + + +

+Private Attributes

+struct timeval _t1
+struct timeval _t2
+unsigned long _delta
+double _scale
+float _keyFrameRate
+

Detailed Description

+
+

Definition at line 14 of file Timer.hpp.

+

Member Function Documentation

+ +
+
+ + + + + + + + +
unsigned long Timer::delta (void ) const
+
+ +

delta returns the time elapsed between the last tick and the last tock.

+

Does not start a new timer.

+
Returns
Time elapsed in Microseconds, or Nanoseconds if _RT was enabled.
+ +

Definition at line 74 of file Timer.cpp.

+ +
+
+ +
+
+ + + + + + + + +
double Timer::scale (void ) const
+
+ +

scale returns the relative lateness or eagerness of the Timer, Relative to a benchmark or Key Frame Rate (The default is 60FPS, or 16667 msec.)

+
Returns
A non-zero float that ranges from (0,1) indicating that the program is rendering faster than 60FPS, or from the range [1,+inf) indicating that the program is rendering slower than 60FPS.
+ +

Definition at line 87 of file Timer.cpp.

+ +
+
+ +
+
+ + + + + + + + +
unsigned long Timer::tick (void )
+
+ +

tick is an alias for tock.

+

Ha, Ha, Ha.

+
Returns
An unsigned long corresponding to how much time has passed since the last tick. Microseconds normally, Nanoseconds if _RT was enabled.
+ +

Definition at line 44 of file Timer.cpp.

+ +
+
+ +
+
+ + + + + + + + +
unsigned long Timer::tock (void )
+
+ +

tock returns the time elapsed since the last tock.

+
Returns
An unsigned long corresponding to how much time has passed since the last tock. Microseconds normally, Nanoseconds if _RT was enabled.
+ +

Definition at line 54 of file Timer.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_timer.js b/Doxygen/Docs/html/class_timer.js new file mode 100644 index 00000000..77324241 --- /dev/null +++ b/Doxygen/Docs/html/class_timer.js @@ -0,0 +1,15 @@ +var class_timer = +[ + [ "Timer", "class_timer.html#a5f16e8da27d2a5a5242dead46de05d97", null ], + [ "delta", "class_timer.html#a855136dd9e8cc3c07278dac9c4613693", null ], + [ "keyFrameRate", "class_timer.html#a86957c3647a68e4d1666b4dc8765a631", null ], + [ "keyFrameRate", "class_timer.html#ab49d5d4d56cfff329d3f3f4c74663ae2", null ], + [ "scale", "class_timer.html#a7b3934948b0d2bc11a5e198e619b2576", null ], + [ "tick", "class_timer.html#a303b48cd096028dbcc3d73f735c49b66", null ], + [ "tock", "class_timer.html#a334900b3056fd3351c299fef28c31d3d", null ], + [ "_delta", "class_timer.html#a2a80ef1463e87f63e6ccc45a3fbe5ac2", null ], + [ "_keyFrameRate", "class_timer.html#af6e96c06b73154cd3a72ff22fb801e9e", null ], + [ "_scale", "class_timer.html#a02c5ec526c6bad4f0f2352325b4ac4f3", null ], + [ "_t1", "class_timer.html#af337d44bb179d24e7a462d05b36319fa", null ], + [ "_t2", "class_timer.html#a093c39d8ce491d887ea0ae2e8d451030", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_trans_cache-members.html b/Doxygen/Docs/html/class_trans_cache-members.html new file mode 100644 index 00000000..ba0c1a14 --- /dev/null +++ b/Doxygen/Docs/html/class_trans_cache-members.html @@ -0,0 +1,138 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
TransCache Member List
+
+
+ +

This is the complete list of members for TransCache, including all inherited members.

+ + + + + + + + + + + + + + + + +
_ctm (defined in TransCache)TransCacheprivate
_displacement (defined in TransCache)TransCache
_offset (defined in TransCache)TransCache
_orbit (defined in TransCache)TransCache
_otm (defined in TransCache)TransCacheprivate
_preOffset (defined in TransCache)TransCache
_preRotation (defined in TransCache)TransCache
_ptm (defined in TransCache)TransCacheprivate
_rotation (defined in TransCache)TransCache
_scale (defined in TransCache)TransCache
calcCTM(bool postmult=true) (defined in TransCache)TransCache
ctm(void) const (defined in TransCache)TransCache
otm(void) const (defined in TransCache)TransCache
ptm(const Angel::mat4 &ptm_in, bool postmult=true) (defined in TransCache)TransCache
ptm(void) const (defined in TransCache)TransCache
+
+ + + + diff --git a/Doxygen/Docs/html/class_trans_cache.html b/Doxygen/Docs/html/class_trans_cache.html new file mode 100644 index 00000000..4d88fa0f --- /dev/null +++ b/Doxygen/Docs/html/class_trans_cache.html @@ -0,0 +1,173 @@ + + + + + +HyperGrafx: TransCache Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
TransCache Class Reference
+
+
+ + + + + + + +

+Public Member Functions

+void ptm (const Angel::mat4 &ptm_in, bool postmult=true)
+const Angel::mat4 & ptm (void) const
+const Angel::mat4 & ctm (void) const
+const Angel::mat4 & otm (void) const
+void calcCTM (bool postmult=true)
+ + + + + + + + +

+Public Attributes

+TransMat _preOffset
+RotMat _preRotation
+ScaleMat _scale
+RotMat _rotation
+TransMat _offset
+RotMat _orbit
+TransMat _displacement
+ + + + +

+Private Attributes

+Angel::mat4 _ptm
+Angel::mat4 _ctm
+Angel::mat4 _otm
+

Detailed Description

+
+

Definition at line 14 of file TransCache.hpp.

+

The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_trans_cache.js b/Doxygen/Docs/html/class_trans_cache.js new file mode 100644 index 00000000..8a70a361 --- /dev/null +++ b/Doxygen/Docs/html/class_trans_cache.js @@ -0,0 +1,18 @@ +var class_trans_cache = +[ + [ "calcCTM", "class_trans_cache.html#af35282cc89f14b468bafd65715a60f31", null ], + [ "ctm", "class_trans_cache.html#a6a1d0e8050840494441f4be6cfdb02eb", null ], + [ "otm", "class_trans_cache.html#a1c24bb0902fa8b1bc9ac306d28a6e079", null ], + [ "ptm", "class_trans_cache.html#afbb46369dfa2169eaa30fcbf0038f8b8", null ], + [ "ptm", "class_trans_cache.html#a983b90a0f35e2955beb9a619c0c85ec3", null ], + [ "_ctm", "class_trans_cache.html#a5bb6920889e36c616bd1648192ff5136", null ], + [ "_displacement", "class_trans_cache.html#a28f0d12b519c38de7be4ec640af011e9", null ], + [ "_offset", "class_trans_cache.html#a9a67a280d50b47a456d0a07154a56a8d", null ], + [ "_orbit", "class_trans_cache.html#a40698e1a82ecc629e15ad7149ea6205d", null ], + [ "_otm", "class_trans_cache.html#a968b1ec19687e1839f471658c63563a9", null ], + [ "_preOffset", "class_trans_cache.html#a1550ed069b59ac202af41716783ea452", null ], + [ "_preRotation", "class_trans_cache.html#a01839c88c48f8e426e0d75a915ba7396", null ], + [ "_ptm", "class_trans_cache.html#a3f620418592ae6bedde06d55261bba36", null ], + [ "_rotation", "class_trans_cache.html#a7776dac55cc14489c7ec84661131d8f0", null ], + [ "_scale", "class_trans_cache.html#acb34dfafde8ec9e0a2f6a4ed497905d4", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_trans_mat-members.html b/Doxygen/Docs/html/class_trans_mat-members.html new file mode 100644 index 00000000..b171e5d0 --- /dev/null +++ b/Doxygen/Docs/html/class_trans_mat-members.html @@ -0,0 +1,135 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
TransMat Member List
+
+
+ +

This is the complete list of members for TransMat, including all inherited members.

+ + + + + + + + + + + + + +
delta(const float x, const float y, const float z) (defined in TransMat)TransMat
delta(const Angel::vec3 &arg) (defined in TransMat)TransMat
mat (defined in Transformation)Transformationprotected
matrix(void) const (defined in Transformation)Transformation
operator*(const Angel::mat4 &rhs) const (defined in Transformation)Transformation
operator*(const Transformation &rhs) const (defined in Transformation)Transformation
set(const float x, const float y, const float z) (defined in TransMat)TransMat
set(const Angel::vec3 &arg) (defined in TransMat)TransMat
setX(const float x) (defined in TransMat)TransMat
setY(const float y) (defined in TransMat)TransMat
setZ(const float z) (defined in TransMat)TransMat
~Transformation(void) (defined in Transformation)Transformationvirtual
+
+ + + + diff --git a/Doxygen/Docs/html/class_trans_mat.html b/Doxygen/Docs/html/class_trans_mat.html new file mode 100644 index 00000000..142e6dbd --- /dev/null +++ b/Doxygen/Docs/html/class_trans_mat.html @@ -0,0 +1,176 @@ + + + + + +HyperGrafx: TransMat Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
TransMat Class Reference
+
+
+ +

Translations. + More...

+ +

#include <Transformation.hpp>

+
+Inheritance diagram for TransMat:
+
+
+ + +Transformation + +
+ + + + + + + + + + + + +

+Public Member Functions

+const TransMat & setX (const float x)
+const TransMat & setY (const float y)
+const TransMat & setZ (const float z)
+const TransMat & set (const float x, const float y, const float z)
+const TransMat & set (const Angel::vec3 &arg)
+const TransMat & delta (const float x, const float y, const float z)
+const TransMat & delta (const Angel::vec3 &arg)
+const Angel::mat4 & matrix (void) const
+Angel::mat4 operator* (const Angel::mat4 &rhs) const
+Angel::mat4 operator* (const Transformation &rhs) const
+ + +

+Protected Attributes

+Angel::mat4 mat
+

Detailed Description

+

Translations.

+ +

Definition at line 54 of file Transformation.hpp.

+

The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_trans_mat.js b/Doxygen/Docs/html/class_trans_mat.js new file mode 100644 index 00000000..6e2c9968 --- /dev/null +++ b/Doxygen/Docs/html/class_trans_mat.js @@ -0,0 +1,14 @@ +var class_trans_mat = +[ + [ "delta", "class_trans_mat.html#abf67a3f4b41e34e423ebb921dace428f", null ], + [ "delta", "class_trans_mat.html#a4c93fe2c9ff1af5abf1ded66698cd297", null ], + [ "matrix", "class_trans_mat.html#afcec300424207fc1d20864b73136937e", null ], + [ "operator*", "class_trans_mat.html#afdfbf48815a5b0d885f3b93f04cd2c66", null ], + [ "operator*", "class_trans_mat.html#a85b923e0066365ef2e4aec3671396410", null ], + [ "set", "class_trans_mat.html#a4f4f05916524fb03c84a6a8e53769d52", null ], + [ "set", "class_trans_mat.html#ac0b8a61381b2c7b21cc08d11e1959fd3", null ], + [ "setX", "class_trans_mat.html#afc0cc38bba734d8f668995cfbc263963", null ], + [ "setY", "class_trans_mat.html#a97b2e285f76f35219389035b2121df69", null ], + [ "setZ", "class_trans_mat.html#a957630c224fd750f0366a6422426ca43", null ], + [ "mat", "class_trans_mat.html#a5f39fb578a1cdf78ca85efbd932d3834", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_trans_mat.png b/Doxygen/Docs/html/class_trans_mat.png new file mode 100644 index 00000000..2a7c5025 Binary files /dev/null and b/Doxygen/Docs/html/class_trans_mat.png differ diff --git a/Doxygen/Docs/html/class_transformation-members.html b/Doxygen/Docs/html/class_transformation-members.html new file mode 100644 index 00000000..a30258ae --- /dev/null +++ b/Doxygen/Docs/html/class_transformation-members.html @@ -0,0 +1,128 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Transformation Member List
+
+
+ +

This is the complete list of members for Transformation, including all inherited members.

+ + + + + + +
mat (defined in Transformation)Transformationprotected
matrix(void) const (defined in Transformation)Transformation
operator*(const Angel::mat4 &rhs) const (defined in Transformation)Transformation
operator*(const Transformation &rhs) const (defined in Transformation)Transformation
~Transformation(void) (defined in Transformation)Transformationvirtual
+
+ + + + diff --git a/Doxygen/Docs/html/class_transformation.html b/Doxygen/Docs/html/class_transformation.html new file mode 100644 index 00000000..6764656e --- /dev/null +++ b/Doxygen/Docs/html/class_transformation.html @@ -0,0 +1,158 @@ + + + + + +HyperGrafx: Transformation Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
Transformation Class Reference
+
+
+
+Inheritance diagram for Transformation:
+
+
+ + +RotMat +ScaleMat +TransMat + +
+ + + + + +

+Public Member Functions

+const Angel::mat4 & matrix (void) const
+Angel::mat4 operator* (const Angel::mat4 &rhs) const
+Angel::mat4 operator* (const Transformation &rhs) const
+ + +

+Protected Attributes

+Angel::mat4 mat
+

Detailed Description

+
+

Definition at line 16 of file Transformation.hpp.

+

The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/class_transformation.js b/Doxygen/Docs/html/class_transformation.js new file mode 100644 index 00000000..ac4db5d5 --- /dev/null +++ b/Doxygen/Docs/html/class_transformation.js @@ -0,0 +1,8 @@ +var class_transformation = +[ + [ "~Transformation", "class_transformation.html#a78ec6157ea07330e6c67a5775535d252", null ], + [ "matrix", "class_transformation.html#afcec300424207fc1d20864b73136937e", null ], + [ "operator*", "class_transformation.html#afdfbf48815a5b0d885f3b93f04cd2c66", null ], + [ "operator*", "class_transformation.html#a85b923e0066365ef2e4aec3671396410", null ], + [ "mat", "class_transformation.html#a5f39fb578a1cdf78ca85efbd932d3834", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/class_transformation.png b/Doxygen/Docs/html/class_transformation.png new file mode 100644 index 00000000..3996c077 Binary files /dev/null and b/Doxygen/Docs/html/class_transformation.png differ diff --git a/Doxygen/Docs/html/classes.html b/Doxygen/Docs/html/classes.html new file mode 100644 index 00000000..b12707fb --- /dev/null +++ b/Doxygen/Docs/html/classes.html @@ -0,0 +1,147 @@ + + + + + +HyperGrafx: Class Index + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Class Index
+
+
+
C | E | L | M | O | P | R | S | T | V | W
+ + + + + + + + + + + + + +
  C  
+
  M  
+
ParticleSystem   
  T  
+
vec3 (Angel)   
  R  
+
vec4 (Angel)   
Camera   mat2 (Angel)   Texture   
  W  
+
Cameras   mat3 (Angel)   RotMat   Timer   
  E  
+
mat4 (Angel)   
  S  
+
TransCache   WiiPollData   
  O  
+
Transformation   
Engine   ScaleMat   TransMat   
  L  
+
Object   Scene   
  V  
+
  P  
+
Screen   
Lurn2SpielNub (TiemSpelchk)   SpelchkCamera   vec2 (Angel)   
Particle   
+
C | E | L | M | O | P | R | S | T | V | W
+
+
+ + + + diff --git a/Doxygen/Docs/html/closed.png b/Doxygen/Docs/html/closed.png new file mode 100644 index 00000000..98cc2c90 Binary files /dev/null and b/Doxygen/Docs/html/closed.png differ diff --git a/Doxygen/Docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/Doxygen/Docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html new file mode 100644 index 00000000..87e221e2 --- /dev/null +++ b/Doxygen/Docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -0,0 +1,121 @@ + + + + + +HyperGrafx: /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/ Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
src Directory Reference
+
+
+ + + + + + +

+Directories

directory  Binaries
directory  Classes
directory  Common
directory  include
+
+
+ + + + diff --git a/Doxygen/Docs/html/dir_afec2d0f263cd02a2f4d5f4df058549c.html b/Doxygen/Docs/html/dir_afec2d0f263cd02a2f4d5f4df058549c.html new file mode 100644 index 00000000..80f905cc --- /dev/null +++ b/Doxygen/Docs/html/dir_afec2d0f263cd02a2f4d5f4df058549c.html @@ -0,0 +1,149 @@ + + + + + +HyperGrafx: /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/ Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Classes Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  Camera.cpp [code]
 Implementation for the Camera class.
file  Cameras.cpp [code]
 Implementation for the Cameras class, which is a container for Camera objects.
file  Engine.cpp [code]
 Implementation for the Engine class.
file  KinectInator.cpp [code]
 FIXME: Documentation needed from Eric.
file  mat.cpp [code]
 Implementation for the mat2, mat3, and mat4 classes.
file  Object.cpp [code]
 Implementation for the Object class.
file  Particle.cpp [code]
 FIXME: Needs documentation from NVV/CC.
file  ParticleSystem.cpp [code]
 ParticleSystem implementation.
file  Scene.cpp [code]
 Scene graph implementation.
file  Screen.cpp [code]
 Screen class implementation.
file  SpelchkCamera.cpp [code]
 Tiem Spelchk Camera Implementation.
file  Texture.cpp [code]
 Texturing Module!
file  Timer.cpp [code]
 Implementation for global Timer object.
file  TransCache.cpp [code]
 TransCache Implementation.
file  Transformation.cpp [code]
 Transformation Superclass Implementation.
file  vec.cpp [code]
 Implementation for the vec2, vec3, and vec4 classes.
+
+
+ + + + diff --git a/Doxygen/Docs/html/dir_b0856f6b0d80ccb263b2f415c91f9e17.html b/Doxygen/Docs/html/dir_b0856f6b0d80ccb263b2f415c91f9e17.html new file mode 100644 index 00000000..9bf0af7e --- /dev/null +++ b/Doxygen/Docs/html/dir_b0856f6b0d80ccb263b2f415c91f9e17.html @@ -0,0 +1,168 @@ + + + + + +HyperGrafx: /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
include Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  Camera.hpp [code]
 Header for the Camera class.
file  Cameras.hpp [code]
 Header for the 'Cameras' class, a collection of Camera objects.
file  Engine.hpp [code]
 Header for the Engine class.
file  eric_rules.hpp [code]
file  globals.h [code]
 Useful global constants, macros, debugging utilities and preprocessor settings.
file  glut_callbacks.h [code]
 glut_callbacks.h provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions.
file  InitShader.hpp [code]
 Provides a wrapper utility for quickly linking against glsl programs.
file  KinectInator.hpp [code]
 FIXME: Documentation needed from Eric.
file  mat.hpp [code]
 Headers for the mat2, mat3, and mat4 classes and related utilities.
file  model.hpp [code]
 Headers for Functions related to constructing simple geometry.
file  modelFunctions.hpp [code]
 FIXME: Documentation needed from Zach.
file  Object.hpp [code]
 Header for the Object class.
file  ObjLoader.hpp [code]
 Headers for functions for reading in geometry from .OBJ files.
file  OpenGL.h [code]
 Core OpenGL includes needed for basic functionality.
file  Particle.hpp [code]
 FIXME: Needs documentation from NVV/CC.
file  ParticleSystem.hpp [code]
 TODO: Documentation from CC/NVV.
file  platform.h [code]
 Covertly re-defines functions that conflict between Linux and OSX.
file  Scene.hpp [code]
 Header for the Scene class.
file  Screen.hpp [code]
 Screen class header file.
file  SpelchkCamera.hpp [code]
 Team Spelchk Camera Header.
file  Texture.hpp [code]
 Texturing Module!
file  Timer.hpp [code]
 Timer class header.
file  TransCache.hpp [code]
 Header for the "Transformation Cache" class.
file  Transformation.hpp [code]
 Headers for Transformation, RotMat, TransMat and ScaleMat.
file  vec.hpp [code]
 Headers for vec2, vec3, and vec4.
file  WiiUtil.h [code]
 Wii Support Utility Header.
+
+
+ + + + diff --git a/Doxygen/Docs/html/dir_ba210d1fa67db7bee1bb22e0a3c11d9f.html b/Doxygen/Docs/html/dir_ba210d1fa67db7bee1bb22e0a3c11d9f.html new file mode 100644 index 00000000..b62f3d11 --- /dev/null +++ b/Doxygen/Docs/html/dir_ba210d1fa67db7bee1bb22e0a3c11d9f.html @@ -0,0 +1,130 @@ + + + + + +HyperGrafx: /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/ Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Common Directory Reference
+
+
+ + + + + + + + + + + + + + + +

+Files

file  eric_rules.cpp [code]
file  glut_callbacks.cpp [code]
 glut_callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions.
file  InitShader.cpp [code]
 Provides a wrapper utility for quickly linking against glsl programs.
file  model.cpp [code]
 Functions related to constructing simple geometry.
file  modelFunctions.cpp [code]
 FIXME: Documentation needed from Zach.
file  ObjLoader.cpp [code]
 Implementation for reading in geometry from .OBJ files.
file  WiiUtil.cpp [code]
 Wii Remote Utility Files.
+
+
+ + + + diff --git a/Doxygen/Docs/html/dir_c773cd679a84e10ba93793c9e581b8a0.html b/Doxygen/Docs/html/dir_c773cd679a84e10ba93793c9e581b8a0.html new file mode 100644 index 00000000..269bf774 --- /dev/null +++ b/Doxygen/Docs/html/dir_c773cd679a84e10ba93793c9e581b8a0.html @@ -0,0 +1,133 @@ + + + + + +HyperGrafx: /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/ Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
Binaries Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + +

+Files

file  ds.cpp [code]
 Dual-shader demo.
file  melt.cpp [code]
 Melting Candle Demo.
file  MONOLITH.cpp [code]
 This is a monolith of every component.
file  morphlite.cpp [code]
 This is a derivative of HSC's Fall 2012 project.
file  partTest.cpp [code]
 This is a derivative of our main project file, fly.cpp.
file  raytrace1.cpp [code]
 Geometric Raytracing Demo.
file  terrain.cpp [code]
 This is a trimmed version of our Fall 2012 project.
file  zachMorphDemo.cpp [code]
 Zach's Bottle Morphing Demo.
+
+
+ + + + diff --git a/Doxygen/Docs/html/doxygen.css b/Doxygen/Docs/html/doxygen.css new file mode 100644 index 00000000..0c559a0a --- /dev/null +++ b/Doxygen/Docs/html/doxygen.css @@ -0,0 +1,1163 @@ +/* The standard CSS for doxygen */ + +body, table, div, p, dl { + font: 400 14px/19px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1 { + font-size: 150%; +} + +.title { + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2 { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3 { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd, p.starttd { + margin-top: 2px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 4px; + margin: 4px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memItemLeft, .memItemRight, .memTemplParams { + border-bottom: 1px solid #DEE4F0; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: bold; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + border-top-left-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; +} + + + +/* @end */ + +/* these are for tree view when not used as main index */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + width: 100%; + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + width: 100%; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 20px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + diff --git a/Doxygen/Docs/html/doxygen.png b/Doxygen/Docs/html/doxygen.png new file mode 100644 index 00000000..3ff17d80 Binary files /dev/null and b/Doxygen/Docs/html/doxygen.png differ diff --git a/Doxygen/Docs/html/ds_8cpp.html b/Doxygen/Docs/html/ds_8cpp.html new file mode 100644 index 00000000..9bd78868 --- /dev/null +++ b/Doxygen/Docs/html/ds_8cpp.html @@ -0,0 +1,212 @@ + + + + + +HyperGrafx: ds.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+ +
+
ds.cpp File Reference
+
+
+ +

Dual-shader demo. +More...

+
#include "globals.h"
+#include "platform.h"
+#include "Camera.hpp"
+#include "Cameras.hpp"
+#include "Screen.hpp"
+#include "Object.hpp"
+#include "Timer.hpp"
+#include "Scene.hpp"
+#include "Engine.hpp"
+#include "Texture.hpp"
+#include "model.hpp"
+#include "InitShader.hpp"
+#include "glut_callbacks.h"
+#include "eric_rules.hpp"
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+#include <cstdio>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

+void init ()
 Initialization: load and compile shaders, initialize camera(s), load models.
+void cleanup (void)
 Cleans up our scene graph.
+void draw (void)
 Implementation of drawing the display with regards to a single viewport.
+void display (void)
 Display/Render the entire screen.
+void idle (void)
 Compute time since last idle, update camera positions, redisplay.
int main (int argc, char **argv)
 This is a dual-shader demo! It looks very simple, but it illustrates quickly and effectively how to use two shaders.
+

Detailed Description

+

Dual-shader demo.

+
Author
John Huston
+
Authors
John Huston, Greg Giannone
+
Date
2013-02-20
+

Work in progress! Based loosely on Ed Angel's tutorials.

+ +

Definition in file ds.cpp.

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char ** argv 
)
+
+ +

This is a dual-shader demo! It looks very simple, but it illustrates quickly and effectively how to use two shaders.

+
Parameters
+ + + +
argcNot used.
argvNot used.
+
+
+
Returns
EXIT_SUCCESS.
+ +

Definition at line 167 of file ds.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/ds_8cpp.js b/Doxygen/Docs/html/ds_8cpp.js new file mode 100644 index 00000000..f3bed759 --- /dev/null +++ b/Doxygen/Docs/html/ds_8cpp.js @@ -0,0 +1,9 @@ +var ds_8cpp = +[ + [ "cleanup", "ds_8cpp.html#aeb94fbd457627182ceee7e505f432541", null ], + [ "display", "ds_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd", null ], + [ "draw", "ds_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256", null ], + [ "idle", "ds_8cpp.html#a01131b63acf241e9db91704d89ce15d2", null ], + [ "init", "ds_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947", null ], + [ "main", "ds_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/ds_8cpp_source.html b/Doxygen/Docs/html/ds_8cpp_source.html new file mode 100644 index 00000000..876a7810 --- /dev/null +++ b/Doxygen/Docs/html/ds_8cpp_source.html @@ -0,0 +1,288 @@ + + + + + +HyperGrafx: ds.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
+ + +
+ +
+ +
+
+
ds.cpp
+
+
+Go to the documentation of this file.
1 
+
11 /* Multi-platform support and OpenGL headers. */
+
12 #include "globals.h"
+
13 #include "platform.h"
+
14 /* Engine Classes */
+
15 #include "Camera.hpp"
+
16 #include "Cameras.hpp"
+
17 #include "Screen.hpp"
+
18 #include "Object.hpp"
+
19 #include "Timer.hpp"
+
20 #include "Scene.hpp"
+
21 #include "Engine.hpp"
+
22 #include "Texture.hpp"
+
23 /* Utilities and Common */
+
24 #include "model.hpp"
+
25 #include "InitShader.hpp"
+
26 #include "glut_callbacks.h"
+
27 #include "eric_rules.hpp"
+
28 
+
29 /* Texture Shens */
+
30 #include <sys/types.h>
+
31 #include <sys/stat.h>
+
32 #include <unistd.h>
+
33 #include <cstdio>
+
34 
+
38 void init() {
+
39 
+
40  GLuint shader[3];
+
41  Cameras *camList = Engine::instance()->cams();
+
42  Scene *rootScene = Engine::instance()->rootScene();
+
43 
+
44  shader[0] = Angel::InitShader( "shaders/vred.glsl", "shaders/fragment.glsl" );
+
45  shader[1] = Angel::InitShader( "shaders/vblu.glsl", "shaders/fragment.glsl" );
+
46  shader[2] = Angel::InitShader( "shaders/vtex.glsl", "shaders/ftex.glsl" );
+
47 
+
48  camList->addCamera( "Camera1" );
+
49  camList->next();
+
50  camList->active()->changePerspective( Camera::IDENTITY );
+
51 
+
52  // Adding objects without a default shader:
+
53  Object *A = rootScene->addObject( "Object A (RED)", shader[0] );
+
54 
+
55  // Setting a default and adding objects without:
+
56  rootScene->shader( shader[1] );
+
57  Object *B = rootScene->addObject( "Object B (BLU)" );
+
58 
+
59  // Third Object, over-ride default shader.
+
60  Object *C = rootScene->addObject( "Object C (TEX)", shader[2] );
+
61 
+
62  // draw a square in the upper left
+
63  triangle( A, vec4( -1, 0, 0, 1 ), vec4( 0, 0, 0, 1 ), vec4( -1, 1, 0, 1 ),
+
64  0 );
+
65  triangle( A, vec4( 0, 0, 0, 1 ), vec4( -1, 1, 0, 1 ), vec4( 0, 1, 0, 1 ), 0 );
+
66  A->buffer();
+
67 
+
68  // draw a square in the lower right
+
69  triangle( B, vec4( 0, -1, 0, 1 ), vec4( 1, -1, 0, 1 ), vec4( 0, 0, 0, 1 ),
+
70  0 );
+
71  triangle( B, vec4( 1, -1, 0, 1 ), vec4( 0, 0, 0, 1 ), vec4( 1, 0, 0, 1 ), 0 );
+
72  B->buffer();
+
73 
+
74  // draw a triangle in the lower left, and texture it.
+
75  triangle( C, vec4( -1, -1, 0, 1 ), vec4( 0, -1, 0, 1 ), vec4( -1, 0, 0, 1 ),
+
76  0 );
+
77  C->_texUVs.push_back( vec2( 0, 0 ) );
+
78  C->_texUVs.push_back( vec2( 1, 1 ) );
+
79  C->_texUVs.push_back( vec2( 0, 1 ) );
+
80  C->buffer();
+
81 
+
82  const char *filename = "../Textures/GrassGreenTexture0002.jpg";
+
83 
+
84  /*******************************/
+
85  tick.tock();
+
86  Texture *grassTex = new Texture( GL_TEXTURE_2D );
+
87  grassTex->load( filename );
+
88  tick.tock();
+
89  fprintf( stderr, "Load: %lu usec\n", tick.delta() );
+
90  grassTex->buffer();
+
91  tick.tock();
+
92  fprintf( stderr, "Buffer: %lu usec\n", tick.delta() );
+
93  grassTex->bind( GL_TEXTURE0 );
+
94  tick.tock();
+
95  fprintf( stderr, "Bind: %lu usec\n", tick.delta() );
+
96  /******************************/
+
97 
+
98  glEnable( GL_DEPTH_TEST );
+
99  glClearColor( 0, 0, 0, 1.0 );
+
100 
+
101  int numTextures;
+
102  glGetIntegerv( GL_MAX_TEXTURE_IMAGE_UNITS, &numTextures );
+
103 
+
104  fprintf( stderr, "Capacity: [%d] global textures.\n", numTextures );
+
105 
+
106 }
+
107 
+
111 void cleanup( void ) {
+
112  //Engine::instance()->rootScene()->DestroyObject();
+
113 }
+
114 
+
115 //--------------------------------------------------------------------
+
116 
+
120 void draw( void ) {
+
121  static Scene *theScene = Engine::instance()->rootScene();
+
122  static Cameras *camList = Engine::instance()->cams();
+
123 
+
124  theScene->draw();
+
125  camList->draw();
+
126 }
+
127 
+
131 void display( void ) {
+
132  static Cameras *camList = Engine::instance()->cams();
+
133 
+
134  glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
+
135 
+
136  // Tell camList to draw using our 'draw' rendering function.
+
137  camList->view( draw );
+
138 
+
139  glutSwapBuffers();
+
140 }
+
141 
+
145 void idle( void ) {
+
146 
+
147  static Cameras *camList = Engine::instance()->cams();
+
148 
+
149  // Compute the time since last idle().
+
150  tick.tock();
+
151 
+
152  // Move all camera(s).
+
153  camList->idleMotion();
+
154  glutPostRedisplay();
+
155 
+
156 }
+
157 
+
167 int main( int argc, char **argv ) {
+
168 
+
169  // OS X suppresses events after mouse warp. This resets the suppression
+
170  // interval to 0 so that events will not be suppressed. This also found
+
171  // at http://stackoverflow.com/questions/728049/
+
172  // glutpassivemotionfunc-and-glutwarpmousepointer
+
173 #ifdef __APPLE__
+
174  CGSetLocalEventsSuppressionInterval( 0.0 );
+
175 #endif
+
176  VooDoo::InitRelativePaths(argc, argv);
+
177  glutInit( &argc, argv );
+
178  glutInitDisplayMode( GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH );
+
179  glutInitWindowSize( 0, 0 );
+
180  glutCreateWindow( "Linear Interpolation Morphing Demo" );
+
181  glutFullScreen();
+
182  glutSetCursor( GLUT_CURSOR_NONE );
+
183 
+
184  GLEW_INIT();
+
185  init();
+
186 
+
187  /* Register our Callbacks */
+
188  glutDisplayFunc( display );
+
189  glutKeyboardFunc( keyboard );
+
190  glutKeyboardUpFunc( keylift );
+
191  glutSpecialFunc( keyboard_ctrl );
+
192  glutMouseFunc( mouse );
+
193  glutMotionFunc( mouseroll );
+
194  glutPassiveMotionFunc( mouselook );
+
195  glutIdleFunc( idle );
+
196  glutReshapeFunc( resizeEvent );
+
197 
+
198  /* PULL THE TRIGGER */
+
199  glutMainLoop();
+
200  return EXIT_SUCCESS;
+
201 
+
202 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/dynsections.js b/Doxygen/Docs/html/dynsections.js new file mode 100644 index 00000000..116542f1 --- /dev/null +++ b/Doxygen/Docs/html/dynsections.js @@ -0,0 +1,78 @@ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} +function toggleLevel(level) +{ + $('table.directory tr').each(function(){ + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + +HyperGrafx: File List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
o*Camera.cppImplementation for the Camera class
o*Camera.hppHeader for the Camera class
o*Cameras.cppImplementation for the Cameras class, which is a container for Camera objects
o*Cameras.hppHeader for the 'Cameras' class, a collection of Camera objects
o*ds.cppDual-shader demo
o*Engine.cppImplementation for the Engine class
o*Engine.hppHeader for the Engine class
o*eric_rules.cpp
o*eric_rules.hpp
o*globals.hUseful global constants, macros, debugging utilities and preprocessor settings
o*glut_callbacks.cppGlut_callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions
o*glut_callbacks.hGlut_callbacks.h provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions
o*InitShader.cppProvides a wrapper utility for quickly linking against glsl programs
o*InitShader.hppProvides a wrapper utility for quickly linking against glsl programs
o*KinectInator.cppFIXME: Documentation needed from Eric
o*KinectInator.hppFIXME: Documentation needed from Eric
o*mat.cppImplementation for the mat2, mat3, and mat4 classes
o*mat.hppHeaders for the mat2, mat3, and mat4 classes and related utilities
o*melt.cppMelting Candle Demo
o*model.cppFunctions related to constructing simple geometry
o*model.hppHeaders for Functions related to constructing simple geometry
o*modelFunctions.cppFIXME: Documentation needed from Zach
o*modelFunctions.hppFIXME: Documentation needed from Zach
o*MONOLITH.cppThis is a monolith of every component
o*morphlite.cppThis is a derivative of HSC's Fall 2012 project
o*Object.cppImplementation for the Object class
o*Object.hppHeader for the Object class
o*ObjLoader.cppImplementation for reading in geometry from .OBJ files
o*ObjLoader.hppHeaders for functions for reading in geometry from .OBJ files
o*OpenGL.hCore OpenGL includes needed for basic functionality
o*Particle.cppFIXME: Needs documentation from NVV/CC
o*Particle.hppFIXME: Needs documentation from NVV/CC
o*ParticleSystem.cppParticleSystem implementation
o*ParticleSystem.hppTODO: Documentation from CC/NVV
o*partTest.cppThis is a derivative of our main project file, fly.cpp
o*platform.hCovertly re-defines functions that conflict between Linux and OSX
o*raytrace1.cppGeometric Raytracing Demo
o*Scene.cppScene graph implementation
o*Scene.hppHeader for the Scene class
o*Screen.cppScreen class implementation
o*Screen.hppScreen class header file
o*SpelchkCamera.cppTiem Spelchk Camera Implementation
o*SpelchkCamera.hppTeam Spelchk Camera Header
o*terrain.cppThis is a trimmed version of our Fall 2012 project
o*Texture.cppTexturing Module!
o*Texture.hppTexturing Module!
o*Timer.cppImplementation for global Timer object
o*Timer.hppTimer class header
o*TransCache.cppTransCache Implementation
o*TransCache.hppHeader for the "Transformation Cache" class
o*Transformation.cppTransformation Superclass Implementation
o*Transformation.hppHeaders for Transformation, RotMat, TransMat and ScaleMat
o*vec.cppImplementation for the vec2, vec3, and vec4 classes
o*vec.hppHeaders for vec2, vec3, and vec4
o*WiiUtil.cppWii Remote Utility Files
o*WiiUtil.hWii Support Utility Header
\*zachMorphDemo.cppZach's Bottle Morphing Demo
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/files.js b/Doxygen/Docs/html/files.js new file mode 100644 index 00000000..11b0e67f --- /dev/null +++ b/Doxygen/Docs/html/files.js @@ -0,0 +1,78 @@ +var files = +[ + [ "Camera.cpp", "_camera_8cpp.html", "_camera_8cpp" ], + [ "Camera.hpp", "_camera_8hpp.html", [ + [ "Camera", "class_camera.html", "class_camera" ] + ] ], + [ "Cameras.cpp", "_cameras_8cpp.html", null ], + [ "Cameras.hpp", "_cameras_8hpp.html", [ + [ "Cameras", "class_cameras.html", "class_cameras" ] + ] ], + [ "ds.cpp", "ds_8cpp.html", "ds_8cpp" ], + [ "Engine.cpp", "_engine_8cpp.html", null ], + [ "Engine.hpp", "_engine_8hpp.html", "_engine_8hpp" ], + [ "eric_rules.cpp", "eric__rules_8cpp_source.html", null ], + [ "eric_rules.hpp", "eric__rules_8hpp_source.html", null ], + [ "globals.h", "globals_8h.html", "globals_8h" ], + [ "glut_callbacks.cpp", "glut__callbacks_8cpp.html", "glut__callbacks_8cpp" ], + [ "glut_callbacks.h", "glut__callbacks_8h.html", "glut__callbacks_8h" ], + [ "InitShader.cpp", "_init_shader_8cpp.html", "_init_shader_8cpp" ], + [ "InitShader.hpp", "_init_shader_8hpp.html", "_init_shader_8hpp" ], + [ "KinectInator.cpp", "_kinect_inator_8cpp.html", "_kinect_inator_8cpp" ], + [ "KinectInator.hpp", "_kinect_inator_8hpp.html", "_kinect_inator_8hpp" ], + [ "mat.cpp", "mat_8cpp.html", "mat_8cpp" ], + [ "mat.hpp", "mat_8hpp.html", "mat_8hpp" ], + [ "melt.cpp", "melt_8cpp.html", "melt_8cpp" ], + [ "model.cpp", "model_8cpp.html", "model_8cpp" ], + [ "model.hpp", "model_8hpp.html", "model_8hpp" ], + [ "modelFunctions.cpp", "model_functions_8cpp.html", "model_functions_8cpp" ], + [ "modelFunctions.hpp", "model_functions_8hpp.html", "model_functions_8hpp" ], + [ "MONOLITH.cpp", "_m_o_n_o_l_i_t_h_8cpp.html", "_m_o_n_o_l_i_t_h_8cpp" ], + [ "morphlite.cpp", "morphlite_8cpp.html", "morphlite_8cpp" ], + [ "Object.cpp", "_object_8cpp.html", null ], + [ "Object.hpp", "_object_8hpp.html", [ + [ "Object", "class_object.html", "class_object" ] + ] ], + [ "ObjLoader.cpp", "_obj_loader_8cpp.html", "_obj_loader_8cpp" ], + [ "ObjLoader.hpp", "_obj_loader_8hpp.html", "_obj_loader_8hpp" ], + [ "OpenGL.h", "_open_g_l_8h.html", null ], + [ "Particle.cpp", "_particle_8cpp.html", null ], + [ "Particle.hpp", "_particle_8hpp.html", [ + [ "Particle", "class_particle.html", "class_particle" ] + ] ], + [ "ParticleSystem.cpp", "_particle_system_8cpp.html", null ], + [ "ParticleSystem.hpp", "_particle_system_8hpp.html", "_particle_system_8hpp" ], + [ "partTest.cpp", "part_test_8cpp.html", "part_test_8cpp" ], + [ "platform.h", "platform_8h.html", "platform_8h" ], + [ "raytrace1.cpp", "raytrace1_8cpp.html", "raytrace1_8cpp" ], + [ "Scene.cpp", "_scene_8cpp.html", "_scene_8cpp" ], + [ "Scene.hpp", "_scene_8hpp.html", [ + [ "Scene", "class_scene.html", "class_scene" ] + ] ], + [ "Screen.cpp", "_screen_8cpp.html", null ], + [ "Screen.hpp", "_screen_8hpp.html", [ + [ "Screen", "class_screen.html", "class_screen" ] + ] ], + [ "SpelchkCamera.cpp", "_spelchk_camera_8cpp.html", null ], + [ "SpelchkCamera.hpp", "_spelchk_camera_8hpp.html", [ + [ "SpelchkCamera", "class_spelchk_camera.html", "class_spelchk_camera" ] + ] ], + [ "terrain.cpp", "terrain_8cpp.html", "terrain_8cpp" ], + [ "Texture.cpp", "_texture_8cpp.html", null ], + [ "Texture.hpp", "_texture_8hpp.html", [ + [ "Texture", "class_texture.html", "class_texture" ] + ] ], + [ "Timer.cpp", "_timer_8cpp.html", "_timer_8cpp" ], + [ "Timer.hpp", "_timer_8hpp.html", "_timer_8hpp" ], + [ "TransCache.cpp", "_trans_cache_8cpp.html", null ], + [ "TransCache.hpp", "_trans_cache_8hpp.html", [ + [ "TransCache", "class_trans_cache.html", "class_trans_cache" ] + ] ], + [ "Transformation.cpp", "_transformation_8cpp.html", "_transformation_8cpp" ], + [ "Transformation.hpp", "_transformation_8hpp.html", "_transformation_8hpp" ], + [ "vec.cpp", "vec_8cpp.html", "vec_8cpp" ], + [ "vec.hpp", "vec_8hpp.html", "vec_8hpp" ], + [ "WiiUtil.cpp", "_wii_util_8cpp.html", "_wii_util_8cpp" ], + [ "WiiUtil.h", "_wii_util_8h.html", "_wii_util_8h" ], + [ "zachMorphDemo.cpp", "zach_morph_demo_8cpp.html", "zach_morph_demo_8cpp" ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/ftv2blank.png b/Doxygen/Docs/html/ftv2blank.png new file mode 100644 index 00000000..63c605bb Binary files /dev/null and b/Doxygen/Docs/html/ftv2blank.png differ diff --git a/Doxygen/Docs/html/ftv2cl.png b/Doxygen/Docs/html/ftv2cl.png new file mode 100644 index 00000000..132f6577 Binary files /dev/null and b/Doxygen/Docs/html/ftv2cl.png differ diff --git a/Doxygen/Docs/html/ftv2doc.png b/Doxygen/Docs/html/ftv2doc.png new file mode 100644 index 00000000..17edabff Binary files /dev/null and b/Doxygen/Docs/html/ftv2doc.png differ diff --git a/Doxygen/Docs/html/ftv2folderclosed.png b/Doxygen/Docs/html/ftv2folderclosed.png new file mode 100644 index 00000000..bb8ab35e Binary files /dev/null and b/Doxygen/Docs/html/ftv2folderclosed.png differ diff --git a/Doxygen/Docs/html/ftv2folderopen.png b/Doxygen/Docs/html/ftv2folderopen.png new file mode 100644 index 00000000..d6c7f676 Binary files /dev/null and b/Doxygen/Docs/html/ftv2folderopen.png differ diff --git a/Doxygen/Docs/html/ftv2lastnode.png b/Doxygen/Docs/html/ftv2lastnode.png new file mode 100644 index 00000000..63c605bb Binary files /dev/null and b/Doxygen/Docs/html/ftv2lastnode.png differ diff --git a/Doxygen/Docs/html/ftv2link.png b/Doxygen/Docs/html/ftv2link.png new file mode 100644 index 00000000..17edabff Binary files /dev/null and b/Doxygen/Docs/html/ftv2link.png differ diff --git a/Doxygen/Docs/html/ftv2mlastnode.png b/Doxygen/Docs/html/ftv2mlastnode.png new file mode 100644 index 00000000..0b63f6d3 Binary files /dev/null and b/Doxygen/Docs/html/ftv2mlastnode.png differ diff --git a/Doxygen/Docs/html/ftv2mnode.png b/Doxygen/Docs/html/ftv2mnode.png new file mode 100644 index 00000000..0b63f6d3 Binary files /dev/null and b/Doxygen/Docs/html/ftv2mnode.png differ diff --git a/Doxygen/Docs/html/ftv2mo.png b/Doxygen/Docs/html/ftv2mo.png new file mode 100644 index 00000000..4bfb80f7 Binary files /dev/null and b/Doxygen/Docs/html/ftv2mo.png differ diff --git a/Doxygen/Docs/html/ftv2node.png b/Doxygen/Docs/html/ftv2node.png new file mode 100644 index 00000000..63c605bb Binary files /dev/null and b/Doxygen/Docs/html/ftv2node.png differ diff --git a/Doxygen/Docs/html/ftv2ns.png b/Doxygen/Docs/html/ftv2ns.png new file mode 100644 index 00000000..72e3d71c Binary files /dev/null and b/Doxygen/Docs/html/ftv2ns.png differ diff --git a/Doxygen/Docs/html/ftv2plastnode.png b/Doxygen/Docs/html/ftv2plastnode.png new file mode 100644 index 00000000..c6ee22f9 Binary files /dev/null and b/Doxygen/Docs/html/ftv2plastnode.png differ diff --git a/Doxygen/Docs/html/ftv2pnode.png b/Doxygen/Docs/html/ftv2pnode.png new file mode 100644 index 00000000..c6ee22f9 Binary files /dev/null and b/Doxygen/Docs/html/ftv2pnode.png differ diff --git a/Doxygen/Docs/html/ftv2splitbar.png b/Doxygen/Docs/html/ftv2splitbar.png new file mode 100644 index 00000000..fe895f2c Binary files /dev/null and b/Doxygen/Docs/html/ftv2splitbar.png differ diff --git a/Doxygen/Docs/html/ftv2vertline.png b/Doxygen/Docs/html/ftv2vertline.png new file mode 100644 index 00000000..63c605bb Binary files /dev/null and b/Doxygen/Docs/html/ftv2vertline.png differ diff --git a/Doxygen/Docs/html/functions.html b/Doxygen/Docs/html/functions.html new file mode 100644 index 00000000..51b88b0d --- /dev/null +++ b/Doxygen/Docs/html/functions.html @@ -0,0 +1,692 @@ + + + + + +HyperGrafx: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- _ -

+ + +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- g -

    +
  • genMorphTarget() +: Object +
  • +
+ + +

- h -

+ + +

- i -

+ + +

- l -

+ + +

- m -

+ + +

- n -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- u -

+ + +

- v -

+ + +

- x -

+ + +

- y -

+ + +

- z -

+ + +

- ~ -

+
+
+ + + + diff --git a/Doxygen/Docs/html/functions_enum.html b/Doxygen/Docs/html/functions_enum.html new file mode 100644 index 00000000..b41a4ad2 --- /dev/null +++ b/Doxygen/Docs/html/functions_enum.html @@ -0,0 +1,141 @@ + + + + + +HyperGrafx: Class Members - Enumerations + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+  +
+
+ + + + diff --git a/Doxygen/Docs/html/functions_eval.html b/Doxygen/Docs/html/functions_eval.html new file mode 100644 index 00000000..a5446436 --- /dev/null +++ b/Doxygen/Docs/html/functions_eval.html @@ -0,0 +1,173 @@ + + + + + +HyperGrafx: Class Members - Enumerator + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+  +
+
+ + + + diff --git a/Doxygen/Docs/html/functions_func.html b/Doxygen/Docs/html/functions_func.html new file mode 100644 index 00000000..3c8be08f --- /dev/null +++ b/Doxygen/Docs/html/functions_func.html @@ -0,0 +1,494 @@ + + + + + +HyperGrafx: Class Members - Functions + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+  + +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- g -

    +
  • genMorphTarget() +: Object +
  • +
+ + +

- h -

+ + +

- i -

+ + +

- l -

+ + +

- m -

+ + +

- n -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- v -

+ + +

- x -

+ + +

- y -

+ + +

- z -

+ + +

- ~ -

+
+
+ + + + diff --git a/Doxygen/Docs/html/functions_type.html b/Doxygen/Docs/html/functions_type.html new file mode 100644 index 00000000..bf6310e3 --- /dev/null +++ b/Doxygen/Docs/html/functions_type.html @@ -0,0 +1,144 @@ + + + + + +HyperGrafx: Class Members - Typedefs + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+  +
+
+ + + + diff --git a/Doxygen/Docs/html/functions_vars.html b/Doxygen/Docs/html/functions_vars.html new file mode 100644 index 00000000..113bb546 --- /dev/null +++ b/Doxygen/Docs/html/functions_vars.html @@ -0,0 +1,255 @@ + + + + + +HyperGrafx: Class Members - Variables + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+  + +

- _ -

+
+
+ + + + diff --git a/Doxygen/Docs/html/globals.html b/Doxygen/Docs/html/globals.html new file mode 100644 index 00000000..a12f2697 --- /dev/null +++ b/Doxygen/Docs/html/globals.html @@ -0,0 +1,496 @@ + + + + + +HyperGrafx: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
Here is a list of all documented file members with links to the documentation:
+ +

- c -

+ + +

- d -

+ + +

- g -

+ + +

- h -

+ + +

- i -

+ + +

- j -

+ + +

- k -

+ + +

- l -

+ + +

- m -

+ + +

- n -

+ + +

- o -

+ + +

- p -

+ + +

- q -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- u -

+ + +

- v -

+ + +

- w -

+
+
+ + + + diff --git a/Doxygen/Docs/html/globals_8h.html b/Doxygen/Docs/html/globals_8h.html new file mode 100644 index 00000000..aa134b9d --- /dev/null +++ b/Doxygen/Docs/html/globals_8h.html @@ -0,0 +1,281 @@ + + + + + +HyperGrafx: globals.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
globals.h File Reference
+
+
+ +

Useful global constants, macros, debugging utilities and preprocessor settings. +More...

+
#include <cmath>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Macros

#define DEGREES_TO_RADIANS   (M_PI/180)
 A constant factor of conversion for Degrees to Radians.
#define SQRT2   (1.41421356237)
 A constant for the square root of 2.
#define SQRT3   (1.73205080757)
 A constant for the square root of 3.
#define POW5(X)   ((X)*(X)*(X)*(X)*(X))
 POW5(X) returns X^5.
+#define DEBUG   false
 DEBUG Controls whether or not extra DEBUG messages are printed out.
+#define DEBUG_MOTION   (false)
 DEBUG_MOTION controls some additional debug messages for acceleration/velocity.
+ + + + + + + +

+Variables

+const float DIVIDE_BY_ZERO_TOLERANCE = float( 1.0e-07 )
 How close can a number be to zero before it should be considered 'zero'?
static const bool POSTMULT = true
 defines if we are, or are not using a Post-Multiplication system.
static const bool PREMULT = false
 defines if we are, or are not using a Pre-Multiplication system.
+

Detailed Description

+

Useful global constants, macros, debugging utilities and preprocessor settings.

+
Author
John Huston
+
Date
2013-03-13
+ +

Definition in file globals.h.

+

Macro Definition Documentation

+ +
+
+ + + + +
#define DEGREES_TO_RADIANS   (M_PI/180)
+
+ +

A constant factor of conversion for Degrees to Radians.

+ +

Definition at line 14 of file globals.h.

+ +
+
+ +
+
+ + + + + + + + +
#define POW5( X)   ((X)*(X)*(X)*(X)*(X))
+
+ +

POW5(X) returns X^5.

+

It's quicker than pow(x,5)!

+ +

Definition at line 20 of file globals.h.

+ +
+
+ +
+
+ + + + +
#define SQRT2   (1.41421356237)
+
+ +

A constant for the square root of 2.

+ +

Definition at line 16 of file globals.h.

+ +
+
+ +
+
+ + + + +
#define SQRT3   (1.73205080757)
+
+ +

A constant for the square root of 3.

+ +

Definition at line 18 of file globals.h.

+ +
+
+

Variable Documentation

+ +
+
+ + + + + +
+ + + + +
const bool POSTMULT = true
+
+static
+
+ +

defines if we are, or are not using a Post-Multiplication system.

+ +

Definition at line 43 of file globals.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
const bool PREMULT = false
+
+static
+
+ +

defines if we are, or are not using a Pre-Multiplication system.

+ +

Definition at line 45 of file globals.h.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/globals_8h.js b/Doxygen/Docs/html/globals_8h.js new file mode 100644 index 00000000..93e992fc --- /dev/null +++ b/Doxygen/Docs/html/globals_8h.js @@ -0,0 +1,12 @@ +var globals_8h = +[ + [ "DEBUG", "globals_8h.html#ad72dbcf6d0153db1b8d8a58001feed83", null ], + [ "DEBUG_MOTION", "globals_8h.html#ab5f638ed0890579dbe0522227610af64", null ], + [ "DEGREES_TO_RADIANS", "globals_8h.html#a7bf0b4b8b3cf2f13f25573b3e151ed88", null ], + [ "POW5", "globals_8h.html#a7bbc032e1437a7a73f8d3eb2d93d9c6d", null ], + [ "SQRT2", "globals_8h.html#a514396dd60fa0621c83072091fb2a0cd", null ], + [ "SQRT3", "globals_8h.html#ae42978afd835c3a1f70d409a1b5f5a39", null ], + [ "DIVIDE_BY_ZERO_TOLERANCE", "globals_8h.html#ad90a072ea1667bc81e21b726aefbcff1", null ], + [ "POSTMULT", "globals_8h.html#afbd48522ecf2a24bf2adca81f5a0e616", null ], + [ "PREMULT", "globals_8h.html#a6606f2e98acd846ae52f6cd2f7585d22", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/globals_8h_source.html b/Doxygen/Docs/html/globals_8h_source.html new file mode 100644 index 00000000..cd9536ea --- /dev/null +++ b/Doxygen/Docs/html/globals_8h_source.html @@ -0,0 +1,155 @@ + + + + + +HyperGrafx: globals.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
globals.h
+
+
+Go to the documentation of this file.
1 
+
9 #ifndef __GLOBALS_H
+
10 #define __GLOBALS_H
+
11 
+
12 #include <cmath>
+
14 #define DEGREES_TO_RADIANS (M_PI/180)
+
15 
+
16 #define SQRT2 (1.41421356237)
+
17 
+
18 #define SQRT3 (1.73205080757)
+
19 
+
20 #define POW5(X) ((X)*(X)*(X)*(X)*(X))
+
21 
+
22 const float DIVIDE_BY_ZERO_TOLERANCE = float( 1.0e-07 );
+
23 
+
24 // Turn on debugging if it's been requested of us by the Makefile environment.
+
28 #ifndef DEBUG
+
29 #define DEBUG false
+
30 #else
+
31 #undef DEBUG
+
32 #define DEBUG true
+
33 #endif
+
34 
+
35 #ifdef PREMULT
+
36 
+
37 static const bool POSTMULT = false;
+
39 static const bool PREMULT = true;
+
40 #else
+
41 // Doxygen gets sad if we don't document this in both places... without the var tag.
+
43 static const bool POSTMULT = true;
+
45 static const bool PREMULT = false;
+
46 #endif
+
47 
+
52 #define DEBUG_MOTION (false)
+
53 
+
54 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/globals_defs.html b/Doxygen/Docs/html/globals_defs.html new file mode 100644 index 00000000..1491da64 --- /dev/null +++ b/Doxygen/Docs/html/globals_defs.html @@ -0,0 +1,182 @@ + + + + + +HyperGrafx: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+  +
+
+ + + + diff --git a/Doxygen/Docs/html/globals_func.html b/Doxygen/Docs/html/globals_func.html new file mode 100644 index 00000000..85cfc9c6 --- /dev/null +++ b/Doxygen/Docs/html/globals_func.html @@ -0,0 +1,358 @@ + + + + + +HyperGrafx: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+  + +

- c -

+ + +

- d -

+ + +

- h -

+ + +

- i -

+ + +

- j -

+ + +

- k -

+ + +

- l -

+ + +

- m -

+ + +

- p -

+ + +

- q -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- u -

+ + +

- w -

+
+
+ + + + diff --git a/Doxygen/Docs/html/globals_type.html b/Doxygen/Docs/html/globals_type.html new file mode 100644 index 00000000..79abeca7 --- /dev/null +++ b/Doxygen/Docs/html/globals_type.html @@ -0,0 +1,134 @@ + + + + + +HyperGrafx: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+  +
+
+ + + + diff --git a/Doxygen/Docs/html/globals_vars.html b/Doxygen/Docs/html/globals_vars.html new file mode 100644 index 00000000..a69bb293 --- /dev/null +++ b/Doxygen/Docs/html/globals_vars.html @@ -0,0 +1,177 @@ + + + + + +HyperGrafx: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+  +
+
+ + + + diff --git a/Doxygen/Docs/html/glut__callbacks_8cpp.html b/Doxygen/Docs/html/glut__callbacks_8cpp.html new file mode 100644 index 00000000..af977b9e --- /dev/null +++ b/Doxygen/Docs/html/glut__callbacks_8cpp.html @@ -0,0 +1,460 @@ + + + + + +HyperGrafx: glut_callbacks.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
glut_callbacks.cpp File Reference
+
+
+ +

glut_callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions. +More...

+
#include "globals.h"
+#include "Camera.hpp"
+#include "Scene.hpp"
+#include "Screen.hpp"
+#include "Engine.hpp"
+#include <sstream>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + +

+Functions

void keylift (unsigned char key, int x, int y)
 keylift is registered as a GLUT callback for when a user releases a depressed key.
void keyboard (unsigned char key, int x, int y)
 keyboard is a callback registered with GLUT.
void keyboard_ctrl (int key, int x, int y)
 keyboard_ctrl is registered as a GLUT callback.
void mouse (int button, int state, int x, int y)
 mouse is registered as a GLUT callback.
void mouseroll (int x, int y)
 mouseroll is registered as a GLUT callback.
void mouselook (int x, int y)
 mouselook is registered as a GLUT callback.
void resizeEvent (int width, int height)
 resizeEvent is registered as a glut callback for when the screen is resized.
+

Detailed Description

+

glut_callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions.

+
Author
John Huston
+
Authors
John Huston, Nick St.Pierre, Chris Compton
+
Date
2013-03-13
+ +

Definition in file glut_callbacks.cpp.

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void keyboard (unsigned char key,
int x,
int y 
)
+
+ +

keyboard is a callback registered with GLUT.

+

It handles (surprise!) keyboard input.

+
Parameters
+ + + + +
keyThe key pressed by the user.
xThe x coordinate of the mouse when the key was pressed.
yThe y coordinate of the mouse when the key was pressed.
+
+
+ +

Definition at line 66 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void keyboard_ctrl (int key,
int x,
int y 
)
+
+ +

keyboard_ctrl is registered as a GLUT callback.

+

It is responsible for catching when special keys are pressed.

+
Parameters
+ + + + +
keyThe key pressed.
xThe x coordinate of the mouse when the key was pressed.
yThe y coordinate of the mouse when the key was pressed.
+
+
+ +

Definition at line 172 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void keylift (unsigned char key,
int x,
int y 
)
+
+ +

keylift is registered as a GLUT callback for when a user releases a depressed key.

+
Parameters
+ + + + +
keyThe key that was lifted.
xThe x coordinate of the mouse at the time the key was released.
yThe y coordinate of the mouse at the time the key was released.
+
+
+ +

Definition at line 29 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void mouse (int button,
int state,
int x,
int y 
)
+
+ +

mouse is registered as a GLUT callback.

+

It handles input from, primarily, the scrollwheel.

+
Parameters
+ + + + + +
buttonThe mouse button being pressed.
statethe state of the aforementioned mouse button.
xthe x coordinate of the mouse.
ythe y coordinate of the mouse.
+
+
+ +

Definition at line 224 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void mouselook (int x,
int y 
)
+
+ +

mouselook is registered as a GLUT callback.

+

mouselook implements FPS-like controls where the camera moves proportional to the direction of the mouse.

+
Parameters
+ + + +
xthe x coordinate of the mouse pointer.
ythe y coordinate of the mouse pointer.
+
+
+ +

Definition at line 270 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void mouseroll (int x,
int y 
)
+
+ +

mouseroll is registered as a GLUT callback.

+

mouseroll is called when the mouse is moved while a button is depressed. It is used here to implement barrel-rolls while left-clicking.

+
Parameters
+ + + +
xthe x coordinate of the mouse pointer.
ythe y coordinate of the mouse pointer.
+
+
+ +

Definition at line 250 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void resizeEvent (int width,
int height 
)
+
+ +

resizeEvent is registered as a glut callback for when the screen is resized.

+

It instructs the screen object of the new size, which informs all of the children cameras to recompute their aspect ratios, viewport positions, and so on.

+

We also warp the pointer to the center of the screen, for compatibility with mouselook( void ).

+
Parameters
+ + + +
widthThe new width of the window.
heightThe new height of the window.
+
+
+
Returns
void.
+ +

Definition at line 304 of file glut_callbacks.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/glut__callbacks_8cpp.js b/Doxygen/Docs/html/glut__callbacks_8cpp.js new file mode 100644 index 00000000..5bbbd88e --- /dev/null +++ b/Doxygen/Docs/html/glut__callbacks_8cpp.js @@ -0,0 +1,10 @@ +var glut__callbacks_8cpp = +[ + [ "keyboard", "glut__callbacks_8cpp.html#aef7ba2f69afb2d954545f64c7fe24b14", null ], + [ "keyboard_ctrl", "glut__callbacks_8cpp.html#a6f3a97ed034be467bc035242d2486e00", null ], + [ "keylift", "glut__callbacks_8cpp.html#a254e97178a2df1da3e435a01f778e475", null ], + [ "mouse", "glut__callbacks_8cpp.html#ac76a5d78172a826cd6ee9512b89a86c0", null ], + [ "mouselook", "glut__callbacks_8cpp.html#af04567427614c77718ed14b8450a3438", null ], + [ "mouseroll", "glut__callbacks_8cpp.html#ad373689e6b9dcfe1b99692b43a759d40", null ], + [ "resizeEvent", "glut__callbacks_8cpp.html#ace248343c050c709b645c42012d68f18", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/glut__callbacks_8cpp_source.html b/Doxygen/Docs/html/glut__callbacks_8cpp_source.html new file mode 100644 index 00000000..6eecbd68 --- /dev/null +++ b/Doxygen/Docs/html/glut__callbacks_8cpp_source.html @@ -0,0 +1,362 @@ + + + + + +HyperGrafx: glut_callbacks.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
glut_callbacks.cpp
+
+
+Go to the documentation of this file.
1 
+
11 // OpenGL and System-specific macros
+
12 #include "globals.h"
+
13 
+
14 // Engine manipulation.
+
15 #include "Camera.hpp"
+
16 #include "Scene.hpp"
+
17 #include "Screen.hpp"
+
18 #include "Engine.hpp"
+
19 #include <sstream>
+
20 
+
29 void keylift( unsigned char key, int x, int y ) {
+
30 
+
31  Cameras *camList = Engine::instance()->cams();
+
32 
+
33  if ( camList->numCameras() < 1 ) return;
+
34  Camera &cam = *(camList->active());
+
35 
+
36  switch ( key ) {
+
37  case 'w':
+
38  cam.stop( Camera::DIR_FORWARD );
+
39  break;
+
40  case 's':
+
41  cam.stop( Camera::DIR_BACKWARD );
+
42  break;
+
43  case 'a':
+
44  cam.stop( Camera::DIR_LEFT );
+
45  break;
+
46  case 'd':
+
47  cam.stop( Camera::DIR_RIGHT );
+
48  break;
+
49  case 'q':
+
50  cam.stop( Camera::DIR_UP );
+
51  break;
+
52  case 'e':
+
53  cam.stop( Camera::DIR_DOWN );
+
54  break;
+
55  }
+
56 }
+
57 
+
66 void keyboard( unsigned char key, int x, int y ) {
+
67 
+
68  Scene *theScene = Engine::instance()->rootScene();
+
69  Cameras *camList = Engine::instance()->cams();
+
70 
+
71 #ifdef WII
+
72  // Hacky, for the wii reset, below.
+
73  Camera *camptr = dynamic_cast< Camera* >( (*_camList)["AutoCamera2"] );
+
74 #endif
+
75 
+
76  switch ( key ) {
+
77 
+
78  case 033: // Escape Key
+
79  /*
+
80  cleanup();
+
81  Disabled for now; not crucial.
+
82  Intend to fix later when I profile a bit more with valgrind.
+
83  */
+
84  glutLeaveMainLoop();
+
85  break;
+
86 
+
87  case ';': // Print Info
+
88  fprintf( stderr, "Active Object: %s\n",
+
89  theScene->active()->name().c_str() );
+
90  break;
+
91 
+
92  case '~':
+
93 #ifdef WII
+
94  CalibrateGyro( Wii );
+
95  if (camptr) camptr->resetRotation();
+
96 #endif
+
97  break;
+
98 
+
99  case '+':
+
100  std::stringstream camName;
+
101  camName << "AutoCamera" << camList->numCameras() + 1;
+
102  camList->addCamera( camName.str() );
+
103  break;
+
104  }
+
105 
+
106  if ( camList->numCameras() < 1 ) return;
+
107 
+
108  /* A shorthand variable with local scope that refers to "The active Camera." */
+
109  Camera &cam = *(camList->active());
+
110 
+
111  switch ( key ) {
+
112  case '-':
+
113  camList->popCamera();
+
114  break;
+
115  case ';':
+
116  fprintf( stderr, "Camera Position: (%f,%f,%f)\n", cam.x(), cam.y(),
+
117  cam.z() );
+
118  break;
+
119 
+
120  case 'w':
+
121  cam.move( Camera::DIR_FORWARD );
+
122  break;
+
123  case 's':
+
124  cam.move( Camera::DIR_BACKWARD );
+
125  break;
+
126  case 'a':
+
127  cam.move( Camera::DIR_LEFT );
+
128  break;
+
129  case 'd':
+
130  cam.move( Camera::DIR_RIGHT );
+
131  break;
+
132  case 'q':
+
133  cam.move( Camera::DIR_UP );
+
134  break;
+
135  case 'e':
+
136  cam.move( Camera::DIR_DOWN );
+
137  break;
+
138 
+
139  //Perspectives
+
140  case 'z':
+
141  cam.changePerspective( Camera::PERSPECTIVE );
+
142  break;
+
143  case 'x':
+
144  cam.changePerspective( Camera::ORTHO );
+
145  break;
+
146  case 'c':
+
147  cam.changePerspective( Camera::ORTHO2D );
+
148  break;
+
149  case 'v':
+
150  cam.changePerspective( Camera::FRUSTUM );
+
151  break;
+
152  case 'b':
+
153  cam.changePerspective( Camera::IDENTITY );
+
154  break;
+
155 
+
156  case 't':
+
157  fprintf( stderr, "turning on terrain_regen\n" );
+
158  Engine::instance()->opt( "terrain_regen", true );
+
159  break;
+
160 
+
161  }
+
162 }
+
163 
+
172 void keyboard_ctrl( int key, int x, int y ) {
+
173 
+
174  Scene *theScene = Engine::instance()->rootScene();
+
175  Cameras *camList = Engine::instance()->cams();
+
176 
+
177  switch ( key ) {
+
178  //Cycle between active Objects ...
+
179  case GLUT_KEY_LEFT:
+
180  theScene->prev();
+
181  break;
+
182  case GLUT_KEY_RIGHT:
+
183  theScene->next();
+
184  break;
+
185 
+
186  //Change the Draw drawMode ...
+
187  case GLUT_KEY_F1:
+
188  theScene->active()->drawMode( GL_POINTS );
+
189  break;
+
190  case GLUT_KEY_F2:
+
191  theScene->active()->drawMode( GL_LINE_STRIP );
+
192  break;
+
193  case GLUT_KEY_F3:
+
194  theScene->active()->drawMode( GL_TRIANGLE_STRIP );
+
195  break;
+
196  case GLUT_KEY_F4:
+
197  theScene->active()->drawMode( GL_TRIANGLES );
+
198  break;
+
199  }
+
200 
+
201  // If there are no Cameras, don't muck around with this section.
+
202  if ( camList->numCameras() < 1 ) return;
+
203 
+
204  switch ( key ) {
+
205  case GLUT_KEY_PAGE_UP:
+
206  camList->prev();
+
207  break;
+
208 
+
209  case GLUT_KEY_PAGE_DOWN:
+
210  camList->next();
+
211  break;
+
212  }
+
213 }
+
214 
+
224 void mouse( int button, int state, int x, int y ) {
+
225 
+
226  static Cameras *camList = Engine::instance()->cams();
+
227  if ( camList->numCameras() < 1 ) return;
+
228 
+
229  if ( state == GLUT_DOWN ) {
+
230  switch ( button ) {
+
231  case 3:
+
232  camList->active()->adjustFieldOfView( 1 );
+
233  break;
+
234  case 4:
+
235  camList->active()->adjustFieldOfView( -1 );
+
236  break;
+
237  }
+
238  }
+
239 
+
240 }
+
241 
+
250 void mouseroll( int x, int y ) {
+
251 
+
252  static Screen *myScreen = Engine::instance()->mainScreen();
+
253 
+
254  if ( (x != myScreen->midpointX()) || (y != myScreen->midpointY()) ) {
+
255  if ( myScreen->_camList.numCameras() > 0 )
+
256  myScreen->_camList.active()->roll( x - myScreen->midpointX() );
+
257  glutWarpPointer( myScreen->midpointX(), myScreen->midpointY() );
+
258  }
+
259 
+
260 }
+
261 
+
270 void mouselook( int x, int y ) {
+
271 
+
272  static Screen *myScreen = Engine::instance()->mainScreen();
+
273  if ( (x != myScreen->midpointX()) || (y != myScreen->midpointY()) ) {
+
274  const double dx = ((double) x - myScreen->midpointX());
+
275  const double dy = ((double) y - myScreen->midpointY());
+
276 
+
277  if ( (abs( dx ) > 100) || (abs( dy ) > 100) ) return;
+
278 
+
279  if ( myScreen->_camList.numCameras() > 0 ) {
+
280  myScreen->_camList.active()->pitch( dy );
+
281  myScreen->_camList.active()->yaw(
+
282  dx, Engine::instance()->opt( "fixed_yaw" ) );
+
283  }
+
284 
+
285  glutWarpPointer( myScreen->midpointX(), myScreen->midpointY() );
+
286  }
+
287 
+
288 }
+
289 
+
304 void resizeEvent( int width, int height ) {
+
305 
+
306  // Get a handle to the screen object
+
307  Screen *scr = Engine::instance()->mainScreen();
+
308 
+
309  // Update the size, which propagates changes to cameras and viewports.
+
310  scr->size( width, height );
+
311 
+
312  // move the pointer so that there isn't a big jump next time we move it.
+
313  glutWarpPointer( scr->midpointX(), scr->midpointY() );
+
314 
+
315 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/glut__callbacks_8h.html b/Doxygen/Docs/html/glut__callbacks_8h.html new file mode 100644 index 00000000..c2b326dc --- /dev/null +++ b/Doxygen/Docs/html/glut__callbacks_8h.html @@ -0,0 +1,454 @@ + + + + + +HyperGrafx: glut_callbacks.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
glut_callbacks.h File Reference
+
+
+ +

glut_callbacks.h provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions. +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + +

+Functions

void keylift (unsigned char key, int x, int y)
 keylift is registered as a GLUT callback for when a user releases a depressed key.
void keyboard (unsigned char key, int x, int y)
 keyboard is a callback registered with GLUT.
void keyboard_ctrl (int key, int x, int y)
 keyboard_ctrl is registered as a GLUT callback.
void mouse (int button, int state, int x, int y)
 mouse is registered as a GLUT callback.
void mouseroll (int x, int y)
 mouseroll is registered as a GLUT callback.
void mouselook (int x, int y)
 mouselook is registered as a GLUT callback.
void resizeEvent (int width, int height)
 resizeEvent is registered as a glut callback for when the screen is resized.
+

Detailed Description

+

glut_callbacks.h provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions.

+
Author
John Huston
+
Authors
John Huston, Nick St.Pierre, Chris Compton
+
Date
2013-03-13
+ +

Definition in file glut_callbacks.h.

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void keyboard (unsigned char key,
int x,
int y 
)
+
+ +

keyboard is a callback registered with GLUT.

+

It handles (surprise!) keyboard input.

+
Parameters
+ + + + +
keyThe key pressed by the user.
xThe x coordinate of the mouse when the key was pressed.
yThe y coordinate of the mouse when the key was pressed.
+
+
+ +

Definition at line 66 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void keyboard_ctrl (int key,
int x,
int y 
)
+
+ +

keyboard_ctrl is registered as a GLUT callback.

+

It is responsible for catching when special keys are pressed.

+
Parameters
+ + + + +
keyThe key pressed.
xThe x coordinate of the mouse when the key was pressed.
yThe y coordinate of the mouse when the key was pressed.
+
+
+ +

Definition at line 172 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void keylift (unsigned char key,
int x,
int y 
)
+
+ +

keylift is registered as a GLUT callback for when a user releases a depressed key.

+
Parameters
+ + + + +
keyThe key that was lifted.
xThe x coordinate of the mouse at the time the key was released.
yThe y coordinate of the mouse at the time the key was released.
+
+
+ +

Definition at line 29 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void mouse (int button,
int state,
int x,
int y 
)
+
+ +

mouse is registered as a GLUT callback.

+

It handles input from, primarily, the scrollwheel.

+
Parameters
+ + + + + +
buttonThe mouse button being pressed.
statethe state of the aforementioned mouse button.
xthe x coordinate of the mouse.
ythe y coordinate of the mouse.
+
+
+ +

Definition at line 224 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void mouselook (int x,
int y 
)
+
+ +

mouselook is registered as a GLUT callback.

+

mouselook implements FPS-like controls where the camera moves proportional to the direction of the mouse.

+
Parameters
+ + + +
xthe x coordinate of the mouse pointer.
ythe y coordinate of the mouse pointer.
+
+
+ +

Definition at line 270 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void mouseroll (int x,
int y 
)
+
+ +

mouseroll is registered as a GLUT callback.

+

mouseroll is called when the mouse is moved while a button is depressed. It is used here to implement barrel-rolls while left-clicking.

+
Parameters
+ + + +
xthe x coordinate of the mouse pointer.
ythe y coordinate of the mouse pointer.
+
+
+ +

Definition at line 250 of file glut_callbacks.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void resizeEvent (int width,
int height 
)
+
+ +

resizeEvent is registered as a glut callback for when the screen is resized.

+

It instructs the screen object of the new size, which informs all of the children cameras to recompute their aspect ratios, viewport positions, and so on.

+

We also warp the pointer to the center of the screen, for compatibility with mouselook( void ).

+
Parameters
+ + + +
widthThe new width of the window.
heightThe new height of the window.
+
+
+
Returns
void.
+ +

Definition at line 304 of file glut_callbacks.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/glut__callbacks_8h.js b/Doxygen/Docs/html/glut__callbacks_8h.js new file mode 100644 index 00000000..a54a6f6f --- /dev/null +++ b/Doxygen/Docs/html/glut__callbacks_8h.js @@ -0,0 +1,10 @@ +var glut__callbacks_8h = +[ + [ "keyboard", "glut__callbacks_8h.html#aef7ba2f69afb2d954545f64c7fe24b14", null ], + [ "keyboard_ctrl", "glut__callbacks_8h.html#a6f3a97ed034be467bc035242d2486e00", null ], + [ "keylift", "glut__callbacks_8h.html#a254e97178a2df1da3e435a01f778e475", null ], + [ "mouse", "glut__callbacks_8h.html#ac76a5d78172a826cd6ee9512b89a86c0", null ], + [ "mouselook", "glut__callbacks_8h.html#af04567427614c77718ed14b8450a3438", null ], + [ "mouseroll", "glut__callbacks_8h.html#ad373689e6b9dcfe1b99692b43a759d40", null ], + [ "resizeEvent", "glut__callbacks_8h.html#ace248343c050c709b645c42012d68f18", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/glut__callbacks_8h_source.html b/Doxygen/Docs/html/glut__callbacks_8h_source.html new file mode 100644 index 00000000..6266ca46 --- /dev/null +++ b/Doxygen/Docs/html/glut__callbacks_8h_source.html @@ -0,0 +1,138 @@ + + + + + +HyperGrafx: glut_callbacks.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
glut_callbacks.h
+
+
+Go to the documentation of this file.
1 
+
11 #ifndef __GLUT_CALLBACKS_H
+
12 #define __GLUT_CALLBACKS_H
+
13 
+
22 void keylift( unsigned char key, int x, int y );
+
23 
+
32 void keyboard( unsigned char key, int x, int y );
+
33 
+
42 void keyboard_ctrl( int key, int x, int y );
+
43 
+
53 void mouse( int button, int state, int x, int y );
+
54 
+
63 void mouseroll( int x, int y );
+
64 
+
73 void mouselook( int x, int y );
+
74 
+
89 void resizeEvent( int width, int height );
+
90 
+
91 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/hierarchy.html b/Doxygen/Docs/html/hierarchy.html new file mode 100644 index 00000000..15911dad --- /dev/null +++ b/Doxygen/Docs/html/hierarchy.html @@ -0,0 +1,148 @@ + + + + + +HyperGrafx: Class Hierarchy + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Class Hierarchy
+
+
+
This inheritance list is sorted roughly, but not completely, alphabetically:
+
[detail level 123]
+ + + + + + + + + + + + + + + + + + + + + + + + +
oCEngineSingleton-style class which helps keep track of instances of important objects (for Cameras, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace
oCTiemSpelchk::Lurn2SpielNub
oCAngel::mat2Mat2 - 2D square matrix
oCAngel::mat3Mat3 - 3D square matrix
oCAngel::mat4Mat4 - 4D square matrix
oCParticleTODO: You know you've been bad
oCSceneThe Scene object keeps track of a list of objects considered to be "children" of the Scene
|oCCamerasGroup of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space
|\CObjectObject Class: Renderable Object Implementation
| oCCameraLogical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state
| \CParticleSystem
oCScreen
oCSpelchkCamera
oCTexture
oCTimer
oCTransCache
oCTransformation
|oCRotMatRotations
|oCScaleMat
|\CTransMatTranslations
oCAngel::vec2
oCAngel::vec3
oCAngel::vec4
\CWiiPollData
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/hierarchy.js b/Doxygen/Docs/html/hierarchy.js new file mode 100644 index 00000000..6f0cbe6e --- /dev/null +++ b/Doxygen/Docs/html/hierarchy.js @@ -0,0 +1,30 @@ +var hierarchy = +[ + [ "Engine", "class_engine.html", null ], + [ "TiemSpelchk::Lurn2SpielNub", "class_tiem_spelchk_1_1_lurn2_spiel_nub.html", null ], + [ "Angel::mat2", "class_angel_1_1mat2.html", null ], + [ "Angel::mat3", "class_angel_1_1mat3.html", null ], + [ "Angel::mat4", "class_angel_1_1mat4.html", null ], + [ "Particle", "class_particle.html", null ], + [ "Scene", "class_scene.html", [ + [ "Cameras", "class_cameras.html", null ], + [ "Object", "class_object.html", [ + [ "Camera", "class_camera.html", null ], + [ "ParticleSystem", "class_particle_system.html", null ] + ] ] + ] ], + [ "Screen", "class_screen.html", null ], + [ "SpelchkCamera", "class_spelchk_camera.html", null ], + [ "Texture", "class_texture.html", null ], + [ "Timer", "class_timer.html", null ], + [ "TransCache", "class_trans_cache.html", null ], + [ "Transformation", "class_transformation.html", [ + [ "RotMat", "class_rot_mat.html", null ], + [ "ScaleMat", "class_scale_mat.html", null ], + [ "TransMat", "class_trans_mat.html", null ] + ] ], + [ "Angel::vec2", "struct_angel_1_1vec2.html", null ], + [ "Angel::vec3", "struct_angel_1_1vec3.html", null ], + [ "Angel::vec4", "struct_angel_1_1vec4.html", null ], + [ "WiiPollData", "struct_wii_poll_data.html", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/index.html b/Doxygen/Docs/html/index.html new file mode 100644 index 00000000..9d2e8a50 --- /dev/null +++ b/Doxygen/Docs/html/index.html @@ -0,0 +1,112 @@ + + + + + +HyperGrafx: Main Page + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
HyperGrafx Documentation
+
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/jquery.js b/Doxygen/Docs/html/jquery.js new file mode 100644 index 00000000..78ad0bdf --- /dev/null +++ b/Doxygen/Docs/html/jquery.js @@ -0,0 +1,77 @@ +/*! jQuery v1.7.1 jquery.com | jquery.org/license */ +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; +f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")), +f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() +{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c) +{if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); +/*! + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a,b){function d(b){return!a(b).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}function c(b,c){var e=b.nodeName.toLowerCase();if("area"===e){var f=b.parentNode,g=f.name,h;if(!b.href||!g||f.nodeName.toLowerCase()!=="map")return!1;h=a("img[usemap=#"+g+"]")[0];return!!h&&d(h)}return(/input|select|textarea|button|object/.test(e)?!b.disabled:"a"==e?b.href||c:c)&&d(b)}a.ui=a.ui||{};a.ui.version||(a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(b,c){return typeof b=="number"?this.each(function(){var d=this;setTimeout(function(){a(d).focus(),c&&c.call(d)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(c){if(c!==b)return this.css("zIndex",c);if(this.length){var d=a(this[0]),e,f;while(d.length&&d[0]!==document){e=d.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){f=parseInt(d.css("zIndex"),10);if(!isNaN(f)&&f!==0)return f}d=d.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.each(["Width","Height"],function(c,d){function h(b,c,d,f){a.each(e,function(){c-=parseFloat(a.curCSS(b,"padding"+this,!0))||0,d&&(c-=parseFloat(a.curCSS(b,"border"+this+"Width",!0))||0),f&&(c-=parseFloat(a.curCSS(b,"margin"+this,!0))||0)});return c}var e=d==="Width"?["Left","Right"]:["Top","Bottom"],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+d]=function(c){if(c===b)return g["inner"+d].call(this);return this.each(function(){a(this).css(f,h(this,c)+"px")})},a.fn["outer"+d]=function(b,c){if(typeof b!="number")return g["outer"+d].call(this,b);return this.each(function(){a(this).css(f,h(this,b,!0,c)+"px")})}}),a.extend(a.expr[":"],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){return c(b,!isNaN(a.attr(b,"tabindex")))},tabbable:function(b){var d=a.attr(b,"tabindex"),e=isNaN(d);return(e||d>=0)&&c(b,!e)}}),a(function(){var b=document.body,c=b.appendChild(c=document.createElement("div"));c.offsetHeight,a.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.support.selectstart="onselectstart"in c,b.removeChild(c).style.display="none"}),a.extend(a.ui,{plugin:{add:function(b,c,d){var e=a.ui[b].prototype;for(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:function(a,b,c){var d=a.plugins[b];if(!!d&&!!a.element[0].parentNode)for(var e=0;e0)return!0;b[d]=1,e=b[d]>0,b[d]=0;return e},isOverAxis:function(a,b,c){return a>b&&a=9)&&!b.button)return this._mouseUp(b);if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b));return!this._mouseStarted},_mouseUp:function(b){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,b.target==this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(b));return!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return!0}})})(jQuery); +/* + * jQuery UI Resizable 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Resizables + * + * Depends: + * jquery.ui.core.js + * jquery.ui.mouse.js + * jquery.ui.widget.js + */ +(function(a,b){a.widget("ui.resizable",a.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var b=this,c=this.options;this.element.addClass("ui-resizable"),a.extend(this,{_aspectRatio:!!c.aspectRatio,aspectRatio:c.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:c.helper||c.ghost||c.animate?c.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(a('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=c.handles||(a(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");if(this.handles.constructor==String){this.handles=="all"&&(this.handles="n,e,s,w,se,sw,ne,nw");var d=this.handles.split(",");this.handles={};for(var e=0;e
');/sw|se|ne|nw/.test(f)&&h.css({zIndex:++c.zIndex}),"se"==f&&h.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[f]=".ui-resizable-"+f,this.element.append(h)}}this._renderAxis=function(b){b=b||this.element;for(var c in this.handles){this.handles[c].constructor==String&&(this.handles[c]=a(this.handles[c],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var d=a(this.handles[c],this.element),e=0;e=/sw|ne|nw|se|n|s/.test(c)?d.outerHeight():d.outerWidth();var f=["padding",/ne|nw|n/.test(c)?"Top":/se|sw|s/.test(c)?"Bottom":/^e$/.test(c)?"Right":"Left"].join("");b.css(f,e),this._proportionallyResize()}if(!a(this.handles[c]).length)continue}},this._renderAxis(this.element),this._handles=a(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){if(!b.resizing){if(this.className)var a=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=a&&a[1]?a[1]:"se"}}),c.autoHide&&(this._handles.hide(),a(this.element).addClass("ui-resizable-autohide").hover(function(){c.disabled||(a(this).removeClass("ui-resizable-autohide"),b._handles.show())},function(){c.disabled||b.resizing||(a(this).addClass("ui-resizable-autohide"),b._handles.hide())})),this._mouseInit()},destroy:function(){this._mouseDestroy();var b=function(b){a(b).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){b(this.element);var c=this.element;c.after(this.originalElement.css({position:c.css("position"),width:c.outerWidth(),height:c.outerHeight(),top:c.css("top"),left:c.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle),b(this.originalElement);return this},_mouseCapture:function(b){var c=!1;for(var d in this.handles)a(this.handles[d])[0]==b.target&&(c=!0);return!this.options.disabled&&c},_mouseStart:function(b){var d=this.options,e=this.element.position(),f=this.element;this.resizing=!0,this.documentScroll={top:a(document).scrollTop(),left:a(document).scrollLeft()},(f.is(".ui-draggable")||/absolute/.test(f.css("position")))&&f.css({position:"absolute",top:e.top,left:e.left}),this._renderProxy();var g=c(this.helper.css("left")),h=c(this.helper.css("top"));d.containment&&(g+=a(d.containment).scrollLeft()||0,h+=a(d.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:g,top:h},this.size=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalSize=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalPosition={left:g,top:h},this.sizeDiff={width:f.outerWidth()-f.width(),height:f.outerHeight()-f.height()},this.originalMousePosition={left:b.pageX,top:b.pageY},this.aspectRatio=typeof d.aspectRatio=="number"?d.aspectRatio:this.originalSize.width/this.originalSize.height||1;var i=a(".ui-resizable-"+this.axis).css("cursor");a("body").css("cursor",i=="auto"?this.axis+"-resize":i),f.addClass("ui-resizable-resizing"),this._propagate("start",b);return!0},_mouseDrag:function(b){var c=this.helper,d=this.options,e={},f=this,g=this.originalMousePosition,h=this.axis,i=b.pageX-g.left||0,j=b.pageY-g.top||0,k=this._change[h];if(!k)return!1;var l=k.apply(this,[b,i,j]),m=a.browser.msie&&a.browser.version<7,n=this.sizeDiff;this._updateVirtualBoundaries(b.shiftKey);if(this._aspectRatio||b.shiftKey)l=this._updateRatio(l,b);l=this._respectSize(l,b),this._propagate("resize",b),c.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(l),this._trigger("resize",b,this.ui());return!1},_mouseStop:function(b){this.resizing=!1;var c=this.options,d=this;if(this._helper){var e=this._proportionallyResizeElements,f=e.length&&/textarea/i.test(e[0].nodeName),g=f&&a.ui.hasScroll(e[0],"left")?0:d.sizeDiff.height,h=f?0:d.sizeDiff.width,i={width:d.helper.width()-h,height:d.helper.height()-g},j=parseInt(d.element.css("left"),10)+(d.position.left-d.originalPosition.left)||null,k=parseInt(d.element.css("top"),10)+(d.position.top-d.originalPosition.top)||null;c.animate||this.element.css(a.extend(i,{top:k,left:j})),d.helper.height(d.size.height),d.helper.width(d.size.width),this._helper&&!c.animate&&this._proportionallyResize()}a("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",b),this._helper&&this.helper.remove();return!1},_updateVirtualBoundaries:function(a){var b=this.options,c,e,f,g,h;h={minWidth:d(b.minWidth)?b.minWidth:0,maxWidth:d(b.maxWidth)?b.maxWidth:Infinity,minHeight:d(b.minHeight)?b.minHeight:0,maxHeight:d(b.maxHeight)?b.maxHeight:Infinity};if(this._aspectRatio||a)c=h.minHeight*this.aspectRatio,f=h.minWidth/this.aspectRatio,e=h.maxHeight*this.aspectRatio,g=h.maxWidth/this.aspectRatio,c>h.minWidth&&(h.minWidth=c),f>h.minHeight&&(h.minHeight=f),ea.width,k=d(a.height)&&e.minHeight&&e.minHeight>a.height;j&&(a.width=e.minWidth),k&&(a.height=e.minHeight),h&&(a.width=e.maxWidth),i&&(a.height=e.maxHeight);var l=this.originalPosition.left+this.originalSize.width,m=this.position.top+this.size.height,n=/sw|nw|w/.test(g),o=/nw|ne|n/.test(g);j&&n&&(a.left=l-e.minWidth),h&&n&&(a.left=l-e.maxWidth),k&&o&&(a.top=m-e.minHeight),i&&o&&(a.top=m-e.maxHeight);var p=!a.width&&!a.height;p&&!a.left&&a.top?a.top=null:p&&!a.top&&a.left&&(a.left=null);return a},_proportionallyResize:function(){var b=this.options;if(!!this._proportionallyResizeElements.length){var c=this.helper||this.element;for(var d=0;d');var d=a.browser.msie&&a.browser.version<7,e=d?1:0,f=d?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+f,height:this.element.outerHeight()+f,position:"absolute",left:this.elementOffset.left-e+"px",top:this.elementOffset.top-e+"px",zIndex:++c.zIndex}),this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(a,b,c){return{width:this.originalSize.width+b}},w:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{left:f.left+b,width:e.width-b}},n:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{top:f.top+c,height:e.height-c}},s:function(a,b,c){return{height:this.originalSize.height+c}},se:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},sw:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,c,d]))},ne:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},nw:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,c,d]))}},_propagate:function(b,c){a.ui.plugin.call(this,b,[c,this.ui()]),b!="resize"&&this._trigger(b,c,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),a.extend(a.ui.resizable,{version:"1.8.18"}),a.ui.plugin.add("resizable","alsoResize",{start:function(b,c){var d=a(this).data("resizable"),e=d.options,f=function(b){a(b).each(function(){var b=a(this);b.data("resizable-alsoresize",{width:parseInt(b.width(),10),height:parseInt(b.height(),10),left:parseInt(b.css("left"),10),top:parseInt(b.css("top"),10)})})};typeof e.alsoResize=="object"&&!e.alsoResize.parentNode?e.alsoResize.length?(e.alsoResize=e.alsoResize[0],f(e.alsoResize)):a.each(e.alsoResize,function(a){f(a)}):f(e.alsoResize)},resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.originalSize,g=d.originalPosition,h={height:d.size.height-f.height||0,width:d.size.width-f.width||0,top:d.position.top-g.top||0,left:d.position.left-g.left||0},i=function(b,d){a(b).each(function(){var b=a(this),e=a(this).data("resizable-alsoresize"),f={},g=d&&d.length?d:b.parents(c.originalElement[0]).length?["width","height"]:["width","height","top","left"];a.each(g,function(a,b){var c=(e[b]||0)+(h[b]||0);c&&c>=0&&(f[b]=c||null)}),b.css(f)})};typeof e.alsoResize=="object"&&!e.alsoResize.nodeType?a.each(e.alsoResize,function(a,b){i(a,b)}):i(e.alsoResize)},stop:function(b,c){a(this).removeData("resizable-alsoresize")}}),a.ui.plugin.add("resizable","animate",{stop:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d._proportionallyResizeElements,g=f.length&&/textarea/i.test(f[0].nodeName),h=g&&a.ui.hasScroll(f[0],"left")?0:d.sizeDiff.height,i=g?0:d.sizeDiff.width,j={width:d.size.width-i,height:d.size.height-h},k=parseInt(d.element.css("left"),10)+(d.position.left-d.originalPosition.left)||null,l=parseInt(d.element.css("top"),10)+(d.position.top-d.originalPosition.top)||null;d.element.animate(a.extend(j,l&&k?{top:l,left:k}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var c={width:parseInt(d.element.css("width"),10),height:parseInt(d.element.css("height"),10),top:parseInt(d.element.css("top"),10),left:parseInt(d.element.css("left"),10)};f&&f.length&&a(f[0]).css({width:c.width,height:c.height}),d._updateCache(c),d._propagate("resize",b)}})}}),a.ui.plugin.add("resizable","containment",{start:function(b,d){var e=a(this).data("resizable"),f=e.options,g=e.element,h=f.containment,i=h instanceof a?h.get(0):/parent/.test(h)?g.parent().get(0):h;if(!!i){e.containerElement=a(i);if(/document/.test(h)||h==document)e.containerOffset={left:0,top:0},e.containerPosition={left:0,top:0},e.parentData={element:a(document),left:0,top:0,width:a(document).width(),height:a(document).height()||document.body.parentNode.scrollHeight};else{var j=a(i),k=[];a(["Top","Right","Left","Bottom"]).each(function(a,b){k[a]=c(j.css("padding"+b))}),e.containerOffset=j.offset(),e.containerPosition=j.position(),e.containerSize={height:j.innerHeight()-k[3],width:j.innerWidth()-k[1]};var l=e.containerOffset,m=e.containerSize.height,n=e.containerSize.width,o=a.ui.hasScroll(i,"left")?i.scrollWidth:n,p=a.ui.hasScroll(i)?i.scrollHeight:m;e.parentData={element:i,left:l.left,top:l.top,width:o,height:p}}}},resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.containerSize,g=d.containerOffset,h=d.size,i=d.position,j=d._aspectRatio||b.shiftKey,k={top:0,left:0},l=d.containerElement;l[0]!=document&&/static/.test(l.css("position"))&&(k=g),i.left<(d._helper?g.left:0)&&(d.size.width=d.size.width+(d._helper?d.position.left-g.left:d.position.left-k.left),j&&(d.size.height=d.size.width/e.aspectRatio),d.position.left=e.helper?g.left:0),i.top<(d._helper?g.top:0)&&(d.size.height=d.size.height+(d._helper?d.position.top-g.top:d.position.top),j&&(d.size.width=d.size.height*e.aspectRatio),d.position.top=d._helper?g.top:0),d.offset.left=d.parentData.left+d.position.left,d.offset.top=d.parentData.top+d.position.top;var m=Math.abs((d._helper?d.offset.left-k.left:d.offset.left-k.left)+d.sizeDiff.width),n=Math.abs((d._helper?d.offset.top-k.top:d.offset.top-g.top)+d.sizeDiff.height),o=d.containerElement.get(0)==d.element.parent().get(0),p=/relative|absolute/.test(d.containerElement.css("position"));o&&p +&&(m-=d.parentData.left),m+d.size.width>=d.parentData.width&&(d.size.width=d.parentData.width-m,j&&(d.size.height=d.size.width/d.aspectRatio)),n+d.size.height>=d.parentData.height&&(d.size.height=d.parentData.height-n,j&&(d.size.width=d.size.height*d.aspectRatio))},stop:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.position,g=d.containerOffset,h=d.containerPosition,i=d.containerElement,j=a(d.helper),k=j.offset(),l=j.outerWidth()-d.sizeDiff.width,m=j.outerHeight()-d.sizeDiff.height;d._helper&&!e.animate&&/relative/.test(i.css("position"))&&a(this).css({left:k.left-h.left-g.left,width:l,height:m}),d._helper&&!e.animate&&/static/.test(i.css("position"))&&a(this).css({left:k.left-h.left-g.left,width:l,height:m})}}),a.ui.plugin.add("resizable","ghost",{start:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.size;d.ghost=d.originalElement.clone(),d.ghost.css({opacity:.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof e.ghost=="string"?e.ghost:""),d.ghost.appendTo(d.helper)},resize:function(b,c){var d=a(this).data("resizable"),e=d.options;d.ghost&&d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})},stop:function(b,c){var d=a(this).data("resizable"),e=d.options;d.ghost&&d.helper&&d.helper.get(0).removeChild(d.ghost.get(0))}}),a.ui.plugin.add("resizable","grid",{resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.size,g=d.originalSize,h=d.originalPosition,i=d.axis,j=e._aspectRatio||b.shiftKey;e.grid=typeof e.grid=="number"?[e.grid,e.grid]:e.grid;var k=Math.round((f.width-g.width)/(e.grid[0]||1))*(e.grid[0]||1),l=Math.round((f.height-g.height)/(e.grid[1]||1))*(e.grid[1]||1);/^(se|s|e)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l):/^(ne)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l):/^(sw)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.left=h.left-k):(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l,d.position.left=h.left-k)}});var c=function(a){return parseInt(a,10)||0},d=function(a){return!isNaN(parseInt(a,10))}})(jQuery); +/* + * jQuery hashchange event - v1.3 - 7/21/2010 + * http://benalman.com/projects/jquery-hashchange-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' + + +
+ +
+
mat.cpp File Reference
+
+
+ +

Implementation for the mat2, mat3, and mat4 classes. +More...

+
#include "platform.h"
+#include "vec.hpp"
+#include "mat.hpp"
+#include <cmath>
+#include "globals.h"
+
+

Go to the source code of this file.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+mat2 Angel::operator* (const GLfloat s, const mat2 &m)
+std::ostream & Angel::operator<< (std::ostream &os, const mat2 &m)
+std::istream & Angel::operator>> (std::istream &is, mat2 &m)
+mat2 Angel::matrixCompMult (const mat2 &A, const mat2 &B)
+mat2 Angel::transpose (const mat2 &A)
+mat3 Angel::operator* (const GLfloat s, const mat3 &m)
+std::ostream & Angel::operator<< (std::ostream &os, const mat3 &m)
+std::istream & Angel::operator>> (std::istream &is, mat3 &m)
+mat3 Angel::matrixCompMult (const mat3 &A, const mat3 &B)
+mat3 Angel::transpose (const mat3 &A)
+mat4 Angel::operator* (const GLfloat s, const mat4 &m)
+vec4 Angel::operator* (const vec4 &v, const mat4 &_m)
+std::ostream & Angel::operator<< (std::ostream &os, const mat4 &m)
+std::istream & Angel::operator>> (std::istream &is, mat4 &m)
+mat4 Angel::matrixCompMult (const mat4 &A, const mat4 &B)
+mat4 Angel::transpose (const mat4 &A)
+mat4 Angel::RotateX (const GLfloat theta)
+mat4 Angel::RotateY (const GLfloat theta)
+mat4 Angel::RotateZ (const GLfloat theta)
+mat4 Angel::Translate (const GLfloat x, const GLfloat y, const GLfloat z)
+mat4 Angel::Translate (const vec3 &v)
+mat4 Angel::Translate (const vec4 &v)
+mat4 Angel::Scale (const GLfloat x, const GLfloat y, const GLfloat z)
+mat4 Angel::Scale (const vec3 &v)
+mat4 Angel::Ortho (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar)
+mat4 Angel::Ortho2D (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top)
+mat4 Angel::Frustum (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar)
+mat4 Angel::Perspective (const GLfloat fovy, const GLfloat aspect, const GLfloat zNear, const GLfloat zFar)
+mat4 Angel::LookAt (const vec4 &eye, const vec4 &at, const vec4 &up)
+

Detailed Description

+

Implementation for the mat2, mat3, and mat4 classes.

+
Author
Ed Angel
+
Date
2012-12-04
+

Modified heavily from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition Addison-Wesley 2012

+ +

Definition in file mat.cpp.

+
+ + + + + diff --git a/Doxygen/Docs/html/mat_8cpp.js b/Doxygen/Docs/html/mat_8cpp.js new file mode 100644 index 00000000..702452c3 --- /dev/null +++ b/Doxygen/Docs/html/mat_8cpp.js @@ -0,0 +1,32 @@ +var mat_8cpp = +[ + [ "Frustum", "mat_8cpp.html#a5775b27ec156cd2166a59bf038dc8efc", null ], + [ "LookAt", "mat_8cpp.html#aee52b8fa583cbbe460e2e80c05b59f8b", null ], + [ "matrixCompMult", "mat_8cpp.html#a14b1d7bed352f45380d7fc26e2553627", null ], + [ "matrixCompMult", "mat_8cpp.html#a9eeab51adba3f19cca17e5007844f2a1", null ], + [ "matrixCompMult", "mat_8cpp.html#a3cc32f2aec8c1c7e609c31183eebf2e6", null ], + [ "operator*", "mat_8cpp.html#ad98858d30ccb39de45a34e4693fd9ef5", null ], + [ "operator*", "mat_8cpp.html#a14d8b4ab9eeb4075155867871c6d60f6", null ], + [ "operator*", "mat_8cpp.html#acc567058b4586de296af2ce0ad767b18", null ], + [ "operator*", "mat_8cpp.html#a8f927d4bf85202f4e96a1a4a9733da27", null ], + [ "operator<<", "mat_8cpp.html#ac414aafc0c30f61e35042b50146b5340", null ], + [ "operator<<", "mat_8cpp.html#aebfe9ee1ffa4286f7697c7323ea83dd0", null ], + [ "operator<<", "mat_8cpp.html#a694f07e56f9b1501ade53204f63f9eaa", null ], + [ "operator>>", "mat_8cpp.html#aa5aed3e76e6cd1d2de93503630d13132", null ], + [ "operator>>", "mat_8cpp.html#a0f2b9ea30d90fee6f42c49adc31afbd5", null ], + [ "operator>>", "mat_8cpp.html#a23656ccbbf90b1935a4072ef3ca248e0", null ], + [ "Ortho", "mat_8cpp.html#a65a39c6b9bbbce0463d958e58cdf8a3c", null ], + [ "Ortho2D", "mat_8cpp.html#a8db02bcc2094985f2a168ab3f0dce68e", null ], + [ "Perspective", "mat_8cpp.html#ad20afa7adfcc4d26d4be0c322548549a", null ], + [ "RotateX", "mat_8cpp.html#a96a871db89bb8218473c75b8070d2a04", null ], + [ "RotateY", "mat_8cpp.html#aa8ddbf81e6fa21bd53c5d5ce840a7403", null ], + [ "RotateZ", "mat_8cpp.html#a564ee33689e28c95aedcc5a77aed1d33", null ], + [ "Scale", "mat_8cpp.html#a6ca60025898ba656cd588541df87f310", null ], + [ "Scale", "mat_8cpp.html#a57bd024e120ad05fe0c00081286eeb18", null ], + [ "Translate", "mat_8cpp.html#a4dabf5bcf7d7332f54e66178feab9c16", null ], + [ "Translate", "mat_8cpp.html#ae9591a5b2e2e59fa0534460a16520a42", null ], + [ "Translate", "mat_8cpp.html#af51ee9500415015b6ba400cea2ab757f", null ], + [ "transpose", "mat_8cpp.html#a13237552df8019e7c7c041491185a5b7", null ], + [ "transpose", "mat_8cpp.html#abea2dfb557c756bfb69c596852e6b096", null ], + [ "transpose", "mat_8cpp.html#a1a4a07580fa9c63f32cca223177496dd", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/mat_8cpp_source.html b/Doxygen/Docs/html/mat_8cpp_source.html new file mode 100644 index 00000000..4bac9c8d --- /dev/null +++ b/Doxygen/Docs/html/mat_8cpp_source.html @@ -0,0 +1,766 @@ + + + + + +HyperGrafx: mat.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
mat.cpp
+
+
+Go to the documentation of this file.
1 
+
15 #include "platform.h" /* Multi-platform support and OpenGL includes. */
+
16 #include "vec.hpp"
+
17 #include "mat.hpp"
+
18 #include <cmath> /* Trigonometry */
+
19 #include "globals.h" /* Constants, etc. */
+
20 
+
21 namespace Angel {
+
22 
+
24 // Class: mat2
+
26 
+
27 // Constructors
+
29 
+
30  mat2::mat2( const GLfloat d ) {
+
31  _m[0].x = d;
+
32  _m[1].y = d;
+
33  }
+
34 
+
35  mat2::mat2( const vec2 &a, const vec2 &b ) {
+
36  _m[0] = a;
+
37  _m[1] = b;
+
38  }
+
39 
+
40  mat2::mat2( GLfloat m00, GLfloat m10, GLfloat m01, GLfloat m11 ) {
+
41  _m[0] = vec2( m00, m01 );
+
42  _m[1] = vec2( m10, m11 );
+
43  }
+
44 
+
45  mat2::mat2( const mat2& m ) {
+
46  if ( *this != m ) {
+
47  _m[0] = m._m[0];
+
48  _m[1] = m._m[1];
+
49  }
+
50  }
+
51 
+
52 // Operators
+
54 
+
55  vec2 &mat2::operator[]( int i ) {
+
56  return _m[i];
+
57  }
+
58 
+
59  const vec2 &mat2::operator[]( int i ) const {
+
60  return _m[i];
+
61  }
+
62 
+
63  mat2 mat2::operator+( const mat2 &m ) const {
+
64  return mat2( _m[0] + m[0], _m[1] + m[1] );
+
65  }
+
66 
+
67  mat2 mat2::operator-( const mat2 &m ) const {
+
68  return mat2( _m[0] - m[0], _m[1] - m[1] );
+
69  }
+
70 
+
71  mat2 mat2::operator*( const GLfloat s ) const {
+
72  return mat2( s * _m[0], s * _m[1] );
+
73  }
+
74 
+
75  mat2 mat2::operator/( const GLfloat s ) const {
+
76 
+
77 #ifdef DEBUG
+
78  {
+
79  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
80  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
81  << "Division by zero" << std::endl;
+
82  return mat2();
+
83  }
+
84  }
+
85 #endif // DEBUG
+
86  GLfloat r = GLfloat( 1.0 ) / s;
+
87  return *this * r;
+
88  }
+
89 
+
90  mat2 mat2::operator*( const mat2 &m ) const {
+
91  mat2 a( 0.0 );
+
92 
+
93  for ( int i = 0; i < 2; ++i ) {
+
94  for ( int j = 0; j < 2; ++j ) {
+
95  for ( int k = 0; k < 2; ++k ) {
+
96  a[i][j] += _m[i][k] * m[k][j];
+
97  }
+
98  }
+
99  }
+
100 
+
101  return a;
+
102  }
+
103 
+
104  mat2 &mat2::operator+=( const mat2 &m ) {
+
105  _m[0] += m[0];
+
106  _m[1] += m[1];
+
107  return *this;
+
108  }
+
109 
+
110  mat2 &mat2::operator-=( const mat2 &m ) {
+
111  _m[0] -= m[0];
+
112  _m[1] -= m[1];
+
113  return *this;
+
114  }
+
115 
+
116  mat2 &mat2::operator*=( const GLfloat s ) {
+
117  _m[0] *= s;
+
118  _m[1] *= s;
+
119  return *this;
+
120  }
+
121 
+
122  mat2 &mat2::operator*=( const mat2 &m ) {
+
123  mat2 a( 0.0 );
+
124 
+
125  for ( int i = 0; i < 2; ++i ) {
+
126  for ( int j = 0; j < 2; ++j ) {
+
127  for ( int k = 0; k < 2; ++k ) {
+
128  a[i][j] += _m[i][k] * m[k][j];
+
129  }
+
130  }
+
131  }
+
132 
+
133  return *this = a;
+
134  }
+
135 
+
136  mat2 &mat2::operator/=( const GLfloat s ) {
+
137 #ifdef DEBUG
+
138  {
+
139  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
140  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
141  << "Division by zero" << std::endl;
+
142  return (*this = mat2());
+
143  }
+
144  }
+
145 #endif // DEBUG
+
146  GLfloat r = GLfloat( 1.0 ) / s;
+
147  return *this *= r;
+
148  }
+
149 
+
154  vec2 mat2::operator*( const vec2 &v ) const {
+
155 
+
156  return vec2( _m[0][0] * v.x + _m[0][1] * v.y,
+
157  _m[1][0] * v.x + _m[1][1] * v.y );
+
158  }
+
159 
+
160  mat2::operator const GLfloat*() const {
+
161  return static_cast< const GLfloat* >( &_m[0].x );
+
162  }
+
163 
+
164  mat2::operator GLfloat*() {
+
165  return static_cast< GLfloat* >( &_m[0].x );
+
166  }
+
167 
+
168 // Non-class mat2 Methods ---
+
170 
+
171  mat2 operator*( const GLfloat s, const mat2 &m ) {
+
172  return m * s;
+
173  }
+
174 
+
175  std::ostream &operator<<( std::ostream &os, const mat2 &m ) {
+
176  return os << std::endl << m[0] << std::endl << m[1] << std::endl;
+
177  }
+
178 
+
179  std::istream &operator>>( std::istream &is, mat2 &m ) {
+
180  return is >> m._m[0] >> m._m[1];
+
181  }
+
182 
+
183  mat2 matrixCompMult( const mat2 &A, const mat2 &B ) {
+
184  return mat2( A[0][0] * B[0][0], A[0][1] * B[0][1], A[1][0] * B[1][0],
+
185  A[1][1] * B[1][1] );
+
186  }
+
187 
+
188  mat2 transpose( const mat2 &A ) {
+
189  return mat2( A[0][0], A[1][0], A[0][1], A[1][1] );
+
190  }
+
191 
+
193 // Class: mat3
+
195 
+
196 // Constructors and Destructors
+
198 
+
199  mat3::mat3( const GLfloat d ) {
+
200  _m[0].x = d;
+
201  _m[1].y = d;
+
202  _m[2].z = d;
+
203  }
+
204 
+
205  mat3::mat3( const vec3 &a, const vec3 &b, const vec3 &c ) {
+
206  _m[0] = a;
+
207  _m[1] = b;
+
208  _m[2] = c;
+
209  }
+
210 
+
211  mat3::mat3( GLfloat m00, GLfloat m10, GLfloat m20, GLfloat m01, GLfloat m11,
+
212  GLfloat m21, GLfloat m02, GLfloat m12, GLfloat m22 ) {
+
213  _m[0] = vec3( m00, m01, m02 );
+
214  _m[1] = vec3( m10, m11, m12 );
+
215  _m[2] = vec3( m20, m21, m22 );
+
216  }
+
217 
+
218  mat3::mat3( const mat3 &m ) {
+
219  if ( *this != m ) {
+
220  _m[0] = m._m[0];
+
221  _m[1] = m._m[1];
+
222  _m[2] = m._m[2];
+
223  }
+
224  }
+
225 
+
226 // Operators
+
228 
+
229  vec3 &mat3::operator[]( int i ) {
+
230  return _m[i];
+
231  }
+
232 
+
233  const vec3 &mat3::operator[]( int i ) const {
+
234  return _m[i];
+
235  }
+
236 
+
237  mat3 mat3::operator+( const mat3 &m ) const {
+
238  return mat3( _m[0] + m[0], _m[1] + m[1], _m[2] + m[2] );
+
239  }
+
240 
+
241  mat3 mat3::operator-( const mat3 &m ) const {
+
242  return mat3( _m[0] - m[0], _m[1] - m[1], _m[2] - m[2] );
+
243  }
+
244 
+
245  mat3 mat3::operator*( const GLfloat s ) const {
+
246  return mat3( s * _m[0], s * _m[1], s * _m[2] );
+
247  }
+
248 
+
249  mat3 mat3::operator/( const GLfloat s ) const {
+
250 #ifdef DEBUG
+
251  {
+
252  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
253  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
254  << "Division by zero" << std::endl;
+
255  return mat3();
+
256  }
+
257  }
+
258 #endif // DEBUG
+
259  GLfloat r = GLfloat( 1.0 ) / s;
+
260  return *this * r;
+
261  }
+
262 
+
263  mat3 mat3::operator*( const mat3 &m ) const {
+
264  mat3 a( 0.0 );
+
265 
+
266  for ( int i = 0; i < 3; ++i ) {
+
267  for ( int j = 0; j < 3; ++j ) {
+
268  for ( int k = 0; k < 3; ++k ) {
+
269  a[i][j] += _m[i][k] * m[k][j];
+
270  }
+
271  }
+
272  }
+
273 
+
274  return a;
+
275  }
+
276 
+
277  mat3 &mat3::operator+=( const mat3 &m ) {
+
278  _m[0] += m[0];
+
279  _m[1] += m[1];
+
280  _m[2] += m[2];
+
281  return *this;
+
282  }
+
283 
+
284  mat3 &mat3::operator-=( const mat3 &m ) {
+
285  _m[0] -= m[0];
+
286  _m[1] -= m[1];
+
287  _m[2] -= m[2];
+
288  return *this;
+
289  }
+
290 
+
291  mat3 &mat3::operator*=( const GLfloat s ) {
+
292  _m[0] *= s;
+
293  _m[1] *= s;
+
294  _m[2] *= s;
+
295  return *this;
+
296  }
+
297 
+
298  mat3 &mat3::operator*=( const mat3 &m ) {
+
299  mat3 a( 0.0 );
+
300 
+
301  for ( int i = 0; i < 3; ++i ) {
+
302  for ( int j = 0; j < 3; ++j ) {
+
303  for ( int k = 0; k < 3; ++k ) {
+
304  a[i][j] += _m[i][k] * m[k][j];
+
305  }
+
306  }
+
307  }
+
308 
+
309  return *this = a;
+
310  }
+
311 
+
312  mat3 &mat3::operator/=( const GLfloat s ) {
+
313 #ifdef DEBUG
+
314  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
315  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
316  << "Division by zero" << std::endl;
+
317  return (*this = mat3());
+
318  }
+
319 #endif // DEBUG
+
320  GLfloat r = GLfloat( 1.0 ) / s;
+
321  return *this *= r;
+
322  }
+
323 
+
324  vec3 mat3::operator*( const vec3 &v ) const { // m * v
+
325  return vec3( _m[0][0] * v.x + _m[0][1] * v.y + _m[0][2] * v.z,
+
326  _m[1][0] * v.x + _m[1][1] * v.y + _m[1][2] * v.z,
+
327  _m[2][0] * v.x + _m[2][1] * v.y + _m[2][2] * v.z );
+
328  }
+
329 
+
330  mat3::operator const GLfloat*() const {
+
331  return static_cast< const GLfloat* >( &_m[0].x );
+
332  }
+
333 
+
334  mat3::operator GLfloat*() {
+
335  return static_cast< GLfloat* >( &_m[0].x );
+
336  }
+
337 
+
338 // Non-class mat3 Methods
+
340 
+
341  mat3 operator*( const GLfloat s, const mat3 &m ) {
+
342  return m * s;
+
343  }
+
344 
+
345  std::ostream &operator<<( std::ostream &os, const mat3 &m ) {
+
346  return os << std::endl << m[0] << std::endl << m[1] << std::endl << m[2]
+
347  << std::endl;
+
348  }
+
349 
+
350  std::istream &operator>>( std::istream &is, mat3 &m ) {
+
351  return is >> m._m[0] >> m._m[1] >> m._m[2];
+
352  }
+
353 
+
354  mat3 matrixCompMult( const mat3 &A, const mat3 &B ) {
+
355  return mat3( A[0][0] * B[0][0], A[0][1] * B[0][1], A[0][2] * B[0][2],
+
356  A[1][0] * B[1][0], A[1][1] * B[1][1], A[1][2] * B[1][2],
+
357  A[2][0] * B[2][0], A[2][1] * B[2][1], A[2][2] * B[2][2] );
+
358  }
+
359 
+
360  mat3 transpose( const mat3 &A ) {
+
361  return mat3( A[0][0], A[1][0], A[2][0], A[0][1], A[1][1], A[2][1], A[0][2],
+
362  A[1][2], A[2][2] );
+
363  }
+
364 
+
366 // Class: mat4
+
368 
+
369  // Constructors and Destructors
+
370  mat4::mat4( const GLfloat d ) {
+
371  _m[0].x = d;
+
372  _m[1].y = d;
+
373  _m[2].z = d;
+
374  _m[3].w = d;
+
375  }
+
376 
+
377  mat4::mat4( const vec4 &a, const vec4 &b, const vec4 &c, const vec4 &d ) {
+
378  _m[0] = a;
+
379  _m[1] = b;
+
380  _m[2] = c;
+
381  _m[3] = d;
+
382  }
+
383 
+
384  mat4::mat4( GLfloat m00, GLfloat m01, GLfloat m02, GLfloat m03, GLfloat m10,
+
385  GLfloat m11, GLfloat m12, GLfloat m13, GLfloat m20, GLfloat m21,
+
386  GLfloat m22, GLfloat m23, GLfloat m30, GLfloat m31, GLfloat m32,
+
387  GLfloat m33 ) {
+
388  _m[0] = vec4( m00, m01, m02, m03 );
+
389  _m[1] = vec4( m10, m11, m12, m13 );
+
390  _m[2] = vec4( m20, m21, m22, m23 );
+
391  _m[3] = vec4( m30, m31, m32, m33 );
+
392  }
+
393 
+
394  mat4::mat4( const mat4& m ) {
+
395  if ( *this != m ) {
+
396  _m[0] = m._m[0];
+
397  _m[1] = m._m[1];
+
398  _m[2] = m._m[2];
+
399  _m[3] = m._m[3];
+
400  }
+
401  }
+
402 
+
403  // Indexing Operator
+
405 
+
406  vec4 &mat4::operator[]( int i ) {
+
407  return _m[i];
+
408  }
+
409 
+
410  const vec4 &mat4::operator[]( int i ) const {
+
411  return _m[i];
+
412  }
+
413 
+
414  mat4 mat4::operator+( const mat4 &m ) const {
+
415  return mat4( _m[0] + m[0], _m[1] + m[1], _m[2] + m[2], _m[3] + m[3] );
+
416  }
+
417 
+
418  mat4 mat4::operator-( const mat4 &m ) const {
+
419  return mat4( _m[0] - m[0], _m[1] - m[1], _m[2] - m[2], _m[3] - m[3] );
+
420  }
+
421 
+
422  mat4 mat4::operator*( const GLfloat s ) const {
+
423  return mat4( s * _m[0], s * _m[1], s * _m[2], s * _m[3] );
+
424  }
+
425 
+
426  mat4 mat4::operator/( const GLfloat s ) const {
+
427 #ifdef DEBUG
+
428  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
429  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
430  << "Division by zero" << std::endl;
+
431  return mat4();
+
432  }
+
433 #endif // DEBUG
+
434  GLfloat r = GLfloat( 1.0 ) / s;
+
435  return *this * r;
+
436  }
+
437 
+
438  mat4 mat4::operator*( const mat4 &m ) const {
+
439  mat4 a( 0.0 );
+
440 
+
441  for ( int i = 0; i < 4; ++i ) {
+
442  for ( int j = 0; j < 4; ++j ) {
+
443  for ( int k = 0; k < 4; ++k ) {
+
444  a[i][j] += _m[i][k] * m[k][j];
+
445  }
+
446  }
+
447  }
+
448 
+
449  return a;
+
450  }
+
451 
+
452  mat4 &mat4::operator+=( const mat4 &m ) {
+
453  _m[0] += m[0];
+
454  _m[1] += m[1];
+
455  _m[2] += m[2];
+
456  _m[3] += m[3];
+
457  return *this;
+
458  }
+
459 
+
460  mat4 &mat4::operator-=( const mat4 &m ) {
+
461  _m[0] -= m[0];
+
462  _m[1] -= m[1];
+
463  _m[2] -= m[2];
+
464  _m[3] -= m[3];
+
465  return *this;
+
466  }
+
467 
+
468  mat4 &mat4::operator*=( const GLfloat s ) {
+
469  _m[0] *= s;
+
470  _m[1] *= s;
+
471  _m[2] *= s;
+
472  _m[3] *= s;
+
473  return *this;
+
474  }
+
475 
+
476  mat4 &mat4::operator*=( const mat4 &m ) {
+
477  mat4 a( 0.0 );
+
478 
+
479  for ( int i = 0; i < 4; ++i ) {
+
480  for ( int j = 0; j < 4; ++j ) {
+
481  for ( int k = 0; k < 4; ++k ) {
+
482  a[i][j] += _m[i][k] * m[k][j];
+
483  }
+
484  }
+
485  }
+
486 
+
487  return *this = a;
+
488  }
+
489 
+
490  mat4 &mat4::operator/=( const GLfloat s ) {
+
491 #ifdef DEBUG
+
492  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
493  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
494  << "Division by zero" << std::endl;
+
495  return (*this = mat4());
+
496  }
+
497 #endif // DEBUG
+
498  GLfloat r = GLfloat( 1.0 ) / s;
+
499  return *this *= r;
+
500  }
+
501 
+
502  vec4 mat4::operator*( const vec4 &v ) const {
+
503  return vec4(
+
504  _m[0][0] * v.x + _m[0][1] * v.y + _m[0][2] * v.z + _m[0][3] * v.w,
+
505  _m[1][0] * v.x + _m[1][1] * v.y + _m[1][2] * v.z + _m[1][3] * v.w,
+
506  _m[2][0] * v.x + _m[2][1] * v.y + _m[2][2] * v.z + _m[2][3] * v.w,
+
507  _m[3][0] * v.x + _m[3][1] * v.y + _m[3][2] * v.z + _m[3][3] * v.w );
+
508  }
+
509 
+
510  mat4::operator const GLfloat*() const {
+
511  return static_cast< const GLfloat* >( &_m[0].x );
+
512  }
+
513 
+
514  mat4::operator GLfloat*() {
+
515  return static_cast< GLfloat* >( &_m[0].x );
+
516  }
+
517 
+
518  // Non-class mat4 Methods
+
520 
+
521  mat4 operator*( const GLfloat s, const mat4 &m ) {
+
522  return m * s;
+
523  }
+
524 
+
525  vec4 operator*( const vec4 &v, const mat4 &_m ) {
+
526  return vec4(
+
527  _m[0][0] * v.x + _m[1][0] * v.y + _m[2][0] * v.z + _m[3][0] * v.w,
+
528  _m[0][1] * v.x + _m[1][1] * v.y + _m[2][1] * v.z + _m[3][1] * v.w,
+
529  _m[0][2] * v.x + _m[1][2] * v.y + _m[2][2] * v.z + _m[3][2] * v.w,
+
530  _m[0][3] * v.x + _m[1][3] * v.y + _m[2][3] * v.z + _m[3][3] * v.w );
+
531  }
+
532 
+
533  std::ostream &operator<<( std::ostream &os, const mat4 &m ) {
+
534  return os << std::endl << m[0] << std::endl << m[1] << std::endl << m[2]
+
535  << std::endl << m[3] << std::endl;
+
536  }
+
537 
+
538  std::istream &operator>>( std::istream &is, mat4 &m ) {
+
539  return is >> m._m[0] >> m._m[1] >> m._m[2] >> m._m[3];
+
540  }
+
541 
+
542  mat4 matrixCompMult( const mat4 &A, const mat4 &B ) {
+
543  return mat4( A[0][0] * B[0][0], A[0][1] * B[0][1], A[0][2] * B[0][2],
+
544  A[0][3] * B[0][3], A[1][0] * B[1][0], A[1][1] * B[1][1],
+
545  A[1][2] * B[1][2], A[1][3] * B[1][3], A[2][0] * B[2][0],
+
546  A[2][1] * B[2][1], A[2][2] * B[2][2], A[2][3] * B[2][3],
+
547  A[3][0] * B[3][0], A[3][1] * B[3][1], A[3][2] * B[3][2],
+
548  A[3][3] * B[3][3] );
+
549  }
+
550 
+
551  mat4 transpose( const mat4& A ) {
+
552  return mat4( A[0][0], A[1][0], A[2][0], A[3][0], A[0][1], A[1][1], A[2][1],
+
553  A[3][1], A[0][2], A[1][2], A[2][2], A[3][2], A[0][3], A[1][3],
+
554  A[2][3], A[3][3] );
+
555  }
+
556 
+
557  mat4 RotateX( const GLfloat theta ) {
+
558  GLfloat angle = DEGREES_TO_RADIANS * theta;
+
559 
+
560  mat4 c;
+
561  c[2][2] = c[1][1] = cos( angle );
+
562  c[2][1] = sin( angle );
+
563  c[1][2] = -c[2][1];
+
564  return c;
+
565  }
+
566 
+
567  mat4 RotateY( const GLfloat theta ) {
+
568  GLfloat angle = DEGREES_TO_RADIANS * theta;
+
569 
+
570  mat4 c;
+
571  c[2][2] = c[0][0] = cos( angle );
+
572  c[0][2] = sin( angle );
+
573  c[2][0] = -c[0][2];
+
574  return c;
+
575  }
+
576 
+
577  mat4 RotateZ( const GLfloat theta ) {
+
578  GLfloat angle = DEGREES_TO_RADIANS * theta;
+
579 
+
580  mat4 c;
+
581  c[0][0] = c[1][1] = cos( angle );
+
582  c[1][0] = sin( angle );
+
583  c[0][1] = -c[1][0];
+
584  return c;
+
585  }
+
586 
+
587  mat4 Translate( const GLfloat x, const GLfloat y, const GLfloat z ) {
+
588  mat4 c;
+
589  c[0][3] = x;
+
590  c[1][3] = y;
+
591  c[2][3] = z;
+
592  return c;
+
593  }
+
594 
+
595  mat4 Translate( const vec3& v ) {
+
596  return Translate( v.x, v.y, v.z );
+
597  }
+
598 
+
599  mat4 Translate( const vec4& v ) {
+
600  return Translate( v.x, v.y, v.z );
+
601  }
+
602 
+
603  mat4 Scale( const GLfloat x, const GLfloat y, const GLfloat z ) {
+
604  mat4 c;
+
605  c[0][0] = x;
+
606  c[1][1] = y;
+
607  c[2][2] = z;
+
608  return c;
+
609  }
+
610 
+
611  mat4 Scale( const vec3& v ) {
+
612  return Scale( v.x, v.y, v.z );
+
613  }
+
614 
+
615  //------------------------------------------------------------------------
+
616  //
+
617  // Projection transformation matrix geneartors
+
618  //
+
619  // Note: Microsoft Windows (r) defines the keyword "far" in C/C++. In
+
620  // order to avoid any name conflicts, we use the variable names
+
621  // "zNear" to reprsent "near", and "zFar" to reprsent "far".
+
622  //
+
623 
+
624  mat4 Ortho( const GLfloat left, const GLfloat right, const GLfloat bottom,
+
625  const GLfloat top, const GLfloat zNear, const GLfloat zFar ) {
+
626  mat4 c;
+
627  c[0][0] = 2.0 / (right - left);
+
628  c[1][1] = 2.0 / (top - bottom);
+
629  c[2][2] = 2.0 / (zNear - zFar);
+
630  c[3][3] = 1.0;
+
631  c[0][3] = -(right + left) / (right - left);
+
632  c[1][3] = -(top + bottom) / (top - bottom);
+
633  c[2][3] = -(zFar + zNear) / (zFar - zNear);
+
634  return c;
+
635  }
+
636 
+
637  mat4 Ortho2D( const GLfloat left, const GLfloat right, const GLfloat bottom,
+
638  const GLfloat top ) {
+
639  return Ortho( left, right, bottom, top, -1.0, 1.0 );
+
640  }
+
641 
+
642  mat4 Frustum( const GLfloat left, const GLfloat right, const GLfloat bottom,
+
643  const GLfloat top, const GLfloat zNear, const GLfloat zFar ) {
+
644  mat4 c;
+
645  c[0][0] = 2.0 * zNear / (right - left);
+
646  c[0][2] = (right + left) / (right - left);
+
647  c[1][1] = 2.0 * zNear / (top - bottom);
+
648  c[1][2] = (top + bottom) / (top - bottom);
+
649  c[2][2] = -(zFar + zNear) / (zFar - zNear);
+
650  c[2][3] = -2.0 * zFar * zNear / (zFar - zNear);
+
651  c[3][2] = -1.0;
+
652  return c;
+
653  }
+
654 
+
655  mat4 Perspective( const GLfloat fovy, const GLfloat aspect,
+
656  const GLfloat zNear, const GLfloat zFar ) {
+
657  GLfloat top = tan( fovy * DEGREES_TO_RADIANS / 2 ) * zNear;
+
658  GLfloat right = top * aspect;
+
659 
+
660  mat4 c;
+
661  c[0][0] = zNear / right;
+
662  c[1][1] = zNear / top;
+
663  c[2][2] = -(zFar + zNear) / (zFar - zNear);
+
664  c[2][3] = -2.0 * zFar * zNear / (zFar - zNear);
+
665  c[3][2] = -1.0;
+
666  return c;
+
667  }
+
668 
+
669  mat4 LookAt( const vec4& eye, const vec4& at, const vec4& up ) {
+
670  vec4 n = normalize( eye - at );
+
671  vec4 u = normalize( cross( up, n ) );
+
672  vec4 v = normalize( cross( n, u ) );
+
673  vec4 t = vec4( 0.0, 0.0, 0.0, 1.0 );
+
674  mat4 c = mat4( u, v, n, t );
+
675  return c * Translate( -eye );
+
676  }
+
677 
+
678 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/mat_8hpp.html b/Doxygen/Docs/html/mat_8hpp.html new file mode 100644 index 00000000..5b103d0e --- /dev/null +++ b/Doxygen/Docs/html/mat_8hpp.html @@ -0,0 +1,215 @@ + + + + + +HyperGrafx: mat.hpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
mat.hpp File Reference
+
+
+ +

Headers for the mat2, mat3, and mat4 classes and related utilities. +More...

+
#include <cstdio>
+#include "vec.hpp"
+
+

Go to the source code of this file.

+ + + + + + + + +

+Classes

class  Angel::mat2
 mat2 - 2D square matrix. More...
class  Angel::mat3
 mat3 - 3D square matrix. More...
class  Angel::mat4
 mat4 - 4D square matrix. More...
+ + +

+Macros

#define ERROR(str)
+ + + + + + + + + + + + + + + + + + + + +

+Functions

+mat2 Angel::matrixCompMult (const mat2 &A, const mat2 &B)
+mat2 Angel::transpose (const mat2 &A)
+mat3 Angel::matrixCompMult (const mat3 &A, const mat3 &B)
+mat3 Angel::transpose (const mat3 &A)
+mat4 Angel::matrixCompMult (const mat4 &A, const mat4 &B)
+mat4 Angel::transpose (const mat4 &A)
+mat4 Angel::RotateX (const GLfloat theta)
+mat4 Angel::RotateY (const GLfloat theta)
+mat4 Angel::RotateZ (const GLfloat theta)
+mat4 Angel::Translate (const GLfloat x, const GLfloat y, const GLfloat z)
+mat4 Angel::Translate (const vec3 &v)
+mat4 Angel::Translate (const vec4 &v)
+mat4 Angel::Scale (const GLfloat x, const GLfloat y, const GLfloat z)
+mat4 Angel::Scale (const vec3 &v)
+mat4 Angel::Ortho (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar)
+mat4 Angel::Ortho2D (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top)
+mat4 Angel::Frustum (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar)
+mat4 Angel::Perspective (const GLfloat fovy, const GLfloat aspect, const GLfloat zNear, const GLfloat zFar)
+mat4 Angel::LookAt (const vec4 &eye, const vec4 &at, const vec4 &up)
+

Detailed Description

+

Headers for the mat2, mat3, and mat4 classes and related utilities.

+
Author
Ed Angel
+
Authors
Ed Angel, John Huston
+
Date
2012-12-04
+

Modified from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition Addison-Wesley 2012

+ +

Definition in file mat.hpp.

+

Macro Definition Documentation

+ +
+
+ + + + + + + + +
#define ERROR( str)
+
+Value:
do { \
+
std::cerr << "[" __FILE__ ":" << __LINE__ << "] " \
+
<< str << std::endl; } while(0)
+
+

Definition at line 206 of file mat.hpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/mat_8hpp.js b/Doxygen/Docs/html/mat_8hpp.js new file mode 100644 index 00000000..75590c39 --- /dev/null +++ b/Doxygen/Docs/html/mat_8hpp.js @@ -0,0 +1,26 @@ +var mat_8hpp = +[ + [ "mat2", "class_angel_1_1mat2.html", "class_angel_1_1mat2" ], + [ "mat3", "class_angel_1_1mat3.html", "class_angel_1_1mat3" ], + [ "mat4", "class_angel_1_1mat4.html", "class_angel_1_1mat4" ], + [ "ERROR", "mat_8hpp.html#a39b3cc118c8339855e5578335a0b2417", null ], + [ "Frustum", "mat_8hpp.html#a5775b27ec156cd2166a59bf038dc8efc", null ], + [ "LookAt", "mat_8hpp.html#aee52b8fa583cbbe460e2e80c05b59f8b", null ], + [ "matrixCompMult", "mat_8hpp.html#a14b1d7bed352f45380d7fc26e2553627", null ], + [ "matrixCompMult", "mat_8hpp.html#a9eeab51adba3f19cca17e5007844f2a1", null ], + [ "matrixCompMult", "mat_8hpp.html#a3cc32f2aec8c1c7e609c31183eebf2e6", null ], + [ "Ortho", "mat_8hpp.html#a65a39c6b9bbbce0463d958e58cdf8a3c", null ], + [ "Ortho2D", "mat_8hpp.html#a8db02bcc2094985f2a168ab3f0dce68e", null ], + [ "Perspective", "mat_8hpp.html#ad20afa7adfcc4d26d4be0c322548549a", null ], + [ "RotateX", "mat_8hpp.html#a96a871db89bb8218473c75b8070d2a04", null ], + [ "RotateY", "mat_8hpp.html#aa8ddbf81e6fa21bd53c5d5ce840a7403", null ], + [ "RotateZ", "mat_8hpp.html#a564ee33689e28c95aedcc5a77aed1d33", null ], + [ "Scale", "mat_8hpp.html#a6ca60025898ba656cd588541df87f310", null ], + [ "Scale", "mat_8hpp.html#a57bd024e120ad05fe0c00081286eeb18", null ], + [ "Translate", "mat_8hpp.html#a4dabf5bcf7d7332f54e66178feab9c16", null ], + [ "Translate", "mat_8hpp.html#ae9591a5b2e2e59fa0534460a16520a42", null ], + [ "Translate", "mat_8hpp.html#af51ee9500415015b6ba400cea2ab757f", null ], + [ "transpose", "mat_8hpp.html#a13237552df8019e7c7c041491185a5b7", null ], + [ "transpose", "mat_8hpp.html#abea2dfb557c756bfb69c596852e6b096", null ], + [ "transpose", "mat_8hpp.html#a1a4a07580fa9c63f32cca223177496dd", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/mat_8hpp_source.html b/Doxygen/Docs/html/mat_8hpp_source.html new file mode 100644 index 00000000..9880ffae --- /dev/null +++ b/Doxygen/Docs/html/mat_8hpp_source.html @@ -0,0 +1,307 @@ + + + + + +HyperGrafx: mat.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
mat.hpp
+
+
+Go to the documentation of this file.
1 
+
17 #ifndef __ANGEL_MAT_H__
+
18 #define __ANGEL_MAT_H__
+
19 
+
20 #include <cstdio>
+
21 #include "vec.hpp"
+
22 
+
23 namespace Angel {
+
24 
+
25  // mat2 - 2D square matrix
+
36  class mat2 {
+
37 
+
39  vec2 _m[2];
+
40 
+
41  public:
+
42  // --- Constructors and Destructors ---
+
43  mat2( const GLfloat d = GLfloat( 1.0 ) ); // Create a diagional matrix
+
44  mat2( const vec2& a, const vec2& b );
+
45  mat2( GLfloat m00, GLfloat m10, GLfloat m01, GLfloat m11 );
+
46  mat2( const mat2& m );
+
47 
+
48  // --- Indexing Operator ---
+
49  vec2& operator []( int i );
+
50  const vec2& operator []( int i ) const;
+
51 
+
52  // --- (non-modifying) Arithmatic Operators ---
+
53  mat2 operator +( const mat2& m ) const;
+
54  mat2 operator -( const mat2& m ) const;
+
55  mat2 operator *( const GLfloat s ) const;
+
56  mat2 operator /( const GLfloat s ) const;
+
57  friend mat2 operator *( const GLfloat s, const mat2& m );
+
58  mat2 operator *( const mat2& m ) const;
+
59 
+
60  // --- (modifying) Arithmetic Operators ---
+
61  mat2& operator +=( const mat2& m );
+
62  mat2& operator -=( const mat2& m );
+
63  mat2& operator *=( const GLfloat s );
+
64  mat2& operator *=( const mat2& m );
+
65  mat2& operator /=( const GLfloat s );
+
66 
+
67  // --- Matrix / Vector operators ---
+
68  vec2 operator *( const vec2& v ) const;
+
69 
+
70  // --- Insertion and Extraction Operators ---
+
71  friend std::ostream &operator<<( std::ostream &os, const mat2 &m );
+
72  friend std::istream &operator>>( std::istream &is, mat2 &m );
+
73 
+
74  // --- Conversion Operators ---
+
75  operator const GLfloat*() const;
+
76  operator GLfloat*();
+
77 
+
78  };
+
79 
+
80  // --- Non-class mat2 Methods ---
+
81  mat2 matrixCompMult( const mat2& A, const mat2& B );
+
82  mat2 transpose( const mat2& A );
+
83 
+
94  class mat3 {
+
95  vec3 _m[3];
+
96  public:
+
97 
+
98  // --- Constructors and Destructors ---
+
99  mat3( const GLfloat d = GLfloat( 1.0 ) ); // Create a diagional matrix
+
100  mat3( const vec3& a, const vec3& b, const vec3& c );
+
101  mat3( GLfloat m00, GLfloat m10, GLfloat m20, GLfloat m01, GLfloat m11,
+
102  GLfloat m21, GLfloat m02, GLfloat m12, GLfloat m22 );
+
103  mat3( const mat3& m );
+
104 
+
105  // --- Indexing Operator ---
+
106  vec3& operator []( int i );
+
107  const vec3& operator []( int i ) const;
+
108 
+
109  // --- (non-modifying) Arithmatic Operators ---
+
110  mat3 operator +( const mat3& m ) const;
+
111  mat3 operator -( const mat3& m ) const;
+
112  mat3 operator *( const GLfloat s ) const;
+
113  mat3 operator /( const GLfloat s ) const;
+
114  friend mat3 operator *( const GLfloat s, const mat3& m );
+
115  mat3 operator *( const mat3& m ) const;
+
116 
+
117  // --- (modifying) Arithmetic Operators ---
+
118  mat3& operator +=( const mat3& m );
+
119  mat3& operator -=( const mat3& m );
+
120  mat3& operator *=( const GLfloat s );
+
121  mat3& operator *=( const mat3& m );
+
122  mat3& operator /=( const GLfloat s );
+
123 
+
124  // --- Matrix / Vector operators ---
+
125  vec3 operator *( const vec3& v ) const;
+
126 
+
127  // --- Insertion and Extraction Operators ---
+
128  friend std::ostream &operator<<( std::ostream &os, const mat3 &m );
+
129  friend std::istream &operator>>( std::istream &is, mat3 &m );
+
130 
+
131  // --- Conversion Operators ---
+
132  operator const GLfloat*() const;
+
133  operator GLfloat*();
+
134  };
+
135 
+
136  // --- Non-class mat3 Methods ---
+
137  mat3 matrixCompMult( const mat3& A, const mat3& B );
+
138  mat3 transpose( const mat3& A );
+
139 
+
150  class mat4 {
+
151 
+
152  vec4 _m[4];
+
153 
+
154  public:
+
155 
+
156  // --- Constructors and Destructors ---
+
157  mat4( const GLfloat d = GLfloat( 1.0 ) ); // Create a diagional matrix
+
158  mat4( const vec4& a, const vec4& b, const vec4& c, const vec4& d );
+
159  mat4( GLfloat m00, GLfloat m01, GLfloat m02, GLfloat m03, GLfloat m10,
+
160  GLfloat m11, GLfloat m12, GLfloat m13, GLfloat m20, GLfloat m21,
+
161  GLfloat m22, GLfloat m23, GLfloat m30, GLfloat m31, GLfloat m32,
+
162  GLfloat m33 );
+
163  mat4( const mat4& m );
+
164 
+
165  // --- Indexing Operator ---
+
166  vec4& operator []( int i );
+
167  const vec4& operator []( int i ) const;
+
168 
+
169  // --- (non-modifying) Arithematic Operators ---
+
170  mat4 operator+( const mat4& m ) const;
+
171  mat4 operator-( const mat4& m ) const;
+
172  mat4 operator*( const GLfloat s ) const;
+
173  mat4 operator/( const GLfloat s ) const;
+
174  friend mat4 operator*( const GLfloat s, const mat4& m );
+
175  friend vec4 operator*( const vec4 &v, const mat4& _m );
+
176  mat4 operator*( const mat4& m ) const;
+
177 
+
178  // --- (modifying) Arithematic Operators ---
+
179  mat4& operator +=( const mat4& m );
+
180  mat4& operator -=( const mat4& m );
+
181  mat4& operator *=( const GLfloat s );
+
182  mat4& operator *=( const mat4& m );
+
183  mat4& operator /=( const GLfloat s );
+
184 
+
185  // --- Matrix / Vector operators ---
+
186  vec4 operator *( const vec4& v ) const;
+
187 
+
188  // --- Insertion and Extraction Operators ---
+
189  friend std::ostream& operator <<( std::ostream& os, const mat4& m );
+
190  friend std::istream& operator >>( std::istream& is, mat4& m );
+
191 
+
192  // --- Conversion Operators ---
+
193  operator const GLfloat*() const;
+
194  operator GLfloat*();
+
195 
+
196  };
+
197 
+
198  // --- Non-class mat4 Methods ---
+
199  mat4 matrixCompMult( const mat4& A, const mat4& B );
+
200  mat4 transpose( const mat4& A );
+
201 
+
202  /************************************************************************/
+
203  // Helpful Matrix Methods
+
204  /************************************************************************/
+
205 
+
206 #define ERROR( str ) do { \
+
207  std::cerr << "[" __FILE__ ":" << __LINE__ << "] " \
+
208  << str << std::endl; } while(0)
+
209 
+
210  mat4 RotateX( const GLfloat theta );
+
211  mat4 RotateY( const GLfloat theta );
+
212  mat4 RotateZ( const GLfloat theta );
+
213  // Translation matrix generators
+
214  mat4 Translate( const GLfloat x, const GLfloat y, const GLfloat z );
+
215  mat4 Translate( const vec3& v );
+
216  mat4 Translate( const vec4& v );
+
217  // Scale matrix generators
+
218  mat4 Scale( const GLfloat x, const GLfloat y, const GLfloat z );
+
219  mat4 Scale( const vec3& v );
+
220  // Projection transformation matrix geneartors
+
221  mat4 Ortho( const GLfloat left, const GLfloat right, const GLfloat bottom,
+
222  const GLfloat top, const GLfloat zNear, const GLfloat zFar );
+
223  mat4 Ortho2D( const GLfloat left, const GLfloat right, const GLfloat bottom,
+
224  const GLfloat top );
+
225  mat4 Frustum( const GLfloat left, const GLfloat right, const GLfloat bottom,
+
226  const GLfloat top, const GLfloat zNear, const GLfloat zFar );
+
227  mat4 Perspective( const GLfloat fovy, const GLfloat aspect,
+
228  const GLfloat zNear, const GLfloat zFar );
+
229  // Viewing transformation matrix generation
+
230  mat4 LookAt( const vec4& eye, const vec4& at, const vec4& up );
+
231 
+
232 } // namespace Angel
+
233 
+
234 #endif // __ANGEL_MAT_H__
+
+
+ + + + diff --git a/Doxygen/Docs/html/model_8cpp.html b/Doxygen/Docs/html/model_8cpp.html new file mode 100644 index 00000000..3f8877b6 --- /dev/null +++ b/Doxygen/Docs/html/model_8cpp.html @@ -0,0 +1,1020 @@ + + + + + +HyperGrafx: model.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
model.cpp File Reference
+
+
+ +

Functions related to constructing simple geometry. +More...

+
#include "globals.h"
+#include "Object.hpp"
+#include "Timer.hpp"
+#include "vec.hpp"
+#include <cmath>
+#include <iostream>
+#include <fstream>
+#include <sstream>
+#include <vector>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + +

+Macros

#define QUAD(A, B, C, D)
 A macro to help quickly call quad() with correct parameters.
+#define OFFSET_AT(X, Z)   ((X)*S+(Z))
 Gives the one-dimensional index offset for a buffer given the terrain's X,Z coordinates.
+#define VERTEX_AT(X, Z)   (vec.at(OFFSET_AT(X,Z)))
 Gives the vertex for the terrain data at (X,Z).
+#define HEIGHT_AT(X, Z)   (VERTEX_AT(X,Z).y)
 Returns the height as a float for these terrain coordinates.
+#define COLOR_AT(X, Z)   (col.at(OFFSET_AT(X,Z)))
 Returns the color vector for the terrain data at (X,Z).
+#define TEX_UV_AT(X, Z)   (txy.at(OFFSET_AT(X,Z)))
 Returns the Texture UV (vec2) for the terrain at (X,Z).
+#define NORMAL_AT(X, Z)   (nor.at(OFFSET_AT(X,Z)))
 Returns the Normal vec3 for the terrain at (X,Z).
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void createPoint (Object *obj, Point4 const &the_point, Color4 const &the_color, vec3 const &the_normal)
 Adds another vertex to the specified object.
void triangle (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const int color)
 Creates a triangle primitive from three spatial coordinates.
Point4 unit (const Point4 &p)
 Ed Angel utility function: Used to normalize a vector.
void divideTriangle (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, int timesToRecurse, int color)
 Used in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles.
void tetra (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d)
 Creates a tetrahedron using four triangles.
void sierpinskiPyramid (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int count)
 Forms a Sierpinski Pyramid object given four 4D _vertices in space.
void recursiveModelGen (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int timesToRecurse, int color)
 Given a quadrilateral, splits it up into smaller quadrilaterals.
void sphere (Object *obj)
 Creates a white sphere.
void quad (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, const Color4 &A, const Color4 &B, const Color4 &C, const Color4 &D)
 Create a quadrilateral from four _vertices and four _colors.
void cube (Object *obj, const GLfloat &size, const Color4 colors[8])
 Create a cube of a given size fixed at the origin, using the eight _colors specified.
void colorCube (Object *obj, GLfloat size)
 Creates a cube of a given size fixed at the origin, using all eight primary _colors.
float randFloat (void)
 Return a randomized float value!
double jitter (double H)
 Returns a random float between [-H,H].
vec3 calcNormal (Point4 &a, Point4 &b, Point4 &c)
 Calculate the vector normal to the triangle formed by three _vertices.
double landGen (Object *obj, int N, float H)
 Use the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc.
void makeAgua (Object *land_obj, Object *agua_obj)
 Adds a blue quadrilateral to an already-generated terrain object to create the appearance of water.
+

Detailed Description

+

Functions related to constructing simple geometry.

+
Authors
Ed Angel, John Huston, Chris Compton, Nick St.Pierre
+
Date
2013-03-14
+ +

Definition in file model.cpp.

+

Macro Definition Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define QUAD( A,
 B,
 C,
 D 
)
+
+Value:
quad( obj, vertices[A], vertices[B], vertices[C], vertices[D], \
+
colors[A], colors[B], colors[C], colors[D] );
+
+

A macro to help quickly call quad() with correct parameters.

+
See Also
quad().
+ +

Definition at line 263 of file model.cpp.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
vec3 calcNormal (Point4 & a,
Point4 & b,
Point4 & c 
)
+
+ +

Calculate the vector normal to the triangle formed by three _vertices.

+
Parameters
+ + + + +
aFirst vertex.
bSecond vertex.
cThird vertex.
+
+
+
Returns
The vector normal to the plane formed by the triangle a,b,c.
+ +

Definition at line 347 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void colorCube (Object * obj,
GLfloat size 
)
+
+ +

Creates a cube of a given size fixed at the origin, using all eight primary _colors.

+

Creates a cube of a given size fixed at the origin, using all eight primary colors.

+
Parameters
+ + + +
objThe object to add the geometry to.
sizeThe size of the cube to create.
+
+
+ +

Definition at line 305 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void createPoint (Object * obj,
Point4 const & the_point,
Color4 const & the_color,
vec3 const & the_normal 
)
+
+ +

Adds another vertex to the specified object.

+
Parameters
+ + + + + +
objThe object to add the vertex to.
the_pointThe 4d spatial coordinate of the vertex.
the_colorThe vec4 specifying the RGBA color value of the vertex.
the_normalThe vec3 that specifies the normal for this vertex.
+
+
+ +

Definition at line 37 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void cube (Object * obj,
const GLfloat & size,
const Color4 colors[8] 
)
+
+ +

Create a cube of a given size fixed at the origin, using the eight _colors specified.

+

Create a cube of a given size fixed at the origin, using the eight colors specified.

+
Parameters
+ + + + +
objThe object to add the geometry to.
sizeThe size of the cube to create.
colorsAn array of eight _colors for the vertices.
+
+
+ +

Definition at line 275 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void divideTriangle (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
int timesToRecurse,
int color 
)
+
+ +

Used in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles.

+
Parameters
+ + + + + + + +
objThe object to add the triangles to.
aThe first spatial coordinate for the triangle.
bThe second spatial coordinate for the triangle.
cThe third spatial coordinate for the triangle.
timesToRecurseThe number of times to subdivide.
colorAn index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White }
+
+
+ +

Definition at line 118 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + +
double jitter (double H)
+
+ +

Returns a random float between [-H,H].

+
Parameters
+ + +
HThe range for the random float.
+
+
+
Returns
a random float between [-H,H].
+ +

Definition at line 335 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
double landGen (Object * obj,
int N,
float H 
)
+
+ +

Use the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc.

+
Parameters
+ + + + +
objThe object to add the geometry to.
NThe size of the terrain: Will be n^2 x n^2 evenly spaced vertices.
HThe height 'randomness' factor.
+
+
+
Returns
The maximum height actually achieved in this terrain generation.
+ +

Definition at line 397 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void makeAgua (Object * land_obj,
Object * agua_obj 
)
+
+ +

Adds a blue quadrilateral to an already-generated terrain object to create the appearance of water.

+
Parameters
+ + + +
land_obj
agua_obj
+
+
+

What should the water's height be?

+ +

Definition at line 558 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void quad (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
const Point4 & d,
const Color4 & A,
const Color4 & B,
const Color4 & C,
const Color4 & D 
)
+
+ +

Create a quadrilateral from four _vertices and four _colors.

+

Create a quadrilateral from four points and four colors.

+
Parameters
+ + + + + + + + + + +
objThe object to add the geometry to.
aThe first spatial point.
bThe second spatial point.
cThe third spatial point.
dThe fourth spatial point.
AThe color of the first point.
BThe color of the second point.
CThe color of the third point.
DThe color of the fourth point.
+
+
+ +

Definition at line 237 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + +
float randFloat (void )
+
+ +

Return a randomized float value!

+
Returns
A random float, just for you!
+ +

Definition at line 326 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void recursiveModelGen (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
const Point4 & d,
int timesToRecurse,
int color 
)
+
+ +

Given a quadrilateral, splits it up into smaller quadrilaterals.

+

Used in the generation of spheres! FIXME: Nick St.Pierre (Documentation!)

+
Parameters
+ + + + + + + + +
objThe object to add the geometry to.
aThe first spatial coordinate.
bThe second spatial coordinate.
cThe third spatial coordinate.
dThe fourth spatial coordinate.
timesToRecurseThe number of subdivisions to make.
colorAn index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White }
+
+
+ +

Definition at line 195 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void sierpinskiPyramid (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
const Point4 & d,
int count 
)
+
+ +

Forms a Sierpinski Pyramid object given four 4D _vertices in space.

+

Forms a Sierpinski Pyramid object given four 4D points in space.

+
Parameters
+ + + + + + + +
objThe object to add the geometry to.
aThe first coordinate.
bThe second coordinate.
cThe third coordinate.
dThe fourth coordinate.
countThe number of recursions to perform to construct the gasket.
+
+
+ +

Definition at line 163 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void sphere (Object * obj)
+
+ +

Creates a white sphere.

+
Parameters
+ + +
objThe object to add the geometry to.
+
+
+ +

Definition at line 210 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void tetra (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
const Point4 & d 
)
+
+ +

Creates a tetrahedron using four triangles.

+

(12 vertices.)

+
Parameters
+ + + + + + +
objThe object to add the Tetrahedron to/
aThe first spatial coordinate for the tetrahedron.
bThe second spatial coordinate for the tetrahedron.
cThe third spatial coordinate for the tetrahedron.
dThe fourth spatial coordinate for the tetrahedron.
+
+
+ +

Definition at line 144 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void triangle (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
const int color 
)
+
+ +

Creates a triangle primitive from three spatial coordinates.

+
Parameters
+ + + + + + +
objThe object to add the triangle to.
aThe location of the first vertex.
bThe location of the second vertex.
cThe location of the third vertex.
colorAn index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White }
+
+
+ +

Definition at line 56 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Point4 unit (const Point4 & p)
+
+ +

Ed Angel utility function: Used to normalize a vector.

+

TODO: Is this a redundant version of Angel::normalize?

+
Parameters
+ + +
p
+
+
+
Returns
+ +

Definition at line 88 of file model.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/model_8cpp.js b/Doxygen/Docs/html/model_8cpp.js new file mode 100644 index 00000000..9ddb238f --- /dev/null +++ b/Doxygen/Docs/html/model_8cpp.js @@ -0,0 +1,26 @@ +var model_8cpp = +[ + [ "COLOR_AT", "model_8cpp.html#aada0e82137280db20b9a7bbb864a8049", null ], + [ "HEIGHT_AT", "model_8cpp.html#ad66b9c54b345ca798421773a162babe4", null ], + [ "NORMAL_AT", "model_8cpp.html#a6087c247abe3d7f3a87c6121a25f3bb9", null ], + [ "OFFSET_AT", "model_8cpp.html#a3ad4ef4bd3a5cf6b3327c8c935ee78e8", null ], + [ "QUAD", "model_8cpp.html#a876c92757e616a414576f3183cb49b17", null ], + [ "TEX_UV_AT", "model_8cpp.html#a4535f7729a3c0127c4bb32caa100d2cf", null ], + [ "VERTEX_AT", "model_8cpp.html#a1c8dfc5517ca1ada9923877cfc0783e4", null ], + [ "calcNormal", "model_8cpp.html#a63c9b090c6711fd0199e748c064b33e9", null ], + [ "colorCube", "model_8cpp.html#a9aeb9d305a36f39f25137645d75eaa95", null ], + [ "createPoint", "model_8cpp.html#ac902b9394c319b5d0ffa1a0071f6e504", null ], + [ "cube", "model_8cpp.html#a88b94550b90fbfab004aabc334260615", null ], + [ "divideTriangle", "model_8cpp.html#aa897b7167b0e40599c4735cf0ac0d24c", null ], + [ "jitter", "model_8cpp.html#a1c53f4777590deb64c28e8ebb64a321d", null ], + [ "landGen", "model_8cpp.html#a578108fa151d2df77af6ae4585c4bccc", null ], + [ "makeAgua", "model_8cpp.html#ad759245db436eebefc9a921e882bca3b", null ], + [ "quad", "model_8cpp.html#a787f4c226d43da564315b1b8aefac6cc", null ], + [ "randFloat", "model_8cpp.html#a476a380b7a6a48dc7d762716b041def8", null ], + [ "recursiveModelGen", "model_8cpp.html#abaad50597737c633264748efecf95c14", null ], + [ "sierpinskiPyramid", "model_8cpp.html#a91ce6a85aa63ffb60c564014e4d060b1", null ], + [ "sphere", "model_8cpp.html#a152e6c0e91107b949df03ca399251fd8", null ], + [ "tetra", "model_8cpp.html#a9329f4c58e0cbb25cadc1238698efedb", null ], + [ "triangle", "model_8cpp.html#a133b051eb2aaf6c9d8dee920155a19c1", null ], + [ "unit", "model_8cpp.html#a91cf20a293963e386f47242761f62e4e", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/model_8cpp_source.html b/Doxygen/Docs/html/model_8cpp_source.html new file mode 100644 index 00000000..e95d79bb --- /dev/null +++ b/Doxygen/Docs/html/model_8cpp_source.html @@ -0,0 +1,541 @@ + + + + + +HyperGrafx: model.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
model.cpp
+
+
+Go to the documentation of this file.
1 
+
8 #include "globals.h"
+
9 #include "Object.hpp"
+
10 #include "Timer.hpp"
+
11 #include "vec.hpp"
+
12 #include <cmath>
+
13 using namespace Angel;
+
14 
+
15 #include <iostream>
+
16 #include <fstream>
+
17 #include <sstream>
+
18 #include <vector>
+
19 
+
20 using std::vector;
+
21 using std::fstream;
+
22 using std::ifstream;
+
23 using std::istringstream;
+
24 using std::string;
+
25 using std::ios;
+
26 using std::cerr;
+
27 using std::endl;
+
28 
+
37 void createPoint( Object *obj, Point4 const &the_point, Color4 const &the_color,
+
38  vec3 const &the_normal ) {
+
39 
+
40  obj->_vertices.push_back( the_point );
+
41  obj->_colors.push_back( the_color );
+
42  obj->_normals.push_back( the_normal );
+
43 
+
44 }
+
45 
+
56 void triangle( Object *obj, const Point4& a, const Point4& b, const Point4& c,
+
57  const int color ) {
+
58 
+
59  static vec4 base_colors[] = { vec4( 1.0, 0.0, 0.0, 1.0 ), /* R */
+
60  vec4( 0.0, 1.0, 0.0, 1.0 ), /* G */
+
61  vec4( 0.0, 0.0, 1.0, 1.0 ), /* B */
+
62  vec4( 1.0, 1.0, 0.0, 1.0 ), /* Y */
+
63  vec4( 0.4, 0.1, 0.8, 1.0 ), /* P */
+
64  vec4( 1.0, 1.0, 1.0, 1.0 ) /* W */
+
65  };
+
66 
+
67  // Initialize temporary vectors along the quad's edge to
+
68  // compute its face normal
+
69 
+
70  vec3 u = normalize( vec3( b.x - a.x, b.y - a.y, b.z - a.z ) );
+
71  vec3 v = normalize( vec3( c.x - b.x, c.y - b.y, c.z - b.z ) );
+
72 
+
73  vec3 normal = normalize( cross( u, v ) );
+
74 
+
75  createPoint( obj, a, base_colors[color], normal );
+
76  createPoint( obj, b, base_colors[color], normal );
+
77  createPoint( obj, c, base_colors[color], normal );
+
78 
+
79 }
+
80 
+
88 Point4 unit( const Point4 &p ) {
+
89  Point4 c;
+
90  double d = 0.0;
+
91 
+
92  for ( int i = 0; i < 3; i++ )
+
93  d += p[i] * p[i];
+
94 
+
95  d = sqrt( d );
+
96 
+
97  if ( d > 0.0 ) for ( int i = 0; i < 3; i++ )
+
98  c[i] = p[i] / d;
+
99 
+
100  c[3] = 1.0;
+
101 
+
102  return c;
+
103 
+
104 }
+
105 
+
118 void divideTriangle( Object *obj, const Point4& a, const Point4& b,
+
119  const Point4& c, int timesToRecurse, int color ) {
+
120 
+
121  Point4 v1, v2, v3;
+
122 
+
123  if ( timesToRecurse > 0 ) {
+
124  v1 = unit( a + b );
+
125  v2 = unit( a + c );
+
126  v3 = unit( b + c );
+
127 
+
128  divideTriangle( obj, a, v2, v1, timesToRecurse - 1, color );
+
129  divideTriangle( obj, c, v3, v2, timesToRecurse - 1, color );
+
130  divideTriangle( obj, b, v1, v3, timesToRecurse - 1, color );
+
131  divideTriangle( obj, v1, v2, v3, timesToRecurse - 1, color );
+
132  } else triangle( obj, a, b, c, color );
+
133 }
+
134 
+
144 void tetra( Object *obj, const Point4& a, const Point4& b, const Point4& c,
+
145  const Point4& d ) {
+
146 
+
147  triangle( obj, a, b, c, 0 );
+
148  triangle( obj, a, c, d, 1 );
+
149  triangle( obj, a, d, b, 2 ); // old triangle( a, d, b, 2 );
+
150  triangle( obj, d, c, b, 3 );
+
151 
+
152 }
+
153 
+
163 void sierpinskiPyramid( Object *obj, const Point4& a, const Point4& b,
+
164  const Point4& c, const Point4& d, int count ) {
+
165  if ( count > 0 ) {
+
166  Point4 v0 = (a + b) / 2.0;
+
167  Point4 v1 = (a + c) / 2.0;
+
168  Point4 v2 = (a + d) / 2.0;
+
169  Point4 v3 = (b + c) / 2.0;
+
170  Point4 v4 = (c + d) / 2.0;
+
171  Point4 v5 = (b + d) / 2.0;
+
172  sierpinskiPyramid( obj, a, v0, v1, v2, count - 1 );
+
173  sierpinskiPyramid( obj, v0, b, v3, v5, count - 1 );
+
174  sierpinskiPyramid( obj, v1, v3, c, v4, count - 1 );
+
175  sierpinskiPyramid( obj, v2, v5, v4, d, count - 1 );
+
176  } else {
+
177  tetra( obj, a, b, c, d ); // draw tetrahedron at end of recursion
+
178  }
+
179 }
+
180 
+
195 void recursiveModelGen( Object *obj, const Point4& a, const Point4& b,
+
196  const Point4& c, const Point4& d, int timesToRecurse,
+
197  int color ) {
+
198 
+
199  divideTriangle( obj, a, b, c, timesToRecurse, color );
+
200  divideTriangle( obj, d, c, b, timesToRecurse, color );
+
201  divideTriangle( obj, a, d, b, timesToRecurse, color );
+
202  divideTriangle( obj, a, d, c, timesToRecurse, color );
+
203 }
+
204 
+
210 void sphere( Object *obj ) {
+
211 
+
212  static const Point4 initialSpherePoints[4] = { Point4( 0.0, 0.0, 1.0, 1.0 ),
+
213  Point4( 0.0, 0.942809,
+
214  -0.333333, 1.0 ),
+
215  Point4( -0.816497, -0.471405,
+
216  -0.333333, 1.0 ),
+
217  Point4( 0.816497, -0.471405,
+
218  -0.333333, 1.0 ) };
+
219 
+
220  recursiveModelGen( obj, initialSpherePoints[0], initialSpherePoints[1],
+
221  initialSpherePoints[2], initialSpherePoints[3], 4, 5 );
+
222 
+
223 }
+
224 
+
237 void quad( Object *obj, const Point4 &a, const Point4 &b, const Point4 &c,
+
238  const Point4 &d, const Color4 &A, const Color4 &B, const Color4 &C,
+
239  const Color4 &D ) {
+
240 
+
241  // Initialize temporary vectors along the quad's edge to
+
242  // compute its face normal
+
243  vec4 u = b - a;
+
244  vec4 v = c - b;
+
245 
+
246  vec3 normal = normalize( cross( u, v ) );
+
247 
+
248  createPoint( obj, a, A, normal );
+
249  createPoint( obj, b, B, normal );
+
250  createPoint( obj, c, C, normal );
+
251 
+
252  createPoint( obj, a, A, normal );
+
253  createPoint( obj, c, C, normal );
+
254  createPoint( obj, d, D, normal );
+
255 
+
256 }
+
257 
+
263 #define QUAD(A,B,C,D) \
+
264  quad( obj, vertices[A], vertices[B], vertices[C], vertices[D], \
+
265  colors[A], colors[B], colors[C], colors[D] );
+
266 
+
275 void cube( Object *obj, const GLfloat &size, const Color4 colors[8] ) {
+
276 
+
277  const GLfloat lower = -(size / 2);
+
278  const GLfloat upper = (size / 2);
+
279 
+
280  const Point4 vertices[8] = { Point4( lower, lower, upper, 1.0 ), Point4(
+
281  lower, upper, upper, 1.0 ),
+
282  Point4( upper, upper, upper, 1.0 ), Point4(
+
283  upper, lower, upper, 1.0 ),
+
284  Point4( lower, lower, lower, 1.0 ), Point4(
+
285  lower, upper, lower, 1.0 ),
+
286  Point4( upper, upper, lower, 1.0 ), Point4(
+
287  upper, lower, lower, 1.0 ) };
+
288 
+
289  QUAD( 1, 0, 3, 2 );
+
290  QUAD( 2, 3, 7, 6 );
+
291  QUAD( 3, 0, 4, 7 );
+
292  QUAD( 6, 5, 1, 2 );
+
293  QUAD( 4, 5, 6, 7 );
+
294  QUAD( 5, 4, 0, 1 );
+
295 
+
296 }
+
297 
+
305 void colorCube( Object *obj, GLfloat size ) {
+
306 
+
307  static const Color4 vertex_colors[8] = { Color4( 0.0, 0.0, 0.0, 1.0 ),// black
+
308  Color4( 1.0, 0.0, 0.0, 1.0 ), // red
+
309  Color4( 1.0, 1.0, 0.0, 1.0 ),// yellow
+
310  Color4( 0.0, 1.0, 0.0, 1.0 ),// green
+
311  Color4( 0.0, 0.0, 1.0, 1.0 ), // blue
+
312  Color4( 1.0, 0.0, 1.0, 1.0 ),// magenta
+
313  Color4( 1.0, 1.0, 1.0, 1.0 ),// white
+
314  Color4( 0.0, 1.0, 1.0, 1.0 ) // cyan
+
315  };
+
316 
+
317  cube( obj, size, vertex_colors );
+
318 
+
319 }
+
320 
+
326 float randFloat( void ) {
+
327  return rand() / (float) RAND_MAX;
+
328 }
+
329 
+
335 double jitter( double H ) {
+
336  return (-H) + rand() * (H - (-H)) / RAND_MAX;
+
337 }
+
338 
+ +
348  return cross( c - b, b - a );
+
349 }
+
350 
+
351 /*
+
352  * vec3 calcNormal( Point4 &a, Point4 &b, Point4 &c, Point4 &d ) {
+
353  return cross( c - b, b - a );
+
354  }
+
355  */
+
356 
+
357 // The following are helper macros for landGen.
+
358 // They help you simulate a 2D array of height values
+
359 // inside of a 1D array.
+
365 #define OFFSET_AT(X,Z) ((X)*S+(Z))
+
366 
+
369 #define VERTEX_AT(X,Z) (vec.at(OFFSET_AT(X,Z)))
+
370 
+
373 #define HEIGHT_AT(X,Z) (VERTEX_AT(X,Z).y)
+
374 
+
377 #define COLOR_AT(X,Z) (col.at(OFFSET_AT(X,Z)))
+
378 
+
381 #define TEX_UV_AT(X,Z) (txy.at(OFFSET_AT(X,Z)))
+
382 
+
385 #define NORMAL_AT(X,Z) (nor.at(OFFSET_AT(X,Z)))
+
386 
+
397 double landGen( Object *obj, int N, float H ) {
+
398 
+
399  Timer Tick;
+
400  const int S = pow( 2, N ) + 1;
+
401  std::vector< Point4 > &vec = obj->_vertices;
+
402  std::vector< Point4 > &col = obj->_colors;
+
403  //std::vector< vec3 > &nor = obj->_normals;
+
404  std::vector< unsigned int > &drawIndex = obj->_indices;
+
405  std::vector< Angel::vec2 > &txy = obj->_texUVs;
+
406 
+
407  if ( DEBUG ) printf( "\nEntering landGen()...\n" );
+
408  // the range (-h -> h) for the average offset
+
409  // This determines the jaggedness of the peaks and valleys.
+
410  // A smaller initial value will create smaller peaks and shallow valleys for
+
411  // a look more similar to rolling hill tops.
+
412  double CH = 0.5;
+
413  double magnitude = (H * (2 - pow( 2, -(N) )));
+
414  if ( DEBUG )
+
415  fprintf( stderr, "landGen theoretical magnitude: %f\n", magnitude );
+
416 
+
417  /* Initialize all _vertices in the vector to have their X,Z (and w) coordinates. */
+
418  if ( vec.size() ) vec.clear();
+
419  vec.reserve( S * S );
+
420  for ( int i = 0; i < S; ++i )
+
421  for ( int j = 0; j < S; ++j )
+
422  vec.push_back( vec4( j - (S / 2), 0, i - (S / 2), 1 ) );
+
423 
+
424  /* Initialize our color vectors. */
+
425  if ( col.size() ) col.clear();
+
426  col.reserve( S * S );
+
427  for ( int i = 0; i < S; ++i )
+
428  for ( int j = 0; j < S; ++j )
+
429  col.push_back( vec4( 0.5, 0.5, 0.5, 1.0 ) );
+
430 
+
431  if ( txy.size() ) txy.clear();
+
432  txy.reserve( S * S );
+
433  for ( int z = 0; z < S; ++z )
+
434  for ( int x = 0; x < S; ++x )
+
435  // Set coordinates so that the texture applied to
+
436  // smaller model coords.
+
437  // Prevent texture from being stretched to fit model.
+
438  txy.push_back(
+
439  vec2( fmod( 100 * (float) x / (float) S, 100 ),
+
440  fmod( 100 * (float) z / (float) S, 100 ) ) );
+
441 
+
442  // Initialize the corners of the grid
+
443  HEIGHT_AT( 0, 0 ) = 0;
+
444  HEIGHT_AT( S-1, 0 ) = 0;
+
445  HEIGHT_AT( 0, S-1 ) = 0;
+
446  HEIGHT_AT( S-1, S-1 ) = 0;
+
447 
+
448  // Populate the (x, y, z) values of vec4 according to the
+
449  // Diamond-Square algorithm
+
450  // sideLength is the distance of a single square side or
+
451  // distance of diagonal in diamond.
+
452  if ( DEBUG ) printf( "\nEntering for( sideLength...) ...\n" );
+
453  for ( int sideLength = S - 1; sideLength >= 2;
+
454  sideLength /= 2, H /= 2.0, CH /= 2.0 ) {
+
455  int halfSide = sideLength / 2;
+
456  // generate new square values
+
457  for ( int x = 0; x < S - 1; x += sideLength ) {
+
458  for ( int z = 0; z < S - 1; z += sideLength ) {
+
459  double avg = (HEIGHT_AT( x, z ) + HEIGHT_AT( x + sideLength, z )
+
460  + HEIGHT_AT( x, z + sideLength )
+
461  + HEIGHT_AT( x + sideLength, z + sideLength ))
+
462  / 4.0;
+
463 
+
464  vec4 color_avg = (COLOR_AT(x,z) + COLOR_AT(x+sideLength,z)
+
465  + COLOR_AT(x,z+sideLength)
+
466  + COLOR_AT(x+sideLength,z+sideLength))
+
467  / 4.0;
+
468  vec4 color_jitter = vec4( jitter( CH ), jitter( CH ), jitter( CH ), 0 );
+
469 
+
470  HEIGHT_AT( x + halfSide, z + halfSide ) = avg + jitter( H );
+
471  COLOR_AT( x + halfSide, z + halfSide ) = color_avg + color_jitter;
+
472  } // for z
+
473  } // for x
+
474 
+
475  // Generate the diamond values
+
476  // Since diamonds are staggered, we only move x by half side
+
477  // NOTE: If the data shouldn't wrap the x < SIZE and y < SIZE
+
478  for ( int x = 0; x < S - 1; x += halfSide ) {
+
479  for ( int z = (x + halfSide) % sideLength; z < S - 1; z += sideLength ) {
+
480 
+
481  // x,z is center of diamond
+
482  // We must use mod and add SIZE for subtraction
+
483  // so that we can wrap around the array to find the corners
+
484 
+
485  double avg = (HEIGHT_AT( (x-halfSide + S) % S, z )
+
486  + HEIGHT_AT( x + halfSide % S, z )
+
487  + HEIGHT_AT( x, z + halfSide % S )
+
488  + HEIGHT_AT( x, (z - halfSide + S) % S ))
+
489  / 4.0;
+
490 
+
491  vec4 color_avg = (COLOR_AT( (x-halfSide + S) % S, z )
+
492  + COLOR_AT( x + halfSide % S, z )
+
493  + COLOR_AT( x, z + halfSide % S )
+
494  + COLOR_AT( x, (z - halfSide + S) % S ))
+
495  / 4.0;
+
496  vec4 color_jitter = vec4( jitter( CH ), jitter( CH ), jitter( CH ), 0 );
+
497 
+
498  HEIGHT_AT( x, z ) = avg + jitter( H );
+
499  COLOR_AT( x, z ) = color_avg + color_jitter;
+
500 
+
501  // Wrapping:
+
502  if ( x == 0 ) {
+
503  HEIGHT_AT( S-1, z ) = HEIGHT_AT( x, z );
+
504  COLOR_AT( S-1, z ) = COLOR_AT( x, z );
+
505  }
+
506  if ( z == 0 ) {
+
507  HEIGHT_AT( x, S-1 ) = HEIGHT_AT( x, z );
+
508  COLOR_AT( x, S-1 ) = COLOR_AT( x, z );
+
509  }
+
510  } // for z
+
511  } // for x
+
512  } // for sideLength
+
513 
+
514  //vec.reserve(2*S*S - 2*S);
+
515  // Convert 2D array into 1D array to pass to shaders
+
516  // Size of 1D array is 2*SIZE^2 - 2SIZE for
+
517  // the sake of proper parsing by glTriangleStrips
+
518  if ( drawIndex.size() ) drawIndex.clear();
+
519  drawIndex.reserve( 2 * S * S - 2 * S );
+
520  for ( int i = 0, j = 0; i + 1 < S; i++ ) {
+
521  for ( j = 0; j < S; j++ ) {
+
522  drawIndex.push_back( OFFSET_AT(i,j) );
+
523  drawIndex.push_back( OFFSET_AT(i+1,j) );
+
524  }
+
525 
+
526  /* If we're out of rows to serialize, give up. */
+
527  if ( ++i == S ) break;
+
528 
+
529  for ( ; j > 0; j-- ) {
+
530  drawIndex.push_back( OFFSET_AT(i,j-1) );
+
531  drawIndex.push_back( OFFSET_AT(i+1,j-1) );
+
532  }
+
533  }
+
534 
+
535  /*
+
536  for ( int i = 0; i < S*S; i++ ) {
+
537  col.push_back(vec4(randFloat(),randFloat(),randFloat(),1.0));
+
538  }
+
539  */
+
540 
+
541  Tick.tock();
+
542  if ( DEBUG )
+
543  fprintf(
+
544  stderr,
+
545  "Landgen took %lu usec, %f msec, %f sec to generate %d vertices.\n",
+
546  Tick.delta(), Tick.delta() / 1000.0, Tick.delta() / 1000000.0, S * S );
+
547 
+
548  return magnitude;
+
549 }
+
550 
+
558 void makeAgua( Object *land_obj, Object *agua_obj ) {
+
559 
+
561  float wh = 0.1;
+
562 
+
563  // What should the water's color be?
+
564  const vec4 wc( 0.0, 0.0, 0.8, 0.6 );
+
565 
+
566  // Ensure that the size of agua_obj == land_obj
+
567  int S = sqrt( land_obj->_vertices.size() );
+
568 
+
569  // Push the vertices
+
570  agua_obj->_vertices.push_back( vec4( -S / 2, wh, S / 2, 1 ) );
+
571  agua_obj->_vertices.push_back( vec4( -S / 2, wh, -S / 2, 1 ) );
+
572  agua_obj->_vertices.push_back( vec4( S / 2, wh, S / 2, 1 ) );
+
573  agua_obj->_vertices.push_back( vec4( S / 2, wh, S / 2, 1 ) );
+
574  agua_obj->_vertices.push_back( vec4( -S / 2, wh, -S / 2, 1 ) );
+
575  agua_obj->_vertices.push_back( vec4( S / 2, wh, -S / 2, 1 ) );
+
576 
+
577  agua_obj->_colors.push_back( wc );
+
578  agua_obj->_colors.push_back( wc );
+
579  agua_obj->_colors.push_back( wc );
+
580  agua_obj->_colors.push_back( wc );
+
581  agua_obj->_colors.push_back( wc );
+
582  agua_obj->_colors.push_back( wc );
+
583 
+
584  return;
+
585 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/model_8hpp.html b/Doxygen/Docs/html/model_8hpp.html new file mode 100644 index 00000000..0635b1fa --- /dev/null +++ b/Doxygen/Docs/html/model_8hpp.html @@ -0,0 +1,854 @@ + + + + + +HyperGrafx: model.hpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
model.hpp File Reference
+
+
+ +

Headers for Functions related to constructing simple geometry. +More...

+
#include "vec.hpp"
+#include "Object.hpp"
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void createPoint (Object *obj, Point4 const &the_point, Color4 const &the_color, vec3 const &the_normal)
 Adds another vertex to the specified object.
void triangle (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const int color)
 Creates a triangle primitive from three spatial coordinates.
void divideTriangle (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, int timesToRecurse, int color)
 Used in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles.
void tetra (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d)
 Creates a tetrahedron using four triangles.
void sierpinskiPyramid (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int count)
 Forms a Sierpinski Pyramid object given four 4D points in space.
void recursiveModelGen (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int timesToRecurse, int color)
 Given a quadrilateral, splits it up into smaller quadrilaterals.
void sphere (Object *obj)
 Creates a white sphere.
void quad (Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, const Color4 &A, const Color4 &B, const Color4 &C, const Color4 &D)
 Create a quadrilateral from four points and four colors.
void cube (Object *obj, const GLfloat &size, const Color4 colors[8])
 Create a cube of a given size fixed at the origin, using the eight colors specified.
void colorCube (Object *obj, GLfloat size)
 Creates a cube of a given size fixed at the origin, using all eight primary colors.
double landGen (Object *obj, int N, float H)
 Use the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc.
void makeAgua (Object *land_obj, Object *agua_obj)
 Adds a blue quadrilateral to an already-generated terrain object to create the appearance of water.
+

Detailed Description

+

Headers for Functions related to constructing simple geometry.

+
Authors
Ed Angel, John Huston, Chris Compton, Nick St.Pierre
+
Date
2013-03-14
+ +

Definition in file model.hpp.

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
void colorCube (Object * obj,
GLfloat size 
)
+
+ +

Creates a cube of a given size fixed at the origin, using all eight primary colors.

+
Parameters
+ + + +
objThe object to add the geometry to.
sizeThe size of the cube to create.
+
+
+

Creates a cube of a given size fixed at the origin, using all eight primary colors.

+
Parameters
+ + + +
objThe object to add the geometry to.
sizeThe size of the cube to create.
+
+
+ +

Definition at line 305 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void createPoint (Object * obj,
Point4 const & the_point,
Color4 const & the_color,
vec3 const & the_normal 
)
+
+ +

Adds another vertex to the specified object.

+
Parameters
+ + + + + +
objThe object to add the vertex to.
the_pointThe 4d spatial coordinate of the vertex.
the_colorThe vec4 specifying the RGBA color value of the vertex.
the_normalThe vec3 that specifies the normal for this vertex.
+
+
+ +

Definition at line 37 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void cube (Object * obj,
const GLfloat & size,
const Color4 colors[8] 
)
+
+ +

Create a cube of a given size fixed at the origin, using the eight colors specified.

+
Parameters
+ + + + +
objThe object to add the geometry to.
sizeThe size of the cube to create.
colorsAn array of eight colors for the vertices.
+
+
+

Create a cube of a given size fixed at the origin, using the eight colors specified.

+
Parameters
+ + + + +
objThe object to add the geometry to.
sizeThe size of the cube to create.
colorsAn array of eight _colors for the vertices.
+
+
+ +

Definition at line 275 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void divideTriangle (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
int timesToRecurse,
int color 
)
+
+ +

Used in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles.

+
Parameters
+ + + + + + + +
objThe object to add the triangles to.
aThe first spatial coordinate for the triangle.
bThe second spatial coordinate for the triangle.
cThe third spatial coordinate for the triangle.
timesToRecurseThe number of times to subdivide.
colorAn index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White }
+
+
+ +

Definition at line 118 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
double landGen (Object * obj,
int N,
float H 
)
+
+ +

Use the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc.

+
Parameters
+ + + + +
objThe object to add the geometry to.
NThe size of the terrain: Will be n^2 x n^2 evenly spaced vertices.
HThe height 'randomness' factor.
+
+
+
Returns
The maximum height actually achieved in this terrain generation.
+ +

Definition at line 397 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void makeAgua (Object * land_obj,
Object * agua_obj 
)
+
+ +

Adds a blue quadrilateral to an already-generated terrain object to create the appearance of water.

+
Parameters
+ + + +
land_obj
agua_obj
+
+
+

What should the water's height be?

+ +

Definition at line 558 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void quad (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
const Point4 & d,
const Color4 & A,
const Color4 & B,
const Color4 & C,
const Color4 & D 
)
+
+ +

Create a quadrilateral from four points and four colors.

+
Parameters
+ + + + + + + + + + +
objThe object to add the geometry to.
aThe first spatial point.
bThe second spatial point.
cThe third spatial point.
dThe fourth spatial point.
AThe color of the first point.
BThe color of the second point.
CThe color of the third point.
DThe color of the fourth point.
+
+
+

Create a quadrilateral from four points and four colors.

+
Parameters
+ + + + + + + + + + +
objThe object to add the geometry to.
aThe first spatial point.
bThe second spatial point.
cThe third spatial point.
dThe fourth spatial point.
AThe color of the first point.
BThe color of the second point.
CThe color of the third point.
DThe color of the fourth point.
+
+
+ +

Definition at line 237 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void recursiveModelGen (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
const Point4 & d,
int timesToRecurse,
int color 
)
+
+ +

Given a quadrilateral, splits it up into smaller quadrilaterals.

+

Used in the generation of spheres! FIXME: Nick St.Pierre (Documentation!)

+
Parameters
+ + + + + + + + +
objThe object to add the geometry to.
aThe first spatial coordinate.
bThe second spatial coordinate.
cThe third spatial coordinate.
dThe fourth spatial coordinate.
timesToRecurseThe number of subdivisions to make.
colorAn index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White }
+
+
+ +

Definition at line 195 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void sierpinskiPyramid (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
const Point4 & d,
int count 
)
+
+ +

Forms a Sierpinski Pyramid object given four 4D points in space.

+
Parameters
+ + + + + + + +
objThe object to add the geometry to.
aThe first coordinate.
bThe second coordinate.
cThe third coordinate.
dThe fourth coordinate.
countThe number of recursions to perform to construct the gasket.
+
+
+

Forms a Sierpinski Pyramid object given four 4D points in space.

+
Parameters
+ + + + + + + +
objThe object to add the geometry to.
aThe first coordinate.
bThe second coordinate.
cThe third coordinate.
dThe fourth coordinate.
countThe number of recursions to perform to construct the gasket.
+
+
+ +

Definition at line 163 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void sphere (Object * obj)
+
+ +

Creates a white sphere.

+
Parameters
+ + +
objThe object to add the geometry to.
+
+
+ +

Definition at line 210 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void tetra (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
const Point4 & d 
)
+
+ +

Creates a tetrahedron using four triangles.

+

(12 vertices.)

+
Parameters
+ + + + + + +
objThe object to add the Tetrahedron to/
aThe first spatial coordinate for the tetrahedron.
bThe second spatial coordinate for the tetrahedron.
cThe third spatial coordinate for the tetrahedron.
dThe fourth spatial coordinate for the tetrahedron.
+
+
+ +

Definition at line 144 of file model.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void triangle (Object * obj,
const Point4 & a,
const Point4 & b,
const Point4 & c,
const int color 
)
+
+ +

Creates a triangle primitive from three spatial coordinates.

+
Parameters
+ + + + + + +
objThe object to add the triangle to.
aThe location of the first vertex.
bThe location of the second vertex.
cThe location of the third vertex.
colorAn index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White }
+
+
+ +

Definition at line 56 of file model.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/model_8hpp.js b/Doxygen/Docs/html/model_8hpp.js new file mode 100644 index 00000000..b1bd7ed1 --- /dev/null +++ b/Doxygen/Docs/html/model_8hpp.js @@ -0,0 +1,15 @@ +var model_8hpp = +[ + [ "colorCube", "model_8hpp.html#a9aeb9d305a36f39f25137645d75eaa95", null ], + [ "createPoint", "model_8hpp.html#ac902b9394c319b5d0ffa1a0071f6e504", null ], + [ "cube", "model_8hpp.html#a88b94550b90fbfab004aabc334260615", null ], + [ "divideTriangle", "model_8hpp.html#aa897b7167b0e40599c4735cf0ac0d24c", null ], + [ "landGen", "model_8hpp.html#a578108fa151d2df77af6ae4585c4bccc", null ], + [ "makeAgua", "model_8hpp.html#ad759245db436eebefc9a921e882bca3b", null ], + [ "quad", "model_8hpp.html#a787f4c226d43da564315b1b8aefac6cc", null ], + [ "recursiveModelGen", "model_8hpp.html#abaad50597737c633264748efecf95c14", null ], + [ "sierpinskiPyramid", "model_8hpp.html#a91ce6a85aa63ffb60c564014e4d060b1", null ], + [ "sphere", "model_8hpp.html#a152e6c0e91107b949df03ca399251fd8", null ], + [ "tetra", "model_8hpp.html#a9329f4c58e0cbb25cadc1238698efedb", null ], + [ "triangle", "model_8hpp.html#a133b051eb2aaf6c9d8dee920155a19c1", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/model_8hpp_source.html b/Doxygen/Docs/html/model_8hpp_source.html new file mode 100644 index 00000000..854bfbc4 --- /dev/null +++ b/Doxygen/Docs/html/model_8hpp_source.html @@ -0,0 +1,164 @@ + + + + + +HyperGrafx: model.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
model.hpp
+
+
+Go to the documentation of this file.
1 
+
7 #ifndef __MODEL_H
+
8 #define __MODEL_H
+
9 
+
10 // Needed for model loader
+
11 #include "vec.hpp"
+
12 #include "Object.hpp"
+
13 
+
14 using Angel::vec4;
+
15 using Angel::vec3;
+
16 
+
25 void createPoint( Object *obj, Point4 const &the_point, Color4 const &the_color,
+
26  vec3 const &the_normal );
+
27 
+
38 void triangle( Object *obj, const Point4& a, const Point4& b, const Point4& c,
+
39  const int color );
+
40 
+
53 void divideTriangle( Object *obj, const Point4& a, const Point4& b,
+
54  const Point4& c, int timesToRecurse, int color );
+
55 
+
65 void tetra( Object *obj, const Point4& a, const Point4& b, const Point4& c,
+
66  const Point4& d );
+
67 
+
77 void sierpinskiPyramid( Object *obj, const Point4& a, const Point4& b,
+
78  const Point4& c, const Point4& d, int count );
+
79 
+
94 void recursiveModelGen( Object *obj, const Point4& a, const Point4& b,
+
95  const Point4& c, const Point4& d, int timesToRecurse,
+
96  int color );
+
97 
+
103 void sphere( Object *obj );
+
104 
+
117 void quad( Object *obj, const Point4 &a, const Point4 &b, const Point4 &c,
+
118  const Point4 &d, const Color4 &A, const Color4 &B, const Color4 &C,
+
119  const Color4 &D );
+
120 
+
129 void cube( Object *obj, const GLfloat &size, const Color4 colors[8] );
+
130 
+
138 void colorCube( Object *obj, GLfloat size );
+
139 
+
150 double landGen( Object *obj, int N, float H );
+
151 
+
159 void makeAgua( Object *land_obj, Object *agua_obj );
+
160 
+
161 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/model_functions_8cpp.html b/Doxygen/Docs/html/model_functions_8cpp.html new file mode 100644 index 00000000..b2fe587b --- /dev/null +++ b/Doxygen/Docs/html/model_functions_8cpp.html @@ -0,0 +1,146 @@ + + + + + +HyperGrafx: modelFunctions.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
modelFunctions.cpp File Reference
+
+
+ +

FIXME: Documentation needed from Zach. +More...

+
#include <vector>
+#include "modelFunctions.hpp"
+#include "Object.hpp"
+
+

Go to the source code of this file.

+ + + + + +

+Functions

+float threeDimensionalDistance (vec4 points1, vec4 points2)
+int findTriangleWithMinimumDistance (Object *largerModel, Object *smallerModel, int index)
+void makeModelsSameSize (Object *model1, Object *model2)
+

Detailed Description

+

FIXME: Documentation needed from Zach.

+
Date
2013-03-15
+
Author
Zach Maybury
+

Functions related to morphing.

+ +

Definition in file modelFunctions.cpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/model_functions_8cpp.js b/Doxygen/Docs/html/model_functions_8cpp.js new file mode 100644 index 00000000..8723936d --- /dev/null +++ b/Doxygen/Docs/html/model_functions_8cpp.js @@ -0,0 +1,6 @@ +var model_functions_8cpp = +[ + [ "findTriangleWithMinimumDistance", "model_functions_8cpp.html#a3344feaa135e3129eecc65749dfa1e88", null ], + [ "makeModelsSameSize", "model_functions_8cpp.html#a6a10d71454bc88fdf056a6077870cf64", null ], + [ "threeDimensionalDistance", "model_functions_8cpp.html#a73f8d076cd88574e6e934ef593052205", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/model_functions_8cpp_source.html b/Doxygen/Docs/html/model_functions_8cpp_source.html new file mode 100644 index 00000000..0ff02218 --- /dev/null +++ b/Doxygen/Docs/html/model_functions_8cpp_source.html @@ -0,0 +1,175 @@ + + + + + +HyperGrafx: modelFunctions.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
modelFunctions.cpp
+
+
+Go to the documentation of this file.
1 
+
9 #include <vector>
+
10 #include "modelFunctions.hpp"
+
11 #include "Object.hpp"
+
12 
+
13 float threeDimensionalDistance( vec4 points1, vec4 points2 ) {
+
14  return sqrt(
+
15  pow( (points1.x - points2.x), 2 ) + pow( (points1.y - points2.y), 2 )
+
16  + pow( (points1.z - points2.z), 2 ) );
+
17 }
+
18 
+
19 int findTriangleWithMinimumDistance( Object* largerModel, Object* smallerModel,
+
20  int index ) {
+
21  int minIndex;
+
22  float minDistance = 99999.0;
+
23 
+
24  for ( int i = 0; i < smallerModel->numberOfPoints(); i += 3 ) {
+
25  float distance;
+
26  for ( int j = 0; j < 3; j++ ) {
+
27  distance += threeDimensionalDistance( smallerModel->_vertices[i + j],
+
28  largerModel->_vertices[index + j] );
+
29  }
+
30  if ( distance < minDistance ) {
+
31  minDistance = distance;
+
32  minIndex = i;
+
33  }
+
34  }
+
35 
+
36  return minIndex;
+
37 }
+
38 
+
39 void makeModelsSameSize( Object* model1, Object* model2 ) {
+
40  if ( model1->numberOfPoints() > model2->numberOfPoints() ) {
+
41  while ( model2->numberOfPoints() < (model1->numberOfPoints()) ) {
+
42  int index = findTriangleWithMinimumDistance( model1, model2,
+
43  model2->numberOfPoints() );
+
44  for ( int i = 0; i < 3; i++ ) {
+
45  model2->_vertices.push_back( vec4( model2->_vertices[index + i] ) );
+
46  model2->_normals.push_back( vec3( model2->_normals[index + i] ) );
+
47  model2->_colors.push_back( Color4( model2->_colors[index + i] ) );
+
48  }
+
49  }
+
50  } else if ( model1->numberOfPoints() < model2->numberOfPoints() ) {
+
51  while ( model1->numberOfPoints() < model2->numberOfPoints() ) {
+
52  int index = findTriangleWithMinimumDistance( model2, model1,
+
53  model1->numberOfPoints() );
+
54  for ( int i = 0; i < 3; i++ ) {
+
55  model1->_vertices.push_back( vec4( model1->_vertices[index + i] ) );
+
56  model1->_normals.push_back( vec3( model1->_normals[index + i] ) );
+
57  model1->_colors.push_back( Color4( model1->_colors[index + i] ) );
+
58  }
+
59  }
+
60  } else {
+
61  printf( "Models already the same size\n" );
+
62  }
+
63 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/model_functions_8hpp.html b/Doxygen/Docs/html/model_functions_8hpp.html new file mode 100644 index 00000000..63d7b3e9 --- /dev/null +++ b/Doxygen/Docs/html/model_functions_8hpp.html @@ -0,0 +1,150 @@ + + + + + +HyperGrafx: modelFunctions.hpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
modelFunctions.hpp File Reference
+
+
+ +

FIXME: Documentation needed from Zach. +More...

+
#include <vector>
+#include <string>
+#include <cmath>
+#include "platform.h"
+#include "vec.hpp"
+#include "mat.hpp"
+#include "Scene.hpp"
+
+

Go to the source code of this file.

+ + + + + +

+Functions

+void makeModelsSameSize (Object *model1, Object *model2)
+int findTriangleWithMinimumDistance (Object *largerModel, Object *smallerModel, int index)
+float threeDimensionalDistance (vec4 points1, vec4 points2)
+

Detailed Description

+

FIXME: Documentation needed from Zach.

+
Date
2013-03-15
+
Author
Zach Maybury
+

Headers for functions related to morphing.

+ +

Definition in file modelFunctions.hpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/model_functions_8hpp.js b/Doxygen/Docs/html/model_functions_8hpp.js new file mode 100644 index 00000000..0ad98dfd --- /dev/null +++ b/Doxygen/Docs/html/model_functions_8hpp.js @@ -0,0 +1,6 @@ +var model_functions_8hpp = +[ + [ "findTriangleWithMinimumDistance", "model_functions_8hpp.html#a3344feaa135e3129eecc65749dfa1e88", null ], + [ "makeModelsSameSize", "model_functions_8hpp.html#a6a10d71454bc88fdf056a6077870cf64", null ], + [ "threeDimensionalDistance", "model_functions_8hpp.html#a73f8d076cd88574e6e934ef593052205", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/model_functions_8hpp_source.html b/Doxygen/Docs/html/model_functions_8hpp_source.html new file mode 100644 index 00000000..2d20c278 --- /dev/null +++ b/Doxygen/Docs/html/model_functions_8hpp_source.html @@ -0,0 +1,140 @@ + + + + + +HyperGrafx: modelFunctions.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
modelFunctions.hpp
+
+
+Go to the documentation of this file.
1 
+
9 #ifndef __MODELFUNCTIONS_HPP
+
10 #define __MODELFUNCTIONS_HPP
+
11 
+
12 #include <vector>
+
13 #include <string>
+
14 #include <cmath>
+
15 #include "platform.h"
+
16 #include "vec.hpp"
+
17 #include "mat.hpp"
+
18 #include "Scene.hpp"
+
19 
+
20 using Angel::vec3;
+
21 using Angel::vec4;
+
22 
+
23 void makeModelsSameSize( Object* model1, Object* model2 );
+
24 int findTriangleWithMinimumDistance( Object* largerModel, Object* smallerModel,
+
25  int index );
+
26 float threeDimensionalDistance( vec4 points1, vec4 points2 );
+
27 
+
28 #endif
+
+
+ + + + diff --git a/Doxygen/Docs/html/morphlite_8cpp.html b/Doxygen/Docs/html/morphlite_8cpp.html new file mode 100644 index 00000000..8a67ccd0 --- /dev/null +++ b/Doxygen/Docs/html/morphlite_8cpp.html @@ -0,0 +1,229 @@ + + + + + +HyperGrafx: morphlite.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
morphlite.cpp File Reference
+
+
+ +

This is a derivative of HSC's Fall 2012 project. +More...

+
#include "globals.h"
+#include "platform.h"
+#include "Camera.hpp"
+#include "Cameras.hpp"
+#include "Screen.hpp"
+#include "Object.hpp"
+#include "Timer.hpp"
+#include "Scene.hpp"
+#include "Engine.hpp"
+#include "model.hpp"
+#include "InitShader.hpp"
+#include "glut_callbacks.h"
+#include "ObjLoader.hpp"
+#include "eric_rules.hpp"
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

+void init ()
 Initialization: load and compile shaders, initialize camera(s), load models.
+void cleanup (void)
 Cleans up our scene graph.
+void draw (void)
 Implementation of drawing the display with regards to a single viewport.
+void display (void)
 Display/Render the entire screen.
void idle (void)
 Compute time since last idle, update camera positions, redisplay.
int main (int argc, char **argv)
 This is a bottle morphing demo! It illustrates simply how to do a simple linear interpolation morph.
+

Detailed Description

+

This is a derivative of HSC's Fall 2012 project.

+
Author
Nicholas St.Pierre
+
Authors
John Huston, Nicholas VerVoort, Chris Compton
+
Date
2012-12-06
+

This is a tech demo for morphing two objects back and forth. Original engine based on Ed Angel's book code. This file features a severely reduced linecount for demo purposes.

+
See Also
terrain.cpp for a fully-featured example.
+ +

Definition in file morphlite.cpp.

+

Function Documentation

+ +
+
+ + + + + + + + +
void idle (void )
+
+ +

Compute time since last idle, update camera positions, redisplay.

+

Apply new animations.

+ +

Definition at line 128 of file morphlite.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char ** argv 
)
+
+ +

This is a bottle morphing demo! It illustrates simply how to do a simple linear interpolation morph.

+
Parameters
+ + + +
argcNot used.
argvNot used.
+
+
+
Returns
EXIT_SUCCESS.
+ +

Definition at line 166 of file morphlite.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/morphlite_8cpp.js b/Doxygen/Docs/html/morphlite_8cpp.js new file mode 100644 index 00000000..638aaf74 --- /dev/null +++ b/Doxygen/Docs/html/morphlite_8cpp.js @@ -0,0 +1,9 @@ +var morphlite_8cpp = +[ + [ "cleanup", "morphlite_8cpp.html#aeb94fbd457627182ceee7e505f432541", null ], + [ "display", "morphlite_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd", null ], + [ "draw", "morphlite_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256", null ], + [ "idle", "morphlite_8cpp.html#a01131b63acf241e9db91704d89ce15d2", null ], + [ "init", "morphlite_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947", null ], + [ "main", "morphlite_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/morphlite_8cpp_source.html b/Doxygen/Docs/html/morphlite_8cpp_source.html new file mode 100644 index 00000000..5879edf4 --- /dev/null +++ b/Doxygen/Docs/html/morphlite_8cpp_source.html @@ -0,0 +1,285 @@ + + + + + +HyperGrafx: morphlite.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
morphlite.cpp
+
+
+Go to the documentation of this file.
1 
+
13 /* Multi-platform support and OpenGL headers. */
+
14 #include "globals.h"
+
15 #include "platform.h"
+
16 /* Engine Classes */
+
17 #include "Camera.hpp"
+
18 #include "Cameras.hpp"
+
19 #include "Screen.hpp"
+
20 #include "Object.hpp"
+
21 #include "Timer.hpp"
+
22 #include "Scene.hpp"
+
23 #include "Engine.hpp"
+
24 /* Utilities and Common */
+
25 #include "model.hpp"
+
26 #include "InitShader.hpp"
+
27 #include "glut_callbacks.h"
+
28 #include "ObjLoader.hpp"
+
29 #include "eric_rules.hpp"
+
30 
+
34 void init() {
+
35 
+
36  // Get handles to the Scene and the Screen.
+
37  Scene *rootScene = Engine::instance()->rootScene();
+
38  Screen *primScreen = Engine::instance()->mainScreen();
+
39 
+
40  // Load shaders and use the resulting shader program.
+
41  GLuint gShader = Angel::InitShader( "shaders/vmorph.glsl",
+
42  "shaders/fmorph.glsl" );
+
43 
+
44  // Let the other objects know which shader to use by default.
+
45  rootScene->shader( gShader );
+
46  primScreen->_camList.shader( gShader );
+
47 
+
48  // We start with no cameras, by default. Add one and set it "active" by using next().
+
49  primScreen->_camList.addCamera( "Camera1" );
+
50  primScreen->_camList.next();
+
51 
+
52  // Create an object and add it to the scene with the name "bottle".
+
53  Object *bottle = rootScene->addObject( "bottle" );
+
54 
+
55  // Use the object loader to actually fill out the vertices and-so-on of the bottle.
+
56  ObjLoader::loadModelFromFile( bottle, "../models/bottle-a.obj" );
+
57 
+
58  // Scale the bottle down!
+
59  bottle->_trans._scale.set( 0.01 );
+
60 
+
61  // _buffer the object onto the GPU. This does not happen by default,
+
62  // To allow you to make many changes and _buffer only once,
+
63  // or to _buffer changes selectively.
+
64  bottle->buffer();
+
65 
+
66  // Object class has-a pointer to an object which is the morph target.
+
67  // they are created and buffered as follows:
+
68 
+
69  // this makes a new object and links it to the source object. it returns the addr of the new obj..
+
70  bottle->genMorphTarget( gShader );
+
71 
+
72  // we can get the addr of the morph object like this, also.
+
73  Object *bottleMorphTarget = bottle->morphTarget();
+
74 
+
75  // with this model, we can use all the preexisting Object class functionality
+
76  ObjLoader::loadModelFromFile( bottleMorphTarget, "../models/bottle-b.obj" );
+
77  bottleMorphTarget->_trans._scale.set( 0.01 );
+
78 
+
79  // YES THIS IS THE REAL OBJECT, NOT THE TARGET.
+
80  // IT SENDS THE MORPH VERTICES TO THE SHADER, NOT TO THE DRAW LIST TO BE DRAWN!
+
81  bottle->bufferMorphOnly();
+
82 
+
83  // Generic OpenGL setup: Enable the depth _buffer and set a nice background color.
+
84  glEnable( GL_DEPTH_TEST );
+
85  glClearColor( 0.3, 0.5, 0.9, 1.0 );
+
86 
+
87 }
+
88 
+
92 void cleanup( void ) {
+
93  //Engine::instance()->rootScene()->DestroyObject();
+
94 }
+
95 
+
99 void draw( void ) {
+
100  static Scene *theScene = Engine::instance()->rootScene();
+
101  static Cameras *camList = Engine::instance()->cams();
+
102 
+
103  theScene->draw();
+
104  camList->draw();
+
105 }
+
106 
+
110 void display( void ) {
+
111  static Cameras *camList = Engine::instance()->cams();
+
112 
+
113  // Clear the _buffer.
+
114  glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
+
115 
+
116  // Tell camList to draw using our 'draw' rendering function.
+
117  camList->view( draw );
+
118 
+
119  // Swap to the next _buffer.
+
120  glutSwapBuffers();
+
121 
+
122 }
+
123 
+
128 void idle( void ) {
+
129 
+
130  static Cameras *camList = Engine::instance()->cams();
+
131  static Scene *rootScene = Engine::instance()->rootScene();
+
132 
+
133  // Compute the time since last idle().
+
134  // This is a global, stateful operation.
+
135  tick.tock();
+
136 
+
137  // Animation variables.
+
138  static double timer = 0.0;
+
139  if ( (timer += 0.005) > 360.0 ) timer = 0.0;
+
140  float percent = (sin( timer ) + 1) / 2;
+
141 
+
142  // Update the morph percentage.
+
143  (*rootScene)["bottle"]->morphPercentage( percent );
+
144 
+
145  if ( DEBUG_MOTION )
+
146  fprintf( stderr, "Time since last idle: %lu\n", tick.delta() );
+
147 
+
148  // Move all cameras: Apply velocity and acceleration adjustments.
+
149  // If no cameras are currently moving, this will do nothing ;)
+
150  camList->idleMotion();
+
151 
+
152  // Inform GLUT we'd like to render a new frame.
+
153  glutPostRedisplay();
+
154 
+
155 }
+
156 
+
166 int main( int argc, char **argv ) {
+
167 
+
168  // OS X suppresses events after mouse warp. This resets the suppression
+
169  // interval to 0 so that events will not be suppressed. This also found
+
170  // at http://stackoverflow.com/questions/728049/
+
171  // glutpassivemotionfunc-and-glutwarpmousepointer
+
172 #ifdef __APPLE__
+
173  CGSetLocalEventsSuppressionInterval( 0.0 );
+
174 #endif
+
175  VooDoo::InitRelativePaths(argc, argv);
+
176 
+
177  glutInit( &argc, argv );
+
178  glutInitDisplayMode( GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH );
+
179  glutInitWindowSize( 0, 0 );
+
180  glutCreateWindow( "Linear Interpolation Morphing Demo" );
+
181  glutFullScreen();
+
182  glutSetCursor( GLUT_CURSOR_NONE );
+
183 
+
184  GLEW_INIT();
+
185  init();
+
186 
+
187  /* Register our Callbacks */
+
188  glutDisplayFunc( display );
+
189  glutKeyboardFunc( keyboard );
+
190  glutKeyboardUpFunc( keylift );
+
191  glutSpecialFunc( keyboard_ctrl );
+
192  glutMouseFunc( mouse );
+
193  glutMotionFunc( mouseroll );
+
194  glutPassiveMotionFunc( mouselook );
+
195  glutIdleFunc( idle );
+
196  glutReshapeFunc( resizeEvent );
+
197 
+
198  /* PULL THE TRIGGER */
+
199  glutMainLoop();
+
200  return EXIT_SUCCESS;
+
201 
+
202 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/nav_f.png b/Doxygen/Docs/html/nav_f.png new file mode 100644 index 00000000..72a58a52 Binary files /dev/null and b/Doxygen/Docs/html/nav_f.png differ diff --git a/Doxygen/Docs/html/nav_g.png b/Doxygen/Docs/html/nav_g.png new file mode 100644 index 00000000..2093a237 Binary files /dev/null and b/Doxygen/Docs/html/nav_g.png differ diff --git a/Doxygen/Docs/html/nav_h.png b/Doxygen/Docs/html/nav_h.png new file mode 100644 index 00000000..33389b10 Binary files /dev/null and b/Doxygen/Docs/html/nav_h.png differ diff --git a/Doxygen/Docs/html/navtree.css b/Doxygen/Docs/html/navtree.css new file mode 100644 index 00000000..8001f828 --- /dev/null +++ b/Doxygen/Docs/html/navtree.css @@ -0,0 +1,143 @@ +#nav-tree .children_ul { + margin:0; + padding:4px; +} + +#nav-tree ul { + list-style:none outside none; + margin:0px; + padding:0px; +} + +#nav-tree li { + white-space:nowrap; + margin:0px; + padding:0px; +} + +#nav-tree .plus { + margin:0px; +} + +#nav-tree .selected { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} + +#nav-tree img { + margin:0px; + padding:0px; + border:0px; + vertical-align: middle; +} + +#nav-tree a { + text-decoration:none; + padding:0px; + margin:0px; + outline:none; +} + +#nav-tree .label { + margin:0px; + padding:0px; + font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +#nav-tree .label a { + padding:2px; +} + +#nav-tree .selected a { + text-decoration:none; + color:#fff; +} + +#nav-tree .children_ul { + margin:0px; + padding:0px; +} + +#nav-tree .item { + margin:0px; + padding:0px; +} + +#nav-tree { + padding: 0px 0px; + background-color: #FAFAFF; + font-size:14px; + overflow:auto; +} + +#doc-content { + overflow:auto; + display:block; + padding:0px; + margin:0px; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#side-nav { + padding:0 6px 0 0; + margin: 0px; + display:block; + position: absolute; + left: 0px; + width: 300px; +} + +.ui-resizable .ui-resizable-handle { + display:block; +} + +.ui-resizable-e { + background:url("ftv2splitbar.png") repeat scroll right center transparent; + cursor:e-resize; + height:100%; + right:0; + top:0; + width:6px; +} + +.ui-resizable-handle { + display:none; + font-size:0.1px; + position:absolute; + z-index:1; +} + +#nav-tree-contents { + margin: 6px 0px 0px 0px; +} + +#nav-tree { + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + -webkit-overflow-scrolling : touch; /* iOS 5+ */ +} + +#nav-sync { + position:absolute; + top:5px; + right:24px; + z-index:0; +} + +#nav-sync img { + opacity:0.3; +} + +#nav-sync img:hover { + opacity:0.9; +} + +@media print +{ + #nav-tree { display: none; } + div.ui-resizable-handle { display: none; position: relative; } +} + diff --git a/Doxygen/Docs/html/navtree.js b/Doxygen/Docs/html/navtree.js new file mode 100644 index 00000000..89c8d4af --- /dev/null +++ b/Doxygen/Docs/html/navtree.js @@ -0,0 +1,518 @@ +var NAVTREE = +[ + [ "HyperGrafx", "index.html", [ + [ "Classes", null, [ + [ "Class List", "annotated.html", "annotated" ], + [ "Class Index", "classes.html", null ], + [ "Class Hierarchy", "hierarchy.html", "hierarchy" ], + [ "Class Members", "functions.html", [ + [ "All", "functions.html", null ], + [ "Functions", "functions_func.html", null ], + [ "Variables", "functions_vars.html", null ], + [ "Typedefs", "functions_type.html", null ], + [ "Enumerations", "functions_enum.html", null ], + [ "Enumerator", "functions_eval.html", null ] + ] ] + ] ], + [ "Files", null, [ + [ "File List", "files.html", "files" ], + [ "File Members", "globals.html", [ + [ "All", "globals.html", null ], + [ "Functions", "globals_func.html", null ], + [ "Variables", "globals_vars.html", null ], + [ "Typedefs", "globals_type.html", null ], + [ "Macros", "globals_defs.html", null ] + ] ] + ] ] + ] ] +]; + +var NAVTREEINDEX = +[ +".html", +"class_camera.html#a4acfa20291c83f13c98781c0d53cdbd8", +"class_particle_system.html#a2e6b319b60e27e66ad43bb942a6c4424", +"class_trans_mat.html#afdfbf48815a5b0d885f3b93f04cd2c66", +"struct_angel_1_1vec2.html#a5c3d2082bcc18734fde3689dbc605104" +]; + +var navTreeSubIndices = new Array(); + +function getData(varName) +{ + var i = varName.lastIndexOf('/'); + var n = i>=0 ? varName.substring(i+1) : varName; + return eval(n.replace(/\-/g,'_')); +} + +function stripPath(uri) +{ + return uri.substring(uri.lastIndexOf('/')+1); +} + +function stripPath2(uri) +{ + var i = uri.lastIndexOf('/'); + var s = uri.substring(i+1); + var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/); + return m ? uri.substring(i-6) : s; +} + +function localStorageSupported() +{ + return 'localStorage' in window && window['localStorage'] !== null; +} + +function storeLink(link) +{ + if (!$("#nav-sync").hasClass('sync') && localStorageSupported()) { + window.localStorage.setItem('navpath',link); + } +} + +function deleteLink() +{ + if (localStorageSupported()) { + window.localStorage.setItem('navpath',''); + } +} + +function cachedLink() +{ + if (localStorageSupported()) { + return window.localStorage.getItem('navpath'); + } else { + return ''; + } +} + +function getScript(scriptName,func,show) +{ + var head = document.getElementsByTagName("head")[0]; + var script = document.createElement('script'); + script.id = scriptName; + script.type = 'text/javascript'; + script.onload = func; + script.src = scriptName+'.js'; + if ($.browser.msie && $.browser.version<=8) { + // script.onload does work with older versions of IE + script.onreadystatechange = function() { + if (script.readyState=='complete' || script.readyState=='loaded') { + func(); if (show) showRoot(); + } + } + } + head.appendChild(script); +} + +function createIndent(o,domNode,node,level) +{ + if (node.parentNode && node.parentNode.parentNode) { + createIndent(o,domNode,node.parentNode,level+1); + } + var imgNode = document.createElement("img"); + imgNode.width = 16; + imgNode.height = 22; + if (level==0 && node.childrenData) { + node.plus_img = imgNode; + node.expandToggle = document.createElement("a"); + node.expandToggle.href = "javascript:void(0)"; + node.expandToggle.onclick = function() { + if (node.expanded) { + $(node.getChildrenUL()).slideUp("fast"); + if (node.isLast) { + node.plus_img.src = node.relpath+"ftv2plastnode.png"; + } else { + node.plus_img.src = node.relpath+"ftv2pnode.png"; + } + node.expanded = false; + } else { + expandNode(o, node, false, false); + } + } + node.expandToggle.appendChild(imgNode); + domNode.appendChild(node.expandToggle); + } else { + domNode.appendChild(imgNode); + } + if (level==0) { + if (node.isLast) { + if (node.childrenData) { + imgNode.src = node.relpath+"ftv2plastnode.png"; + } else { + imgNode.src = node.relpath+"ftv2lastnode.png"; + domNode.appendChild(imgNode); + } + } else { + if (node.childrenData) { + imgNode.src = node.relpath+"ftv2pnode.png"; + } else { + imgNode.src = node.relpath+"ftv2node.png"; + domNode.appendChild(imgNode); + } + } + } else { + if (node.isLast) { + imgNode.src = node.relpath+"ftv2blank.png"; + } else { + imgNode.src = node.relpath+"ftv2vertline.png"; + } + } + imgNode.border = "0"; +} + +function newNode(o, po, text, link, childrenData, lastNode) +{ + var node = new Object(); + node.children = Array(); + node.childrenData = childrenData; + node.depth = po.depth + 1; + node.relpath = po.relpath; + node.isLast = lastNode; + + node.li = document.createElement("li"); + po.getChildrenUL().appendChild(node.li); + node.parentNode = po; + + node.itemDiv = document.createElement("div"); + node.itemDiv.className = "item"; + + node.labelSpan = document.createElement("span"); + node.labelSpan.className = "label"; + + createIndent(o,node.itemDiv,node,0); + node.itemDiv.appendChild(node.labelSpan); + node.li.appendChild(node.itemDiv); + + var a = document.createElement("a"); + node.labelSpan.appendChild(a); + node.label = document.createTextNode(text); + node.expanded = false; + a.appendChild(node.label); + if (link) { + var url; + if (link.substring(0,1)=='^') { + url = link.substring(1); + link = url; + } else { + url = node.relpath+link; + } + a.className = stripPath(link.replace('#',':')); + if (link.indexOf('#')!=-1) { + var aname = '#'+link.split('#')[1]; + var srcPage = stripPath($(location).attr('pathname')); + var targetPage = stripPath(link.split('#')[0]); + a.href = srcPage!=targetPage ? url : '#'; + a.onclick = function(){ + storeLink(link); + if (!$(a).parent().parent().hasClass('selected')) + { + $('.item').removeClass('selected'); + $('.item').removeAttr('id'); + $(a).parent().parent().addClass('selected'); + $(a).parent().parent().attr('id','selected'); + } + var pos, anchor = $(aname), docContent = $('#doc-content'); + if (anchor.parent().attr('class')=='memItemLeft') { + pos = anchor.parent().position().top; + } else if (anchor.position()) { + pos = anchor.position().top; + } + if (pos) { + var dist = Math.abs(Math.min( + pos-docContent.offset().top, + docContent[0].scrollHeight- + docContent.height()-docContent.scrollTop())); + docContent.animate({ + scrollTop: pos + docContent.scrollTop() - docContent.offset().top + },Math.max(50,Math.min(500,dist)),function(){ + window.location.replace(aname); + }); + } + }; + } else { + a.href = url; + a.onclick = function() { storeLink(link); } + } + } else { + if (childrenData != null) + { + a.className = "nolink"; + a.href = "javascript:void(0)"; + a.onclick = node.expandToggle.onclick; + } + } + + node.childrenUL = null; + node.getChildrenUL = function() { + if (!node.childrenUL) { + node.childrenUL = document.createElement("ul"); + node.childrenUL.className = "children_ul"; + node.childrenUL.style.display = "none"; + node.li.appendChild(node.childrenUL); + } + return node.childrenUL; + }; + + return node; +} + +function showRoot() +{ + var headerHeight = $("#top").height(); + var footerHeight = $("#nav-path").height(); + var windowHeight = $(window).height() - headerHeight - footerHeight; + (function (){ // retry until we can scroll to the selected item + try { + var navtree=$('#nav-tree'); + navtree.scrollTo('#selected',0,{offset:-windowHeight/2}); + } catch (err) { + setTimeout(arguments.callee, 0); + } + })(); +} + +function expandNode(o, node, imm, showRoot) +{ + if (node.childrenData && !node.expanded) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + expandNode(o, node, imm, showRoot); + }, showRoot); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } if (imm || ($.browser.msie && $.browser.version>8)) { + // somehow slideDown jumps to the start of tree for IE9 :-( + $(node.getChildrenUL()).show(); + } else { + $(node.getChildrenUL()).slideDown("fast"); + } + if (node.isLast) { + node.plus_img.src = node.relpath+"ftv2mlastnode.png"; + } else { + node.plus_img.src = node.relpath+"ftv2mnode.png"; + } + node.expanded = true; + } + } +} + +function glowEffect(n,duration) +{ + n.addClass('glow').delay(duration).queue(function(next){ + $(this).removeClass('glow');next(); + }); +} + +function highlightAnchor() +{ + var anchor = $($(location).attr('hash')); + if (anchor.parent().attr('class')=='memItemLeft'){ + var rows = $('.memberdecls tr[class$="'+ + window.location.hash.substring(1)+'"]'); + glowEffect(rows.children(),300); // member without details + } else if (anchor.parents().slice(2).prop('tagName')=='TR') { + glowEffect(anchor.parents('div.memitem'),1000); // enum value + } else if (anchor.parent().attr('class')=='fieldtype'){ + glowEffect(anchor.parent().parent(),1000); // struct field + } else if (anchor.parent().is(":header")) { + glowEffect(anchor.parent(),1000); // section header + } else { + glowEffect(anchor.next(),1000); // normal member + } +} + +function selectAndHighlight(hash,n) +{ + var a; + if (hash) { + var link=stripPath($(location).attr('pathname'))+':'+hash.substring(1); + a=$('.item a[class$="'+link+'"]'); + } + if (a && a.length) { + a.parent().parent().addClass('selected'); + a.parent().parent().attr('id','selected'); + highlightAnchor(); + } else if (n) { + $(n.itemDiv).addClass('selected'); + $(n.itemDiv).attr('id','selected'); + } + showRoot(); +} + +function showNode(o, node, index, hash) +{ + if (node && node.childrenData) { + if (typeof(node.childrenData)==='string') { + var varName = node.childrenData; + getScript(node.relpath+varName,function(){ + node.childrenData = getData(varName); + showNode(o,node,index,hash); + },true); + } else { + if (!node.childrenVisited) { + getNode(o, node); + } + $(node.getChildrenUL()).show(); + if (node.isLast) { + node.plus_img.src = node.relpath+"ftv2mlastnode.png"; + } else { + node.plus_img.src = node.relpath+"ftv2mnode.png"; + } + node.expanded = true; + var n = node.children[o.breadcrumbs[index]]; + if (index+11) hash = '#'+parts[1]; + else hash=''; + } + if (root==NAVTREE[0][1]) { + $('#nav-sync').css('top','30px'); + } else { + $('#nav-sync').css('top','5px'); + } + if (hash.match(/^#l\d+$/)) { + var anchor=$('a[name='+hash.substring(1)+']'); + glowEffect(anchor.parent(),1000); // line number + hash=''; // strip line number anchors + //root=root.replace(/_source\./,'.'); // source link to doc link + } + var url=root+hash; + var i=-1; + while (NAVTREEINDEX[i+1]<=url) i++; + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath) + } else { + getScript(relpath+'navtreeindex'+i,function(){ + navTreeSubIndices[i] = eval('NAVTREEINDEX'+i); + if (navTreeSubIndices[i]) { + gotoNode(o,i,root,hash,relpath); + } + },true); + } +} + +function toggleSyncButton(relpath) +{ + var navSync = $('#nav-sync'); + if (navSync.hasClass('sync')) { + navSync.removeClass('sync'); + navSync.html(''); + storeLink(stripPath2($(location).attr('pathname'))+$(location).attr('hash')); + } else { + navSync.addClass('sync'); + navSync.html(''); + deleteLink(); + } +} + +function initNavTree(toroot,relpath) +{ + var o = new Object(); + o.toroot = toroot; + o.node = new Object(); + o.node.li = document.getElementById("nav-tree-contents"); + o.node.childrenData = NAVTREE; + o.node.children = new Array(); + o.node.childrenUL = document.createElement("ul"); + o.node.getChildrenUL = function() { return o.node.childrenUL; }; + o.node.li.appendChild(o.node.childrenUL); + o.node.depth = 0; + o.node.relpath = relpath; + o.node.expanded = false; + o.node.isLast = true; + o.node.plus_img = document.createElement("img"); + o.node.plus_img.src = relpath+"ftv2pnode.png"; + o.node.plus_img.width = 16; + o.node.plus_img.height = 22; + + if (localStorageSupported()) { + var navSync = $('#nav-sync'); + if (cachedLink()) { + navSync.html(''); + navSync.removeClass('sync'); + } else { + navSync.html(''); + } + navSync.click(function(){ toggleSyncButton(relpath); }); + } + + navTo(o,toroot,window.location.hash,relpath); + + $(window).bind('hashchange', function(){ + if (window.location.hash && window.location.hash.length>1){ + var a; + if ($(location).attr('hash')){ + var clslink=stripPath($(location).attr('pathname'))+':'+ + $(location).attr('hash').substring(1); + a=$('.item a[class$="'+clslink+'"]'); + } + if (a==null || !$(a).parent().parent().hasClass('selected')){ + $('.item').removeClass('selected'); + $('.item').removeAttr('id'); + } + var link=stripPath2($(location).attr('pathname')); + navTo(o,link,$(location).attr('hash'),relpath); + } + }) + + $(window).load(showRoot); +} + diff --git a/Doxygen/Docs/html/navtreeindex0.js b/Doxygen/Docs/html/navtreeindex0.js new file mode 100644 index 00000000..1728a4eb --- /dev/null +++ b/Doxygen/Docs/html/navtreeindex0.js @@ -0,0 +1,253 @@ +var NAVTREEINDEX0 = +{ +".html":[0,0,0], +".html":[0,0,1], +"_camera_8cpp.html":[1,0,0], +"_camera_8cpp.html#a00e96bcc90e768c724477dbd2a3d9291":[1,0,0,0], +"_camera_8cpp_source.html":[1,0,0], +"_camera_8hpp.html":[1,0,1], +"_camera_8hpp_source.html":[1,0,1], +"_cameras_8cpp.html":[1,0,2], +"_cameras_8cpp_source.html":[1,0,2], +"_cameras_8hpp.html":[1,0,3], +"_cameras_8hpp_source.html":[1,0,3], +"_engine_8cpp.html":[1,0,5], +"_engine_8cpp_source.html":[1,0,5], +"_engine_8hpp.html":[1,0,6], +"_engine_8hpp.html#a35f3ec1606bb0642e48d2e62fea0d6a6":[1,0,6,1], +"_engine_8hpp_source.html":[1,0,6], +"_init_shader_8cpp.html":[1,0,12], +"_init_shader_8cpp.html#a1e0c2d7120ea4f2e30000d134a9dc335":[1,0,12,1], +"_init_shader_8cpp.html#a2aada14c28b14e8b0cd65624c977f232":[1,0,12,2], +"_init_shader_8cpp.html#a3843d248891b046152c72626e9815c85":[1,0,12,3], +"_init_shader_8cpp.html#aa848a95e858e08d3718ccb1ecce0a05a":[1,0,12,0], +"_init_shader_8cpp_source.html":[1,0,12], +"_init_shader_8hpp.html":[1,0,13], +"_init_shader_8hpp.html#a2aada14c28b14e8b0cd65624c977f232":[1,0,13,2], +"_init_shader_8hpp.html#abb13017b9a808564eee922ad64d2fb64":[1,0,13,0], +"_init_shader_8hpp.html#ae6e696012f217d3f454fe4d616fe2845":[1,0,13,1], +"_init_shader_8hpp_source.html":[1,0,13], +"_kinect_inator_8cpp.html":[1,0,14], +"_kinect_inator_8cpp.html#a573ac54b7dee7b9c4b5f74bb5b624f93":[1,0,14,6], +"_kinect_inator_8cpp.html#a60ac817a27259ef08534e893bbf50739":[1,0,14,0], +"_kinect_inator_8cpp.html#a7c2fa90a51789e3f8c1ed931cd92b176":[1,0,14,7], +"_kinect_inator_8cpp.html#a82a48d671384d81ae21db20a59e1bd77":[1,0,14,2], +"_kinect_inator_8cpp.html#a8aecdfd3373cb573aceb7f8bfa1b6a01":[1,0,14,5], +"_kinect_inator_8cpp.html#a8ba5423b62998cceb82796c41cd0fa5f":[1,0,14,3], +"_kinect_inator_8cpp.html#ad04f37063176106882768375bd165688":[1,0,14,1], +"_kinect_inator_8cpp.html#ae8ca42e4f66c3bb2d063e8adf9882209":[1,0,14,8], +"_kinect_inator_8cpp.html#aff60759f8c46a07b0bdf3274b6685e87":[1,0,14,4], +"_kinect_inator_8cpp_source.html":[1,0,14], +"_kinect_inator_8hpp.html":[1,0,15], +"_kinect_inator_8hpp.html#a1752c24f7978482426e096cf18602f2d":[1,0,15,7], +"_kinect_inator_8hpp.html#a1a8a54afcffdea07862f5d526d2d8d5e":[1,0,15,6], +"_kinect_inator_8hpp.html#a34f2c6bb9f5eae3dd5a8de1117093ee9":[1,0,15,3], +"_kinect_inator_8hpp.html#a5d4347bd3b04b46e63d5448a3fc5ace6":[1,0,15,4], +"_kinect_inator_8hpp.html#ab39ca03856a52b67f27ad9b418b6bcc6":[1,0,15,5], +"_kinect_inator_8hpp.html#ad325d7e7cf672f0e4528ca4d749892fd":[1,0,15,1], +"_kinect_inator_8hpp.html#ae9240abca632df157780cb9c6a06e452":[1,0,15,2], +"_kinect_inator_8hpp_source.html":[1,0,15], +"_m_o_n_o_l_i_t_h_8cpp.html":[1,0,23], +"_m_o_n_o_l_i_t_h_8cpp.html#a01131b63acf241e9db91704d89ce15d2":[1,0,23,3], +"_m_o_n_o_l_i_t_h_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947":[1,0,23,4], +"_m_o_n_o_l_i_t_h_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627":[1,0,23,5], +"_m_o_n_o_l_i_t_h_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd":[1,0,23,1], +"_m_o_n_o_l_i_t_h_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256":[1,0,23,2], +"_m_o_n_o_l_i_t_h_8cpp.html#aeb94fbd457627182ceee7e505f432541":[1,0,23,0], +"_m_o_n_o_l_i_t_h_8cpp_source.html":[1,0,23], +"_obj_loader_8cpp.html":[1,0,27], +"_obj_loader_8cpp.html#a4cb0dfcb29f0477e362e8cd71dfd7e66":[1,0,27,7], +"_obj_loader_8cpp.html#a5fc5a76891a19debb9aa8e2557e3d26a":[1,0,27,0], +"_obj_loader_8cpp.html#a8f7b9385e9df4b840509b33d1054bc9e":[1,0,27,1], +"_obj_loader_8cpp.html#a943cf8094179b0b8d0ff49157e17b377":[1,0,27,6], +"_obj_loader_8cpp.html#aae18dfc115b28f55832ce80fc95f8d96":[1,0,27,5], +"_obj_loader_8cpp.html#ac0b05bceb9e38231baf226daa7d741de":[1,0,27,8], +"_obj_loader_8cpp.html#ad99d9bd311b4c7d846d08c21944bda40":[1,0,27,4], +"_obj_loader_8cpp.html#aeaebb6a6f99caea6d583b022830691de":[1,0,27,3], +"_obj_loader_8cpp.html#af5cf29ebddab573e1abf3798e4cdb031":[1,0,27,2], +"_obj_loader_8cpp_source.html":[1,0,27], +"_obj_loader_8hpp.html":[1,0,28], +"_obj_loader_8hpp.html#a4cb0dfcb29f0477e362e8cd71dfd7e66":[1,0,28,6], +"_obj_loader_8hpp.html#a8f7b9385e9df4b840509b33d1054bc9e":[1,0,28,0], +"_obj_loader_8hpp.html#a943cf8094179b0b8d0ff49157e17b377":[1,0,28,5], +"_obj_loader_8hpp.html#aae18dfc115b28f55832ce80fc95f8d96":[1,0,28,4], +"_obj_loader_8hpp.html#ac0b05bceb9e38231baf226daa7d741de":[1,0,28,7], +"_obj_loader_8hpp.html#ad99d9bd311b4c7d846d08c21944bda40":[1,0,28,3], +"_obj_loader_8hpp.html#aeaebb6a6f99caea6d583b022830691de":[1,0,28,2], +"_obj_loader_8hpp.html#af5cf29ebddab573e1abf3798e4cdb031":[1,0,28,1], +"_obj_loader_8hpp_source.html":[1,0,28], +"_object_8cpp.html":[1,0,25], +"_object_8cpp_source.html":[1,0,25], +"_object_8hpp.html":[1,0,26], +"_object_8hpp_source.html":[1,0,26], +"_open_g_l_8h.html":[1,0,29], +"_open_g_l_8h_source.html":[1,0,29], +"_particle_8cpp.html":[1,0,30], +"_particle_8cpp_source.html":[1,0,30], +"_particle_8hpp.html":[1,0,31], +"_particle_8hpp_source.html":[1,0,31], +"_particle_system_8cpp.html":[1,0,32], +"_particle_system_8cpp_source.html":[1,0,32], +"_particle_system_8hpp.html":[1,0,33], +"_particle_system_8hpp.html#ad1c81bdd9121bf40ee4a7bd727a25d81":[1,0,33,1], +"_particle_system_8hpp_source.html":[1,0,33], +"_scene_8cpp.html":[1,0,37], +"_scene_8cpp.html#a439b63c800f565e1e69347141c9ec7f2":[1,0,37,0], +"_scene_8cpp_source.html":[1,0,37], +"_scene_8hpp.html":[1,0,38], +"_scene_8hpp_source.html":[1,0,38], +"_screen_8cpp.html":[1,0,39], +"_screen_8cpp_source.html":[1,0,39], +"_screen_8hpp.html":[1,0,40], +"_screen_8hpp_source.html":[1,0,40], +"_spelchk_camera_8cpp.html":[1,0,41], +"_spelchk_camera_8cpp_source.html":[1,0,41], +"_spelchk_camera_8hpp.html":[1,0,42], +"_spelchk_camera_8hpp_source.html":[1,0,42], +"_texture_8cpp.html":[1,0,44], +"_texture_8cpp_source.html":[1,0,44], +"_texture_8hpp.html":[1,0,45], +"_texture_8hpp_source.html":[1,0,45], +"_timer_8cpp.html":[1,0,46], +"_timer_8cpp.html#a5e8ae978307d3cb3dc9b57b60dcc2039":[1,0,46,3], +"_timer_8cpp.html#a74f0f3537c6a7d7eda1f4fb5da08bd8b":[1,0,46,1], +"_timer_8cpp.html#a7f0f6f8e68d3fd03a27a89ec0093e3c9":[1,0,46,2], +"_timer_8cpp.html#a939dac86d703927f3517b60d37e77d04":[1,0,46,0], +"_timer_8cpp_source.html":[1,0,46], +"_timer_8hpp.html":[1,0,47], +"_timer_8hpp.html#a5e8ae978307d3cb3dc9b57b60dcc2039":[1,0,47,2], +"_timer_8hpp.html#aae1c545a2921ea7b488ba4e4aa06718a":[1,0,47,1], +"_timer_8hpp_source.html":[1,0,47], +"_trans_cache_8cpp.html":[1,0,48], +"_trans_cache_8cpp_source.html":[1,0,48], +"_trans_cache_8hpp.html":[1,0,49], +"_trans_cache_8hpp_source.html":[1,0,49], +"_transformation_8cpp.html":[1,0,50], +"_transformation_8cpp.html#a53f3ae0902640515114b708be7f07ee7":[1,0,50,0], +"_transformation_8cpp_source.html":[1,0,50], +"_transformation_8hpp.html":[1,0,51], +"_transformation_8hpp.html#a53f3ae0902640515114b708be7f07ee7":[1,0,51,4], +"_transformation_8hpp_source.html":[1,0,51], +"_wii_util_8cpp.html":[1,0,54], +"_wii_util_8cpp.html#a0ac7f94ee902c85eefd8b80f2457d1e3":[1,0,54,7], +"_wii_util_8cpp.html#a22c71d2e6da954a4f7da5b579dae21e5":[1,0,54,1], +"_wii_util_8cpp.html#a6dc8b77be8d8cfdef9e653bcc4c316bb":[1,0,54,0], +"_wii_util_8cpp.html#a8e390116330452e4d19b6db30dafc767":[1,0,54,5], +"_wii_util_8cpp.html#a9e9e82bc299b4b839df01865133abb33":[1,0,54,2], +"_wii_util_8cpp.html#ac087b718fc21247c9e629ac762cee525":[1,0,54,3], +"_wii_util_8cpp.html#ac3c18e1146115dcb58a284d48e290ca2":[1,0,54,4], +"_wii_util_8cpp.html#aca54a6c85977727bdae95a9b22c20f9b":[1,0,54,6], +"_wii_util_8cpp_source.html":[1,0,54], +"_wii_util_8h.html":[1,0,55], +"_wii_util_8h.html#a0ac7f94ee902c85eefd8b80f2457d1e3":[1,0,55,7], +"_wii_util_8h.html#a6dc8b77be8d8cfdef9e653bcc4c316bb":[1,0,55,1], +"_wii_util_8h.html#a8e390116330452e4d19b6db30dafc767":[1,0,55,4], +"_wii_util_8h.html#ac087b718fc21247c9e629ac762cee525":[1,0,55,2], +"_wii_util_8h.html#acbafc0bce65c49b87aa8d693bda8e54d":[1,0,55,6], +"_wii_util_8h.html#aec2cb9d36c031c4448059941ff0f127b":[1,0,55,5], +"_wii_util_8h.html#af8a8ff4c6c2aecd6722464f76b3414a5":[1,0,55,3], +"_wii_util_8h_source.html":[1,0,55], +"annotated.html":[0,0], +"class_angel_1_1mat2.html":[0,0,0,0], +"class_angel_1_1mat2.html#a04ca47b08412fa9c9ed5067843df53e9":[0,0,0,0,22], +"class_angel_1_1mat2.html#a0b457bdc16735b356a68baaca2d2037f":[0,0,0,0,14], +"class_angel_1_1mat2.html#a181da09b6d2e8e687a8a6832b453a053":[0,0,0,0,15], +"class_angel_1_1mat2.html#a1964937b0ce62e819edb23c8eeee9ddc":[0,0,0,0,5], +"class_angel_1_1mat2.html#a1be53f556f8dd39cc2a95c0168319129":[0,0,0,0,8], +"class_angel_1_1mat2.html#a227fe98f0e64b8c849ddc45d64b31524":[0,0,0,0,6], +"class_angel_1_1mat2.html#a264412852cfa06a39b477d08b390d8e8":[0,0,0,0,20], +"class_angel_1_1mat2.html#a28913fa178e1d31303701bfb68a18206":[0,0,0,0,1], +"class_angel_1_1mat2.html#a413f7a4b589ff434f6a4f3a2bf2e3238":[0,0,0,0,4], +"class_angel_1_1mat2.html#a4311450f6bb2b9c0413470c1877718f7":[0,0,0,0,3], +"class_angel_1_1mat2.html#a43f4ce08af11ef35f85de6c785b093a8":[0,0,0,0,21], +"class_angel_1_1mat2.html#a50fb8a22b3178810f74a0cca7dcb5b42":[0,0,0,0,9], +"class_angel_1_1mat2.html#a6ae2926130c3291c6901355c0d7ab9d0":[0,0,0,0,12], +"class_angel_1_1mat2.html#a767d5c1e30cf67ddce4d5f917d337bae":[0,0,0,0,13], +"class_angel_1_1mat2.html#a9015e221ffcb42c91a927a8a307ace8b":[0,0,0,0,11], +"class_angel_1_1mat2.html#a922505784f3ff68666c32ea610d98579":[0,0,0,0,2], +"class_angel_1_1mat2.html#a93186aa02a28897515079acad73bd0dd":[0,0,0,0,19], +"class_angel_1_1mat2.html#a9cd43f0d8628af058eb2a8a45823558d":[0,0,0,0,17], +"class_angel_1_1mat2.html#ab07cf1133d24947e4c9c5b329bb97526":[0,0,0,0,7], +"class_angel_1_1mat2.html#ad72c91bf3c2d1ea79a0ee67f50b3dda6":[0,0,0,0,16], +"class_angel_1_1mat2.html#ae102b820abff2323c45227b2b8bbf750":[0,0,0,0,0], +"class_angel_1_1mat2.html#ae473dedc654b83baa25a34f9d5e9061f":[0,0,0,0,10], +"class_angel_1_1mat2.html#ae6f4de77d3e72ce41397fd5accdbbc4e":[0,0,0,0,18], +"class_angel_1_1mat3.html":[0,0,0,1], +"class_angel_1_1mat3.html#a1315bcb40b29673956e48f7c807a8e6e":[0,0,0,1,3], +"class_angel_1_1mat3.html#a169ddab082b2c0da9ab028ec1a1c223c":[0,0,0,1,0], +"class_angel_1_1mat3.html#a1d8dde0ed668c30af292f9b53253dec9":[0,0,0,1,4], +"class_angel_1_1mat3.html#a5548a1da78e29cc9e093414e897e44b0":[0,0,0,1,17], +"class_angel_1_1mat3.html#a5b68f66855c70b79a86a3ddc65acda6f":[0,0,0,1,5], +"class_angel_1_1mat3.html#a62a888ec4f7f9246960253eea5acfc89":[0,0,0,1,1], +"class_angel_1_1mat3.html#a6635568333982f7819539a273e1d5c88":[0,0,0,1,6], +"class_angel_1_1mat3.html#a72b528f838b9a7c25daeda95c2e54431":[0,0,0,1,16], +"class_angel_1_1mat3.html#a74f28d013f4b222a45fd4ca339e04ed0":[0,0,0,1,15], +"class_angel_1_1mat3.html#a7f2d2eee7fdca9f2a97bb169153a501d":[0,0,0,1,12], +"class_angel_1_1mat3.html#a80b42b08d55fbaee1001ee733ed16471":[0,0,0,1,14], +"class_angel_1_1mat3.html#a816f9f6ba6cbebea56b0f84432643e4a":[0,0,0,1,8], +"class_angel_1_1mat3.html#a85d71885cc6797f2553701eb01c52851":[0,0,0,1,20], +"class_angel_1_1mat3.html#a937bb5305c6e023812a87d0a329546b0":[0,0,0,1,22], +"class_angel_1_1mat3.html#a9d05f262d88c02009bdcc24afb0b5f91":[0,0,0,1,18], +"class_angel_1_1mat3.html#aa6ac075e9f3776b3d6eba3e8207ab990":[0,0,0,1,21], +"class_angel_1_1mat3.html#ab15ce66a9d7c31c47eb954c1fac269dc":[0,0,0,1,11], +"class_angel_1_1mat3.html#ace9e4a45d3dc4ad3d6d05474159e75f9":[0,0,0,1,10], +"class_angel_1_1mat3.html#ad6ad753f499abf25615da51a4acd3451":[0,0,0,1,13], +"class_angel_1_1mat3.html#ad9345c93609b63264fb4a4d48cef9e47":[0,0,0,1,19], +"class_angel_1_1mat3.html#adac89ce7cc0b0b566f0dcd66e9746119":[0,0,0,1,2], +"class_angel_1_1mat3.html#add5cf6842bebfce53ba2af6bdd48436f":[0,0,0,1,9], +"class_angel_1_1mat3.html#aec8a7afc3f8b30365d30a393048e43e6":[0,0,0,1,7], +"class_angel_1_1mat4.html":[0,0,0,2], +"class_angel_1_1mat4.html#a0f22db6237d4fbb916bf82be7132bd6c":[0,0,0,2,9], +"class_angel_1_1mat4.html#a0f8c1b50c454341ff26f006a0ff09788":[0,0,0,2,16], +"class_angel_1_1mat4.html#a36a1eca30d83a2bdbd7d2ec6675ee853":[0,0,0,2,10], +"class_angel_1_1mat4.html#a4231505378561a211c9c98ef665ed2e4":[0,0,0,2,2], +"class_angel_1_1mat4.html#a43eac2e676368c54279c3babf511fa6b":[0,0,0,2,20], +"class_angel_1_1mat4.html#a4d1df5516693e2a58bef2fb89e1820ad":[0,0,0,2,11], +"class_angel_1_1mat4.html#a751177e4ed4083c4935c18e20d99c394":[0,0,0,2,1], +"class_angel_1_1mat4.html#a7d837bc6b2b7cc9e1d5b76b52d61c784":[0,0,0,2,15], +"class_angel_1_1mat4.html#a820e0c317d1836cd224ff75f676c6f2f":[0,0,0,2,8], +"class_angel_1_1mat4.html#a83e8b31ac751f67e31985fc104e1a0e6":[0,0,0,2,5], +"class_angel_1_1mat4.html#a8458337af4a94968e5840e9851ecfa81":[0,0,0,2,18], +"class_angel_1_1mat4.html#a897b946d3a30dbddc811d486bfa4b61a":[0,0,0,2,22], +"class_angel_1_1mat4.html#a90585682655be2fb6093f8b95756b12c":[0,0,0,2,7], +"class_angel_1_1mat4.html#a927716d9eb0e35e6f577beca4a4fc243":[0,0,0,2,23], +"class_angel_1_1mat4.html#a93c2295529f8cde832378076837d202e":[0,0,0,2,4], +"class_angel_1_1mat4.html#aa1d00cd134d37716c9613435b624bf7d":[0,0,0,2,3], +"class_angel_1_1mat4.html#aabe5c0344339577204843c3fcee0b456":[0,0,0,2,6], +"class_angel_1_1mat4.html#abb4e232fc14fe9a7033a093613ea4b58":[0,0,0,2,13], +"class_angel_1_1mat4.html#ac079e857a3c74a1b974e4f4619e16adf":[0,0,0,2,21], +"class_angel_1_1mat4.html#ac78d6efb4a0d639d645acd4f00e8b3b6":[0,0,0,2,17], +"class_angel_1_1mat4.html#ae4dcc751dab1439d187d31187527d7db":[0,0,0,2,0], +"class_angel_1_1mat4.html#aee74ba4512e3c59e8ed73764e4396d59":[0,0,0,2,19], +"class_angel_1_1mat4.html#af061ec3446e24ea24e7e0eb981ed4465":[0,0,0,2,14], +"class_angel_1_1mat4.html#afcec838432820dec7fa3059f5142270d":[0,0,0,2,12], +"class_camera.html":[0,0,2], +"class_camera.html#a06211f202c145b3ec8253f96e1e654a6":[0,0,2,11], +"class_camera.html#a0ce7d12edbe47d9a8915d8af98d8f524":[0,0,2,75], +"class_camera.html#a0d604a816115c474b9593aeaebda9f8b":[0,0,2,17], +"class_camera.html#a0ed19c96505cbb70625938d1e883af24":[0,0,2,1], +"class_camera.html#a11d6063c580331d6af59c8d71b7f3e9f":[0,0,2,40], +"class_camera.html#a14d59ca64bf258adacbed4e0e70ba701":[0,0,2,71], +"class_camera.html#a16516fa8c830cecef5c8eb43eff12783":[0,0,2,8], +"class_camera.html#a1ba0979fe0b2ec58085d5f9721858e5e":[0,0,2,60], +"class_camera.html#a20243a7e3eb06ab1265118c5fb9cce9b":[0,0,2,21], +"class_camera.html#a20bb786cb5915934853855aab9d1a1b3":[0,0,2,99], +"class_camera.html#a2148d751f104d8e39c9832e2372df2d9":[0,0,2,37], +"class_camera.html#a21f8eb53e5369018e39add0453ae626d":[0,0,2,100], +"class_camera.html#a24329612384948d2b64f78094fe84e75":[0,0,2,9], +"class_camera.html#a24c5346fc0dfaa93257b6716fe0f2421":[0,0,2,58], +"class_camera.html#a28f6e710df6db726568cd0f2bbd3643a":[0,0,2,109], +"class_camera.html#a293792abfe0671e00a0ec10e85ea9d9e":[0,0,2,19], +"class_camera.html#a29a0e9959c490067db69378bf57a17ba":[0,0,2,80], +"class_camera.html#a2a6845dacbb468c5c097c7a6ab5a0fe0":[0,0,2,23], +"class_camera.html#a2ac5f89b4f9f012dead66980925143c0":[0,0,2,26], +"class_camera.html#a2e6b319b60e27e66ad43bb942a6c4424":[0,0,2,24], +"class_camera.html#a2fdd201413e0408f5a2508874acd2ef5":[0,0,2,57], +"class_camera.html#a36ec0e0e832f789e27d42e7bd4f6d174":[0,0,2,34], +"class_camera.html#a3f617214b260ebbe394e7c7b08ab5e43":[0,0,2,98], +"class_camera.html#a401decef27b59d6485b4ab9762f5b9e6":[0,0,2,61], +"class_camera.html#a42082e8f2d80a13674ce163d8e720bfb":[0,0,2,78], +"class_camera.html#a432e03c15d63f8839fe4731016d907a4":[0,0,2,51], +"class_camera.html#a459489106838a1e3a8dbbd13045cd523":[0,0,2,62], +"class_camera.html#a4ac354b3ec284f27358b1d4b8d95b9a9":[0,0,2,108] +}; diff --git a/Doxygen/Docs/html/navtreeindex1.js b/Doxygen/Docs/html/navtreeindex1.js new file mode 100644 index 00000000..03dac56c --- /dev/null +++ b/Doxygen/Docs/html/navtreeindex1.js @@ -0,0 +1,253 @@ +var NAVTREEINDEX1 = +{ +"class_camera.html#a4acfa20291c83f13c98781c0d53cdbd8":[0,0,2,76], +"class_camera.html#a4d875d29a43bdfed4eac4c76747939d3":[0,0,2,101], +"class_camera.html#a4ec2e3d2a66826aedb1ac1eee7da0b96":[0,0,2,28], +"class_camera.html#a5021b8379a853f306851837178856db0":[0,0,2,73], +"class_camera.html#a53e2ee7f548550be014126bed139fe69":[0,0,2,29], +"class_camera.html#a543d2329b25df9fb0a782f09d03e5cb1":[0,0,2,42], +"class_camera.html#a564aa6b1df66a05ab6b6c2f071851c4e":[0,0,2,106], +"class_camera.html#a59570a88e3ff2d277c9e995372fcadfe":[0,0,2,32], +"class_camera.html#a5b2dc5eaed6cbaabee0eea3f2714acd7":[0,0,2,4], +"class_camera.html#a5baa9891bd4981d62b4e86a1c2a8eea7":[0,0,2,96], +"class_camera.html#a630738fd23098d44c0d15ee28d5649dd":[0,0,2,6], +"class_camera.html#a630738fd23098d44c0d15ee28d5649dda0668f2f217abfa641e0ccc950afb5502":[0,0,2,6,4], +"class_camera.html#a630738fd23098d44c0d15ee28d5649dda1827921189f1705617e9095c4c987a72":[0,0,2,6,5], +"class_camera.html#a630738fd23098d44c0d15ee28d5649dda42232985b2e20533d58b84ea50d8262b":[0,0,2,6,2], +"class_camera.html#a630738fd23098d44c0d15ee28d5649dda5247bef56608d201873d36337882ff40":[0,0,2,6,3], +"class_camera.html#a630738fd23098d44c0d15ee28d5649dda8755e70833f6013e9e9ace5105be6d36":[0,0,2,6,0], +"class_camera.html#a630738fd23098d44c0d15ee28d5649ddaa724886fecc6e17614369a89202de10a":[0,0,2,6,1], +"class_camera.html#a6378d0b0eeec23045ae2a5245e42bf13":[0,0,2,105], +"class_camera.html#a66fb66da0ccd400c4986dc19276b6716":[0,0,2,86], +"class_camera.html#a67c7600162abef1d2cddfce8cc75c33b":[0,0,2,111], +"class_camera.html#a68d0865ed19510ee41c6477511d70185":[0,0,2,74], +"class_camera.html#a6c1e31c8470b923f9f872f73597cb95b":[0,0,2,81], +"class_camera.html#a6e19bd8516360bff956408cbae33b878":[0,0,2,3], +"class_camera.html#a70fcdad192a4c6ff508125de8af6cf4d":[0,0,2,46], +"class_camera.html#a717f5d58bb0a73f8c5513a3520d98203":[0,0,2,15], +"class_camera.html#a73f1a6210bacf504de9a808009479b81":[0,0,2,47], +"class_camera.html#a74300b3fa318786e21b65183461c5e25":[0,0,2,68], +"class_camera.html#a7694c9cfe445c3d5b993a38e3f8badd9":[0,0,2,43], +"class_camera.html#a79b74057dbc5182b85c9c3ba8480fcf2":[0,0,2,2], +"class_camera.html#a7edb92c30d86b6479b0ff2a5e9f06e13":[0,0,2,18], +"class_camera.html#a7fbbac9027e1a8266342bd5ce064120d":[0,0,2,95], +"class_camera.html#a80cb65605322d27ad3b6d973484509ec":[0,0,2,5], +"class_camera.html#a80cb65605322d27ad3b6d973484509eca1182ad86cdaf5ee5871a7623093f499a":[0,0,2,5,7], +"class_camera.html#a80cb65605322d27ad3b6d973484509eca35b8ccf8cb2ea0eeb25555bbf80fd3a9":[0,0,2,5,4], +"class_camera.html#a80cb65605322d27ad3b6d973484509eca5d7f93a74e5435edd0bb88ab06169912":[0,0,2,5,1], +"class_camera.html#a80cb65605322d27ad3b6d973484509eca6c93a7586f26ad3018cb5a8fbed714dc":[0,0,2,5,2], +"class_camera.html#a80cb65605322d27ad3b6d973484509eca902b2cfde2f51a981043dd00b382d7ae":[0,0,2,5,0], +"class_camera.html#a80cb65605322d27ad3b6d973484509ecaaae67014745e71ff3f8a9b15312eeede":[0,0,2,5,5], +"class_camera.html#a80cb65605322d27ad3b6d973484509ecae3cd0178bdd55c347c9f6118a97b061f":[0,0,2,5,6], +"class_camera.html#a80cb65605322d27ad3b6d973484509ecaff74732b6e731f12136d1e9c543030d2":[0,0,2,5,3], +"class_camera.html#a82542bb76347e2a2bb66b3bb7842945b":[0,0,2,85], +"class_camera.html#a83cab43f9ccc3d5f4c7db8543a806745":[0,0,2,94], +"class_camera.html#a8463a19c9e1e7a1c51cd97051e937230":[0,0,2,20], +"class_camera.html#a8893899f0088a72642ae32a656252e7f":[0,0,2,39], +"class_camera.html#a8bd5d86484a12255b26b92b6cbf8d29a":[0,0,2,92], +"class_camera.html#a8ec7938c5e25068e5bff25aeb7038af4":[0,0,2,59], +"class_camera.html#a8f9bdd8ec5edb1f414fbd314a36e2724":[0,0,2,87], +"class_camera.html#a928de59670f0b31264307a8a0888b99d":[0,0,2,27], +"class_camera.html#a94bb7ceb1c7a05e54cf638924f228baf":[0,0,2,0], +"class_camera.html#a983963f564898beca4bda99676245663":[0,0,2,88], +"class_camera.html#a98d3f1b9ebb61c3b21e2a59ed267480a":[0,0,2,25], +"class_camera.html#a9982ac5f48fe0af97fefa725080d6da6":[0,0,2,54], +"class_camera.html#a9b3675bf6866a67f8fa802bb4aecba89":[0,0,2,35], +"class_camera.html#a9c620bd05c119791c080e479ee71abc2":[0,0,2,38], +"class_camera.html#aa131bc7f1bad2cc8baea463714c4485d":[0,0,2,10], +"class_camera.html#aa15577ff9e67c81699ee86d4d20a7ee7":[0,0,2,107], +"class_camera.html#aa5a48614e959c38c35d824fa9d6a4b8b":[0,0,2,14], +"class_camera.html#aa9ddc3b95d74b76ab8a251fb376dfafb":[0,0,2,103], +"class_camera.html#aaa256acd50a2fa143d9f8d9456e2802f":[0,0,2,7], +"class_camera.html#aaa256acd50a2fa143d9f8d9456e2802fa34783417054408fd9e024048b1cefa47":[0,0,2,7,0], +"class_camera.html#aaa256acd50a2fa143d9f8d9456e2802fa5421bcd519dac606b7af9786b11f88d6":[0,0,2,7,1], +"class_camera.html#aaa256acd50a2fa143d9f8d9456e2802fa78d477575c92ab2e4a2458b20c8c3303":[0,0,2,7,3], +"class_camera.html#aaa256acd50a2fa143d9f8d9456e2802fa956cf59f551197f8d3db160be681024f":[0,0,2,7,2], +"class_camera.html#aaa256acd50a2fa143d9f8d9456e2802fac36bb001e86bb48deaa6d984034eba83":[0,0,2,7,4], +"class_camera.html#aaa9706527438bd5bd323dd018bb34fcf":[0,0,2,44], +"class_camera.html#aac7dbb6201be7f17e014fc6fdf915560":[0,0,2,49], +"class_camera.html#aafd766fce2598f718cac97a3ac731706":[0,0,2,45], +"class_camera.html#ab0ba603904f8f7de15dc0450e2d9b30e":[0,0,2,36], +"class_camera.html#ab1167495c547046c57b1c417e53c39f6":[0,0,2,77], +"class_camera.html#ab84abdd525581fbaf0462595d0a087d6":[0,0,2,72], +"class_camera.html#ab85adc7a2d3b891051c096593982653d":[0,0,2,89], +"class_camera.html#ab94ed9b3c7e12f484d6bfa5f827b59ff":[0,0,2,33], +"class_camera.html#aba32f195cdb5bfcfd05c2ce74315b6c3":[0,0,2,16], +"class_camera.html#abb2251df65445bf8efd3fe0074fb5033":[0,0,2,65], +"class_camera.html#abbe6fe82ed05e64e35b0c4ed2001b34e":[0,0,2,66], +"class_camera.html#abcb877094b696561a49bc931c5a12d9f":[0,0,2,90], +"class_camera.html#abec7e2becbad5a692a54a69b6a5f6d75":[0,0,2,97], +"class_camera.html#abee6a36602b8044478739cea9221ed41":[0,0,2,12], +"class_camera.html#ac64609eb614aa5974b74000cec6fc95c":[0,0,2,55], +"class_camera.html#ac7985a6cb48f4e1e74fda17e5213dd74":[0,0,2,31], +"class_camera.html#ac852d5d763eb35b4908c9aa7ea54d1ae":[0,0,2,56], +"class_camera.html#ac9062d9bb891aa81d163076738451081":[0,0,2,83], +"class_camera.html#acbfae99c73c118ca92be9a6ba664b303":[0,0,2,93], +"class_camera.html#accb051cdc79bc93e8c9c0edb79dd6b30":[0,0,2,41], +"class_camera.html#acdd0123ca6b2d64d8d447bb485b235fc":[0,0,2,91], +"class_camera.html#ad0ea1a6bcf7815c63988bd937f06eb23":[0,0,2,13], +"class_camera.html#ad3897f8ac658af62c133783b2c4eaee4":[0,0,2,22], +"class_camera.html#ad6c9d1d1d0c786d39bf97dc60410e28b":[0,0,2,50], +"class_camera.html#adafdf22583b051b4c61c8eb725fb07d5":[0,0,2,30], +"class_camera.html#adb7506be3632abc2d33e77a5783f5be8":[0,0,2,110], +"class_camera.html#adda458a9212825164b52019597f2e9c8":[0,0,2,70], +"class_camera.html#adf8365e2c661ab4014c3dbf60e48572b":[0,0,2,79], +"class_camera.html#ae7414c6ae83c3c9392ab90e957daf2b9":[0,0,2,64], +"class_camera.html#ae8457eabfb89d55826142508013b56c0":[0,0,2,84], +"class_camera.html#ae845a36306bba6b6e359cbdddce65f7f":[0,0,2,69], +"class_camera.html#ae87ca5350fcc595f3f15a4fd3c39f3d9":[0,0,2,82], +"class_camera.html#ae9b69d8db8a46991017635f22e45baad":[0,0,2,48], +"class_camera.html#ae9dc2206b71b25cf320a05d148cb8b56":[0,0,2,52], +"class_camera.html#aeaf11bb87bd59381c9e066f0b4f40d8e":[0,0,2,63], +"class_camera.html#aec2115038562e514193bb2b67f5da153":[0,0,2,53], +"class_camera.html#aefef7502dd10fb3c1c266cf688c432de":[0,0,2,102], +"class_camera.html#af17d57ea2dab64e21112e8949d50d85f":[0,0,2,104], +"class_camera.html#afebb27ddb10daed8e2c5085b76cbc500":[0,0,2,67], +"class_cameras.html":[0,0,3], +"class_cameras.html#a0d0b08d599d471c0070665006f3bc437":[0,0,3,19], +"class_cameras.html#a14342354c24f588c24e004a722849c3d":[0,0,3,0], +"class_cameras.html#a2a6845dacbb468c5c097c7a6ab5a0fe0":[0,0,3,7], +"class_cameras.html#a2c40cd131741e1904fdfb024006258fd":[0,0,3,27], +"class_cameras.html#a2e6b319b60e27e66ad43bb942a6c4424":[0,0,3,8], +"class_cameras.html#a3ea7e92935755c776c235a9872f53394":[0,0,3,20], +"class_cameras.html#a41fbbe388ea322df338648e66611ffcf":[0,0,3,9], +"class_cameras.html#a436b481bf293ec6dfa09d2f89054c54b":[0,0,3,3], +"class_cameras.html#a6002cbceb6a93092a1a029af486349a0":[0,0,3,2], +"class_cameras.html#a7de763b562cce2a06cb120610987cd29":[0,0,3,1], +"class_cameras.html#a8893899f0088a72642ae32a656252e7f":[0,0,3,11], +"class_cameras.html#a8a6c7958396c6b0d07380aa762b15fcc":[0,0,3,14], +"class_cameras.html#a8bd5d86484a12255b26b92b6cbf8d29a":[0,0,3,26], +"class_cameras.html#a8f9bdd8ec5edb1f414fbd314a36e2724":[0,0,3,24], +"class_cameras.html#a90eb5a3dda940ed494f592d094580dd8":[0,0,3,18], +"class_cameras.html#a971e1ffd27ff38d58f83996f87700e82":[0,0,3,12], +"class_cameras.html#a9d3b24eec1504127e4942aa0e9412ae7":[0,0,3,5], +"class_cameras.html#a9d8a33f0f0a296aba0fb6717ab85cb18":[0,0,3,21], +"class_cameras.html#a9dee7bf1f2c56176c461fa2617ce4549":[0,0,3,16], +"class_cameras.html#aa5a48614e959c38c35d824fa9d6a4b8b":[0,0,3,4], +"class_cameras.html#ac4fee80c5cd473ee4fa2360a95857da7":[0,0,3,10], +"class_cameras.html#acdd0123ca6b2d64d8d447bb485b235fc":[0,0,3,25], +"class_cameras.html#acf7e92b5163efeeb88543e605d436a0e":[0,0,3,13], +"class_cameras.html#ad3897f8ac658af62c133783b2c4eaee4":[0,0,3,6], +"class_cameras.html#ad6c9d1d1d0c786d39bf97dc60410e28b":[0,0,3,17], +"class_cameras.html#adeb29c1d639fcfbae4c68017bc8ef4d4":[0,0,3,22], +"class_cameras.html#ae87ca5350fcc595f3f15a4fd3c39f3d9":[0,0,3,23], +"class_cameras.html#ae9b69d8db8a46991017635f22e45baad":[0,0,3,15], +"class_engine.html":[0,0,4], +"class_engine.html#a09761dabaae6f48bd5c612acea76a9bf":[0,0,4,7], +"class_engine.html#a0e6265ae2700bda2f21abd308430637a":[0,0,4,4], +"class_engine.html#a181e11b6fd26698bc173647ab2471c8c":[0,0,4,15], +"class_engine.html#a2b2c1cd59c9a5c903bf466284012ce4c":[0,0,4,3], +"class_engine.html#a467d917952b89ef23f7a045e4f87218a":[0,0,4,12], +"class_engine.html#a4850643b0f929d8021115cf37d7ab608":[0,0,4,0], +"class_engine.html#a6cbf9ec80a4a3bb245355ff70498dba0":[0,0,4,5], +"class_engine.html#a782cf288c161986d0ac0eb48cd187c4d":[0,0,4,10], +"class_engine.html#a797b0b934a94cd2ea7ab1c11083e425c":[0,0,4,9], +"class_engine.html#a81f16979bc330c46675e4d7ffab5eff9":[0,0,4,11], +"class_engine.html#a8e027119a62020acddedd0a14fb44033":[0,0,4,2], +"class_engine.html#a9ad87e382195a05d5d310a2fb3e357fd":[0,0,4,1], +"class_engine.html#ad4429218b5aed162269094c6571a2520":[0,0,4,6], +"class_engine.html#ae3658976c5ab1f0c912d2c7d5747cb67":[0,0,4,8], +"class_engine.html#ae494a590056c4594f1f3cb39e4d18994":[0,0,4,13], +"class_engine.html#afc244649d4b31f59f2ef91754472b281":[0,0,4,14], +"class_object.html":[0,0,5], +"class_object.html#a0d604a816115c474b9593aeaebda9f8b":[0,0,5,9], +"class_object.html#a11d6063c580331d6af59c8d71b7f3e9f":[0,0,5,20], +"class_object.html#a20bb786cb5915934853855aab9d1a1b3":[0,0,5,50], +"class_object.html#a293792abfe0671e00a0ec10e85ea9d9e":[0,0,5,11], +"class_object.html#a29a0e9959c490067db69378bf57a17ba":[0,0,5,38], +"class_object.html#a2a6845dacbb468c5c097c7a6ab5a0fe0":[0,0,5,13], +"class_object.html#a2e6b319b60e27e66ad43bb942a6c4424":[0,0,5,14], +"class_object.html#a2fdd201413e0408f5a2508874acd2ef5":[0,0,5,31], +"class_object.html#a34258ee199342d785c29d18c49d54e71":[0,0,5,32], +"class_object.html#a3f617214b260ebbe394e7c7b08ab5e43":[0,0,5,49], +"class_object.html#a459489106838a1e3a8dbbd13045cd523":[0,0,5,33], +"class_object.html#a4ac354b3ec284f27358b1d4b8d95b9a9":[0,0,5,56], +"class_object.html#a51d08da3bd559d08734197006bc29a79":[0,0,5,3], +"class_object.html#a51d08da3bd559d08734197006bc29a79a0e9e165431001465775bc5ba2b8d1bd8":[0,0,5,3,5], +"class_object.html#a51d08da3bd559d08734197006bc29a79a1999a38dc687c7ae05c884078de39b51":[0,0,5,3,8], +"class_object.html#a51d08da3bd559d08734197006bc29a79a23be05de1d4a9e5738eff4c1860f8bfd":[0,0,5,3,0], +"class_object.html#a51d08da3bd559d08734197006bc29a79a69fb14c98b43d636b30ef5e77b492968":[0,0,5,3,3], +"class_object.html#a51d08da3bd559d08734197006bc29a79a814c8171ad45f6e954ffb474a5dfacb1":[0,0,5,3,7], +"class_object.html#a51d08da3bd559d08734197006bc29a79aa2afe042e85c0772ba75ba0ee6223a57":[0,0,5,3,6], +"class_object.html#a51d08da3bd559d08734197006bc29a79abe6f0cf968db450f99d8e176c4d23091":[0,0,5,3,2], +"class_object.html#a51d08da3bd559d08734197006bc29a79ac91e7a2ef76150b999a9af53d229a8e0":[0,0,5,3,1], +"class_object.html#a51d08da3bd559d08734197006bc29a79adc601b2ac4ff7f3e455faa35208e431f":[0,0,5,3,4], +"class_object.html#a53e2ee7f548550be014126bed139fe69":[0,0,5,16], +"class_object.html#a543d2329b25df9fb0a782f09d03e5cb1":[0,0,5,22], +"class_object.html#a564aa6b1df66a05ab6b6c2f071851c4e":[0,0,5,55], +"class_object.html#a5baa9891bd4981d62b4e86a1c2a8eea7":[0,0,5,48], +"class_object.html#a6378d0b0eeec23045ae2a5245e42bf13":[0,0,5,54], +"class_object.html#a6e19bd8516360bff956408cbae33b878":[0,0,5,2], +"class_object.html#a70fcdad192a4c6ff508125de8af6cf4d":[0,0,5,25], +"class_object.html#a73f1a6210bacf504de9a808009479b81":[0,0,5,26], +"class_object.html#a74300b3fa318786e21b65183461c5e25":[0,0,5,36], +"class_object.html#a7694c9cfe445c3d5b993a38e3f8badd9":[0,0,5,23], +"class_object.html#a79b74057dbc5182b85c9c3ba8480fcf2":[0,0,5,1], +"class_object.html#a7edb92c30d86b6479b0ff2a5e9f06e13":[0,0,5,10], +"class_object.html#a7fbbac9027e1a8266342bd5ce064120d":[0,0,5,47], +"class_object.html#a8893899f0088a72642ae32a656252e7f":[0,0,5,19], +"class_object.html#a8bd5d86484a12255b26b92b6cbf8d29a":[0,0,5,46], +"class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3":[0,0,5,4], +"class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a85f87adc3e3d4242733729ee87b21423":[0,0,5,4,4], +"class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a8a65225741e4db1df295c9cab71a98c0":[0,0,5,4,0], +"class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a8fecaee23530c9befe7feb5166e81484":[0,0,5,4,1], +"class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a9aaf45d5144b52065016b5b39e909851":[0,0,5,4,2], +"class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3ac93e286d52dad730ccf3fdab9b102902":[0,0,5,4,3], +"class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3ad78facbf844c1259f464a49061e1d7ed":[0,0,5,4,5], +"class_object.html#a8f9bdd8ec5edb1f414fbd314a36e2724":[0,0,5,41], +"class_object.html#a983963f564898beca4bda99676245663":[0,0,5,42], +"class_object.html#a98d3f1b9ebb61c3b21e2a59ed267480a":[0,0,5,15], +"class_object.html#aa5a48614e959c38c35d824fa9d6a4b8b":[0,0,5,8], +"class_object.html#aa9ddc3b95d74b76ab8a251fb376dfafb":[0,0,5,52], +"class_object.html#aacf42e81415f32f1f2a105ce29c7c1b9":[0,0,5,5], +"class_object.html#aafd766fce2598f718cac97a3ac731706":[0,0,5,24], +"class_object.html#ab0ba603904f8f7de15dc0450e2d9b30e":[0,0,5,18], +"class_object.html#ab85adc7a2d3b891051c096593982653d":[0,0,5,43], +"class_object.html#abcb877094b696561a49bc931c5a12d9f":[0,0,5,44], +"class_object.html#ac64609eb614aa5974b74000cec6fc95c":[0,0,5,29], +"class_object.html#ac852d5d763eb35b4908c9aa7ea54d1ae":[0,0,5,30], +"class_object.html#ac9ec2177266554587e8ddb40eb72ae1c":[0,0,5,6], +"class_object.html#accb051cdc79bc93e8c9c0edb79dd6b30":[0,0,5,21], +"class_object.html#acdd0123ca6b2d64d8d447bb485b235fc":[0,0,5,45], +"class_object.html#ad0ea1a6bcf7815c63988bd937f06eb23":[0,0,5,7], +"class_object.html#ad3897f8ac658af62c133783b2c4eaee4":[0,0,5,12], +"class_object.html#ad6c9d1d1d0c786d39bf97dc60410e28b":[0,0,5,28], +"class_object.html#adafdf22583b051b4c61c8eb725fb07d5":[0,0,5,17], +"class_object.html#adf8365e2c661ab4014c3dbf60e48572b":[0,0,5,37], +"class_object.html#ae6a2969ddca87d2c54b7cb1c131a7d60":[0,0,5,0], +"class_object.html#ae8457eabfb89d55826142508013b56c0":[0,0,5,40], +"class_object.html#ae87ca5350fcc595f3f15a4fd3c39f3d9":[0,0,5,39], +"class_object.html#ae9b69d8db8a46991017635f22e45baad":[0,0,5,27], +"class_object.html#aeaf11bb87bd59381c9e066f0b4f40d8e":[0,0,5,34], +"class_object.html#aefef7502dd10fb3c1c266cf688c432de":[0,0,5,51], +"class_object.html#af17d57ea2dab64e21112e8949d50d85f":[0,0,5,53], +"class_object.html#afebb27ddb10daed8e2c5085b76cbc500":[0,0,5,35], +"class_particle.html":[0,0,6], +"class_particle.html#a08108b2a0a2c0ec96f235510cc9aa0a2":[0,0,6,13], +"class_particle.html#a1cdeee73a5eb04f48c0002f7136852ff":[0,0,6,8], +"class_particle.html#a258a4d53c38caca98676a7d41022706b":[0,0,6,12], +"class_particle.html#a2f59e88a58a6c6ea766ab4c94c75c2b3":[0,0,6,6], +"class_particle.html#a3d339beee1c13eb3d1eed69d14715106":[0,0,6,4], +"class_particle.html#a3d51791a544fb2cbf2e93531b3626132":[0,0,6,14], +"class_particle.html#a4a4f4e73bbfe512c947e3ddb5c7b765c":[0,0,6,2], +"class_particle.html#a4cd8cbbc5b05126133df8246611339f2":[0,0,6,16], +"class_particle.html#a5530a89bc36834f77eb45483f3c82942":[0,0,6,0], +"class_particle.html#a5a387ad04e530af85dcd64763282d3a0":[0,0,6,10], +"class_particle.html#a639147e87ea9fd39b04ac3bafb6ff97b":[0,0,6,17], +"class_particle.html#a65eb1712f7dffd24c9a795020408cb99":[0,0,6,3], +"class_particle.html#a8dbaf5f085a47c834c02f0531ccdbae1":[0,0,6,5], +"class_particle.html#aabc36f29b35e0e1e5c6d6fb926bb7bbb":[0,0,6,7], +"class_particle.html#ac0cd12e63886b12d2b99549ecb552838":[0,0,6,9], +"class_particle.html#ac77b501936d44053585151c83b66ba22":[0,0,6,11], +"class_particle.html#ad18c1ecffb2e5d032732d4cd058bb986":[0,0,6,15], +"class_particle.html#aedbe5e541966e7799022665fdcb6ba66":[0,0,6,1], +"class_particle_system.html":[0,0,7], +"class_particle_system.html#a0b8c97314f75c333fd8b30a26e7b2b81":[0,0,7,20], +"class_particle_system.html#a0d604a816115c474b9593aeaebda9f8b":[0,0,7,9], +"class_particle_system.html#a11d6063c580331d6af59c8d71b7f3e9f":[0,0,7,25], +"class_particle_system.html#a20bb786cb5915934853855aab9d1a1b3":[0,0,7,60], +"class_particle_system.html#a2742a26ccbe357d5132a418289e1cb98":[0,0,7,39], +"class_particle_system.html#a293792abfe0671e00a0ec10e85ea9d9e":[0,0,7,11], +"class_particle_system.html#a29a0e9959c490067db69378bf57a17ba":[0,0,7,48], +"class_particle_system.html#a2a6845dacbb468c5c097c7a6ab5a0fe0":[0,0,7,13] +}; diff --git a/Doxygen/Docs/html/navtreeindex2.js b/Doxygen/Docs/html/navtreeindex2.js new file mode 100644 index 00000000..720df375 --- /dev/null +++ b/Doxygen/Docs/html/navtreeindex2.js @@ -0,0 +1,253 @@ +var NAVTREEINDEX2 = +{ +"class_particle_system.html#a2e6b319b60e27e66ad43bb942a6c4424":[0,0,7,14], +"class_particle_system.html#a2fdd201413e0408f5a2508874acd2ef5":[0,0,7,36], +"class_particle_system.html#a34258ee199342d785c29d18c49d54e71":[0,0,7,38], +"class_particle_system.html#a3f617214b260ebbe394e7c7b08ab5e43":[0,0,7,59], +"class_particle_system.html#a40e5ab5f279f0a0ec6b7b2812543d899":[0,0,7,46], +"class_particle_system.html#a43fc27b35049aa7c27b5e66155659788":[0,0,7,23], +"class_particle_system.html#a459489106838a1e3a8dbbd13045cd523":[0,0,7,42], +"class_particle_system.html#a49b0234e7b30245c88e63e7c9783e43a":[0,0,7,69], +"class_particle_system.html#a4ac354b3ec284f27358b1d4b8d95b9a9":[0,0,7,66], +"class_particle_system.html#a53e2ee7f548550be014126bed139fe69":[0,0,7,16], +"class_particle_system.html#a543d2329b25df9fb0a782f09d03e5cb1":[0,0,7,27], +"class_particle_system.html#a564aa6b1df66a05ab6b6c2f071851c4e":[0,0,7,65], +"class_particle_system.html#a5baa9891bd4981d62b4e86a1c2a8eea7":[0,0,7,58], +"class_particle_system.html#a6378d0b0eeec23045ae2a5245e42bf13":[0,0,7,64], +"class_particle_system.html#a63dd7b5a1aa72ee740dbc3183dcbdb99":[0,0,7,22], +"class_particle_system.html#a6e19bd8516360bff956408cbae33b878":[0,0,7,2], +"class_particle_system.html#a6f011d9be8a4e065156c1121c83d3f56":[0,0,7,40], +"class_particle_system.html#a7085f15f56ccafc62b88568a4f2851a5":[0,0,7,4], +"class_particle_system.html#a70fcdad192a4c6ff508125de8af6cf4d":[0,0,7,30], +"class_particle_system.html#a73f1a6210bacf504de9a808009479b81":[0,0,7,31], +"class_particle_system.html#a74300b3fa318786e21b65183461c5e25":[0,0,7,45], +"class_particle_system.html#a7694c9cfe445c3d5b993a38e3f8badd9":[0,0,7,28], +"class_particle_system.html#a79b74057dbc5182b85c9c3ba8480fcf2":[0,0,7,1], +"class_particle_system.html#a7edb92c30d86b6479b0ff2a5e9f06e13":[0,0,7,10], +"class_particle_system.html#a7fbbac9027e1a8266342bd5ce064120d":[0,0,7,57], +"class_particle_system.html#a84c9995af20de30df5e00e65fd1fb24f":[0,0,7,37], +"class_particle_system.html#a86745fdb56b2d883bc88b5f15ac77edd":[0,0,7,41], +"class_particle_system.html#a885b79aa9056581a91c00e93a4d16bfd":[0,0,7,5], +"class_particle_system.html#a8893899f0088a72642ae32a656252e7f":[0,0,7,24], +"class_particle_system.html#a8bd5d86484a12255b26b92b6cbf8d29a":[0,0,7,56], +"class_particle_system.html#a8c11d8700b0bb79a46c61f2de4f23fa3":[0,0,7,3], +"class_particle_system.html#a8c11d8700b0bb79a46c61f2de4f23fa3a85f87adc3e3d4242733729ee87b21423":[0,0,7,3,4], +"class_particle_system.html#a8c11d8700b0bb79a46c61f2de4f23fa3a8a65225741e4db1df295c9cab71a98c0":[0,0,7,3,0], +"class_particle_system.html#a8c11d8700b0bb79a46c61f2de4f23fa3a8fecaee23530c9befe7feb5166e81484":[0,0,7,3,1], +"class_particle_system.html#a8c11d8700b0bb79a46c61f2de4f23fa3a9aaf45d5144b52065016b5b39e909851":[0,0,7,3,2], +"class_particle_system.html#a8c11d8700b0bb79a46c61f2de4f23fa3ac93e286d52dad730ccf3fdab9b102902":[0,0,7,3,3], +"class_particle_system.html#a8c11d8700b0bb79a46c61f2de4f23fa3ad78facbf844c1259f464a49061e1d7ed":[0,0,7,3,5], +"class_particle_system.html#a8f9bdd8ec5edb1f414fbd314a36e2724":[0,0,7,51], +"class_particle_system.html#a983963f564898beca4bda99676245663":[0,0,7,52], +"class_particle_system.html#a98d3f1b9ebb61c3b21e2a59ed267480a":[0,0,7,15], +"class_particle_system.html#a9c17b231a5f8e99e284615642cb76a34":[0,0,7,19], +"class_particle_system.html#aa5a48614e959c38c35d824fa9d6a4b8b":[0,0,7,7], +"class_particle_system.html#aa8208fba9c57057e1067bbf6a1635b42":[0,0,7,67], +"class_particle_system.html#aa9ddc3b95d74b76ab8a251fb376dfafb":[0,0,7,62], +"class_particle_system.html#aafd766fce2598f718cac97a3ac731706":[0,0,7,29], +"class_particle_system.html#ab05d630d4bd69799fad326a14588370a":[0,0,7,71], +"class_particle_system.html#ab0ba603904f8f7de15dc0450e2d9b30e":[0,0,7,18], +"class_particle_system.html#ab560d86473c0546c35988724a0730ce9":[0,0,7,8], +"class_particle_system.html#ab85adc7a2d3b891051c096593982653d":[0,0,7,53], +"class_particle_system.html#abb53f8b49c489a93158c53d69e00a458":[0,0,7,21], +"class_particle_system.html#abcb877094b696561a49bc931c5a12d9f":[0,0,7,54], +"class_particle_system.html#ac64609eb614aa5974b74000cec6fc95c":[0,0,7,34], +"class_particle_system.html#ac852d5d763eb35b4908c9aa7ea54d1ae":[0,0,7,35], +"class_particle_system.html#accb051cdc79bc93e8c9c0edb79dd6b30":[0,0,7,26], +"class_particle_system.html#acdd0123ca6b2d64d8d447bb485b235fc":[0,0,7,55], +"class_particle_system.html#ad0ea1a6bcf7815c63988bd937f06eb23":[0,0,7,6], +"class_particle_system.html#ad3897f8ac658af62c133783b2c4eaee4":[0,0,7,12], +"class_particle_system.html#ad6c9d1d1d0c786d39bf97dc60410e28b":[0,0,7,33], +"class_particle_system.html#adafdf22583b051b4c61c8eb725fb07d5":[0,0,7,17], +"class_particle_system.html#adf8365e2c661ab4014c3dbf60e48572b":[0,0,7,47], +"class_particle_system.html#ae4d0f08730a2d09691da5a1832aa195d":[0,0,7,70], +"class_particle_system.html#ae6a2969ddca87d2c54b7cb1c131a7d60":[0,0,7,0], +"class_particle_system.html#ae8457eabfb89d55826142508013b56c0":[0,0,7,50], +"class_particle_system.html#ae87ca5350fcc595f3f15a4fd3c39f3d9":[0,0,7,49], +"class_particle_system.html#ae9b69d8db8a46991017635f22e45baad":[0,0,7,32], +"class_particle_system.html#aeaf11bb87bd59381c9e066f0b4f40d8e":[0,0,7,43], +"class_particle_system.html#aefef7502dd10fb3c1c266cf688c432de":[0,0,7,61], +"class_particle_system.html#af17d57ea2dab64e21112e8949d50d85f":[0,0,7,63], +"class_particle_system.html#af94fb2193efae93ecacb06a758e59299":[0,0,7,68], +"class_particle_system.html#afebb27ddb10daed8e2c5085b76cbc500":[0,0,7,44], +"class_rot_mat.html":[0,0,8], +"class_rot_mat.html#a15dbc3c6e4870662413e6998ad391191":[0,0,8,5], +"class_rot_mat.html#a32b794d5158a61eccc2f9d7b06ab3fb5":[0,0,8,4], +"class_rot_mat.html#a5f39fb578a1cdf78ca85efbd932d3834":[0,0,8,8], +"class_rot_mat.html#a60364401770d127c040cc3ed1ad83c07":[0,0,8,7], +"class_rot_mat.html#a85b923e0066365ef2e4aec3671396410":[0,0,8,3], +"class_rot_mat.html#ae1c4ec7d057458bf96ca94cd164617b8":[0,0,8,6], +"class_rot_mat.html#ae37469da848ee4b633889f44babde9fe":[0,0,8,0], +"class_rot_mat.html#afcec300424207fc1d20864b73136937e":[0,0,8,1], +"class_rot_mat.html#afdfbf48815a5b0d885f3b93f04cd2c66":[0,0,8,2], +"class_scale_mat.html":[0,0,9], +"class_scale_mat.html#a2c543c3aa6c795de16fba8cb40434a4f":[0,0,9,6], +"class_scale_mat.html#a5cb132a1dec58200eceaa33c4c619580":[0,0,9,1], +"class_scale_mat.html#a5f39fb578a1cdf78ca85efbd932d3834":[0,0,9,7], +"class_scale_mat.html#a6d6d05f3af9012223bb0b61530f18688":[0,0,9,0], +"class_scale_mat.html#a85b923e0066365ef2e4aec3671396410":[0,0,9,4], +"class_scale_mat.html#ae8b855d2dc58511ab404d5c275936e7d":[0,0,9,5], +"class_scale_mat.html#afcec300424207fc1d20864b73136937e":[0,0,9,2], +"class_scale_mat.html#afdfbf48815a5b0d885f3b93f04cd2c66":[0,0,9,3], +"class_scene.html":[0,0,10], +"class_scene.html#a2a6845dacbb468c5c097c7a6ab5a0fe0":[0,0,10,6], +"class_scene.html#a2e6b319b60e27e66ad43bb942a6c4424":[0,0,10,7], +"class_scene.html#a3b8cec2e32546713915f8c6303c951f1":[0,0,10,1], +"class_scene.html#a3ea7e92935755c776c235a9872f53394":[0,0,10,15], +"class_scene.html#a41fbbe388ea322df338648e66611ffcf":[0,0,10,8], +"class_scene.html#a6336263b33b06ce4ace53599ffd8122c":[0,0,10,11], +"class_scene.html#a70fcdad192a4c6ff508125de8af6cf4d":[0,0,10,10], +"class_scene.html#a8893899f0088a72642ae32a656252e7f":[0,0,10,9], +"class_scene.html#a8bd5d86484a12255b26b92b6cbf8d29a":[0,0,10,20], +"class_scene.html#a8f9bdd8ec5edb1f414fbd314a36e2724":[0,0,10,18], +"class_scene.html#a9d8a33f0f0a296aba0fb6717ab85cb18":[0,0,10,16], +"class_scene.html#aa5a48614e959c38c35d824fa9d6a4b8b":[0,0,10,4], +"class_scene.html#aa6e6354478dc7df82446b3abf9f91d96":[0,0,10,2], +"class_scene.html#ac852d5d763eb35b4908c9aa7ea54d1ae":[0,0,10,14], +"class_scene.html#acdd0123ca6b2d64d8d447bb485b235fc":[0,0,10,19], +"class_scene.html#ad0ea1a6bcf7815c63988bd937f06eb23":[0,0,10,3], +"class_scene.html#ad10176d75a9cc0da56626f682d083507":[0,0,10,0], +"class_scene.html#ad3897f8ac658af62c133783b2c4eaee4":[0,0,10,5], +"class_scene.html#ad6c9d1d1d0c786d39bf97dc60410e28b":[0,0,10,13], +"class_scene.html#ae87ca5350fcc595f3f15a4fd3c39f3d9":[0,0,10,17], +"class_scene.html#ae9b69d8db8a46991017635f22e45baad":[0,0,10,12], +"class_screen.html":[0,0,11], +"class_screen.html#a0098c32ec26cba2df8108d7b706986e5":[0,0,11,10], +"class_screen.html#a02a1812a3807a9c4db6d4456861a7130":[0,0,11,12], +"class_screen.html#a1c82610b27dd93ae998b96d1fe11c792":[0,0,11,11], +"class_screen.html#a24e5be647130c965757db6cb9617fbe1":[0,0,11,6], +"class_screen.html#a2c027dc96b9133619687f21fd92d66ba":[0,0,11,7], +"class_screen.html#a492352f72fd2ee5f3cadcd553539bab1":[0,0,11,3], +"class_screen.html#a4c579b4f3e27635f30b912d90a6b53d7":[0,0,11,5], +"class_screen.html#a7b45282430392ffa8b5891936363f8f8":[0,0,11,1], +"class_screen.html#a7c7219ac566e00e09bf3dd7df1a19ccd":[0,0,11,8], +"class_screen.html#a8ebfcb6f8f6a01c9397b0255e7e07b3e":[0,0,11,4], +"class_screen.html#aa411196a9c73a097e23e5e2cc6f4fb6d":[0,0,11,9], +"class_screen.html#ab1031780f278f25b9ad4efc0379e12fd":[0,0,11,2], +"class_screen.html#ad97151af2e654778bad86043c32fe19f":[0,0,11,0], +"class_spelchk_camera.html":[0,0,12], +"class_spelchk_camera.html#a1300ebc7e19c9784307668e5fbd54230":[0,0,12,24], +"class_spelchk_camera.html#a1396d6aa2a3e85d9ed8b90c17751da41":[0,0,12,8], +"class_spelchk_camera.html#a15769e148b33d8a1ec1f66cb31113b5d":[0,0,12,40], +"class_spelchk_camera.html#a1aee726b5d02ce0dfd94ab332a5bf2ae":[0,0,12,35], +"class_spelchk_camera.html#a1d894472ef9e588ddeb56434e549cd0a":[0,0,12,0], +"class_spelchk_camera.html#a20436fee96b0d6a1279d10b88e20f520":[0,0,12,11], +"class_spelchk_camera.html#a22330eebe446d1b1f2df252299af1bec":[0,0,12,23], +"class_spelchk_camera.html#a226c2bd8248e2da25449bb7b259cbe53":[0,0,12,42], +"class_spelchk_camera.html#a24f5fe7d296bcd7ec9d70b25b6a92fe5":[0,0,12,14], +"class_spelchk_camera.html#a28e265ba33968587a514c40e1c188362":[0,0,12,17], +"class_spelchk_camera.html#a29d4ba987d9f3e1c47e1103fcea0ae2b":[0,0,12,9], +"class_spelchk_camera.html#a2a9aa83f6e5d3d2371dd00ae162aef30":[0,0,12,4], +"class_spelchk_camera.html#a2de115edea646f121f23948bd11acfc7":[0,0,12,46], +"class_spelchk_camera.html#a42693efc09de379317a24175a8820a4b":[0,0,12,21], +"class_spelchk_camera.html#a4ad8fbfe69914453580c02406bffc501":[0,0,12,6], +"class_spelchk_camera.html#a4b6008e072c2c969bdad94340c9e883f":[0,0,12,16], +"class_spelchk_camera.html#a4b673ae943e77ac4e84ef3655dffb9dc":[0,0,12,25], +"class_spelchk_camera.html#a4d0112ca90bced7facf868165b109f2c":[0,0,12,18], +"class_spelchk_camera.html#a4e57c23cb7296bf3b377b2695684f2f0":[0,0,12,29], +"class_spelchk_camera.html#a53127a6e46ffee300cba7240768ecc84":[0,0,12,45], +"class_spelchk_camera.html#a539230ff6d91932526666d4eee9d6c0d":[0,0,12,2], +"class_spelchk_camera.html#a583fa3f337f6b4f6662c79580a7ac0b9":[0,0,12,47], +"class_spelchk_camera.html#a5af9cf826b28b2089f455b2a9dd55273":[0,0,12,27], +"class_spelchk_camera.html#a5b4f9fd0ac88b154a8ac7c67937a027e":[0,0,12,44], +"class_spelchk_camera.html#a71989db7bbd6ee6e53c449edbd5b97c2":[0,0,12,26], +"class_spelchk_camera.html#a81a21a91a20e88cdf22acf708049b514":[0,0,12,34], +"class_spelchk_camera.html#a842fe340902238c352e3ae353c69efe3":[0,0,12,28], +"class_spelchk_camera.html#a8821e575424b9bf9c7df5b88a00791a9":[0,0,12,38], +"class_spelchk_camera.html#a90aa5e06ba61d44e63535acf2cc3e373":[0,0,12,5], +"class_spelchk_camera.html#a92d895ed8ba20382bcf9000acb8f62c4":[0,0,12,19], +"class_spelchk_camera.html#a9591e471f5e0fb565a1b6a8c33f99d96":[0,0,12,1], +"class_spelchk_camera.html#a95b87c80007941d85d26c43d30fa7f87":[0,0,12,13], +"class_spelchk_camera.html#a97affea96b6d50eb2f918e7a657211fa":[0,0,12,22], +"class_spelchk_camera.html#aa012e2d10f196ae007a8f8b4ac8471c3":[0,0,12,10], +"class_spelchk_camera.html#aa1aac3ac2dc8d81aa9c36808811748d2":[0,0,12,39], +"class_spelchk_camera.html#aa634e60867955c15ff1f3930fd65e141":[0,0,12,43], +"class_spelchk_camera.html#aa91c493a5fcebf41dd22a2ba19dccb67":[0,0,12,36], +"class_spelchk_camera.html#ab55d117dbbe81571f7647c99a8254c96":[0,0,12,20], +"class_spelchk_camera.html#ac9e259988d55580ca85a8ce675eca238":[0,0,12,37], +"class_spelchk_camera.html#ae6c14466dbc61908c0362d5d23a2e4d7":[0,0,12,30], +"class_spelchk_camera.html#aed4968712cd26cbcf1b3a0aaefef0be9":[0,0,12,33], +"class_spelchk_camera.html#aed5d76d2de23473dec034161efe29275":[0,0,12,12], +"class_spelchk_camera.html#aee718e71cfc0e1223a651640a92d043d":[0,0,12,41], +"class_spelchk_camera.html#af358d23e248c4ea34eac1cb6d43650c4":[0,0,12,32], +"class_spelchk_camera.html#af45ecbaf2abdb45ba7a7b10988cb32bf":[0,0,12,15], +"class_spelchk_camera.html#af702dfbd3c3719e4b738440bb2269922":[0,0,12,3], +"class_spelchk_camera.html#afc39db6b4eab85070aa5d7494d0c5198":[0,0,12,7], +"class_spelchk_camera.html#affdf1796d7b273b022aab5bcd057906d":[0,0,12,31], +"class_texture.html":[0,0,13], +"class_texture.html#a09c4bcb7462f64c1d20fa69dba3cee8a":[0,0,13,1], +"class_texture.html#a30c9d4b3e0decff0cb359f96f2acf7d4":[0,0,13,8], +"class_texture.html#a3a12c51ef2dd1bd2a3d299006be4492f":[0,0,13,0], +"class_texture.html#a4804772c52e38e31249e46f7b3d32e2c":[0,0,13,5], +"class_texture.html#a618c584fa72d043abea14c1687f9f614":[0,0,13,3], +"class_texture.html#a656f44ae9b0a3584e32b5742d55f1ccb":[0,0,13,2], +"class_texture.html#a9b69395b6cb2c057b66c85da82f5c169":[0,0,13,6], +"class_texture.html#aaef62eed18ad00717d8cb3ad942ec130":[0,0,13,7], +"class_texture.html#afe15448776b7a3040b5ac554f5268882":[0,0,13,4], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html":[0,0,1,0], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a040124fb9e20cfab39c45d334e6c5b1c":[0,0,1,0,11], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a2500c966681a65ffcd3d2354848227e5":[0,0,1,0,21], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a28fa0e11dc89f2202890ec873a74d23f":[0,0,1,0,4], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a29b93d8ad5bbcefad6df00b4a23f4fc4":[0,0,1,0,10], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a38db742a870fe48644f795c3e249d6ab":[0,0,1,0,6], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a3d0fa17772cdaa4775c6eb3c441f1b17":[0,0,1,0,18], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a41dd33b54013b3974119d7a0da893d8a":[0,0,1,0,2], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a46cded6cb265dfcd1c73393952ab0529":[0,0,1,0,16], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a590dbbc3cfd3781cc79e63945d6bdce9":[0,0,1,0,8], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a5bc3222dbbbee803b2b77afbdbd88acc":[0,0,1,0,15], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a6ce714e2ff4d16b836a16ac526b397fe":[0,0,1,0,17], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a7b073162e53965f1c1691d37e7e96456":[0,0,1,0,0], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a7c055489ec5c140e7bfa91a0c0a76f94":[0,0,1,0,9], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a7e4f74ecd9de1cfdff8cc2d237ce6e34":[0,0,1,0,20], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a89dc8acb0e9b63f52de20364f5c49c47":[0,0,1,0,19], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a9d85ee4de4621c0de0c7133fb15bcaa6":[0,0,1,0,5], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#a9e8df7c3c86b521fd642e6bd1719b1ad":[0,0,1,0,7], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#aa28206499ebeb98e2db24db9813232f7":[0,0,1,0,12], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#aaf9264a46a4b2c23587fc67569339992":[0,0,1,0,14], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#ab0b7fd2f68507a79f940ece0c7ce2cb6":[0,0,1,0,24], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#ac2be8464e1436a7f90e2212e31944b7a":[0,0,1,0,22], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#ad029dba23118fdb5fa2b2cfc74a50305":[0,0,1,0,13], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#ad76a0650fa08d75e692125f3e2e571d0":[0,0,1,0,23], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#aeb00f8d55630f3f7d2da36d04302a174":[0,0,1,0,3], +"class_tiem_spelchk_1_1_lurn2_spiel_nub.html#af1512e7990752428bbd97e0b62466d6b":[0,0,1,0,1], +"class_timer.html":[0,0,14], +"class_timer.html#a02c5ec526c6bad4f0f2352325b4ac4f3":[0,0,14,9], +"class_timer.html#a093c39d8ce491d887ea0ae2e8d451030":[0,0,14,11], +"class_timer.html#a2a80ef1463e87f63e6ccc45a3fbe5ac2":[0,0,14,7], +"class_timer.html#a303b48cd096028dbcc3d73f735c49b66":[0,0,14,5], +"class_timer.html#a334900b3056fd3351c299fef28c31d3d":[0,0,14,6], +"class_timer.html#a5f16e8da27d2a5a5242dead46de05d97":[0,0,14,0], +"class_timer.html#a7b3934948b0d2bc11a5e198e619b2576":[0,0,14,4], +"class_timer.html#a855136dd9e8cc3c07278dac9c4613693":[0,0,14,1], +"class_timer.html#a86957c3647a68e4d1666b4dc8765a631":[0,0,14,2], +"class_timer.html#ab49d5d4d56cfff329d3f3f4c74663ae2":[0,0,14,3], +"class_timer.html#af337d44bb179d24e7a462d05b36319fa":[0,0,14,10], +"class_timer.html#af6e96c06b73154cd3a72ff22fb801e9e":[0,0,14,8], +"class_trans_cache.html":[0,0,15], +"class_trans_cache.html#a01839c88c48f8e426e0d75a915ba7396":[0,0,15,11], +"class_trans_cache.html#a1550ed069b59ac202af41716783ea452":[0,0,15,10], +"class_trans_cache.html#a1c24bb0902fa8b1bc9ac306d28a6e079":[0,0,15,2], +"class_trans_cache.html#a28f0d12b519c38de7be4ec640af011e9":[0,0,15,6], +"class_trans_cache.html#a3f620418592ae6bedde06d55261bba36":[0,0,15,12], +"class_trans_cache.html#a40698e1a82ecc629e15ad7149ea6205d":[0,0,15,8], +"class_trans_cache.html#a5bb6920889e36c616bd1648192ff5136":[0,0,15,5], +"class_trans_cache.html#a6a1d0e8050840494441f4be6cfdb02eb":[0,0,15,1], +"class_trans_cache.html#a7776dac55cc14489c7ec84661131d8f0":[0,0,15,13], +"class_trans_cache.html#a968b1ec19687e1839f471658c63563a9":[0,0,15,9], +"class_trans_cache.html#a983b90a0f35e2955beb9a619c0c85ec3":[0,0,15,4], +"class_trans_cache.html#a9a67a280d50b47a456d0a07154a56a8d":[0,0,15,7], +"class_trans_cache.html#acb34dfafde8ec9e0a2f6a4ed497905d4":[0,0,15,14], +"class_trans_cache.html#af35282cc89f14b468bafd65715a60f31":[0,0,15,0], +"class_trans_cache.html#afbb46369dfa2169eaa30fcbf0038f8b8":[0,0,15,3], +"class_trans_mat.html":[0,0,17], +"class_trans_mat.html#a4c93fe2c9ff1af5abf1ded66698cd297":[0,0,17,1], +"class_trans_mat.html#a4f4f05916524fb03c84a6a8e53769d52":[0,0,17,5], +"class_trans_mat.html#a5f39fb578a1cdf78ca85efbd932d3834":[0,0,17,10], +"class_trans_mat.html#a85b923e0066365ef2e4aec3671396410":[0,0,17,4], +"class_trans_mat.html#a957630c224fd750f0366a6422426ca43":[0,0,17,9], +"class_trans_mat.html#a97b2e285f76f35219389035b2121df69":[0,0,17,8], +"class_trans_mat.html#abf67a3f4b41e34e423ebb921dace428f":[0,0,17,0], +"class_trans_mat.html#ac0b8a61381b2c7b21cc08d11e1959fd3":[0,0,17,6], +"class_trans_mat.html#afc0cc38bba734d8f668995cfbc263963":[0,0,17,7], +"class_trans_mat.html#afcec300424207fc1d20864b73136937e":[0,0,17,2] +}; diff --git a/Doxygen/Docs/html/navtreeindex3.js b/Doxygen/Docs/html/navtreeindex3.js new file mode 100644 index 00000000..0afc8124 --- /dev/null +++ b/Doxygen/Docs/html/navtreeindex3.js @@ -0,0 +1,253 @@ +var NAVTREEINDEX3 = +{ +"class_trans_mat.html#afdfbf48815a5b0d885f3b93f04cd2c66":[0,0,17,3], +"class_transformation.html":[0,0,16], +"class_transformation.html#a5f39fb578a1cdf78ca85efbd932d3834":[0,0,16,4], +"class_transformation.html#a78ec6157ea07330e6c67a5775535d252":[0,0,16,0], +"class_transformation.html#a85b923e0066365ef2e4aec3671396410":[0,0,16,3], +"class_transformation.html#afcec300424207fc1d20864b73136937e":[0,0,16,1], +"class_transformation.html#afdfbf48815a5b0d885f3b93f04cd2c66":[0,0,16,2], +"classes.html":[0,1], +"ds_8cpp.html":[1,0,4], +"ds_8cpp.html#a01131b63acf241e9db91704d89ce15d2":[1,0,4,3], +"ds_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947":[1,0,4,4], +"ds_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627":[1,0,4,5], +"ds_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd":[1,0,4,1], +"ds_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256":[1,0,4,2], +"ds_8cpp.html#aeb94fbd457627182ceee7e505f432541":[1,0,4,0], +"ds_8cpp_source.html":[1,0,4], +"eric__rules_8cpp_source.html":[1,0,7], +"eric__rules_8hpp_source.html":[1,0,8], +"files.html":[1,0], +"functions.html":[0,3,0], +"functions_enum.html":[0,3,4], +"functions_eval.html":[0,3,5], +"functions_func.html":[0,3,1], +"functions_type.html":[0,3,3], +"functions_vars.html":[0,3,2], +"globals.html":[1,1,0], +"globals_8h.html":[1,0,9], +"globals_8h.html#a514396dd60fa0621c83072091fb2a0cd":[1,0,9,4], +"globals_8h.html#a6606f2e98acd846ae52f6cd2f7585d22":[1,0,9,8], +"globals_8h.html#a7bbc032e1437a7a73f8d3eb2d93d9c6d":[1,0,9,3], +"globals_8h.html#a7bf0b4b8b3cf2f13f25573b3e151ed88":[1,0,9,2], +"globals_8h.html#ab5f638ed0890579dbe0522227610af64":[1,0,9,1], +"globals_8h.html#ad72dbcf6d0153db1b8d8a58001feed83":[1,0,9,0], +"globals_8h.html#ad90a072ea1667bc81e21b726aefbcff1":[1,0,9,6], +"globals_8h.html#ae42978afd835c3a1f70d409a1b5f5a39":[1,0,9,5], +"globals_8h.html#afbd48522ecf2a24bf2adca81f5a0e616":[1,0,9,7], +"globals_8h_source.html":[1,0,9], +"globals_defs.html":[1,1,4], +"globals_func.html":[1,1,1], +"globals_type.html":[1,1,3], +"globals_vars.html":[1,1,2], +"glut__callbacks_8cpp.html":[1,0,10], +"glut__callbacks_8cpp.html#a254e97178a2df1da3e435a01f778e475":[1,0,10,2], +"glut__callbacks_8cpp.html#a6f3a97ed034be467bc035242d2486e00":[1,0,10,1], +"glut__callbacks_8cpp.html#ac76a5d78172a826cd6ee9512b89a86c0":[1,0,10,3], +"glut__callbacks_8cpp.html#ace248343c050c709b645c42012d68f18":[1,0,10,6], +"glut__callbacks_8cpp.html#ad373689e6b9dcfe1b99692b43a759d40":[1,0,10,5], +"glut__callbacks_8cpp.html#aef7ba2f69afb2d954545f64c7fe24b14":[1,0,10,0], +"glut__callbacks_8cpp.html#af04567427614c77718ed14b8450a3438":[1,0,10,4], +"glut__callbacks_8cpp_source.html":[1,0,10], +"glut__callbacks_8h.html":[1,0,11], +"glut__callbacks_8h.html#a254e97178a2df1da3e435a01f778e475":[1,0,11,2], +"glut__callbacks_8h.html#a6f3a97ed034be467bc035242d2486e00":[1,0,11,1], +"glut__callbacks_8h.html#ac76a5d78172a826cd6ee9512b89a86c0":[1,0,11,3], +"glut__callbacks_8h.html#ace248343c050c709b645c42012d68f18":[1,0,11,6], +"glut__callbacks_8h.html#ad373689e6b9dcfe1b99692b43a759d40":[1,0,11,5], +"glut__callbacks_8h.html#aef7ba2f69afb2d954545f64c7fe24b14":[1,0,11,0], +"glut__callbacks_8h.html#af04567427614c77718ed14b8450a3438":[1,0,11,4], +"glut__callbacks_8h_source.html":[1,0,11], +"hierarchy.html":[0,2], +"index.html":[], +"mat_8cpp.html":[1,0,16], +"mat_8cpp.html#a0f2b9ea30d90fee6f42c49adc31afbd5":[1,0,16,13], +"mat_8cpp.html#a13237552df8019e7c7c041491185a5b7":[1,0,16,26], +"mat_8cpp.html#a14b1d7bed352f45380d7fc26e2553627":[1,0,16,2], +"mat_8cpp.html#a14d8b4ab9eeb4075155867871c6d60f6":[1,0,16,6], +"mat_8cpp.html#a1a4a07580fa9c63f32cca223177496dd":[1,0,16,28], +"mat_8cpp.html#a23656ccbbf90b1935a4072ef3ca248e0":[1,0,16,14], +"mat_8cpp.html#a3cc32f2aec8c1c7e609c31183eebf2e6":[1,0,16,4], +"mat_8cpp.html#a4dabf5bcf7d7332f54e66178feab9c16":[1,0,16,23], +"mat_8cpp.html#a564ee33689e28c95aedcc5a77aed1d33":[1,0,16,20], +"mat_8cpp.html#a5775b27ec156cd2166a59bf038dc8efc":[1,0,16,0], +"mat_8cpp.html#a57bd024e120ad05fe0c00081286eeb18":[1,0,16,22], +"mat_8cpp.html#a65a39c6b9bbbce0463d958e58cdf8a3c":[1,0,16,15], +"mat_8cpp.html#a694f07e56f9b1501ade53204f63f9eaa":[1,0,16,11], +"mat_8cpp.html#a6ca60025898ba656cd588541df87f310":[1,0,16,21], +"mat_8cpp.html#a8db02bcc2094985f2a168ab3f0dce68e":[1,0,16,16], +"mat_8cpp.html#a8f927d4bf85202f4e96a1a4a9733da27":[1,0,16,8], +"mat_8cpp.html#a96a871db89bb8218473c75b8070d2a04":[1,0,16,18], +"mat_8cpp.html#a9eeab51adba3f19cca17e5007844f2a1":[1,0,16,3], +"mat_8cpp.html#aa5aed3e76e6cd1d2de93503630d13132":[1,0,16,12], +"mat_8cpp.html#aa8ddbf81e6fa21bd53c5d5ce840a7403":[1,0,16,19], +"mat_8cpp.html#abea2dfb557c756bfb69c596852e6b096":[1,0,16,27], +"mat_8cpp.html#ac414aafc0c30f61e35042b50146b5340":[1,0,16,9], +"mat_8cpp.html#acc567058b4586de296af2ce0ad767b18":[1,0,16,7], +"mat_8cpp.html#ad20afa7adfcc4d26d4be0c322548549a":[1,0,16,17], +"mat_8cpp.html#ad98858d30ccb39de45a34e4693fd9ef5":[1,0,16,5], +"mat_8cpp.html#ae9591a5b2e2e59fa0534460a16520a42":[1,0,16,24], +"mat_8cpp.html#aebfe9ee1ffa4286f7697c7323ea83dd0":[1,0,16,10], +"mat_8cpp.html#aee52b8fa583cbbe460e2e80c05b59f8b":[1,0,16,1], +"mat_8cpp.html#af51ee9500415015b6ba400cea2ab757f":[1,0,16,25], +"mat_8cpp_source.html":[1,0,16], +"mat_8hpp.html":[1,0,17], +"mat_8hpp.html#a13237552df8019e7c7c041491185a5b7":[1,0,17,20], +"mat_8hpp.html#a14b1d7bed352f45380d7fc26e2553627":[1,0,17,6], +"mat_8hpp.html#a1a4a07580fa9c63f32cca223177496dd":[1,0,17,22], +"mat_8hpp.html#a39b3cc118c8339855e5578335a0b2417":[1,0,17,3], +"mat_8hpp.html#a3cc32f2aec8c1c7e609c31183eebf2e6":[1,0,17,8], +"mat_8hpp.html#a4dabf5bcf7d7332f54e66178feab9c16":[1,0,17,17], +"mat_8hpp.html#a564ee33689e28c95aedcc5a77aed1d33":[1,0,17,14], +"mat_8hpp.html#a5775b27ec156cd2166a59bf038dc8efc":[1,0,17,4], +"mat_8hpp.html#a57bd024e120ad05fe0c00081286eeb18":[1,0,17,16], +"mat_8hpp.html#a65a39c6b9bbbce0463d958e58cdf8a3c":[1,0,17,9], +"mat_8hpp.html#a6ca60025898ba656cd588541df87f310":[1,0,17,15], +"mat_8hpp.html#a8db02bcc2094985f2a168ab3f0dce68e":[1,0,17,10], +"mat_8hpp.html#a96a871db89bb8218473c75b8070d2a04":[1,0,17,12], +"mat_8hpp.html#a9eeab51adba3f19cca17e5007844f2a1":[1,0,17,7], +"mat_8hpp.html#aa8ddbf81e6fa21bd53c5d5ce840a7403":[1,0,17,13], +"mat_8hpp.html#abea2dfb557c756bfb69c596852e6b096":[1,0,17,21], +"mat_8hpp.html#ad20afa7adfcc4d26d4be0c322548549a":[1,0,17,11], +"mat_8hpp.html#ae9591a5b2e2e59fa0534460a16520a42":[1,0,17,18], +"mat_8hpp.html#aee52b8fa583cbbe460e2e80c05b59f8b":[1,0,17,5], +"mat_8hpp.html#af51ee9500415015b6ba400cea2ab757f":[1,0,17,19], +"mat_8hpp_source.html":[1,0,17], +"melt_8cpp.html":[1,0,18], +"melt_8cpp.html#a0f3524e41b200ffac1f11430004acdc2":[1,0,18,14], +"melt_8cpp.html#a11b75ae5c2cf01f62e9b6138b9fa991b":[1,0,18,1], +"melt_8cpp.html#a12741e1722a53c36a3c6e887a3d0bdf3":[1,0,18,15], +"melt_8cpp.html#a19960d3b628474fd53421498a4f2bff4":[1,0,18,20], +"melt_8cpp.html#a26bb1030f94e1840b0b94880f9186182":[1,0,18,16], +"melt_8cpp.html#a30e95b83a1a3b57916493359bdf1bcb3":[1,0,18,11], +"melt_8cpp.html#a36359c1be507c63dc9bba823e4a3cf81":[1,0,18,6], +"melt_8cpp.html#a37d972ae0b47b9099e30983131d31916":[1,0,18,13], +"melt_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627":[1,0,18,0], +"melt_8cpp.html#a5050a760c11da521cd4aee6336f6529f":[1,0,18,19], +"melt_8cpp.html#a84ce761e41b121d00128edd18ccc1528":[1,0,18,17], +"melt_8cpp.html#a8eb0303ab97a17969e2391968752ef51":[1,0,18,2], +"melt_8cpp.html#a972878fce5b5b632ae43feaad511d55f":[1,0,18,4], +"melt_8cpp.html#a9961e24ed43aa75af855c0eb5074cd79":[1,0,18,5], +"melt_8cpp.html#ab8ef1bf8a70cc07c6d55823c390a7e76":[1,0,18,8], +"melt_8cpp.html#ab954848aa90684d4d9785a73e1551d14":[1,0,18,18], +"melt_8cpp.html#ac0314d7115d525af9479178e15c5381f":[1,0,18,21], +"melt_8cpp.html#acb559820d9ca11295b4500f179ef6392":[1,0,18,12], +"melt_8cpp.html#ad39ad26406d517fa529298ff64bd3744":[1,0,18,9], +"melt_8cpp.html#ad453dc714c3860298801b01d45f50a9e":[1,0,18,10], +"melt_8cpp.html#af249a38d48006c412180eee32e5f15d0":[1,0,18,3], +"melt_8cpp.html#afd9b183d84839bd91a94619b8230dec6":[1,0,18,7], +"melt_8cpp_source.html":[1,0,18], +"model_8cpp.html":[1,0,19], +"model_8cpp.html#a133b051eb2aaf6c9d8dee920155a19c1":[1,0,19,21], +"model_8cpp.html#a152e6c0e91107b949df03ca399251fd8":[1,0,19,19], +"model_8cpp.html#a1c53f4777590deb64c28e8ebb64a321d":[1,0,19,12], +"model_8cpp.html#a1c8dfc5517ca1ada9923877cfc0783e4":[1,0,19,6], +"model_8cpp.html#a3ad4ef4bd3a5cf6b3327c8c935ee78e8":[1,0,19,3], +"model_8cpp.html#a4535f7729a3c0127c4bb32caa100d2cf":[1,0,19,5], +"model_8cpp.html#a476a380b7a6a48dc7d762716b041def8":[1,0,19,16], +"model_8cpp.html#a578108fa151d2df77af6ae4585c4bccc":[1,0,19,13], +"model_8cpp.html#a6087c247abe3d7f3a87c6121a25f3bb9":[1,0,19,2], +"model_8cpp.html#a63c9b090c6711fd0199e748c064b33e9":[1,0,19,7], +"model_8cpp.html#a787f4c226d43da564315b1b8aefac6cc":[1,0,19,15], +"model_8cpp.html#a876c92757e616a414576f3183cb49b17":[1,0,19,4], +"model_8cpp.html#a88b94550b90fbfab004aabc334260615":[1,0,19,10], +"model_8cpp.html#a91ce6a85aa63ffb60c564014e4d060b1":[1,0,19,18], +"model_8cpp.html#a91cf20a293963e386f47242761f62e4e":[1,0,19,22], +"model_8cpp.html#a9329f4c58e0cbb25cadc1238698efedb":[1,0,19,20], +"model_8cpp.html#a9aeb9d305a36f39f25137645d75eaa95":[1,0,19,8], +"model_8cpp.html#aa897b7167b0e40599c4735cf0ac0d24c":[1,0,19,11], +"model_8cpp.html#aada0e82137280db20b9a7bbb864a8049":[1,0,19,0], +"model_8cpp.html#abaad50597737c633264748efecf95c14":[1,0,19,17], +"model_8cpp.html#ac902b9394c319b5d0ffa1a0071f6e504":[1,0,19,9], +"model_8cpp.html#ad66b9c54b345ca798421773a162babe4":[1,0,19,1], +"model_8cpp.html#ad759245db436eebefc9a921e882bca3b":[1,0,19,14], +"model_8cpp_source.html":[1,0,19], +"model_8hpp.html":[1,0,20], +"model_8hpp.html#a133b051eb2aaf6c9d8dee920155a19c1":[1,0,20,11], +"model_8hpp.html#a152e6c0e91107b949df03ca399251fd8":[1,0,20,9], +"model_8hpp.html#a578108fa151d2df77af6ae4585c4bccc":[1,0,20,4], +"model_8hpp.html#a787f4c226d43da564315b1b8aefac6cc":[1,0,20,6], +"model_8hpp.html#a88b94550b90fbfab004aabc334260615":[1,0,20,2], +"model_8hpp.html#a91ce6a85aa63ffb60c564014e4d060b1":[1,0,20,8], +"model_8hpp.html#a9329f4c58e0cbb25cadc1238698efedb":[1,0,20,10], +"model_8hpp.html#a9aeb9d305a36f39f25137645d75eaa95":[1,0,20,0], +"model_8hpp.html#aa897b7167b0e40599c4735cf0ac0d24c":[1,0,20,3], +"model_8hpp.html#abaad50597737c633264748efecf95c14":[1,0,20,7], +"model_8hpp.html#ac902b9394c319b5d0ffa1a0071f6e504":[1,0,20,1], +"model_8hpp.html#ad759245db436eebefc9a921e882bca3b":[1,0,20,5], +"model_8hpp_source.html":[1,0,20], +"model_functions_8cpp.html":[1,0,21], +"model_functions_8cpp.html#a3344feaa135e3129eecc65749dfa1e88":[1,0,21,0], +"model_functions_8cpp.html#a6a10d71454bc88fdf056a6077870cf64":[1,0,21,1], +"model_functions_8cpp.html#a73f8d076cd88574e6e934ef593052205":[1,0,21,2], +"model_functions_8cpp_source.html":[1,0,21], +"model_functions_8hpp.html":[1,0,22], +"model_functions_8hpp.html#a3344feaa135e3129eecc65749dfa1e88":[1,0,22,0], +"model_functions_8hpp.html#a6a10d71454bc88fdf056a6077870cf64":[1,0,22,1], +"model_functions_8hpp.html#a73f8d076cd88574e6e934ef593052205":[1,0,22,2], +"model_functions_8hpp_source.html":[1,0,22], +"morphlite_8cpp.html":[1,0,24], +"morphlite_8cpp.html#a01131b63acf241e9db91704d89ce15d2":[1,0,24,3], +"morphlite_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947":[1,0,24,4], +"morphlite_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627":[1,0,24,5], +"morphlite_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd":[1,0,24,1], +"morphlite_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256":[1,0,24,2], +"morphlite_8cpp.html#aeb94fbd457627182ceee7e505f432541":[1,0,24,0], +"morphlite_8cpp_source.html":[1,0,24], +"pages.html":[], +"part_test_8cpp.html":[1,0,34], +"part_test_8cpp.html#a01131b63acf241e9db91704d89ce15d2":[1,0,34,5], +"part_test_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947":[1,0,34,6], +"part_test_8cpp.html#a2deb4dc6a4048e0d7bfd890c8052d21e":[1,0,34,1], +"part_test_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627":[1,0,34,7], +"part_test_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd":[1,0,34,3], +"part_test_8cpp.html#a62b7d42cce12a3599d27065ed3056d52":[1,0,34,9], +"part_test_8cpp.html#a8bedcae0602a1167f1d39683f4dc83a6":[1,0,34,0], +"part_test_8cpp.html#a946fc27ea65fd5ba1802d20e5f1ea167":[1,0,34,8], +"part_test_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256":[1,0,34,4], +"part_test_8cpp.html#aeb94fbd457627182ceee7e505f432541":[1,0,34,2], +"part_test_8cpp_source.html":[1,0,34], +"platform_8h.html":[1,0,35], +"platform_8h.html#a42a67a317dc24490016ce3f13b839acf":[1,0,35,0], +"platform_8h_source.html":[1,0,35], +"raytrace1_8cpp.html":[1,0,36], +"raytrace1_8cpp.html#a0049a4399f161944c46d12e156b1e2c0":[1,0,36,20], +"raytrace1_8cpp.html#a01131b63acf241e9db91704d89ce15d2":[1,0,36,3], +"raytrace1_8cpp.html#a0e46f444cf201063a14a00d1236f0629":[1,0,36,8], +"raytrace1_8cpp.html#a16874d01f7ca34ada7dddea3042f067f":[1,0,36,23], +"raytrace1_8cpp.html#a1b43fb6e961f9006cdde22ffeb51573e":[1,0,36,19], +"raytrace1_8cpp.html#a1e74073d42607e52372bf0707ed490f9":[1,0,36,12], +"raytrace1_8cpp.html#a216a38dca36816a9d3b9ab11920f5898":[1,0,36,28], +"raytrace1_8cpp.html#a27d8510c93324412d38a888eddee2852":[1,0,36,14], +"raytrace1_8cpp.html#a2858154e2009b0e6e616f313177762bc":[1,0,36,4], +"raytrace1_8cpp.html#a34acd21874fb66785b6d2a8681e6ab94":[1,0,36,24], +"raytrace1_8cpp.html#a3942aa773dadccfa1bc0cc8ce3d3db1e":[1,0,36,1], +"raytrace1_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627":[1,0,36,5], +"raytrace1_8cpp.html#a450a5ce9d8d2b3bcb3a31d9a87f91a7f":[1,0,36,16], +"raytrace1_8cpp.html#a45a7d7c86c97ca6a2d4d32ce2d263f67":[1,0,36,6], +"raytrace1_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd":[1,0,36,2], +"raytrace1_8cpp.html#a4ebc11e7a5ba3738d580c7e764782aff":[1,0,36,22], +"raytrace1_8cpp.html#a6819355374dd277347abd7c4235f0cd7":[1,0,36,7], +"raytrace1_8cpp.html#a7aca3c77669b8c403f580a99c6485016":[1,0,36,0], +"raytrace1_8cpp.html#a86c4394f5079d572ea974f506b282a2d":[1,0,36,13], +"raytrace1_8cpp.html#a9ebc1dbd77788c4bfa27758a6725413f":[1,0,36,17], +"raytrace1_8cpp.html#aa82a2e50ca7f0a7c6c79922cf7ac675d":[1,0,36,11], +"raytrace1_8cpp.html#aacb8095464f12290818f45bf69b180ed":[1,0,36,21], +"raytrace1_8cpp.html#ab2138cc58a32399a5f3979e283f210a1":[1,0,36,10], +"raytrace1_8cpp.html#ac19fb5c188fc806f2dd15bfd6837e06f":[1,0,36,25], +"raytrace1_8cpp.html#ac669817a94c510db37084c9dd9dcfb55":[1,0,36,9], +"raytrace1_8cpp.html#ac922fb8458c34a5ba06bf7504e9f12f4":[1,0,36,27], +"raytrace1_8cpp.html#ac9ad675235d6dc86104ef8ba4b56ddba":[1,0,36,26], +"raytrace1_8cpp.html#ad63f40b37d892985bb56ae99f16145c5":[1,0,36,15], +"raytrace1_8cpp.html#ae50cb92a78d9e0a4f4bd718fc02bd294":[1,0,36,18], +"raytrace1_8cpp_source.html":[1,0,36], +"struct_angel_1_1vec2.html":[0,0,0,3], +"struct_angel_1_1vec2.html#a1f371c4b26f86deb4d296dfff8ff1fc1":[0,0,0,3,18], +"struct_angel_1_1vec2.html#a2d3d52e1b4693fdb860c2ef246e0d4d8":[0,0,0,3,12], +"struct_angel_1_1vec2.html#a3b29693925c8026f75572dd13cefee5a":[0,0,0,3,11], +"struct_angel_1_1vec2.html#a3b4a9670b53342b870e3a14c8164c613":[0,0,0,3,6], +"struct_angel_1_1vec2.html#a48235bf48a69717c273b72468d355244":[0,0,0,3,16], +"struct_angel_1_1vec2.html#a522a6aaa64c361b86f6c2469cbd8ca92":[0,0,0,3,14], +"struct_angel_1_1vec2.html#a5533e582fe94db90861caa394494f2cf":[0,0,0,3,19] +}; diff --git a/Doxygen/Docs/html/open.png b/Doxygen/Docs/html/open.png new file mode 100644 index 00000000..30f75c7e Binary files /dev/null and b/Doxygen/Docs/html/open.png differ diff --git a/Doxygen/Docs/html/platform_8h.html b/Doxygen/Docs/html/platform_8h.html new file mode 100644 index 00000000..cc094c10 --- /dev/null +++ b/Doxygen/Docs/html/platform_8h.html @@ -0,0 +1,160 @@ + + + + + +HyperGrafx: platform.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
platform.h File Reference
+
+
+ +

Covertly re-defines functions that conflict between Linux and OSX. +More...

+
#include "OpenGL.h"
+
+

Go to the source code of this file.

+ + + + +

+Macros

#define GLEW_INIT()
 A macro defined to initialize GLEW on Linux, but do nothing on Apple OSX.
+

Detailed Description

+

Covertly re-defines functions that conflict between Linux and OSX.

+
Author
John Huston, Chris Compton
+
Date
2013-03-15
+ +

Definition in file platform.h.

+

Macro Definition Documentation

+ +
+
+ + + + + + + +
#define GLEW_INIT()
+
+Value:
glewExperimental = GL_FALSE; \
+
GLenum rc = glewInit(); \
+
if (rc) fprintf( stderr, "%s\n", glewGetErrorString(rc) );
+
+

A macro defined to initialize GLEW on Linux, but do nothing on Apple OSX.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/platform_8h.js b/Doxygen/Docs/html/platform_8h.js new file mode 100644 index 00000000..1369884e --- /dev/null +++ b/Doxygen/Docs/html/platform_8h.js @@ -0,0 +1,4 @@ +var platform_8h = +[ + [ "GLEW_INIT", "platform_8h.html#a42a67a317dc24490016ce3f13b839acf", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/platform_8h_source.html b/Doxygen/Docs/html/platform_8h_source.html new file mode 100644 index 00000000..b3fc341c --- /dev/null +++ b/Doxygen/Docs/html/platform_8h_source.html @@ -0,0 +1,140 @@ + + + + + +HyperGrafx: platform.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
platform.h
+
+
+Go to the documentation of this file.
1 
+
7 #ifndef __PLATFORM_H
+
8 #define __PLATFORM_H
+
9 
+
10 #include "OpenGL.h"
+
11 
+
12 #ifdef __APPLE__
+
13 #define glGenVertexArrays( X, Y ) glGenVertexArraysAPPLE( X, Y )
+
14 #define glBindVertexArray( X ) glBindVertexArrayAPPLE( X )
+
15 #define GLEW_INIT() ;
+
16 #define glutLeaveMainLoop() exit( EXIT_SUCCESS )
+
17 #else
+
18 // Code for peasants as follows:
+
19 #define GLEW_INIT() \
+
20  glewExperimental = GL_FALSE; \
+
21  GLenum rc = glewInit(); \
+
22  if (rc) fprintf( stderr, "%s\n", glewGetErrorString(rc) );
+
23 #endif
+
24 
+
25 #endif
+
26 
+
+
+ + + + diff --git a/Doxygen/Docs/html/raytrace1_8cpp.html b/Doxygen/Docs/html/raytrace1_8cpp.html new file mode 100644 index 00000000..9ded6050 --- /dev/null +++ b/Doxygen/Docs/html/raytrace1_8cpp.html @@ -0,0 +1,548 @@ + + + + + +HyperGrafx: raytrace1.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
raytrace1.cpp File Reference
+
+
+ +

Geometric Raytracing Demo. +More...

+
#include <cmath>
+#include <iostream>
+#include <cstdio>
+#include <SOIL/SOIL.h>
+#include <cstring>
+#include "SpelchkCamera.hpp"
+#include "InitShader.hpp"
+#include "eric_rules.hpp"
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + +

+Functions

+void idle (void)
 Redraw the scene.
void reshape (int width, int height)
 Screen resize handler.
void customkeyboard (unsigned char key, int x, int y)
 Keyboard Conrol Handler.
void custommouse (int button, int state, int x, int y)
 Mouse click handler.
void motion (int x, int y)
 Handle mouse and camera movement.
+void display (void)
 Handle the re-display of the scene.
+void init (void)
 Initialization of objects and OpenGL state.
int main (int argc, char **argv)
 Simple raytracer demo by Hoanh Nguyen.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Variables

+GLuint program
 Global shader object.
+GLuint modelView = -1
 model-view matrix uniform shader variable location
+GLuint dethklok
+GLint vRayPosition = -1
GLint uCameraPosition = -1
 Handle to uniform that will contain the position of the Camera.
SpelchkCamera camera (vec4(0.0, 0.0, 0.0, 0.0))
 Logical camera object.
+GLint uSphereCenterPoints = -1
+GLint uSphereRadius = -1
+GLint uSphereColors = -1
+GLint uNumOfSpheres = -1
GLfloat sphereCenterPoints []
+GLfloat sphereRadius [] = { 0.5, 0.6, 0.7, 0.8 }
GLfloat sphereColors []
int screenHeight
 current Height of the screen.
int screenWidth
 current Width of the screen.
+bool leftDown = false
 Is the left mouse button being pressed?
+bool rightDown = false
 Is the right mouse button being pressed?
+int mouseDownX
 Last known x coordinate of the mouse pointer.
+int mouseDownY
 Last known y coordinate of the mouse pointer.
float rotationFactor = 45.0
 Magic constant to adjust the rate of rotation when re-orienting the camera.
float translationFactor = 5.0
 Magic constant to adjust the rate of translation when re-orienting the camera.
+

Detailed Description

+

Geometric Raytracing Demo.

+
Author
Hoanh Nguyen
+
Date
2013-03-15
+ +

Definition in file raytrace1.cpp.

+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void customkeyboard (unsigned char key,
int x,
int y 
)
+
+ +

Keyboard Conrol Handler.

+
Parameters
+ + + + +
keyThe key that was pressed.
xX coordinate of the mouse when a key was pressed.
yY coordinate of the mouse when a key was pressed.
+
+
+ +

Definition at line 75 of file raytrace1.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void custommouse (int button,
int state,
int x,
int y 
)
+
+ +

Mouse click handler.

+
Parameters
+ + + + + +
buttonThe mouse button that was pressed.
stateThe current state of that button.
xX coordinate of the mouse.
yY coordinate of the mouse.
+
+
+ +

Definition at line 131 of file raytrace1.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
int main (int argc,
char ** argv 
)
+
+ +

Simple raytracer demo by Hoanh Nguyen.

+
Parameters
+ + + +
argcNot used.
argvNot used.
+
+
+
Returns
0.
+ +

Definition at line 280 of file raytrace1.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void motion (int x,
int y 
)
+
+ +

Handle mouse and camera movement.

+
Parameters
+ + + +
xX coordinate of the mouse.
yY coordinate of the mouse.
+
+
+ +

Definition at line 171 of file raytrace1.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void reshape (int width,
int height 
)
+
+ +

Screen resize handler.

+
Parameters
+ + + +
widthNew screen width.
heightNew screen height.
+
+
+ +

Definition at line 64 of file raytrace1.cpp.

+ +
+
+

Variable Documentation

+ +
+
+ + + + +
SpelchkCamera camera(vec4(0.0, 0.0, 0.0, 0.0))
+
+ +

Logical camera object.

+ +
+
+ +
+
+ + + + +
float rotationFactor = 45.0
+
+ +

Magic constant to adjust the rate of rotation when re-orienting the camera.

+ +

Definition at line 162 of file raytrace1.cpp.

+ +
+
+ +
+
+ + + + +
int screenHeight
+
+ +

current Height of the screen.

+ +

Definition at line 55 of file raytrace1.cpp.

+ +
+
+ +
+
+ + + + +
int screenWidth
+
+ +

current Width of the screen.

+ +

Definition at line 57 of file raytrace1.cpp.

+ +
+
+ +
+
+ + + + +
GLfloat sphereCenterPoints[]
+
+Initial value:
{ -1.0, -1.0, -2.0, 1.0, -1.0, -2.0, -1.0, 1.0,
+
-2.0, 1.0, 1.0, -2.0 }
+
+

Definition at line 39 of file raytrace1.cpp.

+ +
+
+ +
+
+ + + + +
GLfloat sphereColors[]
+
+Initial value:
{ 1.0, 0.3, 0.3, 0.3, 1.0, 0.3, 0.3, 0.3, 1.0, 1.0,
+
0.3, 0.3 }
+
+

Definition at line 44 of file raytrace1.cpp.

+ +
+
+ +
+
+ + + + +
float translationFactor = 5.0
+
+ +

Magic constant to adjust the rate of translation when re-orienting the camera.

+ +

Definition at line 164 of file raytrace1.cpp.

+ +
+
+ +
+
+ + + + +
GLint uCameraPosition = -1
+
+ +

Handle to uniform that will contain the position of the Camera.

+ +

Definition at line 27 of file raytrace1.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/raytrace1_8cpp.js b/Doxygen/Docs/html/raytrace1_8cpp.js new file mode 100644 index 00000000..a30a4d37 --- /dev/null +++ b/Doxygen/Docs/html/raytrace1_8cpp.js @@ -0,0 +1,32 @@ +var raytrace1_8cpp = +[ + [ "customkeyboard", "raytrace1_8cpp.html#a7aca3c77669b8c403f580a99c6485016", null ], + [ "custommouse", "raytrace1_8cpp.html#a3942aa773dadccfa1bc0cc8ce3d3db1e", null ], + [ "display", "raytrace1_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd", null ], + [ "idle", "raytrace1_8cpp.html#a01131b63acf241e9db91704d89ce15d2", null ], + [ "init", "raytrace1_8cpp.html#a2858154e2009b0e6e616f313177762bc", null ], + [ "main", "raytrace1_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627", null ], + [ "motion", "raytrace1_8cpp.html#a45a7d7c86c97ca6a2d4d32ce2d263f67", null ], + [ "reshape", "raytrace1_8cpp.html#a6819355374dd277347abd7c4235f0cd7", null ], + [ "camera", "raytrace1_8cpp.html#a0e46f444cf201063a14a00d1236f0629", null ], + [ "dethklok", "raytrace1_8cpp.html#ac669817a94c510db37084c9dd9dcfb55", null ], + [ "leftDown", "raytrace1_8cpp.html#ab2138cc58a32399a5f3979e283f210a1", null ], + [ "modelView", "raytrace1_8cpp.html#aa82a2e50ca7f0a7c6c79922cf7ac675d", null ], + [ "mouseDownX", "raytrace1_8cpp.html#a1e74073d42607e52372bf0707ed490f9", null ], + [ "mouseDownY", "raytrace1_8cpp.html#a86c4394f5079d572ea974f506b282a2d", null ], + [ "program", "raytrace1_8cpp.html#a27d8510c93324412d38a888eddee2852", null ], + [ "rightDown", "raytrace1_8cpp.html#ad63f40b37d892985bb56ae99f16145c5", null ], + [ "rotationFactor", "raytrace1_8cpp.html#a450a5ce9d8d2b3bcb3a31d9a87f91a7f", null ], + [ "screenHeight", "raytrace1_8cpp.html#a9ebc1dbd77788c4bfa27758a6725413f", null ], + [ "screenWidth", "raytrace1_8cpp.html#ae50cb92a78d9e0a4f4bd718fc02bd294", null ], + [ "sphereCenterPoints", "raytrace1_8cpp.html#a1b43fb6e961f9006cdde22ffeb51573e", null ], + [ "sphereColors", "raytrace1_8cpp.html#a0049a4399f161944c46d12e156b1e2c0", null ], + [ "sphereRadius", "raytrace1_8cpp.html#aacb8095464f12290818f45bf69b180ed", null ], + [ "translationFactor", "raytrace1_8cpp.html#a4ebc11e7a5ba3738d580c7e764782aff", null ], + [ "uCameraPosition", "raytrace1_8cpp.html#a16874d01f7ca34ada7dddea3042f067f", null ], + [ "uNumOfSpheres", "raytrace1_8cpp.html#a34acd21874fb66785b6d2a8681e6ab94", null ], + [ "uSphereCenterPoints", "raytrace1_8cpp.html#ac19fb5c188fc806f2dd15bfd6837e06f", null ], + [ "uSphereColors", "raytrace1_8cpp.html#ac9ad675235d6dc86104ef8ba4b56ddba", null ], + [ "uSphereRadius", "raytrace1_8cpp.html#ac922fb8458c34a5ba06bf7504e9f12f4", null ], + [ "vRayPosition", "raytrace1_8cpp.html#a216a38dca36816a9d3b9ab11920f5898", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/raytrace1_8cpp_source.html b/Doxygen/Docs/html/raytrace1_8cpp_source.html new file mode 100644 index 00000000..63a6cf5f --- /dev/null +++ b/Doxygen/Docs/html/raytrace1_8cpp_source.html @@ -0,0 +1,358 @@ + + + + + +HyperGrafx: raytrace1.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
raytrace1.cpp
+
+
+Go to the documentation of this file.
1 
+
8 #include <cmath>
+
9 #include <iostream>
+
10 #include <cstdio>
+
11 #include <SOIL/SOIL.h>
+
12 #include <cstring>
+
13 
+
14 #include "SpelchkCamera.hpp"
+
15 #include "InitShader.hpp"
+
16 #include "eric_rules.hpp"
+
17 
+
19 GLuint program;
+
20 
+
22 GLuint modelView = -1;
+
23 GLuint dethklok;
+
24 
+
25 GLint vRayPosition = -1;
+
27 GLint uCameraPosition = -1;
+
28 
+
30 SpelchkCamera camera( vec4( 0.0, 0.0, 0.0, 0.0 ) );
+
31 
+
32 GLint uSphereCenterPoints = -1;
+
33 GLint uSphereRadius = -1;
+
34 GLint uSphereColors = -1;
+
35 GLint uNumOfSpheres = -1;
+
36 
+
37 //----------------------------------------------------------------------------
+
38 
+
39 GLfloat sphereCenterPoints[] = { -1.0, -1.0, -2.0, 1.0, -1.0, -2.0, -1.0, 1.0,
+
40  -2.0, 1.0, 1.0, -2.0 };
+
41 
+
42 GLfloat sphereRadius[] = { 0.5, 0.6, 0.7, 0.8 };
+
43 
+
44 GLfloat sphereColors[] = { 1.0, 0.3, 0.3, 0.3, 1.0, 0.3, 0.3, 0.3, 1.0, 1.0,
+
45  0.3, 0.3 };
+
46 
+
50 void idle( void ) {
+
51  glutPostRedisplay();
+
52 }
+
53 
+ + +
58 
+
64 void reshape( int width, int height ) {
+
65  screenHeight = height;
+
66  screenWidth = width;
+
67 }
+
68 
+
75 void customkeyboard( unsigned char key, int x, int y ) {
+
76  switch ( key ) {
+
77  case 033: // Escape Key
+
78  case 'q':
+
79  case 'Q':
+
80  exit( EXIT_SUCCESS );
+
81  break;
+
82  case 'w': // move up
+
83  camera.moveCamera( 0.0, -0.2, 0.0 );
+
84  break;
+
85  case 's': // move down
+
86  camera.moveCamera( 0.0, 0.2, 0.0 );
+
87  break;
+
88  case 'a': // move left
+
89  camera.moveCamera( 0.2, 0.0, 0.0 );
+
90  break;
+
91  case 'd': // move right
+
92  camera.moveCamera( -0.2, 0.0, 0.0 );
+
93  break;
+
94  case 'z': //move back
+
95  camera.moveCamera( 0.0, 0.0, 0.2 );
+
96  break;
+
97  case 'x': //move forward
+
98  camera.moveCamera( 0.0, 0.0, -0.2 );
+
99  break;
+
100  case '1': //move somewhere
+
101  camera.reset();
+
102  camera.moveCamera( 0.0, 0.0, -4.0 );
+
103  //camera.rotateCamera(0.0, 90.0, 0.0);
+
104  break;
+
105  case ' ': // reset values to their defaults
+
106  camera.reset();
+
107  break;
+
108  }
+
109 }
+
110 
+
112 bool leftDown = false;
+
114 bool rightDown = false;
+
115 
+ +
131 void custommouse( int button, int state, int x, int y ) {
+
132  if ( state == GLUT_DOWN ) {
+
133  switch ( button ) {
+
134  case GLUT_LEFT_BUTTON:
+
135  leftDown = true;
+
136  mouseDownX = x;
+
137  mouseDownY = y;
+
138  break;
+
139  case GLUT_MIDDLE_BUTTON:
+
140  break;
+
141  case GLUT_RIGHT_BUTTON:
+
142  rightDown = true;
+
143  mouseDownX = x;
+
144  mouseDownY = y;
+
145  break;
+
146  }
+
147  } else if ( state == GLUT_UP ) {
+
148  switch ( button ) {
+
149  case GLUT_LEFT_BUTTON:
+
150  leftDown = false;
+
151  break;
+
152  case GLUT_MIDDLE_BUTTON:
+
153  break;
+
154  case GLUT_RIGHT_BUTTON:
+
155  rightDown = false;
+
156  break;
+
157  }
+
158  }
+
159 }
+
160 
+
162 float rotationFactor = 45.0;
+
164 float translationFactor = 5.0;
+
165 
+
171 void motion( int x, int y ) {
+
172 
+
173  float xAngle = 0, yAngle = 0;
+
174  float temp;
+
175  float depth;
+
176 
+
177  if ( leftDown ) {
+
178  temp = (x - mouseDownX);
+
179  mouseDownX = x;
+
180  yAngle = (temp * rotationFactor / screenWidth);
+
181 
+
182  temp = (y - mouseDownY);
+
183  mouseDownY = y;
+
184  xAngle = (temp * rotationFactor / screenHeight);
+
185 
+
186  camera.rotateCamera( xAngle, yAngle, 0.0 );
+
187 
+
188  } else if ( rightDown ) {
+
189  temp = (y - mouseDownY);
+
190  mouseDownY = y;
+
191  depth = (temp * translationFactor / screenHeight);
+
192 
+
193  camera.moveCamera( 0.0, 0.0, depth );
+
194  }
+
195 }
+
196 
+
200 void display( void ) {
+
201  glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
+
202 
+
203  glUniform1f( dethklok, glutGet( GLUT_ELAPSED_TIME ) );
+
204 
+
205  mat4 mv = camera.getModelViewMatrix();
+
206  glUniformMatrix4fv( modelView, 1, GL_TRUE, mv );
+
207 
+
208  int numSpheres = 4;
+
209  glUniform1i( uNumOfSpheres, numSpheres );
+
210  glUniform3fv( uSphereCenterPoints, numSpheres, sphereCenterPoints );
+
211  glUniform1fv( uSphereRadius, numSpheres, sphereRadius );
+
212  glUniform3fv( uSphereColors, numSpheres, sphereColors );
+
213 
+
214  float elapsedTime = glutGet( GLUT_ELAPSED_TIME );
+
215  //printf("%f\n", elapsedTime);
+
216 
+
217  GLfloat vertices[] = { 1.0, 1.0, -1.0, 1.0, 1.0, -1.0, -1.0, -1.0, };
+
218 
+
219  GLuint vbo_vertices;
+
220  glGenBuffers( 1, &vbo_vertices );
+
221  glBindBuffer( GL_ARRAY_BUFFER, vbo_vertices );
+
222  glBufferData( GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW );
+
223  glBindBuffer( GL_ARRAY_BUFFER, 0 );
+
224 
+
225  glBindBuffer( GL_ARRAY_BUFFER, vbo_vertices );
+
226  glEnableVertexAttribArray( vRayPosition );
+
227  glVertexAttribPointer( vRayPosition, // attribute
+
228  2, // number of elements per vertex, here (x,)
+
229  GL_FLOAT, // the type of each element
+
230  GL_FALSE, // take our values as-is
+
231  0, // no extra data between each position
+
232  0 // offset of first element
+
233  );
+
234 
+
235  glDrawArrays( GL_TRIANGLE_STRIP, 0, 4 );
+
236 
+
237  glutSwapBuffers();
+
238 
+
239  glDisableVertexAttribArray( vRayPosition );
+
240 }
+
241 
+
245 void init( void ) {
+
246 
+
247  // Create a vertex array object
+
248  GLuint vao;
+
249  glGenVertexArrays( 1, &vao );
+
250  glBindVertexArray( vao );
+
251 
+
252  // Load shaders and use the resulting shader program
+
253  GLuint program = Angel::InitShader( "shaders/vShaderOrgAndDir.glsl",
+
254  "shaders/fShaderSpheres2.glsl" );
+
255  glUseProgram( program );
+
256 
+
257  modelView = glGetUniformLocation( program, "ModelView" );
+
258 
+
259  vRayPosition = glGetAttribLocation( program, "vRayPosition" );
+
260  uCameraPosition = glGetUniformLocation( program, "uCameraPosition" );
+
261 
+
262  uNumOfSpheres = glGetUniformLocation( program, "uNumOfSpheres" );
+
263  uSphereCenterPoints = glGetUniformLocation( program, "uSphereCenterPoints" );
+
264  uSphereRadius = glGetUniformLocation( program, "uSphereRadius" );
+
265  uSphereColors = glGetUniformLocation( program, "uSphereColors" );
+
266 
+
267  dethklok = glGetUniformLocation( program, "ftime" );
+
268 
+
269  glShadeModel( GL_FLAT );
+
270  glEnable( GL_DEPTH_TEST );
+
271  glClearColor( 0.1, 0.1, 0.1, 1.0 );
+
272 }
+
273 
+
280 int main( int argc, char **argv ) {
+
281  VooDoo::InitRelativePaths(argc, argv);
+
282  glutInit( &argc, argv );
+
283 
+
284  glutInitDisplayMode( GLUT_RGBA | GLUT_DOUBLE ); // set rendering context
+
285  glutInitWindowSize( 512, 512 );
+
286  glutCreateWindow( "Project" ); // title
+
287 
+
288  glewInit(); // set OpenGL state and initialize shaders
+
289  init();
+
290 
+
291  glutDisplayFunc( display ); // register callback w/Window System
+
292  glutKeyboardFunc( customkeyboard );
+
293  glutMouseFunc( custommouse );
+
294  glutMotionFunc( motion );
+
295  glutIdleFunc( idle );
+
296  glutReshapeFunc( reshape );
+
297 
+
298  glutMainLoop();
+
299  return 0;
+
300 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/resize.js b/Doxygen/Docs/html/resize.js new file mode 100644 index 00000000..9fe82ba9 --- /dev/null +++ b/Doxygen/Docs/html/resize.js @@ -0,0 +1,93 @@ +var cookie_namespace = 'doxygen'; +var sidenav,navtree,content,header; + +function readCookie(cookie) +{ + var myCookie = cookie_namespace+"_"+cookie+"="; + if (document.cookie) + { + var index = document.cookie.indexOf(myCookie); + if (index != -1) + { + var valStart = index + myCookie.length; + var valEnd = document.cookie.indexOf(";", valStart); + if (valEnd == -1) + { + valEnd = document.cookie.length; + } + var val = document.cookie.substring(valStart, valEnd); + return val; + } + } + return 0; +} + +function writeCookie(cookie, val, expiration) +{ + if (val==undefined) return; + if (expiration == null) + { + var date = new Date(); + date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week + expiration = date.toGMTString(); + } + document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"; +} + +function resizeWidth() +{ + var windowWidth = $(window).width() + "px"; + var sidenavWidth = $(sidenav).width(); + content.css({marginLeft:parseInt(sidenavWidth)+6+"px"}); //account for 6px-wide handle-bar + writeCookie('width',sidenavWidth, null); +} + +function restoreWidth(navWidth) +{ + var windowWidth = $(window).width() + "px"; + content.css({marginLeft:parseInt(navWidth)+6+"px"}); + sidenav.css({width:navWidth + "px"}); +} + +function resizeHeight() +{ + var headerHeight = header.height(); + var footerHeight = footer.height(); + var windowHeight = $(window).height() - headerHeight - footerHeight; + content.css({height:windowHeight + "px"}); + navtree.css({height:windowHeight + "px"}); + sidenav.css({height:windowHeight + "px",top: headerHeight+"px"}); +} + +function initResizable() +{ + header = $("#top"); + sidenav = $("#side-nav"); + content = $("#doc-content"); + navtree = $("#nav-tree"); + footer = $("#nav-path"); + $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); + $(window).resize(function() { resizeHeight(); }); + var width = readCookie('width'); + if (width) { restoreWidth(width); } else { resizeWidth(); } + resizeHeight(); + var url = location.href; + var i=url.indexOf("#"); + if (i>=0) window.location.hash=url.substr(i); + var _preventDefault = function(evt) { evt.preventDefault(); }; + $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); + $(document).bind('touchmove',function(e){ + try { + var target = e.target; + while (target) { + if ($(target).css('-webkit-overflow-scrolling')=='touch') return; + target = target.parentNode; + } + e.preventDefault(); + } catch(err) { + e.preventDefault(); + } + }); +} + + diff --git a/Doxygen/Docs/html/search/all_5f.html b/Doxygen/Docs/html/search/all_5f.html new file mode 100644 index 00000000..1f27755a --- /dev/null +++ b/Doxygen/Docs/html/search/all_5f.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_5f.js b/Doxygen/Docs/html/search/all_5f.js new file mode 100644 index 00000000..da9654ab --- /dev/null +++ b/Doxygen/Docs/html/search/all_5f.js @@ -0,0 +1,43 @@ +var searchData= +[ + ['_5faspectratio',['_aspectRatio',['../class_camera.html#a42082e8f2d80a13674ce163d8e720bfb',1,'Camera']]], + ['_5fbuffer',['_buffer',['../class_object.html#adf8365e2c661ab4014c3dbf60e48572b',1,'Object']]], + ['_5fcolors',['_colors',['../class_object.html#a29a0e9959c490067db69378bf57a17ba',1,'Object']]], + ['_5fctm',['_ctm',['../class_camera.html#a6c1e31c8470b923f9f872f73597cb95b',1,'Camera']]], + ['_5fcurrentobj',['_currentObj',['../class_scene.html#ae87ca5350fcc595f3f15a4fd3c39f3d9',1,'Scene']]], + ['_5fcurrentview',['_currentView',['../class_camera.html#ac9062d9bb891aa81d163076738451081',1,'Camera']]], + ['_5fdrawmode',['_drawMode',['../class_object.html#ae8457eabfb89d55826142508013b56c0',1,'Object']]], + ['_5fenginesettings',['_engineSettings',['../class_engine.html#a467d917952b89ef23f7a045e4f87218a',1,'Engine']]], + ['_5fenginesingleton',['_engineSingleton',['../class_engine.html#ae494a590056c4594f1f3cb39e4d18994',1,'Engine']]], + ['_5ffovy',['_fovy',['../class_camera.html#a82542bb76347e2a2bb66b3bb7842945b',1,'Camera']]], + ['_5ffrictionmagnitude',['_frictionMagnitude',['../class_camera.html#a66fb66da0ccd400c4986dc19276b6716',1,'Camera']]], + ['_5fgshader',['_gShader',['../class_scene.html#a8f9bdd8ec5edb1f414fbd314a36e2724',1,'Scene']]], + ['_5fhandles',['_handles',['../class_object.html#a983963f564898beca4bda99676245663',1,'Object']]], + ['_5findices',['_indices',['../class_object.html#ab85adc7a2d3b891051c096593982653d',1,'Object']]], + ['_5fistextured',['_isTextured',['../class_object.html#abcb877094b696561a49bc931c5a12d9f',1,'Object']]], + ['_5flist',['_list',['../class_scene.html#acdd0123ca6b2d64d8d447bb485b235fc',1,'Scene']]], + ['_5fm',['_m',['../class_angel_1_1mat2.html#a04ca47b08412fa9c9ed5067843df53e9',1,'Angel::mat2']]], + ['_5fmap',['_map',['../class_scene.html#a8bd5d86484a12255b26b92b6cbf8d29a',1,'Scene']]], + ['_5fmaxaccel',['_maxAccel',['../class_camera.html#acbfae99c73c118ca92be9a6ba664b303',1,'Camera']]], + ['_5fmaxspeed',['_maxSpeed',['../class_camera.html#a83cab43f9ccc3d5f4c7db8543a806745',1,'Camera']]], + ['_5fmorphpercentage',['_morphPercentage',['../class_object.html#a7fbbac9027e1a8266342bd5ce064120d',1,'Object']]], + ['_5fmorphtarget',['_morphTarget',['../class_object.html#a5baa9891bd4981d62b4e86a1c2a8eea7',1,'Object']]], + ['_5fmotion',['_motion',['../class_camera.html#abec7e2becbad5a692a54a69b6a5f6d75',1,'Camera']]], + ['_5fname',['_name',['../class_object.html#a3f617214b260ebbe394e7c7b08ab5e43',1,'Object']]], + ['_5fnormals',['_normals',['../class_object.html#a20bb786cb5915934853855aab9d1a1b3',1,'Object']]], + ['_5fscene',['_scene',['../class_engine.html#afc244649d4b31f59f2ef91754472b281',1,'Engine']]], + ['_5fscreen',['_screen',['../class_engine.html#a181e11b6fd26698bc173647ab2471c8c',1,'Engine']]], + ['_5fsize',['_size',['../class_cameras.html#a2c40cd131741e1904fdfb024006258fd',1,'Cameras']]], + ['_5fspeed',['_speed',['../class_camera.html#a21f8eb53e5369018e39add0453ae626d',1,'Camera']]], + ['_5fspeed_5fcap',['_speed_cap',['../class_camera.html#a4d875d29a43bdfed4eac4c76747939d3',1,'Camera']]], + ['_5ftextureid',['_textureID',['../class_object.html#aefef7502dd10fb3c1c266cf688c432de',1,'Object']]], + ['_5ftexuvs',['_texUVs',['../class_object.html#aa9ddc3b95d74b76ab8a251fb376dfafb',1,'Object']]], + ['_5ftrans',['_trans',['../class_object.html#af17d57ea2dab64e21112e8949d50d85f',1,'Object']]], + ['_5funiformmap',['_uniformMap',['../class_object.html#a6378d0b0eeec23045ae2a5245e42bf13',1,'Object']]], + ['_5fvao',['_vao',['../class_object.html#a564aa6b1df66a05ab6b6c2f071851c4e',1,'Object']]], + ['_5fvelocity',['_velocity',['../class_camera.html#aa15577ff9e67c81699ee86d4d20a7ee7',1,'Camera']]], + ['_5fvertices',['_vertices',['../class_object.html#a4ac354b3ec284f27358b1d4b8d95b9a9',1,'Object']]], + ['_5fview',['_view',['../class_camera.html#a28f6e710df6db726568cd0f2bbd3643a',1,'Camera']]], + ['_5fviewportposition',['_viewportPosition',['../class_camera.html#adb7506be3632abc2d33e77a5783f5be8',1,'Camera']]], + ['_5fviewportsize',['_viewportSize',['../class_camera.html#a67c7600162abef1d2cddfce8cc75c33b',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/all_61.html b/Doxygen/Docs/html/search/all_61.html new file mode 100644 index 00000000..a3164d55 --- /dev/null +++ b/Doxygen/Docs/html/search/all_61.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_61.js b/Doxygen/Docs/html/search/all_61.js new file mode 100644 index 00000000..e2ecf6df --- /dev/null +++ b/Doxygen/Docs/html/search/all_61.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['accel',['accel',['../class_camera.html#abee6a36602b8044478739cea9221ed41',1,'Camera']]], + ['active',['active',['../class_cameras.html#a6002cbceb6a93092a1a029af486349a0',1,'Cameras']]], + ['addcamera',['addCamera',['../class_cameras.html#a436b481bf293ec6dfa09d2f89054c54b',1,'Cameras']]], + ['addobject',['addObject',['../class_scene.html#aa5a48614e959c38c35d824fa9d6a4b8b',1,'Scene']]], + ['adjustfieldofview',['adjustFieldOfView',['../class_camera.html#a717f5d58bb0a73f8c5513a3520d98203',1,'Camera']]], + ['adjustrotation',['adjustRotation',['../class_camera.html#aba32f195cdb5bfcfd05c2ce74315b6c3',1,'Camera']]], + ['animation',['animation',['../class_object.html#a0d604a816115c474b9593aeaebda9f8b',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/all_62.html b/Doxygen/Docs/html/search/all_62.html new file mode 100644 index 00000000..ee8871cb --- /dev/null +++ b/Doxygen/Docs/html/search/all_62.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_62.js b/Doxygen/Docs/html/search/all_62.js new file mode 100644 index 00000000..d521406d --- /dev/null +++ b/Doxygen/Docs/html/search/all_62.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['begin',['BEGIN',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a8a65225741e4db1df295c9cab71a98c0',1,'Object']]], + ['buffer',['buffer',['../class_object.html#a7edb92c30d86b6479b0ff2a5e9f06e13',1,'Object']]], + ['buffermorphonly',['bufferMorphOnly',['../class_object.html#a293792abfe0671e00a0ec10e85ea9d9e',1,'Object']]], + ['buffertype',['BufferType',['../class_object.html#a51d08da3bd559d08734197006bc29a79',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/all_63.html b/Doxygen/Docs/html/search/all_63.html new file mode 100644 index 00000000..56b5ad1e --- /dev/null +++ b/Doxygen/Docs/html/search/all_63.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_63.js b/Doxygen/Docs/html/search/all_63.js new file mode 100644 index 00000000..88f0414a --- /dev/null +++ b/Doxygen/Docs/html/search/all_63.js @@ -0,0 +1,24 @@ +var searchData= +[ + ['calcnormal',['calcNormal',['../model_8cpp.html#a63c9b090c6711fd0199e748c064b33e9',1,'model.cpp']]], + ['calculateviewports',['calculateViewports',['../class_cameras.html#a9d3b24eec1504127e4942aa0e9412ae7',1,'Cameras']]], + ['camera',['Camera',['../class_camera.html',1,'Camera'],['../class_camera.html#a16516fa8c830cecef5c8eb43eff12783',1,'Camera::Camera(const std::string &name, GLuint gShader, float x=0.0, float y=0.0, float z=0.0)'],['../class_camera.html#a24329612384948d2b64f78094fe84e75',1,'Camera::Camera(const std::string &name, GLuint gShader, vec3 &in)'],['../class_camera.html#aa131bc7f1bad2cc8baea463714c4485d',1,'Camera::Camera(const std::string &name, GLuint gShader, vec4 &in)'],['../raytrace1_8cpp.html#a0e46f444cf201063a14a00d1236f0629',1,'camera(): raytrace1.cpp']]], + ['camera_2ecpp',['Camera.cpp',['../_camera_8cpp.html',1,'']]], + ['camera_2ehpp',['Camera.hpp',['../_camera_8hpp.html',1,'']]], + ['cameras',['Cameras',['../class_cameras.html',1,'Cameras'],['../class_cameras.html#a14342354c24f588c24e004a722849c3d',1,'Cameras::Cameras()']]], + ['cameras_2ecpp',['Cameras.cpp',['../_cameras_8cpp.html',1,'']]], + ['cameras_2ehpp',['Cameras.hpp',['../_cameras_8hpp.html',1,'']]], + ['cams',['cams',['../class_engine.html#a2b2c1cd59c9a5c903bf466284012ce4c',1,'Engine']]], + ['changeperspective',['changePerspective',['../class_camera.html#a8463a19c9e1e7a1c51cd97051e937230',1,'Camera']]], + ['cleanup',['cleanup',['../ds_8cpp.html#aeb94fbd457627182ceee7e505f432541',1,'cleanup(void): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#aeb94fbd457627182ceee7e505f432541',1,'cleanup(void): MONOLITH.cpp'],['../morphlite_8cpp.html#aeb94fbd457627182ceee7e505f432541',1,'cleanup(void): morphlite.cpp'],['../terrain_8cpp.html#aeb94fbd457627182ceee7e505f432541',1,'cleanup(void): terrain.cpp']]], + ['color4',['Color4',['../vec_8hpp.html#a8bedcae0602a1167f1d39683f4dc83a6',1,'vec.hpp']]], + ['color_5fat',['COLOR_AT',['../model_8cpp.html#aada0e82137280db20b9a7bbb864a8049',1,'model.cpp']]], + ['colorcube',['colorCube',['../model_8cpp.html#a9aeb9d305a36f39f25137645d75eaa95',1,'colorCube(Object *obj, GLfloat size): model.cpp'],['../model_8hpp.html#a9aeb9d305a36f39f25137645d75eaa95',1,'colorCube(Object *obj, GLfloat size): model.cpp']]], + ['colors',['COLORS',['../class_object.html#a51d08da3bd559d08734197006bc29a79a69fb14c98b43d636b30ef5e77b492968',1,'Object']]], + ['colors_5fmorph',['COLORS_MORPH',['../class_object.html#a51d08da3bd559d08734197006bc29a79a814c8171ad45f6e954ffb474a5dfacb1',1,'Object']]], + ['commoninit',['commonInit',['../class_camera.html#a20243a7e3eb06ab1265118c5fb9cce9b',1,'Camera']]], + ['createpoint',['createPoint',['../model_8cpp.html#ac902b9394c319b5d0ffa1a0071f6e504',1,'createPoint(Object *obj, Point4 const &the_point, Color4 const &the_color, vec3 const &the_normal): model.cpp'],['../model_8hpp.html#ac902b9394c319b5d0ffa1a0071f6e504',1,'createPoint(Object *obj, Point4 const &the_point, Color4 const &the_color, vec3 const &the_normal): model.cpp']]], + ['cube',['cube',['../model_8cpp.html#a88b94550b90fbfab004aabc334260615',1,'cube(Object *obj, const GLfloat &size, const Color4 colors[8]): model.cpp'],['../model_8hpp.html#a88b94550b90fbfab004aabc334260615',1,'cube(Object *obj, const GLfloat &size, const Color4 colors[8]): model.cpp']]], + ['customkeyboard',['customkeyboard',['../raytrace1_8cpp.html#a7aca3c77669b8c403f580a99c6485016',1,'raytrace1.cpp']]], + ['custommouse',['custommouse',['../raytrace1_8cpp.html#a3942aa773dadccfa1bc0cc8ce3d3db1e',1,'raytrace1.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/all_64.html b/Doxygen/Docs/html/search/all_64.html new file mode 100644 index 00000000..b53ff083 --- /dev/null +++ b/Doxygen/Docs/html/search/all_64.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_64.js b/Doxygen/Docs/html/search/all_64.js new file mode 100644 index 00000000..b7233974 --- /dev/null +++ b/Doxygen/Docs/html/search/all_64.js @@ -0,0 +1,23 @@ +var searchData= +[ + ['debug',['DEBUG',['../globals_8h.html#ad72dbcf6d0153db1b8d8a58001feed83',1,'globals.h']]], + ['debug_5fmotion',['DEBUG_MOTION',['../globals_8h.html#ab5f638ed0890579dbe0522227610af64',1,'globals.h']]], + ['default_5fkeyframe_5frate',['DEFAULT_KEYFRAME_RATE',['../_timer_8hpp.html#aae1c545a2921ea7b488ba4e4aa06718a',1,'Timer.hpp']]], + ['degrees_5fto_5fradians',['DEGREES_TO_RADIANS',['../globals_8h.html#a7bf0b4b8b3cf2f13f25573b3e151ed88',1,'globals.h']]], + ['deleteobject',['deleteObject',['../class_scene.html#ad3897f8ac658af62c133783b2c4eaee4',1,'Scene']]], + ['delobject',['delObject',['../class_scene.html#a2a6845dacbb468c5c097c7a6ab5a0fe0',1,'Scene::delObject(const std::string &objName)'],['../class_scene.html#a2e6b319b60e27e66ad43bb942a6c4424',1,'Scene::delObject(void)']]], + ['delta',['delta',['../class_timer.html#a855136dd9e8cc3c07278dac9c4613693',1,'Timer']]], + ['destroymorphtarget',['destroyMorphTarget',['../class_object.html#a98d3f1b9ebb61c3b21e2a59ed267480a',1,'Object']]], + ['direction',['Direction',['../class_camera.html#a80cb65605322d27ad3b6d973484509ec',1,'Camera::Direction()'],['../class_camera.html#a94bb7ceb1c7a05e54cf638924f228baf',1,'Camera::Direction()']]], + ['display',['display',['../ds_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd',1,'display(void): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd',1,'display(void): MONOLITH.cpp'],['../morphlite_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd',1,'display(void): morphlite.cpp'],['../raytrace1_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd',1,'display(void): raytrace1.cpp'],['../terrain_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd',1,'display(void): terrain.cpp']]], + ['displayviewport',['displayViewport',['../terrain_8cpp.html#af3c12d5391e754508338373c5071b2ed',1,'terrain.cpp']]], + ['divide_5fby_5fzero_5ftolerance',['DIVIDE_BY_ZERO_TOLERANCE',['../globals_8h.html#ad90a072ea1667bc81e21b726aefbcff1',1,'globals.h']]], + ['dividetriangle',['divideTriangle',['../model_8cpp.html#aa897b7167b0e40599c4735cf0ac0d24c',1,'divideTriangle(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, int timesToRecurse, int color): model.cpp'],['../model_8hpp.html#aa897b7167b0e40599c4735cf0ac0d24c',1,'divideTriangle(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, int timesToRecurse, int color): model.cpp']]], + ['dpos',['dPos',['../class_camera.html#a2ac5f89b4f9f012dead66980925143c0',1,'Camera::dPos(const float &x, const float &y, const float &z)'],['../class_camera.html#a928de59670f0b31264307a8a0888b99d',1,'Camera::dPos(const vec3 &by)'],['../class_camera.html#a4ec2e3d2a66826aedb1ac1eee7da0b96',1,'Camera::dPos(const vec4 &by)']]], + ['draw',['draw',['../class_object.html#a53e2ee7f548550be014126bed139fe69',1,'Object::draw()'],['../ds_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256',1,'draw(void): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256',1,'draw(void): MONOLITH.cpp'],['../morphlite_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256',1,'draw(void): morphlite.cpp']]], + ['drawmode',['drawMode',['../class_object.html#adafdf22583b051b4c61c8eb725fb07d5',1,'Object']]], + ['ds_2ecpp',['ds.cpp',['../ds_8cpp.html',1,'']]], + ['dx',['dX',['../class_camera.html#ac7985a6cb48f4e1e74fda17e5213dd74',1,'Camera']]], + ['dy',['dY',['../class_camera.html#a59570a88e3ff2d277c9e995372fcadfe',1,'Camera']]], + ['dz',['dZ',['../class_camera.html#ab94ed9b3c7e12f484d6bfa5f827b59ff',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/all_65.html b/Doxygen/Docs/html/search/all_65.html new file mode 100644 index 00000000..66cc8348 --- /dev/null +++ b/Doxygen/Docs/html/search/all_65.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_65.js b/Doxygen/Docs/html/search/all_65.js new file mode 100644 index 00000000..c6d55341 --- /dev/null +++ b/Doxygen/Docs/html/search/all_65.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['end',['END',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3ad78facbf844c1259f464a49061e1d7ed',1,'Object']]], + ['engine',['Engine',['../class_engine.html',1,'Engine'],['../class_engine.html#a9ad87e382195a05d5d310a2fb3e357fd',1,'Engine::Engine(void)'],['../class_engine.html#a8e027119a62020acddedd0a14fb44033',1,'Engine::Engine(const Engine &copy)']]], + ['engine_2ecpp',['Engine.cpp',['../_engine_8cpp.html',1,'']]], + ['engine_2ehpp',['Engine.hpp',['../_engine_8hpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/all_66.html b/Doxygen/Docs/html/search/all_66.html new file mode 100644 index 00000000..3d1f8b35 --- /dev/null +++ b/Doxygen/Docs/html/search/all_66.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_66.js b/Doxygen/Docs/html/search/all_66.js new file mode 100644 index 00000000..3c287ed1 --- /dev/null +++ b/Doxygen/Docs/html/search/all_66.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['fieldofview',['fieldOfView',['../class_camera.html#a36ec0e0e832f789e27d42e7bd4f6d174',1,'Camera::fieldOfView(const float &fovy)'],['../class_camera.html#a9b3675bf6866a67f8fa802bb4aecba89',1,'Camera::fieldOfView(void) const ']]], + ['flip',['flip',['../class_engine.html#a0e6265ae2700bda2f21abd308430637a',1,'Engine']]] +]; diff --git a/Doxygen/Docs/html/search/all_67.html b/Doxygen/Docs/html/search/all_67.html new file mode 100644 index 00000000..41a459ae --- /dev/null +++ b/Doxygen/Docs/html/search/all_67.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_67.js b/Doxygen/Docs/html/search/all_67.js new file mode 100644 index 00000000..54f20ee5 --- /dev/null +++ b/Doxygen/Docs/html/search/all_67.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['genmorphtarget',['genMorphTarget',['../class_object.html#ab0ba603904f8f7de15dc0450e2d9b30e',1,'Object']]], + ['geometry_5fvertices_5fout_5fext',['GEOMETRY_VERTICES_OUT_EXT',['../_init_shader_8cpp.html#aa848a95e858e08d3718ccb1ecce0a05a',1,'InitShader.cpp']]], + ['gl_5fgeometry_5fshader',['GL_GEOMETRY_SHADER',['../_init_shader_8cpp.html#a1e0c2d7120ea4f2e30000d134a9dc335',1,'InitShader.cpp']]], + ['glew_5finit',['GLEW_INIT',['../platform_8h.html#a42a67a317dc24490016ce3f13b839acf',1,'platform.h']]], + ['globals_2eh',['globals.h',['../globals_8h.html',1,'']]], + ['glut_5fcallbacks_2ecpp',['glut_callbacks.cpp',['../glut__callbacks_8cpp.html',1,'']]], + ['glut_5fcallbacks_2eh',['glut_callbacks.h',['../glut__callbacks_8h.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/all_68.html b/Doxygen/Docs/html/search/all_68.html new file mode 100644 index 00000000..6df90978 --- /dev/null +++ b/Doxygen/Docs/html/search/all_68.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_68.js b/Doxygen/Docs/html/search/all_68.js new file mode 100644 index 00000000..282e7833 --- /dev/null +++ b/Doxygen/Docs/html/search/all_68.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['handleevent',['HandleEvent',['../_wii_util_8cpp.html#a9e9e82bc299b4b839df01865133abb33',1,'WiiUtil.cpp']]], + ['heave',['heave',['../class_camera.html#a2148d751f104d8e39c9832e2372df2d9',1,'Camera']]], + ['height_5fat',['HEIGHT_AT',['../model_8cpp.html#ad66b9c54b345ca798421773a162babe4',1,'model.cpp']]], + ['heightscale',['heightScale',['../terrain_8cpp.html#abf93e1e5ae2f6baff49c75741529f033',1,'terrain.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/all_69.html b/Doxygen/Docs/html/search/all_69.html new file mode 100644 index 00000000..1a00b554 --- /dev/null +++ b/Doxygen/Docs/html/search/all_69.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_69.js b/Doxygen/Docs/html/search/all_69.js new file mode 100644 index 00000000..c87af697 --- /dev/null +++ b/Doxygen/Docs/html/search/all_69.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['idle',['idle',['../class_camera.html#a9c620bd05c119791c080e479ee71abc2',1,'Camera::idle()'],['../ds_8cpp.html#a01131b63acf241e9db91704d89ce15d2',1,'idle(void): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#a01131b63acf241e9db91704d89ce15d2',1,'idle(void): MONOLITH.cpp'],['../morphlite_8cpp.html#a01131b63acf241e9db91704d89ce15d2',1,'idle(void): morphlite.cpp'],['../raytrace1_8cpp.html#a01131b63acf241e9db91704d89ce15d2',1,'idle(void): raytrace1.cpp']]], + ['idlemotion',['idleMotion',['../class_cameras.html#ac4fee80c5cd473ee4fa2360a95857da7',1,'Cameras']]], + ['indices',['INDICES',['../class_object.html#a51d08da3bd559d08734197006bc29a79abe6f0cf968db450f99d8e176c4d23091',1,'Object']]], + ['init',['init',['../ds_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947',1,'init(): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947',1,'init(): MONOLITH.cpp'],['../morphlite_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947',1,'init(): morphlite.cpp'],['../raytrace1_8cpp.html#a2858154e2009b0e6e616f313177762bc',1,'init(void): raytrace1.cpp'],['../terrain_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947',1,'init(): terrain.cpp']]], + ['initshader_2ecpp',['InitShader.cpp',['../_init_shader_8cpp.html',1,'']]], + ['initshader_2ehpp',['InitShader.hpp',['../_init_shader_8hpp.html',1,'']]], + ['insertobject',['insertObject',['../class_scene.html#a8893899f0088a72642ae32a656252e7f',1,'Scene']]], + ['instance',['instance',['../class_engine.html#a6cbf9ec80a4a3bb245355ff70498dba0',1,'Engine']]], + ['is_5ftextured',['IS_TEXTURED',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a8fecaee23530c9befe7feb5166e81484',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/all_6a.html b/Doxygen/Docs/html/search/all_6a.html new file mode 100644 index 00000000..969ef1e5 --- /dev/null +++ b/Doxygen/Docs/html/search/all_6a.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_6a.js b/Doxygen/Docs/html/search/all_6a.js new file mode 100644 index 00000000..c0edc6fc --- /dev/null +++ b/Doxygen/Docs/html/search/all_6a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['jitter',['jitter',['../model_8cpp.html#a1c53f4777590deb64c28e8ebb64a321d',1,'model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/all_6b.html b/Doxygen/Docs/html/search/all_6b.html new file mode 100644 index 00000000..571dadb1 --- /dev/null +++ b/Doxygen/Docs/html/search/all_6b.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_6b.js b/Doxygen/Docs/html/search/all_6b.js new file mode 100644 index 00000000..2d86a107 --- /dev/null +++ b/Doxygen/Docs/html/search/all_6b.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['keyboard',['keyboard',['../glut__callbacks_8cpp.html#aef7ba2f69afb2d954545f64c7fe24b14',1,'keyboard(unsigned char key, int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#aef7ba2f69afb2d954545f64c7fe24b14',1,'keyboard(unsigned char key, int x, int y): glut_callbacks.cpp']]], + ['keyboard_5fctrl',['keyboard_ctrl',['../glut__callbacks_8cpp.html#a6f3a97ed034be467bc035242d2486e00',1,'keyboard_ctrl(int key, int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#a6f3a97ed034be467bc035242d2486e00',1,'keyboard_ctrl(int key, int x, int y): glut_callbacks.cpp']]], + ['keylift',['keylift',['../glut__callbacks_8cpp.html#a254e97178a2df1da3e435a01f778e475',1,'keylift(unsigned char key, int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#a254e97178a2df1da3e435a01f778e475',1,'keylift(unsigned char key, int x, int y): glut_callbacks.cpp']]], + ['kinectinator_2ecpp',['KinectInator.cpp',['../_kinect_inator_8cpp.html',1,'']]], + ['kinectinator_2ehpp',['KinectInator.hpp',['../_kinect_inator_8hpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/all_6c.html b/Doxygen/Docs/html/search/all_6c.html new file mode 100644 index 00000000..f6383cc2 --- /dev/null +++ b/Doxygen/Docs/html/search/all_6c.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_6c.js b/Doxygen/Docs/html/search/all_6c.js new file mode 100644 index 00000000..58194fec --- /dev/null +++ b/Doxygen/Docs/html/search/all_6c.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['landgen',['landGen',['../model_8cpp.html#a578108fa151d2df77af6ae4585c4bccc',1,'landGen(Object *obj, int N, float H): model.cpp'],['../model_8hpp.html#a578108fa151d2df77af6ae4585c4bccc',1,'landGen(Object *obj, int N, float H): model.cpp']]], + ['leftdown',['leftDown',['../raytrace1_8cpp.html#ab2138cc58a32399a5f3979e283f210a1',1,'raytrace1.cpp']]], + ['link',['link',['../class_object.html#a11d6063c580331d6af59c8d71b7f3e9f',1,'Object']]], + ['lurn2spielnub',['Lurn2SpielNub',['../class_tiem_spelchk_1_1_lurn2_spiel_nub.html',1,'TiemSpelchk']]] +]; diff --git a/Doxygen/Docs/html/search/all_6d.html b/Doxygen/Docs/html/search/all_6d.html new file mode 100644 index 00000000..2e27d4d6 --- /dev/null +++ b/Doxygen/Docs/html/search/all_6d.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_6d.js b/Doxygen/Docs/html/search/all_6d.js new file mode 100644 index 00000000..38f986e7 --- /dev/null +++ b/Doxygen/Docs/html/search/all_6d.js @@ -0,0 +1,29 @@ +var searchData= +[ + ['main',['main',['../ds_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): MONOLITH.cpp'],['../morphlite_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): morphlite.cpp'],['../raytrace1_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): raytrace1.cpp']]], + ['mainscreen',['mainScreen',['../class_engine.html#ad4429218b5aed162269094c6571a2520',1,'Engine']]], + ['makeagua',['makeAgua',['../model_8cpp.html#ad759245db436eebefc9a921e882bca3b',1,'makeAgua(Object *land_obj, Object *agua_obj): model.cpp'],['../model_8hpp.html#ad759245db436eebefc9a921e882bca3b',1,'makeAgua(Object *land_obj, Object *agua_obj): model.cpp']]], + ['mat_2ecpp',['mat.cpp',['../mat_8cpp.html',1,'']]], + ['mat_2ehpp',['mat.hpp',['../mat_8hpp.html',1,'']]], + ['mat2',['mat2',['../class_angel_1_1mat2.html',1,'Angel']]], + ['mat3',['mat3',['../class_angel_1_1mat3.html',1,'Angel']]], + ['mat4',['mat4',['../class_angel_1_1mat4.html',1,'Angel']]], + ['melt_2ecpp',['melt.cpp',['../melt_8cpp.html',1,'']]], + ['model_2ecpp',['model.cpp',['../model_8cpp.html',1,'']]], + ['model_2ehpp',['model.hpp',['../model_8hpp.html',1,'']]], + ['modelfunctions_2ecpp',['modelFunctions.cpp',['../model_functions_8cpp.html',1,'']]], + ['modelfunctions_2ehpp',['modelFunctions.hpp',['../model_functions_8hpp.html',1,'']]], + ['modelview',['modelView',['../raytrace1_8cpp.html#aa82a2e50ca7f0a7c6c79922cf7ac675d',1,'raytrace1.cpp']]], + ['monolith_2ecpp',['MONOLITH.cpp',['../_m_o_n_o_l_i_t_h_8cpp.html',1,'']]], + ['morph_5fpct',['MORPH_PCT',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3ac93e286d52dad730ccf3fdab9b102902',1,'Object']]], + ['morphlite_2ecpp',['morphlite.cpp',['../morphlite_8cpp.html',1,'']]], + ['morphpercentage',['morphPercentage',['../class_object.html#accb051cdc79bc93e8c9c0edb79dd6b30',1,'Object::morphPercentage() const '],['../class_object.html#a543d2329b25df9fb0a782f09d03e5cb1',1,'Object::morphPercentage(const float newPercentage)']]], + ['morphtarget',['morphTarget',['../class_object.html#a7694c9cfe445c3d5b993a38e3f8badd9',1,'Object']]], + ['motion',['motion',['../raytrace1_8cpp.html#a45a7d7c86c97ca6a2d4d32ce2d263f67',1,'raytrace1.cpp']]], + ['mouse',['mouse',['../glut__callbacks_8cpp.html#ac76a5d78172a826cd6ee9512b89a86c0',1,'mouse(int button, int state, int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#ac76a5d78172a826cd6ee9512b89a86c0',1,'mouse(int button, int state, int x, int y): glut_callbacks.cpp']]], + ['mousedownx',['mouseDownX',['../raytrace1_8cpp.html#a1e74073d42607e52372bf0707ed490f9',1,'raytrace1.cpp']]], + ['mousedowny',['mouseDownY',['../raytrace1_8cpp.html#a86c4394f5079d572ea974f506b282a2d',1,'raytrace1.cpp']]], + ['mouselook',['mouselook',['../glut__callbacks_8cpp.html#af04567427614c77718ed14b8450a3438',1,'mouselook(int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#af04567427614c77718ed14b8450a3438',1,'mouselook(int x, int y): glut_callbacks.cpp']]], + ['mouseroll',['mouseroll',['../glut__callbacks_8cpp.html#ad373689e6b9dcfe1b99692b43a759d40',1,'mouseroll(int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#ad373689e6b9dcfe1b99692b43a759d40',1,'mouseroll(int x, int y): glut_callbacks.cpp']]], + ['move',['move',['../class_camera.html#aaa9706527438bd5bd323dd018bb34fcf',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/all_6e.html b/Doxygen/Docs/html/search/all_6e.html new file mode 100644 index 00000000..1f92ee5b --- /dev/null +++ b/Doxygen/Docs/html/search/all_6e.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_6e.js b/Doxygen/Docs/html/search/all_6e.js new file mode 100644 index 00000000..0162fc85 --- /dev/null +++ b/Doxygen/Docs/html/search/all_6e.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['name',['name',['../class_object.html#aafd766fce2598f718cac97a3ac731706',1,'Object']]], + ['next',['next',['../class_cameras.html#a971e1ffd27ff38d58f83996f87700e82',1,'Cameras']]], + ['normal_5fat',['NORMAL_AT',['../model_8cpp.html#a6087c247abe3d7f3a87c6121a25f3bb9',1,'model.cpp']]], + ['normals',['NORMALS',['../class_object.html#a51d08da3bd559d08734197006bc29a79ac91e7a2ef76150b999a9af53d229a8e0',1,'Object']]], + ['normals_5fmorph',['NORMALS_MORPH',['../class_object.html#a51d08da3bd559d08734197006bc29a79aa2afe042e85c0772ba75ba0ee6223a57',1,'Object']]], + ['num_5fbuffers',['NUM_BUFFERS',['../class_object.html#a51d08da3bd559d08734197006bc29a79a1999a38dc687c7ae05c884078de39b51',1,'Object']]], + ['numberofpoints',['numberOfPoints',['../class_object.html#a73f1a6210bacf504de9a808009479b81',1,'Object']]], + ['numcameras',['numCameras',['../class_cameras.html#acf7e92b5163efeeb88543e605d436a0e',1,'Cameras']]] +]; diff --git a/Doxygen/Docs/html/search/all_6f.html b/Doxygen/Docs/html/search/all_6f.html new file mode 100644 index 00000000..61827e82 --- /dev/null +++ b/Doxygen/Docs/html/search/all_6f.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_6f.js b/Doxygen/Docs/html/search/all_6f.js new file mode 100644 index 00000000..c7eaeb57 --- /dev/null +++ b/Doxygen/Docs/html/search/all_6f.js @@ -0,0 +1,15 @@ +var searchData= +[ + ['obj2cam',['obj2Cam',['../class_cameras.html#a8a6c7958396c6b0d07380aa762b15fcc',1,'Cameras']]], + ['object',['Object',['../class_object.html',1,'Object'],['../class_object.html#aacf42e81415f32f1f2a105ce29c7c1b9',1,'Object::Object()']]], + ['object_2ecpp',['Object.cpp',['../_object_8cpp.html',1,'']]], + ['object_2ehpp',['Object.hpp',['../_object_8hpp.html',1,'']]], + ['object_5fctm',['OBJECT_CTM',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a9aaf45d5144b52065016b5b39e909851',1,'Object']]], + ['objloader_2ecpp',['ObjLoader.cpp',['../_obj_loader_8cpp.html',1,'']]], + ['objloader_2ehpp',['ObjLoader.hpp',['../_obj_loader_8hpp.html',1,'']]], + ['offset_5fat',['OFFSET_AT',['../model_8cpp.html#a3ad4ef4bd3a5cf6b3327c8c935ee78e8',1,'model.cpp']]], + ['opengl_2eh',['OpenGL.h',['../_open_g_l_8h.html',1,'']]], + ['operator_2a',['operator*',['../class_angel_1_1mat2.html#a1be53f556f8dd39cc2a95c0168319129',1,'Angel::mat2']]], + ['operator_3d',['operator=',['../class_engine.html#a09761dabaae6f48bd5c612acea76a9bf',1,'Engine']]], + ['opt',['opt',['../class_engine.html#ae3658976c5ab1f0c912d2c7d5747cb67',1,'Engine::opt(const std::string &Option)'],['../class_engine.html#a797b0b934a94cd2ea7ab1c11083e425c',1,'Engine::opt(const std::string &Option, bool setting)']]] +]; diff --git a/Doxygen/Docs/html/search/all_70.html b/Doxygen/Docs/html/search/all_70.html new file mode 100644 index 00000000..0340151b --- /dev/null +++ b/Doxygen/Docs/html/search/all_70.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_70.js b/Doxygen/Docs/html/search/all_70.js new file mode 100644 index 00000000..84fe67b4 --- /dev/null +++ b/Doxygen/Docs/html/search/all_70.js @@ -0,0 +1,24 @@ +var searchData= +[ + ['particle',['Particle',['../class_particle.html',1,'']]], + ['particle_2ecpp',['Particle.cpp',['../_particle_8cpp.html',1,'']]], + ['particle_2ehpp',['Particle.hpp',['../_particle_8hpp.html',1,'']]], + ['particlesystem',['ParticleSystem',['../class_particle_system.html',1,'']]], + ['particlesystem_2ecpp',['ParticleSystem.cpp',['../_particle_system_8cpp.html',1,'']]], + ['particlesystem_2ehpp',['ParticleSystem.hpp',['../_particle_system_8hpp.html',1,'']]], + ['parttest_2ecpp',['partTest.cpp',['../part_test_8cpp.html',1,'']]], + ['pitch',['pitch',['../class_camera.html#aac7dbb6201be7f17e014fc6fdf915560',1,'Camera']]], + ['platform_2eh',['platform.h',['../platform_8h.html',1,'']]], + ['point4',['Point4',['../vec_8hpp.html#a2deb4dc6a4048e0d7bfd890c8052d21e',1,'vec.hpp']]], + ['pollwii',['pollWii',['../_wii_util_8cpp.html#ac3c18e1146115dcb58a284d48e290ca2',1,'pollWii(CWii &wii, bool CalibrateGyro): WiiUtil.cpp'],['../_wii_util_8h.html#af8a8ff4c6c2aecd6722464f76b3414a5',1,'pollWii(CWii &wii, bool CalibrateGyro=false): WiiUtil.cpp']]], + ['popcamera',['popCamera',['../class_cameras.html#a9dee7bf1f2c56176c461fa2617ce4549',1,'Cameras']]], + ['popobject',['popObject',['../class_scene.html#ad6c9d1d1d0c786d39bf97dc60410e28b',1,'Scene']]], + ['pos',['pos',['../class_camera.html#a432e03c15d63f8839fe4731016d907a4',1,'Camera::pos(const float &x, const float &y, const float &z, const bool &update=true)'],['../class_camera.html#ae9dc2206b71b25cf320a05d148cb8b56',1,'Camera::pos(const vec3 &in, const bool &update=true)'],['../class_camera.html#aec2115038562e514193bb2b67f5da153',1,'Camera::pos(const vec4 &in, const bool &update=true)'],['../class_camera.html#a9982ac5f48fe0af97fefa725080d6da6',1,'Camera::pos(void) const ']]], + ['position',['position',['../class_object.html#ac64609eb614aa5974b74000cec6fc95c',1,'Object']]], + ['postmult',['POSTMULT',['../globals_8h.html#afbd48522ecf2a24bf2adca81f5a0e616',1,'globals.h']]], + ['pow5',['POW5',['../globals_8h.html#a7bbc032e1437a7a73f8d3eb2d93d9c6d',1,'globals.h']]], + ['premult',['PREMULT',['../globals_8h.html#a6606f2e98acd846ae52f6cd2f7585d22',1,'globals.h']]], + ['prev',['prev',['../class_cameras.html#a90eb5a3dda940ed494f592d094580dd8',1,'Cameras']]], + ['program',['program',['../raytrace1_8cpp.html#a27d8510c93324412d38a888eddee2852',1,'raytrace1.cpp']]], + ['propagate',['propagate',['../class_object.html#a2fdd201413e0408f5a2508874acd2ef5',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/all_71.html b/Doxygen/Docs/html/search/all_71.html new file mode 100644 index 00000000..b4dc1e6e --- /dev/null +++ b/Doxygen/Docs/html/search/all_71.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_71.js b/Doxygen/Docs/html/search/all_71.js new file mode 100644 index 00000000..0aa0f35e --- /dev/null +++ b/Doxygen/Docs/html/search/all_71.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quad',['QUAD',['../model_8cpp.html#a876c92757e616a414576f3183cb49b17',1,'QUAD(): model.cpp'],['../model_8cpp.html#a787f4c226d43da564315b1b8aefac6cc',1,'quad(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, const Color4 &A, const Color4 &B, const Color4 &C, const Color4 &D): model.cpp'],['../model_8hpp.html#a787f4c226d43da564315b1b8aefac6cc',1,'quad(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, const Color4 &A, const Color4 &B, const Color4 &C, const Color4 &D): model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/all_72.html b/Doxygen/Docs/html/search/all_72.html new file mode 100644 index 00000000..0ab18d65 --- /dev/null +++ b/Doxygen/Docs/html/search/all_72.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_72.js b/Doxygen/Docs/html/search/all_72.js new file mode 100644 index 00000000..a5ec5f30 --- /dev/null +++ b/Doxygen/Docs/html/search/all_72.js @@ -0,0 +1,19 @@ +var searchData= +[ + ['rand_5ffloat',['RAND_FLOAT',['../_obj_loader_8cpp.html#a5fc5a76891a19debb9aa8e2557e3d26a',1,'ObjLoader.cpp']]], + ['randfloat',['randFloat',['../model_8cpp.html#a476a380b7a6a48dc7d762716b041def8',1,'model.cpp']]], + ['randomize_5fterrain',['randomize_terrain',['../terrain_8cpp.html#a43d76d6460eea14cbfac57f649c4ccc9',1,'terrain.cpp']]], + ['raytrace1_2ecpp',['raytrace1.cpp',['../raytrace1_8cpp.html',1,'']]], + ['recursivemodelgen',['recursiveModelGen',['../model_8cpp.html#abaad50597737c633264748efecf95c14',1,'recursiveModelGen(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int timesToRecurse, int color): model.cpp'],['../model_8hpp.html#abaad50597737c633264748efecf95c14',1,'recursiveModelGen(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int timesToRecurse, int color): model.cpp']]], + ['refreshperspective',['refreshPerspective',['../class_camera.html#a24c5346fc0dfaa93257b6716fe0f2421',1,'Camera']]], + ['resetrotation',['resetRotation',['../class_camera.html#a8ec7938c5e25068e5bff25aeb7038af4',1,'Camera']]], + ['reshape',['reshape',['../raytrace1_8cpp.html#a6819355374dd277347abd7c4235f0cd7',1,'raytrace1.cpp']]], + ['resize',['resize',['../class_cameras.html#a0d0b08d599d471c0070665006f3bc437',1,'Cameras']]], + ['resizeevent',['resizeEvent',['../glut__callbacks_8cpp.html#ace248343c050c709b645c42012d68f18',1,'resizeEvent(int width, int height): glut_callbacks.cpp'],['../glut__callbacks_8h.html#ace248343c050c709b645c42012d68f18',1,'resizeEvent(int width, int height): glut_callbacks.cpp']]], + ['rightdown',['rightDown',['../raytrace1_8cpp.html#ad63f40b37d892985bb56ae99f16145c5',1,'raytrace1.cpp']]], + ['roll',['roll',['../class_camera.html#a1ba0979fe0b2ec58085d5f9721858e5e',1,'Camera']]], + ['rootscene',['rootScene',['../class_engine.html#a782cf288c161986d0ac0eb48cd187c4d',1,'Engine']]], + ['rotate_5foffset',['ROTATE_OFFSET',['../_camera_8cpp.html#a00e96bcc90e768c724477dbd2a3d9291',1,'Camera.cpp']]], + ['rotationfactor',['rotationFactor',['../raytrace1_8cpp.html#a450a5ce9d8d2b3bcb3a31d9a87f91a7f',1,'raytrace1.cpp']]], + ['rotmat',['RotMat',['../class_rot_mat.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/all_73.html b/Doxygen/Docs/html/search/all_73.html new file mode 100644 index 00000000..1ec8f174 --- /dev/null +++ b/Doxygen/Docs/html/search/all_73.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_73.js b/Doxygen/Docs/html/search/all_73.js new file mode 100644 index 00000000..dd4f6c4a --- /dev/null +++ b/Doxygen/Docs/html/search/all_73.js @@ -0,0 +1,27 @@ +var searchData= +[ + ['scale',['scale',['../class_timer.html#a7b3934948b0d2bc11a5e198e619b2576',1,'Timer']]], + ['scalemat',['ScaleMat',['../class_scale_mat.html',1,'']]], + ['scene',['Scene',['../class_scene.html',1,'Scene'],['../class_scene.html#ad10176d75a9cc0da56626f682d083507',1,'Scene::Scene()']]], + ['scene_2ecpp',['Scene.cpp',['../_scene_8cpp.html',1,'']]], + ['scene_2ehpp',['Scene.hpp',['../_scene_8hpp.html',1,'']]], + ['screen',['Screen',['../class_screen.html',1,'']]], + ['screen_2ecpp',['Screen.cpp',['../_screen_8cpp.html',1,'']]], + ['screen_2ehpp',['Screen.hpp',['../_screen_8hpp.html',1,'']]], + ['screenheight',['screenHeight',['../raytrace1_8cpp.html#a9ebc1dbd77788c4bfa27758a6725413f',1,'raytrace1.cpp']]], + ['screenwidth',['screenWidth',['../raytrace1_8cpp.html#ae50cb92a78d9e0a4f4bd718fc02bd294',1,'raytrace1.cpp']]], + ['send',['send',['../class_camera.html#a401decef27b59d6485b4ab9762f5b9e6',1,'Camera::send()'],['../class_object.html#a34258ee199342d785c29d18c49d54e71',1,'Object::send()']]], + ['set',['set',['../class_engine.html#a81f16979bc330c46675e4d7ffab5eff9',1,'Engine']]], + ['settingsmap',['SettingsMap',['../_engine_8hpp.html#a35f3ec1606bb0642e48d2e62fea0d6a6',1,'Engine.hpp']]], + ['shader',['shader',['../class_object.html#a459489106838a1e3a8dbbd13045cd523',1,'Object::shader(void)'],['../class_object.html#aeaf11bb87bd59381c9e066f0b4f40d8e',1,'Object::shader(GLuint newShader)'],['../class_scene.html#a3ea7e92935755c776c235a9872f53394',1,'Scene::shader(GLuint gShader)'],['../class_scene.html#a9d8a33f0f0a296aba0fb6717ab85cb18',1,'Scene::shader(void)']]], + ['sierpinskipyramid',['sierpinskiPyramid',['../model_8cpp.html#a91ce6a85aa63ffb60c564014e4d060b1',1,'sierpinskiPyramid(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int count): model.cpp'],['../model_8hpp.html#a91ce6a85aa63ffb60c564014e4d060b1',1,'sierpinskiPyramid(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int count): model.cpp']]], + ['spelchkcamera',['SpelchkCamera',['../class_spelchk_camera.html',1,'']]], + ['spelchkcamera_2ecpp',['SpelchkCamera.cpp',['../_spelchk_camera_8cpp.html',1,'']]], + ['spelchkcamera_2ehpp',['SpelchkCamera.hpp',['../_spelchk_camera_8hpp.html',1,'']]], + ['sphere',['sphere',['../model_8cpp.html#a152e6c0e91107b949df03ca399251fd8',1,'sphere(Object *obj): model.cpp'],['../model_8hpp.html#a152e6c0e91107b949df03ca399251fd8',1,'sphere(Object *obj): model.cpp']]], + ['sqrt2',['SQRT2',['../globals_8h.html#a514396dd60fa0621c83072091fb2a0cd',1,'globals.h']]], + ['sqrt3',['SQRT3',['../globals_8h.html#ae42978afd835c3a1f70d409a1b5f5a39',1,'globals.h']]], + ['stop',['stop',['../class_camera.html#ae7414c6ae83c3c9392ab90e957daf2b9',1,'Camera']]], + ['surge',['surge',['../class_camera.html#abb2251df65445bf8efd3fe0074fb5033',1,'Camera']]], + ['sway',['sway',['../class_camera.html#abbe6fe82ed05e64e35b0c4ed2001b34e',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/all_74.html b/Doxygen/Docs/html/search/all_74.html new file mode 100644 index 00000000..fdc6589d --- /dev/null +++ b/Doxygen/Docs/html/search/all_74.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_74.js b/Doxygen/Docs/html/search/all_74.js new file mode 100644 index 00000000..ed650b18 --- /dev/null +++ b/Doxygen/Docs/html/search/all_74.js @@ -0,0 +1,27 @@ +var searchData= +[ + ['terrain_2ecpp',['terrain.cpp',['../terrain_8cpp.html',1,'']]], + ['terraingenerationanimation',['TerrainGenerationAnimation',['../terrain_8cpp.html#a19cc2bcd83a4740c8ab847f391229f09',1,'terrain.cpp']]], + ['tetra',['tetra',['../model_8cpp.html#a9329f4c58e0cbb25cadc1238698efedb',1,'tetra(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d): model.cpp'],['../model_8hpp.html#a9329f4c58e0cbb25cadc1238698efedb',1,'tetra(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d): model.cpp']]], + ['tex_5fsampler',['TEX_SAMPLER',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a85f87adc3e3d4242733729ee87b21423',1,'Object']]], + ['tex_5fuv_5fat',['TEX_UV_AT',['../model_8cpp.html#a4535f7729a3c0127c4bb32caa100d2cf',1,'model.cpp']]], + ['texcoords',['TEXCOORDS',['../class_object.html#a51d08da3bd559d08734197006bc29a79adc601b2ac4ff7f3e455faa35208e431f',1,'Object']]], + ['texture',['Texture',['../class_texture.html',1,'Texture'],['../class_object.html#afebb27ddb10daed8e2c5085b76cbc500',1,'Object::texture()']]], + ['texture_2ecpp',['Texture.cpp',['../_texture_8cpp.html',1,'']]], + ['texture_2ehpp',['Texture.hpp',['../_texture_8hpp.html',1,'']]], + ['textureid',['textureID',['../class_object.html#a74300b3fa318786e21b65183461c5e25',1,'Object']]], + ['tick',['tick',['../class_timer.html#a303b48cd096028dbcc3d73f735c49b66',1,'Timer::tick()'],['../_timer_8cpp.html#a5e8ae978307d3cb3dc9b57b60dcc2039',1,'tick(): Timer.cpp'],['../_timer_8hpp.html#a5e8ae978307d3cb3dc9b57b60dcc2039',1,'tick(): Timer.cpp']]], + ['timer',['Timer',['../class_timer.html',1,'']]], + ['timer_2ecpp',['Timer.cpp',['../_timer_8cpp.html',1,'']]], + ['timer_2ehpp',['Timer.hpp',['../_timer_8hpp.html',1,'']]], + ['tock',['tock',['../class_timer.html#a334900b3056fd3351c299fef28c31d3d',1,'Timer']]], + ['transcache',['TransCache',['../class_trans_cache.html',1,'']]], + ['transcache_2ecpp',['TransCache.cpp',['../_trans_cache_8cpp.html',1,'']]], + ['transcache_2ehpp',['TransCache.hpp',['../_trans_cache_8hpp.html',1,'']]], + ['transformation',['Transformation',['../class_transformation.html',1,'']]], + ['transformation_2ecpp',['Transformation.cpp',['../_transformation_8cpp.html',1,'']]], + ['transformation_2ehpp',['Transformation.hpp',['../_transformation_8hpp.html',1,'']]], + ['translationfactor',['translationFactor',['../raytrace1_8cpp.html#a4ebc11e7a5ba3738d580c7e764782aff',1,'raytrace1.cpp']]], + ['transmat',['TransMat',['../class_trans_mat.html',1,'']]], + ['triangle',['triangle',['../model_8cpp.html#a133b051eb2aaf6c9d8dee920155a19c1',1,'triangle(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const int color): model.cpp'],['../model_8hpp.html#a133b051eb2aaf6c9d8dee920155a19c1',1,'triangle(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const int color): model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/all_75.html b/Doxygen/Docs/html/search/all_75.html new file mode 100644 index 00000000..ab8455ed --- /dev/null +++ b/Doxygen/Docs/html/search/all_75.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_75.js b/Doxygen/Docs/html/search/all_75.js new file mode 100644 index 00000000..02bfcd55 --- /dev/null +++ b/Doxygen/Docs/html/search/all_75.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['ucameraposition',['uCameraPosition',['../raytrace1_8cpp.html#a16874d01f7ca34ada7dddea3042f067f',1,'raytrace1.cpp']]], + ['uniform',['Uniform',['../class_camera.html#a0ed19c96505cbb70625938d1e883af24',1,'Camera::Uniform()'],['../class_object.html#ae6a2969ddca87d2c54b7cb1c131a7d60',1,'Object::Uniform()']]], + ['uniformenum',['UniformEnum',['../class_object.html#a79b74057dbc5182b85c9c3ba8480fcf2',1,'Object']]], + ['uniformmap',['UniformMap',['../class_object.html#a6e19bd8516360bff956408cbae33b878',1,'Object']]], + ['uniforms',['Uniforms',['../class_camera.html#a630738fd23098d44c0d15ee28d5649dd',1,'Camera::Uniforms()'],['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3',1,'Object::Uniforms()']]], + ['unit',['unit',['../model_8cpp.html#a91cf20a293963e386f47242761f62e4e',1,'model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/all_76.html b/Doxygen/Docs/html/search/all_76.html new file mode 100644 index 00000000..0ff5edd3 --- /dev/null +++ b/Doxygen/Docs/html/search/all_76.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_76.js b/Doxygen/Docs/html/search/all_76.js new file mode 100644 index 00000000..df61101b --- /dev/null +++ b/Doxygen/Docs/html/search/all_76.js @@ -0,0 +1,14 @@ +var searchData= +[ + ['vec_2ecpp',['vec.cpp',['../vec_8cpp.html',1,'']]], + ['vec_2ehpp',['vec.hpp',['../vec_8hpp.html',1,'']]], + ['vec2',['vec2',['../struct_angel_1_1vec2.html',1,'Angel']]], + ['vec3',['vec3',['../struct_angel_1_1vec3.html',1,'Angel']]], + ['vec4',['vec4',['../struct_angel_1_1vec4.html',1,'Angel']]], + ['vertex_5fat',['VERTEX_AT',['../model_8cpp.html#a1c8dfc5517ca1ada9923877cfc0783e4',1,'model.cpp']]], + ['vertices',['VERTICES',['../class_object.html#a51d08da3bd559d08734197006bc29a79a23be05de1d4a9e5738eff4c1860f8bfd',1,'Object']]], + ['vertices_5fmorph',['VERTICES_MORPH',['../class_object.html#a51d08da3bd559d08734197006bc29a79a0e9e165431001465775bc5ba2b8d1bd8',1,'Object']]], + ['view',['view',['../class_camera.html#ae845a36306bba6b6e359cbdddce65f7f',1,'Camera::view()'],['../class_cameras.html#adeb29c1d639fcfbae4c68017bc8ef4d4',1,'Cameras::view()']]], + ['viewport',['viewport',['../class_camera.html#adda458a9212825164b52019597f2e9c8',1,'Camera']]], + ['viewtype',['ViewType',['../class_camera.html#aaa256acd50a2fa143d9f8d9456e2802f',1,'Camera::ViewType()'],['../class_camera.html#a5b2dc5eaed6cbaabee0eea3f2714acd7',1,'Camera::ViewType()']]] +]; diff --git a/Doxygen/Docs/html/search/all_77.html b/Doxygen/Docs/html/search/all_77.html new file mode 100644 index 00000000..73323d31 --- /dev/null +++ b/Doxygen/Docs/html/search/all_77.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_77.js b/Doxygen/Docs/html/search/all_77.js new file mode 100644 index 00000000..61f34ef9 --- /dev/null +++ b/Doxygen/Docs/html/search/all_77.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['wiilook',['wiilook',['../terrain_8cpp.html#a3db6770b4d2fa9a7566e01c68880d49c',1,'terrain.cpp']]], + ['wiipolldata',['WiiPollData',['../struct_wii_poll_data.html',1,'']]], + ['wiiutil_2ecpp',['WiiUtil.cpp',['../_wii_util_8cpp.html',1,'']]], + ['wiiutil_2eh',['WiiUtil.h',['../_wii_util_8h.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/all_78.html b/Doxygen/Docs/html/search/all_78.html new file mode 100644 index 00000000..10780d66 --- /dev/null +++ b/Doxygen/Docs/html/search/all_78.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_78.js b/Doxygen/Docs/html/search/all_78.js new file mode 100644 index 00000000..0b24f36a --- /dev/null +++ b/Doxygen/Docs/html/search/all_78.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['x',['x',['../class_camera.html#a14d59ca64bf258adacbed4e0e70ba701',1,'Camera::x(const float &in, const bool &update=true)'],['../class_camera.html#ab84abdd525581fbaf0462595d0a087d6',1,'Camera::x(void) const ']]] +]; diff --git a/Doxygen/Docs/html/search/all_79.html b/Doxygen/Docs/html/search/all_79.html new file mode 100644 index 00000000..c9f8d754 --- /dev/null +++ b/Doxygen/Docs/html/search/all_79.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_79.js b/Doxygen/Docs/html/search/all_79.js new file mode 100644 index 00000000..f14c019b --- /dev/null +++ b/Doxygen/Docs/html/search/all_79.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['y',['y',['../class_camera.html#a5021b8379a853f306851837178856db0',1,'Camera::y(const float &in, const bool &update=true)'],['../class_camera.html#a68d0865ed19510ee41c6477511d70185',1,'Camera::y(void) const ']]], + ['yaw',['yaw',['../class_camera.html#a0ce7d12edbe47d9a8915d8af98d8f524',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/all_7a.html b/Doxygen/Docs/html/search/all_7a.html new file mode 100644 index 00000000..0593a62d --- /dev/null +++ b/Doxygen/Docs/html/search/all_7a.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_7a.js b/Doxygen/Docs/html/search/all_7a.js new file mode 100644 index 00000000..0daa55a3 --- /dev/null +++ b/Doxygen/Docs/html/search/all_7a.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['z',['z',['../class_camera.html#a4acfa20291c83f13c98781c0d53cdbd8',1,'Camera::z(const float &in, const bool &update=true)'],['../class_camera.html#ab1167495c547046c57b1c417e53c39f6',1,'Camera::z(void) const ']]], + ['zachmorphdemo_2ecpp',['zachMorphDemo.cpp',['../zach_morph_demo_8cpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/all_7e.html b/Doxygen/Docs/html/search/all_7e.html new file mode 100644 index 00000000..63512c6f --- /dev/null +++ b/Doxygen/Docs/html/search/all_7e.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/all_7e.js b/Doxygen/Docs/html/search/all_7e.js new file mode 100644 index 00000000..af69bb99 --- /dev/null +++ b/Doxygen/Docs/html/search/all_7e.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['_7ecamera',['~Camera',['../class_camera.html#a06211f202c145b3ec8253f96e1e654a6',1,'Camera']]], + ['_7ecameras',['~Cameras',['../class_cameras.html#a7de763b562cce2a06cb120610987cd29',1,'Cameras']]], + ['_7eengine',['~Engine',['../class_engine.html#a4850643b0f929d8021115cf37d7ab608',1,'Engine']]], + ['_7eobject',['~Object',['../class_object.html#ac9ec2177266554587e8ddb40eb72ae1c',1,'Object']]], + ['_7escene',['~Scene',['../class_scene.html#a3b8cec2e32546713915f8c6303c951f1',1,'Scene']]] +]; diff --git a/Doxygen/Docs/html/search/classes_63.html b/Doxygen/Docs/html/search/classes_63.html new file mode 100644 index 00000000..72c66b96 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_63.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/classes_63.js b/Doxygen/Docs/html/search/classes_63.js new file mode 100644 index 00000000..986548c2 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_63.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['camera',['Camera',['../class_camera.html',1,'']]], + ['cameras',['Cameras',['../class_cameras.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/classes_65.html b/Doxygen/Docs/html/search/classes_65.html new file mode 100644 index 00000000..15f57ebd --- /dev/null +++ b/Doxygen/Docs/html/search/classes_65.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/classes_65.js b/Doxygen/Docs/html/search/classes_65.js new file mode 100644 index 00000000..9b483860 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_65.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['engine',['Engine',['../class_engine.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/classes_6c.html b/Doxygen/Docs/html/search/classes_6c.html new file mode 100644 index 00000000..9991e053 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_6c.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/classes_6c.js b/Doxygen/Docs/html/search/classes_6c.js new file mode 100644 index 00000000..ff4f5eaa --- /dev/null +++ b/Doxygen/Docs/html/search/classes_6c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['lurn2spielnub',['Lurn2SpielNub',['../class_tiem_spelchk_1_1_lurn2_spiel_nub.html',1,'TiemSpelchk']]] +]; diff --git a/Doxygen/Docs/html/search/classes_6d.html b/Doxygen/Docs/html/search/classes_6d.html new file mode 100644 index 00000000..abe6f0d1 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_6d.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/classes_6d.js b/Doxygen/Docs/html/search/classes_6d.js new file mode 100644 index 00000000..266948f3 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_6d.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['mat2',['mat2',['../class_angel_1_1mat2.html',1,'Angel']]], + ['mat3',['mat3',['../class_angel_1_1mat3.html',1,'Angel']]], + ['mat4',['mat4',['../class_angel_1_1mat4.html',1,'Angel']]] +]; diff --git a/Doxygen/Docs/html/search/classes_6f.html b/Doxygen/Docs/html/search/classes_6f.html new file mode 100644 index 00000000..926dcfcf --- /dev/null +++ b/Doxygen/Docs/html/search/classes_6f.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/classes_6f.js b/Doxygen/Docs/html/search/classes_6f.js new file mode 100644 index 00000000..5bdbe3eb --- /dev/null +++ b/Doxygen/Docs/html/search/classes_6f.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['object',['Object',['../class_object.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/classes_70.html b/Doxygen/Docs/html/search/classes_70.html new file mode 100644 index 00000000..e4b52087 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_70.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/classes_70.js b/Doxygen/Docs/html/search/classes_70.js new file mode 100644 index 00000000..5491b690 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_70.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['particle',['Particle',['../class_particle.html',1,'']]], + ['particlesystem',['ParticleSystem',['../class_particle_system.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/classes_72.html b/Doxygen/Docs/html/search/classes_72.html new file mode 100644 index 00000000..0d0ddb4e --- /dev/null +++ b/Doxygen/Docs/html/search/classes_72.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/classes_72.js b/Doxygen/Docs/html/search/classes_72.js new file mode 100644 index 00000000..efc90ffe --- /dev/null +++ b/Doxygen/Docs/html/search/classes_72.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['rotmat',['RotMat',['../class_rot_mat.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/classes_73.html b/Doxygen/Docs/html/search/classes_73.html new file mode 100644 index 00000000..a1bf0b91 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_73.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/classes_73.js b/Doxygen/Docs/html/search/classes_73.js new file mode 100644 index 00000000..603f047c --- /dev/null +++ b/Doxygen/Docs/html/search/classes_73.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['scalemat',['ScaleMat',['../class_scale_mat.html',1,'']]], + ['scene',['Scene',['../class_scene.html',1,'']]], + ['screen',['Screen',['../class_screen.html',1,'']]], + ['spelchkcamera',['SpelchkCamera',['../class_spelchk_camera.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/classes_74.html b/Doxygen/Docs/html/search/classes_74.html new file mode 100644 index 00000000..f7f27cea --- /dev/null +++ b/Doxygen/Docs/html/search/classes_74.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/classes_74.js b/Doxygen/Docs/html/search/classes_74.js new file mode 100644 index 00000000..80122129 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_74.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['texture',['Texture',['../class_texture.html',1,'']]], + ['timer',['Timer',['../class_timer.html',1,'']]], + ['transcache',['TransCache',['../class_trans_cache.html',1,'']]], + ['transformation',['Transformation',['../class_transformation.html',1,'']]], + ['transmat',['TransMat',['../class_trans_mat.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/classes_76.html b/Doxygen/Docs/html/search/classes_76.html new file mode 100644 index 00000000..f470eb97 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_76.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/classes_76.js b/Doxygen/Docs/html/search/classes_76.js new file mode 100644 index 00000000..f48dda72 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_76.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['vec2',['vec2',['../struct_angel_1_1vec2.html',1,'Angel']]], + ['vec3',['vec3',['../struct_angel_1_1vec3.html',1,'Angel']]], + ['vec4',['vec4',['../struct_angel_1_1vec4.html',1,'Angel']]] +]; diff --git a/Doxygen/Docs/html/search/classes_77.html b/Doxygen/Docs/html/search/classes_77.html new file mode 100644 index 00000000..e3967e97 --- /dev/null +++ b/Doxygen/Docs/html/search/classes_77.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/classes_77.js b/Doxygen/Docs/html/search/classes_77.js new file mode 100644 index 00000000..710ab80a --- /dev/null +++ b/Doxygen/Docs/html/search/classes_77.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['wiipolldata',['WiiPollData',['../struct_wii_poll_data.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/close.png b/Doxygen/Docs/html/search/close.png new file mode 100644 index 00000000..9342d3df Binary files /dev/null and b/Doxygen/Docs/html/search/close.png differ diff --git a/Doxygen/Docs/html/search/defines_63.html b/Doxygen/Docs/html/search/defines_63.html new file mode 100644 index 00000000..35ff8ae4 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_63.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_63.js b/Doxygen/Docs/html/search/defines_63.js new file mode 100644 index 00000000..f38cb844 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_63.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['color_5fat',['COLOR_AT',['../model_8cpp.html#aada0e82137280db20b9a7bbb864a8049',1,'model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/defines_64.html b/Doxygen/Docs/html/search/defines_64.html new file mode 100644 index 00000000..7b428bdb --- /dev/null +++ b/Doxygen/Docs/html/search/defines_64.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_64.js b/Doxygen/Docs/html/search/defines_64.js new file mode 100644 index 00000000..9e8d9858 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_64.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['debug',['DEBUG',['../globals_8h.html#ad72dbcf6d0153db1b8d8a58001feed83',1,'globals.h']]], + ['debug_5fmotion',['DEBUG_MOTION',['../globals_8h.html#ab5f638ed0890579dbe0522227610af64',1,'globals.h']]], + ['default_5fkeyframe_5frate',['DEFAULT_KEYFRAME_RATE',['../_timer_8hpp.html#aae1c545a2921ea7b488ba4e4aa06718a',1,'Timer.hpp']]], + ['degrees_5fto_5fradians',['DEGREES_TO_RADIANS',['../globals_8h.html#a7bf0b4b8b3cf2f13f25573b3e151ed88',1,'globals.h']]] +]; diff --git a/Doxygen/Docs/html/search/defines_67.html b/Doxygen/Docs/html/search/defines_67.html new file mode 100644 index 00000000..d211bf17 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_67.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_67.js b/Doxygen/Docs/html/search/defines_67.js new file mode 100644 index 00000000..8fd2308f --- /dev/null +++ b/Doxygen/Docs/html/search/defines_67.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['geometry_5fvertices_5fout_5fext',['GEOMETRY_VERTICES_OUT_EXT',['../_init_shader_8cpp.html#aa848a95e858e08d3718ccb1ecce0a05a',1,'InitShader.cpp']]], + ['gl_5fgeometry_5fshader',['GL_GEOMETRY_SHADER',['../_init_shader_8cpp.html#a1e0c2d7120ea4f2e30000d134a9dc335',1,'InitShader.cpp']]], + ['glew_5finit',['GLEW_INIT',['../platform_8h.html#a42a67a317dc24490016ce3f13b839acf',1,'platform.h']]] +]; diff --git a/Doxygen/Docs/html/search/defines_68.html b/Doxygen/Docs/html/search/defines_68.html new file mode 100644 index 00000000..43d93b87 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_68.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_68.js b/Doxygen/Docs/html/search/defines_68.js new file mode 100644 index 00000000..e9a46582 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_68.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['height_5fat',['HEIGHT_AT',['../model_8cpp.html#ad66b9c54b345ca798421773a162babe4',1,'model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/defines_6e.html b/Doxygen/Docs/html/search/defines_6e.html new file mode 100644 index 00000000..5b7f68f3 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_6e.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_6e.js b/Doxygen/Docs/html/search/defines_6e.js new file mode 100644 index 00000000..c6019d07 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_6e.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['normal_5fat',['NORMAL_AT',['../model_8cpp.html#a6087c247abe3d7f3a87c6121a25f3bb9',1,'model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/defines_6f.html b/Doxygen/Docs/html/search/defines_6f.html new file mode 100644 index 00000000..ed8e3ddc --- /dev/null +++ b/Doxygen/Docs/html/search/defines_6f.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_6f.js b/Doxygen/Docs/html/search/defines_6f.js new file mode 100644 index 00000000..c193d997 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_6f.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['offset_5fat',['OFFSET_AT',['../model_8cpp.html#a3ad4ef4bd3a5cf6b3327c8c935ee78e8',1,'model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/defines_70.html b/Doxygen/Docs/html/search/defines_70.html new file mode 100644 index 00000000..4b0aeb0e --- /dev/null +++ b/Doxygen/Docs/html/search/defines_70.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_70.js b/Doxygen/Docs/html/search/defines_70.js new file mode 100644 index 00000000..ff8c4d74 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_70.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['pow5',['POW5',['../globals_8h.html#a7bbc032e1437a7a73f8d3eb2d93d9c6d',1,'globals.h']]] +]; diff --git a/Doxygen/Docs/html/search/defines_71.html b/Doxygen/Docs/html/search/defines_71.html new file mode 100644 index 00000000..14bda57f --- /dev/null +++ b/Doxygen/Docs/html/search/defines_71.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_71.js b/Doxygen/Docs/html/search/defines_71.js new file mode 100644 index 00000000..24a4a924 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_71.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quad',['QUAD',['../model_8cpp.html#a876c92757e616a414576f3183cb49b17',1,'model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/defines_72.html b/Doxygen/Docs/html/search/defines_72.html new file mode 100644 index 00000000..e6a82c4d --- /dev/null +++ b/Doxygen/Docs/html/search/defines_72.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_72.js b/Doxygen/Docs/html/search/defines_72.js new file mode 100644 index 00000000..84409e46 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_72.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['rand_5ffloat',['RAND_FLOAT',['../_obj_loader_8cpp.html#a5fc5a76891a19debb9aa8e2557e3d26a',1,'ObjLoader.cpp']]], + ['rotate_5foffset',['ROTATE_OFFSET',['../_camera_8cpp.html#a00e96bcc90e768c724477dbd2a3d9291',1,'Camera.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/defines_73.html b/Doxygen/Docs/html/search/defines_73.html new file mode 100644 index 00000000..913ae48c --- /dev/null +++ b/Doxygen/Docs/html/search/defines_73.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_73.js b/Doxygen/Docs/html/search/defines_73.js new file mode 100644 index 00000000..efd7b566 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_73.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['sqrt2',['SQRT2',['../globals_8h.html#a514396dd60fa0621c83072091fb2a0cd',1,'globals.h']]], + ['sqrt3',['SQRT3',['../globals_8h.html#ae42978afd835c3a1f70d409a1b5f5a39',1,'globals.h']]] +]; diff --git a/Doxygen/Docs/html/search/defines_74.html b/Doxygen/Docs/html/search/defines_74.html new file mode 100644 index 00000000..7c78f103 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_74.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_74.js b/Doxygen/Docs/html/search/defines_74.js new file mode 100644 index 00000000..064216f6 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_74.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['tex_5fuv_5fat',['TEX_UV_AT',['../model_8cpp.html#a4535f7729a3c0127c4bb32caa100d2cf',1,'model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/defines_76.html b/Doxygen/Docs/html/search/defines_76.html new file mode 100644 index 00000000..135691f4 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_76.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/defines_76.js b/Doxygen/Docs/html/search/defines_76.js new file mode 100644 index 00000000..1464f138 --- /dev/null +++ b/Doxygen/Docs/html/search/defines_76.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vertex_5fat',['VERTEX_AT',['../model_8cpp.html#a1c8dfc5517ca1ada9923877cfc0783e4',1,'model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/enums_62.html b/Doxygen/Docs/html/search/enums_62.html new file mode 100644 index 00000000..321fe92a --- /dev/null +++ b/Doxygen/Docs/html/search/enums_62.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enums_62.js b/Doxygen/Docs/html/search/enums_62.js new file mode 100644 index 00000000..62f1cdf6 --- /dev/null +++ b/Doxygen/Docs/html/search/enums_62.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['buffertype',['BufferType',['../class_object.html#a51d08da3bd559d08734197006bc29a79',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/enums_64.html b/Doxygen/Docs/html/search/enums_64.html new file mode 100644 index 00000000..933f033a --- /dev/null +++ b/Doxygen/Docs/html/search/enums_64.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enums_64.js b/Doxygen/Docs/html/search/enums_64.js new file mode 100644 index 00000000..f6b4ca40 --- /dev/null +++ b/Doxygen/Docs/html/search/enums_64.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['direction',['Direction',['../class_camera.html#a80cb65605322d27ad3b6d973484509ec',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/enums_75.html b/Doxygen/Docs/html/search/enums_75.html new file mode 100644 index 00000000..71ab25c5 --- /dev/null +++ b/Doxygen/Docs/html/search/enums_75.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enums_75.js b/Doxygen/Docs/html/search/enums_75.js new file mode 100644 index 00000000..996332f6 --- /dev/null +++ b/Doxygen/Docs/html/search/enums_75.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['uniforms',['Uniforms',['../class_camera.html#a630738fd23098d44c0d15ee28d5649dd',1,'Camera::Uniforms()'],['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3',1,'Object::Uniforms()']]] +]; diff --git a/Doxygen/Docs/html/search/enums_76.html b/Doxygen/Docs/html/search/enums_76.html new file mode 100644 index 00000000..d9a62034 --- /dev/null +++ b/Doxygen/Docs/html/search/enums_76.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enums_76.js b/Doxygen/Docs/html/search/enums_76.js new file mode 100644 index 00000000..4ae79c0f --- /dev/null +++ b/Doxygen/Docs/html/search/enums_76.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['viewtype',['ViewType',['../class_camera.html#aaa256acd50a2fa143d9f8d9456e2802f',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/enumvalues_62.html b/Doxygen/Docs/html/search/enumvalues_62.html new file mode 100644 index 00000000..e770838d --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_62.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enumvalues_62.js b/Doxygen/Docs/html/search/enumvalues_62.js new file mode 100644 index 00000000..a0a741a5 --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_62.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['begin',['BEGIN',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a8a65225741e4db1df295c9cab71a98c0',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/enumvalues_63.html b/Doxygen/Docs/html/search/enumvalues_63.html new file mode 100644 index 00000000..7399d30c --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_63.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enumvalues_63.js b/Doxygen/Docs/html/search/enumvalues_63.js new file mode 100644 index 00000000..c38b350d --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_63.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['colors',['COLORS',['../class_object.html#a51d08da3bd559d08734197006bc29a79a69fb14c98b43d636b30ef5e77b492968',1,'Object']]], + ['colors_5fmorph',['COLORS_MORPH',['../class_object.html#a51d08da3bd559d08734197006bc29a79a814c8171ad45f6e954ffb474a5dfacb1',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/enumvalues_65.html b/Doxygen/Docs/html/search/enumvalues_65.html new file mode 100644 index 00000000..58030d7c --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_65.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enumvalues_65.js b/Doxygen/Docs/html/search/enumvalues_65.js new file mode 100644 index 00000000..5c4e719b --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_65.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['end',['END',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3ad78facbf844c1259f464a49061e1d7ed',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/enumvalues_69.html b/Doxygen/Docs/html/search/enumvalues_69.html new file mode 100644 index 00000000..ff4c4322 --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_69.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enumvalues_69.js b/Doxygen/Docs/html/search/enumvalues_69.js new file mode 100644 index 00000000..6f3b7df4 --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_69.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['indices',['INDICES',['../class_object.html#a51d08da3bd559d08734197006bc29a79abe6f0cf968db450f99d8e176c4d23091',1,'Object']]], + ['is_5ftextured',['IS_TEXTURED',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a8fecaee23530c9befe7feb5166e81484',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/enumvalues_6d.html b/Doxygen/Docs/html/search/enumvalues_6d.html new file mode 100644 index 00000000..5e0c86ba --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_6d.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enumvalues_6d.js b/Doxygen/Docs/html/search/enumvalues_6d.js new file mode 100644 index 00000000..d5aa37b4 --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_6d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['morph_5fpct',['MORPH_PCT',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3ac93e286d52dad730ccf3fdab9b102902',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/enumvalues_6e.html b/Doxygen/Docs/html/search/enumvalues_6e.html new file mode 100644 index 00000000..3c41b09a --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_6e.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enumvalues_6e.js b/Doxygen/Docs/html/search/enumvalues_6e.js new file mode 100644 index 00000000..d9dc7015 --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_6e.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['normals',['NORMALS',['../class_object.html#a51d08da3bd559d08734197006bc29a79ac91e7a2ef76150b999a9af53d229a8e0',1,'Object']]], + ['normals_5fmorph',['NORMALS_MORPH',['../class_object.html#a51d08da3bd559d08734197006bc29a79aa2afe042e85c0772ba75ba0ee6223a57',1,'Object']]], + ['num_5fbuffers',['NUM_BUFFERS',['../class_object.html#a51d08da3bd559d08734197006bc29a79a1999a38dc687c7ae05c884078de39b51',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/enumvalues_6f.html b/Doxygen/Docs/html/search/enumvalues_6f.html new file mode 100644 index 00000000..697cd20c --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_6f.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enumvalues_6f.js b/Doxygen/Docs/html/search/enumvalues_6f.js new file mode 100644 index 00000000..5bb48072 --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_6f.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['object_5fctm',['OBJECT_CTM',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a9aaf45d5144b52065016b5b39e909851',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/enumvalues_74.html b/Doxygen/Docs/html/search/enumvalues_74.html new file mode 100644 index 00000000..4ffcb3e8 --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_74.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enumvalues_74.js b/Doxygen/Docs/html/search/enumvalues_74.js new file mode 100644 index 00000000..8ef619cb --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_74.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['tex_5fsampler',['TEX_SAMPLER',['../class_object.html#a8c11d8700b0bb79a46c61f2de4f23fa3a85f87adc3e3d4242733729ee87b21423',1,'Object']]], + ['texcoords',['TEXCOORDS',['../class_object.html#a51d08da3bd559d08734197006bc29a79adc601b2ac4ff7f3e455faa35208e431f',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/enumvalues_76.html b/Doxygen/Docs/html/search/enumvalues_76.html new file mode 100644 index 00000000..87b49856 --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_76.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/enumvalues_76.js b/Doxygen/Docs/html/search/enumvalues_76.js new file mode 100644 index 00000000..5a55d808 --- /dev/null +++ b/Doxygen/Docs/html/search/enumvalues_76.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['vertices',['VERTICES',['../class_object.html#a51d08da3bd559d08734197006bc29a79a23be05de1d4a9e5738eff4c1860f8bfd',1,'Object']]], + ['vertices_5fmorph',['VERTICES_MORPH',['../class_object.html#a51d08da3bd559d08734197006bc29a79a0e9e165431001465775bc5ba2b8d1bd8',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/files_63.html b/Doxygen/Docs/html/search/files_63.html new file mode 100644 index 00000000..6611a5b9 --- /dev/null +++ b/Doxygen/Docs/html/search/files_63.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_63.js b/Doxygen/Docs/html/search/files_63.js new file mode 100644 index 00000000..fe99123d --- /dev/null +++ b/Doxygen/Docs/html/search/files_63.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['camera_2ecpp',['Camera.cpp',['../_camera_8cpp.html',1,'']]], + ['camera_2ehpp',['Camera.hpp',['../_camera_8hpp.html',1,'']]], + ['cameras_2ecpp',['Cameras.cpp',['../_cameras_8cpp.html',1,'']]], + ['cameras_2ehpp',['Cameras.hpp',['../_cameras_8hpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/files_64.html b/Doxygen/Docs/html/search/files_64.html new file mode 100644 index 00000000..1a32bf88 --- /dev/null +++ b/Doxygen/Docs/html/search/files_64.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_64.js b/Doxygen/Docs/html/search/files_64.js new file mode 100644 index 00000000..cae45e50 --- /dev/null +++ b/Doxygen/Docs/html/search/files_64.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['ds_2ecpp',['ds.cpp',['../ds_8cpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/files_65.html b/Doxygen/Docs/html/search/files_65.html new file mode 100644 index 00000000..1eadd1b0 --- /dev/null +++ b/Doxygen/Docs/html/search/files_65.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_65.js b/Doxygen/Docs/html/search/files_65.js new file mode 100644 index 00000000..c882a88d --- /dev/null +++ b/Doxygen/Docs/html/search/files_65.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['engine_2ecpp',['Engine.cpp',['../_engine_8cpp.html',1,'']]], + ['engine_2ehpp',['Engine.hpp',['../_engine_8hpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/files_67.html b/Doxygen/Docs/html/search/files_67.html new file mode 100644 index 00000000..d5df283f --- /dev/null +++ b/Doxygen/Docs/html/search/files_67.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_67.js b/Doxygen/Docs/html/search/files_67.js new file mode 100644 index 00000000..3342e513 --- /dev/null +++ b/Doxygen/Docs/html/search/files_67.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['globals_2eh',['globals.h',['../globals_8h.html',1,'']]], + ['glut_5fcallbacks_2ecpp',['glut_callbacks.cpp',['../glut__callbacks_8cpp.html',1,'']]], + ['glut_5fcallbacks_2eh',['glut_callbacks.h',['../glut__callbacks_8h.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/files_69.html b/Doxygen/Docs/html/search/files_69.html new file mode 100644 index 00000000..7fbd757c --- /dev/null +++ b/Doxygen/Docs/html/search/files_69.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_69.js b/Doxygen/Docs/html/search/files_69.js new file mode 100644 index 00000000..859d4d16 --- /dev/null +++ b/Doxygen/Docs/html/search/files_69.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['initshader_2ecpp',['InitShader.cpp',['../_init_shader_8cpp.html',1,'']]], + ['initshader_2ehpp',['InitShader.hpp',['../_init_shader_8hpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/files_6b.html b/Doxygen/Docs/html/search/files_6b.html new file mode 100644 index 00000000..fd26f571 --- /dev/null +++ b/Doxygen/Docs/html/search/files_6b.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_6b.js b/Doxygen/Docs/html/search/files_6b.js new file mode 100644 index 00000000..a3f83834 --- /dev/null +++ b/Doxygen/Docs/html/search/files_6b.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['kinectinator_2ecpp',['KinectInator.cpp',['../_kinect_inator_8cpp.html',1,'']]], + ['kinectinator_2ehpp',['KinectInator.hpp',['../_kinect_inator_8hpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/files_6d.html b/Doxygen/Docs/html/search/files_6d.html new file mode 100644 index 00000000..d9d93006 --- /dev/null +++ b/Doxygen/Docs/html/search/files_6d.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_6d.js b/Doxygen/Docs/html/search/files_6d.js new file mode 100644 index 00000000..413ed7cf --- /dev/null +++ b/Doxygen/Docs/html/search/files_6d.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['mat_2ecpp',['mat.cpp',['../mat_8cpp.html',1,'']]], + ['mat_2ehpp',['mat.hpp',['../mat_8hpp.html',1,'']]], + ['melt_2ecpp',['melt.cpp',['../melt_8cpp.html',1,'']]], + ['model_2ecpp',['model.cpp',['../model_8cpp.html',1,'']]], + ['model_2ehpp',['model.hpp',['../model_8hpp.html',1,'']]], + ['modelfunctions_2ecpp',['modelFunctions.cpp',['../model_functions_8cpp.html',1,'']]], + ['modelfunctions_2ehpp',['modelFunctions.hpp',['../model_functions_8hpp.html',1,'']]], + ['monolith_2ecpp',['MONOLITH.cpp',['../_m_o_n_o_l_i_t_h_8cpp.html',1,'']]], + ['morphlite_2ecpp',['morphlite.cpp',['../morphlite_8cpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/files_6f.html b/Doxygen/Docs/html/search/files_6f.html new file mode 100644 index 00000000..127aac1e --- /dev/null +++ b/Doxygen/Docs/html/search/files_6f.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_6f.js b/Doxygen/Docs/html/search/files_6f.js new file mode 100644 index 00000000..5e6303e9 --- /dev/null +++ b/Doxygen/Docs/html/search/files_6f.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['object_2ecpp',['Object.cpp',['../_object_8cpp.html',1,'']]], + ['object_2ehpp',['Object.hpp',['../_object_8hpp.html',1,'']]], + ['objloader_2ecpp',['ObjLoader.cpp',['../_obj_loader_8cpp.html',1,'']]], + ['objloader_2ehpp',['ObjLoader.hpp',['../_obj_loader_8hpp.html',1,'']]], + ['opengl_2eh',['OpenGL.h',['../_open_g_l_8h.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/files_70.html b/Doxygen/Docs/html/search/files_70.html new file mode 100644 index 00000000..abcae9a6 --- /dev/null +++ b/Doxygen/Docs/html/search/files_70.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_70.js b/Doxygen/Docs/html/search/files_70.js new file mode 100644 index 00000000..ccafca34 --- /dev/null +++ b/Doxygen/Docs/html/search/files_70.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['particle_2ecpp',['Particle.cpp',['../_particle_8cpp.html',1,'']]], + ['particle_2ehpp',['Particle.hpp',['../_particle_8hpp.html',1,'']]], + ['particlesystem_2ecpp',['ParticleSystem.cpp',['../_particle_system_8cpp.html',1,'']]], + ['particlesystem_2ehpp',['ParticleSystem.hpp',['../_particle_system_8hpp.html',1,'']]], + ['parttest_2ecpp',['partTest.cpp',['../part_test_8cpp.html',1,'']]], + ['platform_2eh',['platform.h',['../platform_8h.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/files_72.html b/Doxygen/Docs/html/search/files_72.html new file mode 100644 index 00000000..609fb48f --- /dev/null +++ b/Doxygen/Docs/html/search/files_72.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_72.js b/Doxygen/Docs/html/search/files_72.js new file mode 100644 index 00000000..014c2a91 --- /dev/null +++ b/Doxygen/Docs/html/search/files_72.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['raytrace1_2ecpp',['raytrace1.cpp',['../raytrace1_8cpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/files_74.html b/Doxygen/Docs/html/search/files_74.html new file mode 100644 index 00000000..017b3fe9 --- /dev/null +++ b/Doxygen/Docs/html/search/files_74.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_74.js b/Doxygen/Docs/html/search/files_74.js new file mode 100644 index 00000000..e94a864f --- /dev/null +++ b/Doxygen/Docs/html/search/files_74.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['terrain_2ecpp',['terrain.cpp',['../terrain_8cpp.html',1,'']]], + ['texture_2ecpp',['Texture.cpp',['../_texture_8cpp.html',1,'']]], + ['texture_2ehpp',['Texture.hpp',['../_texture_8hpp.html',1,'']]], + ['timer_2ecpp',['Timer.cpp',['../_timer_8cpp.html',1,'']]], + ['timer_2ehpp',['Timer.hpp',['../_timer_8hpp.html',1,'']]], + ['transcache_2ecpp',['TransCache.cpp',['../_trans_cache_8cpp.html',1,'']]], + ['transcache_2ehpp',['TransCache.hpp',['../_trans_cache_8hpp.html',1,'']]], + ['transformation_2ecpp',['Transformation.cpp',['../_transformation_8cpp.html',1,'']]], + ['transformation_2ehpp',['Transformation.hpp',['../_transformation_8hpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/files_76.html b/Doxygen/Docs/html/search/files_76.html new file mode 100644 index 00000000..e53e134c --- /dev/null +++ b/Doxygen/Docs/html/search/files_76.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/files_76.js b/Doxygen/Docs/html/search/files_76.js new file mode 100644 index 00000000..a07c4dec --- /dev/null +++ b/Doxygen/Docs/html/search/files_76.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['vec_2ecpp',['vec.cpp',['../vec_8cpp.html',1,'']]], + ['vec_2ehpp',['vec.hpp',['../vec_8hpp.html',1,'']]] +]; diff --git a/Doxygen/Docs/html/search/functions_61.html b/Doxygen/Docs/html/search/functions_61.html new file mode 100644 index 00000000..7f395337 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_61.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_61.js b/Doxygen/Docs/html/search/functions_61.js new file mode 100644 index 00000000..e2ecf6df --- /dev/null +++ b/Doxygen/Docs/html/search/functions_61.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['accel',['accel',['../class_camera.html#abee6a36602b8044478739cea9221ed41',1,'Camera']]], + ['active',['active',['../class_cameras.html#a6002cbceb6a93092a1a029af486349a0',1,'Cameras']]], + ['addcamera',['addCamera',['../class_cameras.html#a436b481bf293ec6dfa09d2f89054c54b',1,'Cameras']]], + ['addobject',['addObject',['../class_scene.html#aa5a48614e959c38c35d824fa9d6a4b8b',1,'Scene']]], + ['adjustfieldofview',['adjustFieldOfView',['../class_camera.html#a717f5d58bb0a73f8c5513a3520d98203',1,'Camera']]], + ['adjustrotation',['adjustRotation',['../class_camera.html#aba32f195cdb5bfcfd05c2ce74315b6c3',1,'Camera']]], + ['animation',['animation',['../class_object.html#a0d604a816115c474b9593aeaebda9f8b',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/functions_62.html b/Doxygen/Docs/html/search/functions_62.html new file mode 100644 index 00000000..def0606e --- /dev/null +++ b/Doxygen/Docs/html/search/functions_62.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_62.js b/Doxygen/Docs/html/search/functions_62.js new file mode 100644 index 00000000..99e66980 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_62.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['buffer',['buffer',['../class_object.html#a7edb92c30d86b6479b0ff2a5e9f06e13',1,'Object']]], + ['buffermorphonly',['bufferMorphOnly',['../class_object.html#a293792abfe0671e00a0ec10e85ea9d9e',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/functions_63.html b/Doxygen/Docs/html/search/functions_63.html new file mode 100644 index 00000000..9ebe11d6 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_63.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_63.js b/Doxygen/Docs/html/search/functions_63.js new file mode 100644 index 00000000..5588c718 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_63.js @@ -0,0 +1,16 @@ +var searchData= +[ + ['calcnormal',['calcNormal',['../model_8cpp.html#a63c9b090c6711fd0199e748c064b33e9',1,'model.cpp']]], + ['calculateviewports',['calculateViewports',['../class_cameras.html#a9d3b24eec1504127e4942aa0e9412ae7',1,'Cameras']]], + ['camera',['Camera',['../class_camera.html#a16516fa8c830cecef5c8eb43eff12783',1,'Camera::Camera(const std::string &name, GLuint gShader, float x=0.0, float y=0.0, float z=0.0)'],['../class_camera.html#a24329612384948d2b64f78094fe84e75',1,'Camera::Camera(const std::string &name, GLuint gShader, vec3 &in)'],['../class_camera.html#aa131bc7f1bad2cc8baea463714c4485d',1,'Camera::Camera(const std::string &name, GLuint gShader, vec4 &in)']]], + ['cameras',['Cameras',['../class_cameras.html#a14342354c24f588c24e004a722849c3d',1,'Cameras']]], + ['cams',['cams',['../class_engine.html#a2b2c1cd59c9a5c903bf466284012ce4c',1,'Engine']]], + ['changeperspective',['changePerspective',['../class_camera.html#a8463a19c9e1e7a1c51cd97051e937230',1,'Camera']]], + ['cleanup',['cleanup',['../ds_8cpp.html#aeb94fbd457627182ceee7e505f432541',1,'cleanup(void): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#aeb94fbd457627182ceee7e505f432541',1,'cleanup(void): MONOLITH.cpp'],['../morphlite_8cpp.html#aeb94fbd457627182ceee7e505f432541',1,'cleanup(void): morphlite.cpp'],['../terrain_8cpp.html#aeb94fbd457627182ceee7e505f432541',1,'cleanup(void): terrain.cpp']]], + ['colorcube',['colorCube',['../model_8cpp.html#a9aeb9d305a36f39f25137645d75eaa95',1,'colorCube(Object *obj, GLfloat size): model.cpp'],['../model_8hpp.html#a9aeb9d305a36f39f25137645d75eaa95',1,'colorCube(Object *obj, GLfloat size): model.cpp']]], + ['commoninit',['commonInit',['../class_camera.html#a20243a7e3eb06ab1265118c5fb9cce9b',1,'Camera']]], + ['createpoint',['createPoint',['../model_8cpp.html#ac902b9394c319b5d0ffa1a0071f6e504',1,'createPoint(Object *obj, Point4 const &the_point, Color4 const &the_color, vec3 const &the_normal): model.cpp'],['../model_8hpp.html#ac902b9394c319b5d0ffa1a0071f6e504',1,'createPoint(Object *obj, Point4 const &the_point, Color4 const &the_color, vec3 const &the_normal): model.cpp']]], + ['cube',['cube',['../model_8cpp.html#a88b94550b90fbfab004aabc334260615',1,'cube(Object *obj, const GLfloat &size, const Color4 colors[8]): model.cpp'],['../model_8hpp.html#a88b94550b90fbfab004aabc334260615',1,'cube(Object *obj, const GLfloat &size, const Color4 colors[8]): model.cpp']]], + ['customkeyboard',['customkeyboard',['../raytrace1_8cpp.html#a7aca3c77669b8c403f580a99c6485016',1,'raytrace1.cpp']]], + ['custommouse',['custommouse',['../raytrace1_8cpp.html#a3942aa773dadccfa1bc0cc8ce3d3db1e',1,'raytrace1.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/functions_64.html b/Doxygen/Docs/html/search/functions_64.html new file mode 100644 index 00000000..d8b63943 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_64.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_64.js b/Doxygen/Docs/html/search/functions_64.js new file mode 100644 index 00000000..396956cd --- /dev/null +++ b/Doxygen/Docs/html/search/functions_64.js @@ -0,0 +1,16 @@ +var searchData= +[ + ['deleteobject',['deleteObject',['../class_scene.html#ad3897f8ac658af62c133783b2c4eaee4',1,'Scene']]], + ['delobject',['delObject',['../class_scene.html#a2a6845dacbb468c5c097c7a6ab5a0fe0',1,'Scene::delObject(const std::string &objName)'],['../class_scene.html#a2e6b319b60e27e66ad43bb942a6c4424',1,'Scene::delObject(void)']]], + ['delta',['delta',['../class_timer.html#a855136dd9e8cc3c07278dac9c4613693',1,'Timer']]], + ['destroymorphtarget',['destroyMorphTarget',['../class_object.html#a98d3f1b9ebb61c3b21e2a59ed267480a',1,'Object']]], + ['display',['display',['../ds_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd',1,'display(void): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd',1,'display(void): MONOLITH.cpp'],['../morphlite_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd',1,'display(void): morphlite.cpp'],['../raytrace1_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd',1,'display(void): raytrace1.cpp'],['../terrain_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd',1,'display(void): terrain.cpp']]], + ['displayviewport',['displayViewport',['../terrain_8cpp.html#af3c12d5391e754508338373c5071b2ed',1,'terrain.cpp']]], + ['dividetriangle',['divideTriangle',['../model_8cpp.html#aa897b7167b0e40599c4735cf0ac0d24c',1,'divideTriangle(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, int timesToRecurse, int color): model.cpp'],['../model_8hpp.html#aa897b7167b0e40599c4735cf0ac0d24c',1,'divideTriangle(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, int timesToRecurse, int color): model.cpp']]], + ['dpos',['dPos',['../class_camera.html#a2ac5f89b4f9f012dead66980925143c0',1,'Camera::dPos(const float &x, const float &y, const float &z)'],['../class_camera.html#a928de59670f0b31264307a8a0888b99d',1,'Camera::dPos(const vec3 &by)'],['../class_camera.html#a4ec2e3d2a66826aedb1ac1eee7da0b96',1,'Camera::dPos(const vec4 &by)']]], + ['draw',['draw',['../class_object.html#a53e2ee7f548550be014126bed139fe69',1,'Object::draw()'],['../ds_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256',1,'draw(void): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256',1,'draw(void): MONOLITH.cpp'],['../morphlite_8cpp.html#ad2e97e7b54d0bf35e406b91fbdd2f256',1,'draw(void): morphlite.cpp']]], + ['drawmode',['drawMode',['../class_object.html#adafdf22583b051b4c61c8eb725fb07d5',1,'Object']]], + ['dx',['dX',['../class_camera.html#ac7985a6cb48f4e1e74fda17e5213dd74',1,'Camera']]], + ['dy',['dY',['../class_camera.html#a59570a88e3ff2d277c9e995372fcadfe',1,'Camera']]], + ['dz',['dZ',['../class_camera.html#ab94ed9b3c7e12f484d6bfa5f827b59ff',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/functions_65.html b/Doxygen/Docs/html/search/functions_65.html new file mode 100644 index 00000000..a77debae --- /dev/null +++ b/Doxygen/Docs/html/search/functions_65.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_65.js b/Doxygen/Docs/html/search/functions_65.js new file mode 100644 index 00000000..79d3c171 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_65.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['engine',['Engine',['../class_engine.html#a9ad87e382195a05d5d310a2fb3e357fd',1,'Engine::Engine(void)'],['../class_engine.html#a8e027119a62020acddedd0a14fb44033',1,'Engine::Engine(const Engine &copy)']]] +]; diff --git a/Doxygen/Docs/html/search/functions_66.html b/Doxygen/Docs/html/search/functions_66.html new file mode 100644 index 00000000..319a5316 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_66.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_66.js b/Doxygen/Docs/html/search/functions_66.js new file mode 100644 index 00000000..3c287ed1 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_66.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['fieldofview',['fieldOfView',['../class_camera.html#a36ec0e0e832f789e27d42e7bd4f6d174',1,'Camera::fieldOfView(const float &fovy)'],['../class_camera.html#a9b3675bf6866a67f8fa802bb4aecba89',1,'Camera::fieldOfView(void) const ']]], + ['flip',['flip',['../class_engine.html#a0e6265ae2700bda2f21abd308430637a',1,'Engine']]] +]; diff --git a/Doxygen/Docs/html/search/functions_67.html b/Doxygen/Docs/html/search/functions_67.html new file mode 100644 index 00000000..d0ab42a3 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_67.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_67.js b/Doxygen/Docs/html/search/functions_67.js new file mode 100644 index 00000000..af9fae84 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_67.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['genmorphtarget',['genMorphTarget',['../class_object.html#ab0ba603904f8f7de15dc0450e2d9b30e',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/functions_68.html b/Doxygen/Docs/html/search/functions_68.html new file mode 100644 index 00000000..66b85be3 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_68.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_68.js b/Doxygen/Docs/html/search/functions_68.js new file mode 100644 index 00000000..26b7fba4 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_68.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['handleevent',['HandleEvent',['../_wii_util_8cpp.html#a9e9e82bc299b4b839df01865133abb33',1,'WiiUtil.cpp']]], + ['heave',['heave',['../class_camera.html#a2148d751f104d8e39c9832e2372df2d9',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/functions_69.html b/Doxygen/Docs/html/search/functions_69.html new file mode 100644 index 00000000..e2041976 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_69.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_69.js b/Doxygen/Docs/html/search/functions_69.js new file mode 100644 index 00000000..5cf6032f --- /dev/null +++ b/Doxygen/Docs/html/search/functions_69.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['idle',['idle',['../class_camera.html#a9c620bd05c119791c080e479ee71abc2',1,'Camera::idle()'],['../ds_8cpp.html#a01131b63acf241e9db91704d89ce15d2',1,'idle(void): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#a01131b63acf241e9db91704d89ce15d2',1,'idle(void): MONOLITH.cpp'],['../morphlite_8cpp.html#a01131b63acf241e9db91704d89ce15d2',1,'idle(void): morphlite.cpp'],['../raytrace1_8cpp.html#a01131b63acf241e9db91704d89ce15d2',1,'idle(void): raytrace1.cpp']]], + ['idlemotion',['idleMotion',['../class_cameras.html#ac4fee80c5cd473ee4fa2360a95857da7',1,'Cameras']]], + ['init',['init',['../ds_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947',1,'init(): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947',1,'init(): MONOLITH.cpp'],['../morphlite_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947',1,'init(): morphlite.cpp'],['../raytrace1_8cpp.html#a2858154e2009b0e6e616f313177762bc',1,'init(void): raytrace1.cpp'],['../terrain_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947',1,'init(): terrain.cpp']]], + ['insertobject',['insertObject',['../class_scene.html#a8893899f0088a72642ae32a656252e7f',1,'Scene']]], + ['instance',['instance',['../class_engine.html#a6cbf9ec80a4a3bb245355ff70498dba0',1,'Engine']]] +]; diff --git a/Doxygen/Docs/html/search/functions_6a.html b/Doxygen/Docs/html/search/functions_6a.html new file mode 100644 index 00000000..2b208e18 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6a.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_6a.js b/Doxygen/Docs/html/search/functions_6a.js new file mode 100644 index 00000000..c0edc6fc --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['jitter',['jitter',['../model_8cpp.html#a1c53f4777590deb64c28e8ebb64a321d',1,'model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/functions_6b.html b/Doxygen/Docs/html/search/functions_6b.html new file mode 100644 index 00000000..5b1fb4a3 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6b.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_6b.js b/Doxygen/Docs/html/search/functions_6b.js new file mode 100644 index 00000000..b5023108 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6b.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['keyboard',['keyboard',['../glut__callbacks_8cpp.html#aef7ba2f69afb2d954545f64c7fe24b14',1,'keyboard(unsigned char key, int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#aef7ba2f69afb2d954545f64c7fe24b14',1,'keyboard(unsigned char key, int x, int y): glut_callbacks.cpp']]], + ['keyboard_5fctrl',['keyboard_ctrl',['../glut__callbacks_8cpp.html#a6f3a97ed034be467bc035242d2486e00',1,'keyboard_ctrl(int key, int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#a6f3a97ed034be467bc035242d2486e00',1,'keyboard_ctrl(int key, int x, int y): glut_callbacks.cpp']]], + ['keylift',['keylift',['../glut__callbacks_8cpp.html#a254e97178a2df1da3e435a01f778e475',1,'keylift(unsigned char key, int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#a254e97178a2df1da3e435a01f778e475',1,'keylift(unsigned char key, int x, int y): glut_callbacks.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/functions_6c.html b/Doxygen/Docs/html/search/functions_6c.html new file mode 100644 index 00000000..da371cfa --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6c.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_6c.js b/Doxygen/Docs/html/search/functions_6c.js new file mode 100644 index 00000000..4d8aa2f2 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6c.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['landgen',['landGen',['../model_8cpp.html#a578108fa151d2df77af6ae4585c4bccc',1,'landGen(Object *obj, int N, float H): model.cpp'],['../model_8hpp.html#a578108fa151d2df77af6ae4585c4bccc',1,'landGen(Object *obj, int N, float H): model.cpp']]], + ['link',['link',['../class_object.html#a11d6063c580331d6af59c8d71b7f3e9f',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/functions_6d.html b/Doxygen/Docs/html/search/functions_6d.html new file mode 100644 index 00000000..d01ac537 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6d.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_6d.js b/Doxygen/Docs/html/search/functions_6d.js new file mode 100644 index 00000000..f6a672c5 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6d.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['main',['main',['../ds_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): ds.cpp'],['../_m_o_n_o_l_i_t_h_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): MONOLITH.cpp'],['../morphlite_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): morphlite.cpp'],['../raytrace1_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'main(int argc, char **argv): raytrace1.cpp']]], + ['mainscreen',['mainScreen',['../class_engine.html#ad4429218b5aed162269094c6571a2520',1,'Engine']]], + ['makeagua',['makeAgua',['../model_8cpp.html#ad759245db436eebefc9a921e882bca3b',1,'makeAgua(Object *land_obj, Object *agua_obj): model.cpp'],['../model_8hpp.html#ad759245db436eebefc9a921e882bca3b',1,'makeAgua(Object *land_obj, Object *agua_obj): model.cpp']]], + ['morphpercentage',['morphPercentage',['../class_object.html#accb051cdc79bc93e8c9c0edb79dd6b30',1,'Object::morphPercentage() const '],['../class_object.html#a543d2329b25df9fb0a782f09d03e5cb1',1,'Object::morphPercentage(const float newPercentage)']]], + ['morphtarget',['morphTarget',['../class_object.html#a7694c9cfe445c3d5b993a38e3f8badd9',1,'Object']]], + ['motion',['motion',['../raytrace1_8cpp.html#a45a7d7c86c97ca6a2d4d32ce2d263f67',1,'raytrace1.cpp']]], + ['mouse',['mouse',['../glut__callbacks_8cpp.html#ac76a5d78172a826cd6ee9512b89a86c0',1,'mouse(int button, int state, int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#ac76a5d78172a826cd6ee9512b89a86c0',1,'mouse(int button, int state, int x, int y): glut_callbacks.cpp']]], + ['mouselook',['mouselook',['../glut__callbacks_8cpp.html#af04567427614c77718ed14b8450a3438',1,'mouselook(int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#af04567427614c77718ed14b8450a3438',1,'mouselook(int x, int y): glut_callbacks.cpp']]], + ['mouseroll',['mouseroll',['../glut__callbacks_8cpp.html#ad373689e6b9dcfe1b99692b43a759d40',1,'mouseroll(int x, int y): glut_callbacks.cpp'],['../glut__callbacks_8h.html#ad373689e6b9dcfe1b99692b43a759d40',1,'mouseroll(int x, int y): glut_callbacks.cpp']]], + ['move',['move',['../class_camera.html#aaa9706527438bd5bd323dd018bb34fcf',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/functions_6e.html b/Doxygen/Docs/html/search/functions_6e.html new file mode 100644 index 00000000..d734dd07 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6e.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_6e.js b/Doxygen/Docs/html/search/functions_6e.js new file mode 100644 index 00000000..0ca02953 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6e.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['name',['name',['../class_object.html#aafd766fce2598f718cac97a3ac731706',1,'Object']]], + ['next',['next',['../class_cameras.html#a971e1ffd27ff38d58f83996f87700e82',1,'Cameras']]], + ['numberofpoints',['numberOfPoints',['../class_object.html#a73f1a6210bacf504de9a808009479b81',1,'Object']]], + ['numcameras',['numCameras',['../class_cameras.html#acf7e92b5163efeeb88543e605d436a0e',1,'Cameras']]] +]; diff --git a/Doxygen/Docs/html/search/functions_6f.html b/Doxygen/Docs/html/search/functions_6f.html new file mode 100644 index 00000000..222f0f83 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6f.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_6f.js b/Doxygen/Docs/html/search/functions_6f.js new file mode 100644 index 00000000..05e95fb1 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_6f.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['obj2cam',['obj2Cam',['../class_cameras.html#a8a6c7958396c6b0d07380aa762b15fcc',1,'Cameras']]], + ['object',['Object',['../class_object.html#aacf42e81415f32f1f2a105ce29c7c1b9',1,'Object']]], + ['operator_2a',['operator*',['../class_angel_1_1mat2.html#a1be53f556f8dd39cc2a95c0168319129',1,'Angel::mat2']]], + ['operator_3d',['operator=',['../class_engine.html#a09761dabaae6f48bd5c612acea76a9bf',1,'Engine']]], + ['opt',['opt',['../class_engine.html#ae3658976c5ab1f0c912d2c7d5747cb67',1,'Engine::opt(const std::string &Option)'],['../class_engine.html#a797b0b934a94cd2ea7ab1c11083e425c',1,'Engine::opt(const std::string &Option, bool setting)']]] +]; diff --git a/Doxygen/Docs/html/search/functions_70.html b/Doxygen/Docs/html/search/functions_70.html new file mode 100644 index 00000000..c62125ed --- /dev/null +++ b/Doxygen/Docs/html/search/functions_70.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_70.js b/Doxygen/Docs/html/search/functions_70.js new file mode 100644 index 00000000..89519256 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_70.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['pitch',['pitch',['../class_camera.html#aac7dbb6201be7f17e014fc6fdf915560',1,'Camera']]], + ['pollwii',['pollWii',['../_wii_util_8cpp.html#ac3c18e1146115dcb58a284d48e290ca2',1,'pollWii(CWii &wii, bool CalibrateGyro): WiiUtil.cpp'],['../_wii_util_8h.html#af8a8ff4c6c2aecd6722464f76b3414a5',1,'pollWii(CWii &wii, bool CalibrateGyro=false): WiiUtil.cpp']]], + ['popcamera',['popCamera',['../class_cameras.html#a9dee7bf1f2c56176c461fa2617ce4549',1,'Cameras']]], + ['popobject',['popObject',['../class_scene.html#ad6c9d1d1d0c786d39bf97dc60410e28b',1,'Scene']]], + ['pos',['pos',['../class_camera.html#a432e03c15d63f8839fe4731016d907a4',1,'Camera::pos(const float &x, const float &y, const float &z, const bool &update=true)'],['../class_camera.html#ae9dc2206b71b25cf320a05d148cb8b56',1,'Camera::pos(const vec3 &in, const bool &update=true)'],['../class_camera.html#aec2115038562e514193bb2b67f5da153',1,'Camera::pos(const vec4 &in, const bool &update=true)'],['../class_camera.html#a9982ac5f48fe0af97fefa725080d6da6',1,'Camera::pos(void) const ']]], + ['position',['position',['../class_object.html#ac64609eb614aa5974b74000cec6fc95c',1,'Object']]], + ['prev',['prev',['../class_cameras.html#a90eb5a3dda940ed494f592d094580dd8',1,'Cameras']]], + ['propagate',['propagate',['../class_object.html#a2fdd201413e0408f5a2508874acd2ef5',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/functions_71.html b/Doxygen/Docs/html/search/functions_71.html new file mode 100644 index 00000000..af909d4a --- /dev/null +++ b/Doxygen/Docs/html/search/functions_71.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_71.js b/Doxygen/Docs/html/search/functions_71.js new file mode 100644 index 00000000..1947b5da --- /dev/null +++ b/Doxygen/Docs/html/search/functions_71.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['quad',['quad',['../model_8cpp.html#a787f4c226d43da564315b1b8aefac6cc',1,'quad(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, const Color4 &A, const Color4 &B, const Color4 &C, const Color4 &D): model.cpp'],['../model_8hpp.html#a787f4c226d43da564315b1b8aefac6cc',1,'quad(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, const Color4 &A, const Color4 &B, const Color4 &C, const Color4 &D): model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/functions_72.html b/Doxygen/Docs/html/search/functions_72.html new file mode 100644 index 00000000..a4336f7c --- /dev/null +++ b/Doxygen/Docs/html/search/functions_72.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_72.js b/Doxygen/Docs/html/search/functions_72.js new file mode 100644 index 00000000..7c9bd496 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_72.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['randfloat',['randFloat',['../model_8cpp.html#a476a380b7a6a48dc7d762716b041def8',1,'model.cpp']]], + ['randomize_5fterrain',['randomize_terrain',['../terrain_8cpp.html#a43d76d6460eea14cbfac57f649c4ccc9',1,'terrain.cpp']]], + ['recursivemodelgen',['recursiveModelGen',['../model_8cpp.html#abaad50597737c633264748efecf95c14',1,'recursiveModelGen(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int timesToRecurse, int color): model.cpp'],['../model_8hpp.html#abaad50597737c633264748efecf95c14',1,'recursiveModelGen(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int timesToRecurse, int color): model.cpp']]], + ['refreshperspective',['refreshPerspective',['../class_camera.html#a24c5346fc0dfaa93257b6716fe0f2421',1,'Camera']]], + ['resetrotation',['resetRotation',['../class_camera.html#a8ec7938c5e25068e5bff25aeb7038af4',1,'Camera']]], + ['reshape',['reshape',['../raytrace1_8cpp.html#a6819355374dd277347abd7c4235f0cd7',1,'raytrace1.cpp']]], + ['resize',['resize',['../class_cameras.html#a0d0b08d599d471c0070665006f3bc437',1,'Cameras']]], + ['resizeevent',['resizeEvent',['../glut__callbacks_8cpp.html#ace248343c050c709b645c42012d68f18',1,'resizeEvent(int width, int height): glut_callbacks.cpp'],['../glut__callbacks_8h.html#ace248343c050c709b645c42012d68f18',1,'resizeEvent(int width, int height): glut_callbacks.cpp']]], + ['roll',['roll',['../class_camera.html#a1ba0979fe0b2ec58085d5f9721858e5e',1,'Camera']]], + ['rootscene',['rootScene',['../class_engine.html#a782cf288c161986d0ac0eb48cd187c4d',1,'Engine']]] +]; diff --git a/Doxygen/Docs/html/search/functions_73.html b/Doxygen/Docs/html/search/functions_73.html new file mode 100644 index 00000000..774d577f --- /dev/null +++ b/Doxygen/Docs/html/search/functions_73.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_73.js b/Doxygen/Docs/html/search/functions_73.js new file mode 100644 index 00000000..5ead5ef3 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_73.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['scale',['scale',['../class_timer.html#a7b3934948b0d2bc11a5e198e619b2576',1,'Timer']]], + ['scene',['Scene',['../class_scene.html#ad10176d75a9cc0da56626f682d083507',1,'Scene']]], + ['send',['send',['../class_camera.html#a401decef27b59d6485b4ab9762f5b9e6',1,'Camera::send()'],['../class_object.html#a34258ee199342d785c29d18c49d54e71',1,'Object::send()']]], + ['set',['set',['../class_engine.html#a81f16979bc330c46675e4d7ffab5eff9',1,'Engine']]], + ['shader',['shader',['../class_object.html#a459489106838a1e3a8dbbd13045cd523',1,'Object::shader(void)'],['../class_object.html#aeaf11bb87bd59381c9e066f0b4f40d8e',1,'Object::shader(GLuint newShader)'],['../class_scene.html#a3ea7e92935755c776c235a9872f53394',1,'Scene::shader(GLuint gShader)'],['../class_scene.html#a9d8a33f0f0a296aba0fb6717ab85cb18',1,'Scene::shader(void)']]], + ['sierpinskipyramid',['sierpinskiPyramid',['../model_8cpp.html#a91ce6a85aa63ffb60c564014e4d060b1',1,'sierpinskiPyramid(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int count): model.cpp'],['../model_8hpp.html#a91ce6a85aa63ffb60c564014e4d060b1',1,'sierpinskiPyramid(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d, int count): model.cpp']]], + ['sphere',['sphere',['../model_8cpp.html#a152e6c0e91107b949df03ca399251fd8',1,'sphere(Object *obj): model.cpp'],['../model_8hpp.html#a152e6c0e91107b949df03ca399251fd8',1,'sphere(Object *obj): model.cpp']]], + ['stop',['stop',['../class_camera.html#ae7414c6ae83c3c9392ab90e957daf2b9',1,'Camera']]], + ['surge',['surge',['../class_camera.html#abb2251df65445bf8efd3fe0074fb5033',1,'Camera']]], + ['sway',['sway',['../class_camera.html#abbe6fe82ed05e64e35b0c4ed2001b34e',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/functions_74.html b/Doxygen/Docs/html/search/functions_74.html new file mode 100644 index 00000000..e3c96c33 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_74.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_74.js b/Doxygen/Docs/html/search/functions_74.js new file mode 100644 index 00000000..03992dce --- /dev/null +++ b/Doxygen/Docs/html/search/functions_74.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['terraingenerationanimation',['TerrainGenerationAnimation',['../terrain_8cpp.html#a19cc2bcd83a4740c8ab847f391229f09',1,'terrain.cpp']]], + ['tetra',['tetra',['../model_8cpp.html#a9329f4c58e0cbb25cadc1238698efedb',1,'tetra(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d): model.cpp'],['../model_8hpp.html#a9329f4c58e0cbb25cadc1238698efedb',1,'tetra(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const Point4 &d): model.cpp']]], + ['texture',['texture',['../class_object.html#afebb27ddb10daed8e2c5085b76cbc500',1,'Object']]], + ['textureid',['textureID',['../class_object.html#a74300b3fa318786e21b65183461c5e25',1,'Object']]], + ['tick',['tick',['../class_timer.html#a303b48cd096028dbcc3d73f735c49b66',1,'Timer']]], + ['tock',['tock',['../class_timer.html#a334900b3056fd3351c299fef28c31d3d',1,'Timer']]], + ['triangle',['triangle',['../model_8cpp.html#a133b051eb2aaf6c9d8dee920155a19c1',1,'triangle(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const int color): model.cpp'],['../model_8hpp.html#a133b051eb2aaf6c9d8dee920155a19c1',1,'triangle(Object *obj, const Point4 &a, const Point4 &b, const Point4 &c, const int color): model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/functions_75.html b/Doxygen/Docs/html/search/functions_75.html new file mode 100644 index 00000000..2d61754d --- /dev/null +++ b/Doxygen/Docs/html/search/functions_75.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_75.js b/Doxygen/Docs/html/search/functions_75.js new file mode 100644 index 00000000..c5ae2d75 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_75.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['unit',['unit',['../model_8cpp.html#a91cf20a293963e386f47242761f62e4e',1,'model.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/functions_76.html b/Doxygen/Docs/html/search/functions_76.html new file mode 100644 index 00000000..2ec05695 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_76.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_76.js b/Doxygen/Docs/html/search/functions_76.js new file mode 100644 index 00000000..fb9b3f66 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_76.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['view',['view',['../class_camera.html#ae845a36306bba6b6e359cbdddce65f7f',1,'Camera::view()'],['../class_cameras.html#adeb29c1d639fcfbae4c68017bc8ef4d4',1,'Cameras::view()']]], + ['viewport',['viewport',['../class_camera.html#adda458a9212825164b52019597f2e9c8',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/functions_77.html b/Doxygen/Docs/html/search/functions_77.html new file mode 100644 index 00000000..8fe97554 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_77.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_77.js b/Doxygen/Docs/html/search/functions_77.js new file mode 100644 index 00000000..00fb55d0 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_77.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['wiilook',['wiilook',['../terrain_8cpp.html#a3db6770b4d2fa9a7566e01c68880d49c',1,'terrain.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/functions_78.html b/Doxygen/Docs/html/search/functions_78.html new file mode 100644 index 00000000..2b33d25e --- /dev/null +++ b/Doxygen/Docs/html/search/functions_78.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_78.js b/Doxygen/Docs/html/search/functions_78.js new file mode 100644 index 00000000..0b24f36a --- /dev/null +++ b/Doxygen/Docs/html/search/functions_78.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['x',['x',['../class_camera.html#a14d59ca64bf258adacbed4e0e70ba701',1,'Camera::x(const float &in, const bool &update=true)'],['../class_camera.html#ab84abdd525581fbaf0462595d0a087d6',1,'Camera::x(void) const ']]] +]; diff --git a/Doxygen/Docs/html/search/functions_79.html b/Doxygen/Docs/html/search/functions_79.html new file mode 100644 index 00000000..09fd7d76 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_79.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_79.js b/Doxygen/Docs/html/search/functions_79.js new file mode 100644 index 00000000..f14c019b --- /dev/null +++ b/Doxygen/Docs/html/search/functions_79.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['y',['y',['../class_camera.html#a5021b8379a853f306851837178856db0',1,'Camera::y(const float &in, const bool &update=true)'],['../class_camera.html#a68d0865ed19510ee41c6477511d70185',1,'Camera::y(void) const ']]], + ['yaw',['yaw',['../class_camera.html#a0ce7d12edbe47d9a8915d8af98d8f524',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/functions_7a.html b/Doxygen/Docs/html/search/functions_7a.html new file mode 100644 index 00000000..c1347710 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_7a.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_7a.js b/Doxygen/Docs/html/search/functions_7a.js new file mode 100644 index 00000000..e08c6023 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_7a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['z',['z',['../class_camera.html#a4acfa20291c83f13c98781c0d53cdbd8',1,'Camera::z(const float &in, const bool &update=true)'],['../class_camera.html#ab1167495c547046c57b1c417e53c39f6',1,'Camera::z(void) const ']]] +]; diff --git a/Doxygen/Docs/html/search/functions_7e.html b/Doxygen/Docs/html/search/functions_7e.html new file mode 100644 index 00000000..fd1d3ce2 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_7e.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/functions_7e.js b/Doxygen/Docs/html/search/functions_7e.js new file mode 100644 index 00000000..af69bb99 --- /dev/null +++ b/Doxygen/Docs/html/search/functions_7e.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['_7ecamera',['~Camera',['../class_camera.html#a06211f202c145b3ec8253f96e1e654a6',1,'Camera']]], + ['_7ecameras',['~Cameras',['../class_cameras.html#a7de763b562cce2a06cb120610987cd29',1,'Cameras']]], + ['_7eengine',['~Engine',['../class_engine.html#a4850643b0f929d8021115cf37d7ab608',1,'Engine']]], + ['_7eobject',['~Object',['../class_object.html#ac9ec2177266554587e8ddb40eb72ae1c',1,'Object']]], + ['_7escene',['~Scene',['../class_scene.html#a3b8cec2e32546713915f8c6303c951f1',1,'Scene']]] +]; diff --git a/Doxygen/Docs/html/search/mag_sel.png b/Doxygen/Docs/html/search/mag_sel.png new file mode 100644 index 00000000..81f6040a Binary files /dev/null and b/Doxygen/Docs/html/search/mag_sel.png differ diff --git a/Doxygen/Docs/html/search/nomatches.html b/Doxygen/Docs/html/search/nomatches.html new file mode 100644 index 00000000..b1ded27e --- /dev/null +++ b/Doxygen/Docs/html/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
+
No Matches
+
+ + diff --git a/Doxygen/Docs/html/search/search.css b/Doxygen/Docs/html/search/search.css new file mode 100644 index 00000000..d18c1da8 --- /dev/null +++ b/Doxygen/Docs/html/search/search.css @@ -0,0 +1,238 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + position: absolute; + float: none; + display: inline; + margin-top: 8px; + right: 0px; + width: 170px; + z-index: 102; + background-color: white; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:116px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:0px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 1; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} diff --git a/Doxygen/Docs/html/search/search.js b/Doxygen/Docs/html/search/search.js new file mode 100644 index 00000000..bcfa1bab --- /dev/null +++ b/Doxygen/Docs/html/search/search.js @@ -0,0 +1,811 @@ +// Search script generated by doxygen +// Copyright (C) 2009 by Dimitri van Heesch. + +// The code in this file is loosly based on main.js, part of Natural Docs, +// which is Copyright (C) 2003-2008 Greg Valure +// Natural Docs is licensed under the GPL. + +var indexSectionsWithContent = +{ + 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010111111111111111111111111110001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 1: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001010000001101101110110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 2: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110101010101101110110010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111110001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 4: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010001100010001100101111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 5: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001100000000000100101100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 6: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010100000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 7: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011010001000111000010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 8: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001100110000011111110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" +}; + +var indexSectionNames = +{ + 0: "all", + 1: "classes", + 2: "files", + 3: "functions", + 4: "variables", + 5: "typedefs", + 6: "enums", + 7: "enumvalues", + 8: "defines" +}; + +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var hexCode; + if (code<16) + { + hexCode="0"+code.toString(16); + } + else + { + hexCode=code.toString(16); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1') + { + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; e + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/typedefs_63.js b/Doxygen/Docs/html/search/typedefs_63.js new file mode 100644 index 00000000..3dfe515f --- /dev/null +++ b/Doxygen/Docs/html/search/typedefs_63.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['color4',['Color4',['../vec_8hpp.html#a8bedcae0602a1167f1d39683f4dc83a6',1,'vec.hpp']]] +]; diff --git a/Doxygen/Docs/html/search/typedefs_64.html b/Doxygen/Docs/html/search/typedefs_64.html new file mode 100644 index 00000000..f71d4ea1 --- /dev/null +++ b/Doxygen/Docs/html/search/typedefs_64.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/typedefs_64.js b/Doxygen/Docs/html/search/typedefs_64.js new file mode 100644 index 00000000..a5a01914 --- /dev/null +++ b/Doxygen/Docs/html/search/typedefs_64.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['direction',['Direction',['../class_camera.html#a94bb7ceb1c7a05e54cf638924f228baf',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/typedefs_70.html b/Doxygen/Docs/html/search/typedefs_70.html new file mode 100644 index 00000000..77095275 --- /dev/null +++ b/Doxygen/Docs/html/search/typedefs_70.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/typedefs_70.js b/Doxygen/Docs/html/search/typedefs_70.js new file mode 100644 index 00000000..17b92da3 --- /dev/null +++ b/Doxygen/Docs/html/search/typedefs_70.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['point4',['Point4',['../vec_8hpp.html#a2deb4dc6a4048e0d7bfd890c8052d21e',1,'vec.hpp']]] +]; diff --git a/Doxygen/Docs/html/search/typedefs_73.html b/Doxygen/Docs/html/search/typedefs_73.html new file mode 100644 index 00000000..3f28c4d2 --- /dev/null +++ b/Doxygen/Docs/html/search/typedefs_73.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/typedefs_73.js b/Doxygen/Docs/html/search/typedefs_73.js new file mode 100644 index 00000000..7073aa0b --- /dev/null +++ b/Doxygen/Docs/html/search/typedefs_73.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['settingsmap',['SettingsMap',['../_engine_8hpp.html#a35f3ec1606bb0642e48d2e62fea0d6a6',1,'Engine.hpp']]] +]; diff --git a/Doxygen/Docs/html/search/typedefs_75.html b/Doxygen/Docs/html/search/typedefs_75.html new file mode 100644 index 00000000..35bb0050 --- /dev/null +++ b/Doxygen/Docs/html/search/typedefs_75.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/typedefs_75.js b/Doxygen/Docs/html/search/typedefs_75.js new file mode 100644 index 00000000..e74181e2 --- /dev/null +++ b/Doxygen/Docs/html/search/typedefs_75.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['uniform',['Uniform',['../class_camera.html#a0ed19c96505cbb70625938d1e883af24',1,'Camera::Uniform()'],['../class_object.html#ae6a2969ddca87d2c54b7cb1c131a7d60',1,'Object::Uniform()']]], + ['uniformenum',['UniformEnum',['../class_object.html#a79b74057dbc5182b85c9c3ba8480fcf2',1,'Object']]], + ['uniformmap',['UniformMap',['../class_object.html#a6e19bd8516360bff956408cbae33b878',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/typedefs_76.html b/Doxygen/Docs/html/search/typedefs_76.html new file mode 100644 index 00000000..57eab51a --- /dev/null +++ b/Doxygen/Docs/html/search/typedefs_76.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/typedefs_76.js b/Doxygen/Docs/html/search/typedefs_76.js new file mode 100644 index 00000000..0d834ca7 --- /dev/null +++ b/Doxygen/Docs/html/search/typedefs_76.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['viewtype',['ViewType',['../class_camera.html#a5b2dc5eaed6cbaabee0eea3f2714acd7',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/variables_5f.html b/Doxygen/Docs/html/search/variables_5f.html new file mode 100644 index 00000000..375abd9b --- /dev/null +++ b/Doxygen/Docs/html/search/variables_5f.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_5f.js b/Doxygen/Docs/html/search/variables_5f.js new file mode 100644 index 00000000..da9654ab --- /dev/null +++ b/Doxygen/Docs/html/search/variables_5f.js @@ -0,0 +1,43 @@ +var searchData= +[ + ['_5faspectratio',['_aspectRatio',['../class_camera.html#a42082e8f2d80a13674ce163d8e720bfb',1,'Camera']]], + ['_5fbuffer',['_buffer',['../class_object.html#adf8365e2c661ab4014c3dbf60e48572b',1,'Object']]], + ['_5fcolors',['_colors',['../class_object.html#a29a0e9959c490067db69378bf57a17ba',1,'Object']]], + ['_5fctm',['_ctm',['../class_camera.html#a6c1e31c8470b923f9f872f73597cb95b',1,'Camera']]], + ['_5fcurrentobj',['_currentObj',['../class_scene.html#ae87ca5350fcc595f3f15a4fd3c39f3d9',1,'Scene']]], + ['_5fcurrentview',['_currentView',['../class_camera.html#ac9062d9bb891aa81d163076738451081',1,'Camera']]], + ['_5fdrawmode',['_drawMode',['../class_object.html#ae8457eabfb89d55826142508013b56c0',1,'Object']]], + ['_5fenginesettings',['_engineSettings',['../class_engine.html#a467d917952b89ef23f7a045e4f87218a',1,'Engine']]], + ['_5fenginesingleton',['_engineSingleton',['../class_engine.html#ae494a590056c4594f1f3cb39e4d18994',1,'Engine']]], + ['_5ffovy',['_fovy',['../class_camera.html#a82542bb76347e2a2bb66b3bb7842945b',1,'Camera']]], + ['_5ffrictionmagnitude',['_frictionMagnitude',['../class_camera.html#a66fb66da0ccd400c4986dc19276b6716',1,'Camera']]], + ['_5fgshader',['_gShader',['../class_scene.html#a8f9bdd8ec5edb1f414fbd314a36e2724',1,'Scene']]], + ['_5fhandles',['_handles',['../class_object.html#a983963f564898beca4bda99676245663',1,'Object']]], + ['_5findices',['_indices',['../class_object.html#ab85adc7a2d3b891051c096593982653d',1,'Object']]], + ['_5fistextured',['_isTextured',['../class_object.html#abcb877094b696561a49bc931c5a12d9f',1,'Object']]], + ['_5flist',['_list',['../class_scene.html#acdd0123ca6b2d64d8d447bb485b235fc',1,'Scene']]], + ['_5fm',['_m',['../class_angel_1_1mat2.html#a04ca47b08412fa9c9ed5067843df53e9',1,'Angel::mat2']]], + ['_5fmap',['_map',['../class_scene.html#a8bd5d86484a12255b26b92b6cbf8d29a',1,'Scene']]], + ['_5fmaxaccel',['_maxAccel',['../class_camera.html#acbfae99c73c118ca92be9a6ba664b303',1,'Camera']]], + ['_5fmaxspeed',['_maxSpeed',['../class_camera.html#a83cab43f9ccc3d5f4c7db8543a806745',1,'Camera']]], + ['_5fmorphpercentage',['_morphPercentage',['../class_object.html#a7fbbac9027e1a8266342bd5ce064120d',1,'Object']]], + ['_5fmorphtarget',['_morphTarget',['../class_object.html#a5baa9891bd4981d62b4e86a1c2a8eea7',1,'Object']]], + ['_5fmotion',['_motion',['../class_camera.html#abec7e2becbad5a692a54a69b6a5f6d75',1,'Camera']]], + ['_5fname',['_name',['../class_object.html#a3f617214b260ebbe394e7c7b08ab5e43',1,'Object']]], + ['_5fnormals',['_normals',['../class_object.html#a20bb786cb5915934853855aab9d1a1b3',1,'Object']]], + ['_5fscene',['_scene',['../class_engine.html#afc244649d4b31f59f2ef91754472b281',1,'Engine']]], + ['_5fscreen',['_screen',['../class_engine.html#a181e11b6fd26698bc173647ab2471c8c',1,'Engine']]], + ['_5fsize',['_size',['../class_cameras.html#a2c40cd131741e1904fdfb024006258fd',1,'Cameras']]], + ['_5fspeed',['_speed',['../class_camera.html#a21f8eb53e5369018e39add0453ae626d',1,'Camera']]], + ['_5fspeed_5fcap',['_speed_cap',['../class_camera.html#a4d875d29a43bdfed4eac4c76747939d3',1,'Camera']]], + ['_5ftextureid',['_textureID',['../class_object.html#aefef7502dd10fb3c1c266cf688c432de',1,'Object']]], + ['_5ftexuvs',['_texUVs',['../class_object.html#aa9ddc3b95d74b76ab8a251fb376dfafb',1,'Object']]], + ['_5ftrans',['_trans',['../class_object.html#af17d57ea2dab64e21112e8949d50d85f',1,'Object']]], + ['_5funiformmap',['_uniformMap',['../class_object.html#a6378d0b0eeec23045ae2a5245e42bf13',1,'Object']]], + ['_5fvao',['_vao',['../class_object.html#a564aa6b1df66a05ab6b6c2f071851c4e',1,'Object']]], + ['_5fvelocity',['_velocity',['../class_camera.html#aa15577ff9e67c81699ee86d4d20a7ee7',1,'Camera']]], + ['_5fvertices',['_vertices',['../class_object.html#a4ac354b3ec284f27358b1d4b8d95b9a9',1,'Object']]], + ['_5fview',['_view',['../class_camera.html#a28f6e710df6db726568cd0f2bbd3643a',1,'Camera']]], + ['_5fviewportposition',['_viewportPosition',['../class_camera.html#adb7506be3632abc2d33e77a5783f5be8',1,'Camera']]], + ['_5fviewportsize',['_viewportSize',['../class_camera.html#a67c7600162abef1d2cddfce8cc75c33b',1,'Camera']]] +]; diff --git a/Doxygen/Docs/html/search/variables_62.html b/Doxygen/Docs/html/search/variables_62.html new file mode 100644 index 00000000..ff415250 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_62.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_62.js b/Doxygen/Docs/html/search/variables_62.js new file mode 100644 index 00000000..7b66d8a6 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_62.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['buffer',['buffer',['../class_object.html#a29de966ce95d96e19262c4f10f0b4276',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/variables_63.html b/Doxygen/Docs/html/search/variables_63.html new file mode 100644 index 00000000..c649c81f --- /dev/null +++ b/Doxygen/Docs/html/search/variables_63.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_63.js b/Doxygen/Docs/html/search/variables_63.js new file mode 100644 index 00000000..7b72252f --- /dev/null +++ b/Doxygen/Docs/html/search/variables_63.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['camera',['camera',['../raytrace1_8cpp.html#a0e46f444cf201063a14a00d1236f0629',1,'raytrace1.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/variables_64.html b/Doxygen/Docs/html/search/variables_64.html new file mode 100644 index 00000000..fee6769d --- /dev/null +++ b/Doxygen/Docs/html/search/variables_64.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_64.js b/Doxygen/Docs/html/search/variables_64.js new file mode 100644 index 00000000..91372f0e --- /dev/null +++ b/Doxygen/Docs/html/search/variables_64.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['divide_5fby_5fzero_5ftolerance',['DIVIDE_BY_ZERO_TOLERANCE',['../globals_8h.html#ad90a072ea1667bc81e21b726aefbcff1',1,'globals.h']]] +]; diff --git a/Doxygen/Docs/html/search/variables_68.html b/Doxygen/Docs/html/search/variables_68.html new file mode 100644 index 00000000..f11c2c94 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_68.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_68.js b/Doxygen/Docs/html/search/variables_68.js new file mode 100644 index 00000000..30a85004 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_68.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['heightscale',['heightScale',['../terrain_8cpp.html#abf93e1e5ae2f6baff49c75741529f033',1,'terrain.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/variables_69.html b/Doxygen/Docs/html/search/variables_69.html new file mode 100644 index 00000000..44c2cd1e --- /dev/null +++ b/Doxygen/Docs/html/search/variables_69.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_69.js b/Doxygen/Docs/html/search/variables_69.js new file mode 100644 index 00000000..ecdd0abe --- /dev/null +++ b/Doxygen/Docs/html/search/variables_69.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['istextured',['isTextured',['../class_object.html#a2bbbe3a5b33cbcfc4c536b49d470a6b8',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/variables_6c.html b/Doxygen/Docs/html/search/variables_6c.html new file mode 100644 index 00000000..6016f5cc --- /dev/null +++ b/Doxygen/Docs/html/search/variables_6c.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_6c.js b/Doxygen/Docs/html/search/variables_6c.js new file mode 100644 index 00000000..84b0b9b0 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_6c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['leftdown',['leftDown',['../raytrace1_8cpp.html#ab2138cc58a32399a5f3979e283f210a1',1,'raytrace1.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/variables_6d.html b/Doxygen/Docs/html/search/variables_6d.html new file mode 100644 index 00000000..b7924e35 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_6d.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_6d.js b/Doxygen/Docs/html/search/variables_6d.js new file mode 100644 index 00000000..56aa0d23 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_6d.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['modelview',['modelView',['../raytrace1_8cpp.html#aa82a2e50ca7f0a7c6c79922cf7ac675d',1,'raytrace1.cpp']]], + ['mousedownx',['mouseDownX',['../raytrace1_8cpp.html#a1e74073d42607e52372bf0707ed490f9',1,'raytrace1.cpp']]], + ['mousedowny',['mouseDownY',['../raytrace1_8cpp.html#a86c4394f5079d572ea974f506b282a2d',1,'raytrace1.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/variables_6e.html b/Doxygen/Docs/html/search/variables_6e.html new file mode 100644 index 00000000..2eb4def9 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_6e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_6e.js b/Doxygen/Docs/html/search/variables_6e.js new file mode 100644 index 00000000..9856ea67 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_6e.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['name',['name',['../class_object.html#a24457e0a387492c80594aec7681a2277',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/search/variables_70.html b/Doxygen/Docs/html/search/variables_70.html new file mode 100644 index 00000000..bc5c193c --- /dev/null +++ b/Doxygen/Docs/html/search/variables_70.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_70.js b/Doxygen/Docs/html/search/variables_70.js new file mode 100644 index 00000000..3193ff19 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_70.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['postmult',['POSTMULT',['../globals_8h.html#afbd48522ecf2a24bf2adca81f5a0e616',1,'globals.h']]], + ['premult',['PREMULT',['../globals_8h.html#a6606f2e98acd846ae52f6cd2f7585d22',1,'globals.h']]], + ['program',['program',['../raytrace1_8cpp.html#a27d8510c93324412d38a888eddee2852',1,'raytrace1.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/variables_72.html b/Doxygen/Docs/html/search/variables_72.html new file mode 100644 index 00000000..29b87f04 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_72.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_72.js b/Doxygen/Docs/html/search/variables_72.js new file mode 100644 index 00000000..026738bd --- /dev/null +++ b/Doxygen/Docs/html/search/variables_72.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['rightdown',['rightDown',['../raytrace1_8cpp.html#ad63f40b37d892985bb56ae99f16145c5',1,'raytrace1.cpp']]], + ['rotationfactor',['rotationFactor',['../raytrace1_8cpp.html#a450a5ce9d8d2b3bcb3a31d9a87f91a7f',1,'raytrace1.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/variables_73.html b/Doxygen/Docs/html/search/variables_73.html new file mode 100644 index 00000000..65b8f642 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_73.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_73.js b/Doxygen/Docs/html/search/variables_73.js new file mode 100644 index 00000000..ddc24b5b --- /dev/null +++ b/Doxygen/Docs/html/search/variables_73.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['screenheight',['screenHeight',['../raytrace1_8cpp.html#a9ebc1dbd77788c4bfa27758a6725413f',1,'raytrace1.cpp']]], + ['screenwidth',['screenWidth',['../raytrace1_8cpp.html#ae50cb92a78d9e0a4f4bd718fc02bd294',1,'raytrace1.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/variables_74.html b/Doxygen/Docs/html/search/variables_74.html new file mode 100644 index 00000000..60939222 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_74.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_74.js b/Doxygen/Docs/html/search/variables_74.js new file mode 100644 index 00000000..f4621cbc --- /dev/null +++ b/Doxygen/Docs/html/search/variables_74.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['tick',['tick',['../_timer_8cpp.html#a5e8ae978307d3cb3dc9b57b60dcc2039',1,'tick(): Timer.cpp'],['../_timer_8hpp.html#a5e8ae978307d3cb3dc9b57b60dcc2039',1,'tick(): Timer.cpp']]], + ['translationfactor',['translationFactor',['../raytrace1_8cpp.html#a4ebc11e7a5ba3738d580c7e764782aff',1,'raytrace1.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/variables_75.html b/Doxygen/Docs/html/search/variables_75.html new file mode 100644 index 00000000..b9cc25cf --- /dev/null +++ b/Doxygen/Docs/html/search/variables_75.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_75.js b/Doxygen/Docs/html/search/variables_75.js new file mode 100644 index 00000000..540d5ded --- /dev/null +++ b/Doxygen/Docs/html/search/variables_75.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['ucameraposition',['uCameraPosition',['../raytrace1_8cpp.html#a16874d01f7ca34ada7dddea3042f067f',1,'raytrace1.cpp']]] +]; diff --git a/Doxygen/Docs/html/search/variables_76.html b/Doxygen/Docs/html/search/variables_76.html new file mode 100644 index 00000000..8af23746 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_76.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Loading...
+
+ +
Searching...
+
No Matches
+ +
+ + diff --git a/Doxygen/Docs/html/search/variables_76.js b/Doxygen/Docs/html/search/variables_76.js new file mode 100644 index 00000000..5bf60721 --- /dev/null +++ b/Doxygen/Docs/html/search/variables_76.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vao',['vao',['../class_object.html#a66190fee29d03d6478516686cbd01eb8',1,'Object']]] +]; diff --git a/Doxygen/Docs/html/struct_angel_1_1vec2-members.html b/Doxygen/Docs/html/struct_angel_1_1vec2-members.html new file mode 100644 index 00000000..84508deb --- /dev/null +++ b/Doxygen/Docs/html/struct_angel_1_1vec2-members.html @@ -0,0 +1,146 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Angel::vec2 Member List
+
+
+ +

This is the complete list of members for Angel::vec2, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + +
operator const GLfloat *() const (defined in Angel::vec2)Angel::vec2
operator GLfloat *() (defined in Angel::vec2)Angel::vec2
operator*(const GLfloat s) const (defined in Angel::vec2)Angel::vec2
operator*(const vec2 &v) const (defined in Angel::vec2)Angel::vec2
operator* (defined in Angel::vec2)Angel::vec2friend
operator*=(const GLfloat s) (defined in Angel::vec2)Angel::vec2
operator*=(const vec2 &v) (defined in Angel::vec2)Angel::vec2
operator+(const vec2 &v) const (defined in Angel::vec2)Angel::vec2
operator+=(const vec2 &v) (defined in Angel::vec2)Angel::vec2
operator-() const (defined in Angel::vec2)Angel::vec2
operator-(const vec2 &v) const (defined in Angel::vec2)Angel::vec2
operator-=(const vec2 &v) (defined in Angel::vec2)Angel::vec2
operator/(const GLfloat s) const (defined in Angel::vec2)Angel::vec2
operator/=(const GLfloat s) (defined in Angel::vec2)Angel::vec2
operator<< (defined in Angel::vec2)Angel::vec2friend
operator>> (defined in Angel::vec2)Angel::vec2friend
operator[](int i) (defined in Angel::vec2)Angel::vec2
operator[](int i) const (defined in Angel::vec2)Angel::vec2
vec2(GLfloat s=GLfloat(0.0)) (defined in Angel::vec2)Angel::vec2
vec2(GLfloat x, GLfloat y) (defined in Angel::vec2)Angel::vec2
vec2(const vec2 &v) (defined in Angel::vec2)Angel::vec2
x (defined in Angel::vec2)Angel::vec2
y (defined in Angel::vec2)Angel::vec2
+
+ + + + diff --git a/Doxygen/Docs/html/struct_angel_1_1vec2.html b/Doxygen/Docs/html/struct_angel_1_1vec2.html new file mode 100644 index 00000000..fcac9933 --- /dev/null +++ b/Doxygen/Docs/html/struct_angel_1_1vec2.html @@ -0,0 +1,189 @@ + + + + + +HyperGrafx: Angel::vec2 Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Angel::vec2 Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+ vec2 (GLfloat s=GLfloat(0.0))
+ vec2 (GLfloat x, GLfloat y)
+ vec2 (const vec2 &v)
+GLfloat & operator[] (int i)
+const GLfloat operator[] (int i) const
+vec2 operator- () const
+vec2 operator+ (const vec2 &v) const
+vec2 operator- (const vec2 &v) const
+vec2 operator* (const GLfloat s) const
+vec2 operator* (const vec2 &v) const
+vec2 operator/ (const GLfloat s) const
+vec2 & operator+= (const vec2 &v)
+vec2 & operator-= (const vec2 &v)
+vec2 & operator*= (const GLfloat s)
+vec2 & operator*= (const vec2 &v)
+vec2 & operator/= (const GLfloat s)
+ operator const GLfloat * () const
+ operator GLfloat * ()
+ + + +

+Public Attributes

+GLfloat x
+GLfloat y
+ + + + +

+Friends

+vec2 operator* (const GLfloat s, const vec2 &v)
+std::ostream & operator<< (std::ostream &os, const vec2 &v)
+std::istream & operator>> (std::istream &is, vec2 &v)
+

Detailed Description

+
+

Definition at line 18 of file vec.hpp.

+

The documentation for this struct was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/struct_angel_1_1vec2.js b/Doxygen/Docs/html/struct_angel_1_1vec2.js new file mode 100644 index 00000000..7a05455d --- /dev/null +++ b/Doxygen/Docs/html/struct_angel_1_1vec2.js @@ -0,0 +1,26 @@ +var struct_angel_1_1vec2 = +[ + [ "vec2", "struct_angel_1_1vec2.html#ab2463ddb6aaaa67251004b90f03530fa", null ], + [ "vec2", "struct_angel_1_1vec2.html#a8e55cc0bb681ca7a747721cab122d830", null ], + [ "vec2", "struct_angel_1_1vec2.html#aa2ec5b81c4b97019486b0595db6f35a1", null ], + [ "operator const GLfloat *", "struct_angel_1_1vec2.html#a5c3d2082bcc18734fde3689dbc605104", null ], + [ "operator GLfloat *", "struct_angel_1_1vec2.html#a8989f46bc38bb87bc2f6ea81f66c8545", null ], + [ "operator*", "struct_angel_1_1vec2.html#ac5615b2494e3f8824f9fa127ba122b67", null ], + [ "operator*", "struct_angel_1_1vec2.html#a3b4a9670b53342b870e3a14c8164c613", null ], + [ "operator*=", "struct_angel_1_1vec2.html#a999ce51805c3c25a9a03039f05ce1492", null ], + [ "operator*=", "struct_angel_1_1vec2.html#a8580b24c22b17ac08ab32841dcf03f45", null ], + [ "operator+", "struct_angel_1_1vec2.html#a93606208e7b65d4bb8004f498b22934f", null ], + [ "operator+=", "struct_angel_1_1vec2.html#aaa3b17cab0a568002fd965ef65e91653", null ], + [ "operator-", "struct_angel_1_1vec2.html#a3b29693925c8026f75572dd13cefee5a", null ], + [ "operator-", "struct_angel_1_1vec2.html#a2d3d52e1b4693fdb860c2ef246e0d4d8", null ], + [ "operator-=", "struct_angel_1_1vec2.html#ac48fa24fcdd901ab8748dda3361332f8", null ], + [ "operator/", "struct_angel_1_1vec2.html#a522a6aaa64c361b86f6c2469cbd8ca92", null ], + [ "operator/=", "struct_angel_1_1vec2.html#a6ea8be1d732aea09b0f3f16f61fa2ef7", null ], + [ "operator[]", "struct_angel_1_1vec2.html#a48235bf48a69717c273b72468d355244", null ], + [ "operator[]", "struct_angel_1_1vec2.html#a83725a082bca8ea73a2171bb4596c1bd", null ], + [ "operator*", "struct_angel_1_1vec2.html#a1f371c4b26f86deb4d296dfff8ff1fc1", null ], + [ "operator<<", "struct_angel_1_1vec2.html#a5533e582fe94db90861caa394494f2cf", null ], + [ "operator>>", "struct_angel_1_1vec2.html#af8cf130207f2cf5866ac13049e956c75", null ], + [ "x", "struct_angel_1_1vec2.html#ab99b91871c08bbf76bf4a5e554ccac8f", null ], + [ "y", "struct_angel_1_1vec2.html#a9f0e4c33e7884eca47d771ccfd4ea0bd", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/struct_angel_1_1vec3-members.html b/Doxygen/Docs/html/struct_angel_1_1vec3-members.html new file mode 100644 index 00000000..623095b6 --- /dev/null +++ b/Doxygen/Docs/html/struct_angel_1_1vec3-members.html @@ -0,0 +1,148 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Angel::vec3 Member List
+
+
+ +

This is the complete list of members for Angel::vec3, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
operator const GLfloat *() const (defined in Angel::vec3)Angel::vec3
operator GLfloat *() (defined in Angel::vec3)Angel::vec3
operator*(const GLfloat s) const (defined in Angel::vec3)Angel::vec3
operator*(const vec3 &v) const (defined in Angel::vec3)Angel::vec3
operator* (defined in Angel::vec3)Angel::vec3friend
operator*=(const GLfloat s) (defined in Angel::vec3)Angel::vec3
operator*=(const vec3 &v) (defined in Angel::vec3)Angel::vec3
operator+(const vec3 &v) const (defined in Angel::vec3)Angel::vec3
operator+=(const vec3 &v) (defined in Angel::vec3)Angel::vec3
operator-() const (defined in Angel::vec3)Angel::vec3
operator-(const vec3 &v) const (defined in Angel::vec3)Angel::vec3
operator-=(const vec3 &v) (defined in Angel::vec3)Angel::vec3
operator/(const GLfloat s) const (defined in Angel::vec3)Angel::vec3
operator/=(const GLfloat s) (defined in Angel::vec3)Angel::vec3
operator<< (defined in Angel::vec3)Angel::vec3friend
operator>> (defined in Angel::vec3)Angel::vec3friend
operator[](int i) (defined in Angel::vec3)Angel::vec3
operator[](int i) const (defined in Angel::vec3)Angel::vec3
vec3(GLfloat s=GLfloat(0.0)) (defined in Angel::vec3)Angel::vec3
vec3(GLfloat x, GLfloat y, GLfloat z) (defined in Angel::vec3)Angel::vec3
vec3(const vec3 &v) (defined in Angel::vec3)Angel::vec3
vec3(const vec2 &v, const float f) (defined in Angel::vec3)Angel::vec3
x (defined in Angel::vec3)Angel::vec3
y (defined in Angel::vec3)Angel::vec3
z (defined in Angel::vec3)Angel::vec3
+
+ + + + diff --git a/Doxygen/Docs/html/struct_angel_1_1vec3.html b/Doxygen/Docs/html/struct_angel_1_1vec3.html new file mode 100644 index 00000000..1703f421 --- /dev/null +++ b/Doxygen/Docs/html/struct_angel_1_1vec3.html @@ -0,0 +1,193 @@ + + + + + +HyperGrafx: Angel::vec3 Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Angel::vec3 Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+ vec3 (GLfloat s=GLfloat(0.0))
+ vec3 (GLfloat x, GLfloat y, GLfloat z)
+ vec3 (const vec3 &v)
+ vec3 (const vec2 &v, const float f)
+GLfloat & operator[] (int i)
+const GLfloat operator[] (int i) const
+vec3 operator- () const
+vec3 operator+ (const vec3 &v) const
+vec3 operator- (const vec3 &v) const
+vec3 operator* (const GLfloat s) const
+vec3 operator* (const vec3 &v) const
+vec3 operator/ (const GLfloat s) const
+vec3 & operator+= (const vec3 &v)
+vec3 & operator-= (const vec3 &v)
+vec3 & operator*= (const GLfloat s)
+vec3 & operator*= (const vec3 &v)
+vec3 & operator/= (const GLfloat s)
+ operator const GLfloat * () const
+ operator GLfloat * ()
+ + + + +

+Public Attributes

+GLfloat x
+GLfloat y
+GLfloat z
+ + + + +

+Friends

+vec3 operator* (const GLfloat s, const vec3 &v)
+std::ostream & operator<< (std::ostream &os, const vec3 &v)
+std::istream & operator>> (std::istream &is, vec3 &v)
+

Detailed Description

+
+

Definition at line 63 of file vec.hpp.

+

The documentation for this struct was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/struct_angel_1_1vec3.js b/Doxygen/Docs/html/struct_angel_1_1vec3.js new file mode 100644 index 00000000..554a312c --- /dev/null +++ b/Doxygen/Docs/html/struct_angel_1_1vec3.js @@ -0,0 +1,28 @@ +var struct_angel_1_1vec3 = +[ + [ "vec3", "struct_angel_1_1vec3.html#a420358f913d30a659761e3a86026cd59", null ], + [ "vec3", "struct_angel_1_1vec3.html#a9970b9133cd349d038456ae7309fbeba", null ], + [ "vec3", "struct_angel_1_1vec3.html#a3af0b92e9cb01f0cda2f66c007e196c9", null ], + [ "vec3", "struct_angel_1_1vec3.html#a597ff15b14f6bd9e75382525f6da00bd", null ], + [ "operator const GLfloat *", "struct_angel_1_1vec3.html#a81f4a99d68722e756664907dcb07fb92", null ], + [ "operator GLfloat *", "struct_angel_1_1vec3.html#ab92761f9bc4454117c1dd39a7d87c1b0", null ], + [ "operator*", "struct_angel_1_1vec3.html#aa2d45d74dee02720c82757f03263e8ae", null ], + [ "operator*", "struct_angel_1_1vec3.html#aa6709e55b49d756a9b00e038adc68438", null ], + [ "operator*=", "struct_angel_1_1vec3.html#ab825bec2ce97dc35aa4835758ec51270", null ], + [ "operator*=", "struct_angel_1_1vec3.html#a54e75f1d64f773d99f0d5e80b031142b", null ], + [ "operator+", "struct_angel_1_1vec3.html#a320586bc86a5abd0ac991a3e51485ef6", null ], + [ "operator+=", "struct_angel_1_1vec3.html#abe9f854bc044ab4461882c635b197102", null ], + [ "operator-", "struct_angel_1_1vec3.html#a5ec954ef19e3d1ceed6ce25ebe32c3ee", null ], + [ "operator-", "struct_angel_1_1vec3.html#a947a9982285c993f79d8ab3afc4da2c8", null ], + [ "operator-=", "struct_angel_1_1vec3.html#ada518593451bbc8b9529ddd36284402f", null ], + [ "operator/", "struct_angel_1_1vec3.html#ab072ed9282da0217c26b8dae2c6bf978", null ], + [ "operator/=", "struct_angel_1_1vec3.html#ae3ac03ba1ce7c8bbb8dfe07c7e0d06d9", null ], + [ "operator[]", "struct_angel_1_1vec3.html#a571e36d7c9542eb3464b8fde016d040d", null ], + [ "operator[]", "struct_angel_1_1vec3.html#ad78e907775d490a69aa879a34e7dfe5c", null ], + [ "operator*", "struct_angel_1_1vec3.html#a1d78982e3d5969f2e9f98a536cfea9f7", null ], + [ "operator<<", "struct_angel_1_1vec3.html#a3e8f4856b29a4320f185f9a9cf0f94bc", null ], + [ "operator>>", "struct_angel_1_1vec3.html#ab705d3337286a4262e84bbbb0b694a56", null ], + [ "x", "struct_angel_1_1vec3.html#a758dbe298cc37615770c30a73066253d", null ], + [ "y", "struct_angel_1_1vec3.html#a02608203e694798c3118d5b55a0e0048", null ], + [ "z", "struct_angel_1_1vec3.html#afa2e7231c4170ddedb556ef5f7941cbc", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/struct_angel_1_1vec4-members.html b/Doxygen/Docs/html/struct_angel_1_1vec4-members.html new file mode 100644 index 00000000..c8cc16d0 --- /dev/null +++ b/Doxygen/Docs/html/struct_angel_1_1vec4-members.html @@ -0,0 +1,150 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Angel::vec4 Member List
+
+
+ +

This is the complete list of members for Angel::vec4, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
operator const GLfloat *() const (defined in Angel::vec4)Angel::vec4
operator GLfloat *() (defined in Angel::vec4)Angel::vec4
operator*(const GLfloat s) const (defined in Angel::vec4)Angel::vec4
operator*(const vec4 &v) const (defined in Angel::vec4)Angel::vec4
operator* (defined in Angel::vec4)Angel::vec4friend
operator*=(const GLfloat s) (defined in Angel::vec4)Angel::vec4
operator*=(const vec4 &v) (defined in Angel::vec4)Angel::vec4
operator+(const vec4 &v) const (defined in Angel::vec4)Angel::vec4
operator+=(const vec4 &v) (defined in Angel::vec4)Angel::vec4
operator-() const (defined in Angel::vec4)Angel::vec4
operator-(const vec4 &v) const (defined in Angel::vec4)Angel::vec4
operator-=(const vec4 &v) (defined in Angel::vec4)Angel::vec4
operator/(const GLfloat s) const (defined in Angel::vec4)Angel::vec4
operator/=(const GLfloat s) (defined in Angel::vec4)Angel::vec4
operator<< (defined in Angel::vec4)Angel::vec4friend
operator>> (defined in Angel::vec4)Angel::vec4friend
operator[](int i) (defined in Angel::vec4)Angel::vec4
operator[](int i) const (defined in Angel::vec4)Angel::vec4
vec4(GLfloat s=GLfloat(0.0)) (defined in Angel::vec4)Angel::vec4
vec4(GLfloat x, GLfloat y, GLfloat z, GLfloat w) (defined in Angel::vec4)Angel::vec4
vec4(const vec4 &v) (defined in Angel::vec4)Angel::vec4
vec4(const vec3 &v, const float w=1.0) (defined in Angel::vec4)Angel::vec4
vec4(const vec2 &v, const float z, const float w) (defined in Angel::vec4)Angel::vec4
w (defined in Angel::vec4)Angel::vec4
x (defined in Angel::vec4)Angel::vec4
y (defined in Angel::vec4)Angel::vec4
z (defined in Angel::vec4)Angel::vec4
+
+ + + + diff --git a/Doxygen/Docs/html/struct_angel_1_1vec4.html b/Doxygen/Docs/html/struct_angel_1_1vec4.html new file mode 100644 index 00000000..ac241b3e --- /dev/null +++ b/Doxygen/Docs/html/struct_angel_1_1vec4.html @@ -0,0 +1,197 @@ + + + + + +HyperGrafx: Angel::vec4 Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Angel::vec4 Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+ vec4 (GLfloat s=GLfloat(0.0))
+ vec4 (GLfloat x, GLfloat y, GLfloat z, GLfloat w)
+ vec4 (const vec4 &v)
+ vec4 (const vec3 &v, const float w=1.0)
+ vec4 (const vec2 &v, const float z, const float w)
+GLfloat & operator[] (int i)
+const GLfloat operator[] (int i) const
+vec4 operator- () const
+vec4 operator+ (const vec4 &v) const
+vec4 operator- (const vec4 &v) const
+vec4 operator* (const GLfloat s) const
+vec4 operator* (const vec4 &v) const
+vec4 operator/ (const GLfloat s) const
+vec4 & operator+= (const vec4 &v)
+vec4 & operator-= (const vec4 &v)
+vec4 & operator*= (const GLfloat s)
+vec4 & operator*= (const vec4 &v)
+vec4 & operator/= (const GLfloat s)
+ operator const GLfloat * () const
+ operator GLfloat * ()
+ + + + + +

+Public Attributes

+GLfloat x
+GLfloat y
+GLfloat z
+GLfloat w
+ + + + +

+Friends

+vec4 operator* (const GLfloat s, const vec4 &v)
+std::ostream & operator<< (std::ostream &os, const vec4 &v)
+std::istream & operator>> (std::istream &is, vec4 &v)
+

Detailed Description

+
+

Definition at line 112 of file vec.hpp.

+

The documentation for this struct was generated from the following files: +
+
+ + + + diff --git a/Doxygen/Docs/html/struct_angel_1_1vec4.js b/Doxygen/Docs/html/struct_angel_1_1vec4.js new file mode 100644 index 00000000..ebe15192 --- /dev/null +++ b/Doxygen/Docs/html/struct_angel_1_1vec4.js @@ -0,0 +1,30 @@ +var struct_angel_1_1vec4 = +[ + [ "vec4", "struct_angel_1_1vec4.html#afa13c9f342969e0ee740abbe3b7b8b4c", null ], + [ "vec4", "struct_angel_1_1vec4.html#add0c2aa60bd9a4930c016fe08ffced70", null ], + [ "vec4", "struct_angel_1_1vec4.html#a72b386b6ebca67a90f47c12407e064f7", null ], + [ "vec4", "struct_angel_1_1vec4.html#a48f563362bfe698603c365cc400bd99a", null ], + [ "vec4", "struct_angel_1_1vec4.html#a8ac0995f9bba4d859ec9c46ed8e5d492", null ], + [ "operator const GLfloat *", "struct_angel_1_1vec4.html#a71c7509461ea7152c6785bfbc811ab64", null ], + [ "operator GLfloat *", "struct_angel_1_1vec4.html#abe6702f74ba431df65da55aa0df6de16", null ], + [ "operator*", "struct_angel_1_1vec4.html#a92c877320dd47ffa15a0de898bd13638", null ], + [ "operator*", "struct_angel_1_1vec4.html#add20f4c8f8e43a6efcc83a1aa8e1192a", null ], + [ "operator*=", "struct_angel_1_1vec4.html#aab6ea06360d12b1e2962d6c4ea4dc639", null ], + [ "operator*=", "struct_angel_1_1vec4.html#a2035c8e93278408c05404b713346d92d", null ], + [ "operator+", "struct_angel_1_1vec4.html#aa294368ad74207ccaf3d94a01fc48084", null ], + [ "operator+=", "struct_angel_1_1vec4.html#acae5e90e375b8fe265c39d4fabbf134d", null ], + [ "operator-", "struct_angel_1_1vec4.html#a7fbf327a3af8d45a22f6922993e71a03", null ], + [ "operator-", "struct_angel_1_1vec4.html#a6355469f6b5dfd9aad1abdb72c909d22", null ], + [ "operator-=", "struct_angel_1_1vec4.html#a2a861fc00ce40f6a6609ef631ddae21a", null ], + [ "operator/", "struct_angel_1_1vec4.html#a2110d1ac08fe09e785640e8219af23cf", null ], + [ "operator/=", "struct_angel_1_1vec4.html#aacad340463007e48c1674689787e6b47", null ], + [ "operator[]", "struct_angel_1_1vec4.html#a1dc1b7daa6d5684466deee1ef8267910", null ], + [ "operator[]", "struct_angel_1_1vec4.html#acc747bb9541dccb35a7953c91aa93ef9", null ], + [ "operator*", "struct_angel_1_1vec4.html#a18b1a91dc4c502220d099d6d85e504bc", null ], + [ "operator<<", "struct_angel_1_1vec4.html#afadcf8884205c469256e4be7d96bfa12", null ], + [ "operator>>", "struct_angel_1_1vec4.html#ada396ae1c4ef513c6baf301f20f89bfa", null ], + [ "w", "struct_angel_1_1vec4.html#a27752dffc3cd1ac7aa2fc72d40a84a48", null ], + [ "x", "struct_angel_1_1vec4.html#aaf7881acf82e877f889905a1573d36ad", null ], + [ "y", "struct_angel_1_1vec4.html#a2396916bf1051ee7d6c11e6f2a539308", null ], + [ "z", "struct_angel_1_1vec4.html#ab62654db1d62f75cb4d1bec9e4543797", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/structwii_poll_data-members.html b/Doxygen/Docs/html/structwii_poll_data-members.html new file mode 100644 index 00000000..b470f1f4 --- /dev/null +++ b/Doxygen/Docs/html/structwii_poll_data-members.html @@ -0,0 +1,127 @@ + + + + + +HyperGrafx: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
wiiPollData Member List
+
+
+ +

This is the complete list of members for wiiPollData, including all inherited members.

+ + + + + +
bb_magnitudes (defined in wiiPollData)wiiPollData
Reset_Camera (defined in wiiPollData)wiiPollData
wr_rates (defined in wiiPollData)wiiPollData
wr_thetas (defined in wiiPollData)wiiPollData
+
+ + + + diff --git a/Doxygen/Docs/html/structwii_poll_data.html b/Doxygen/Docs/html/structwii_poll_data.html new file mode 100644 index 00000000..e5a0c390 --- /dev/null +++ b/Doxygen/Docs/html/structwii_poll_data.html @@ -0,0 +1,142 @@ + + + + + +HyperGrafx: wiiPollData Struct Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
wiiPollData Struct Reference
+
+
+ + + + + + +

+Public Attributes

+Angel::vec3 bb_magnitudes
+Angel::vec3 wr_thetas
+Angel::vec3 wr_rates
+bool Reset_Camera
+

Detailed Description

+
+

Definition at line 7 of file WiiUtil.h.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/Doxygen/Docs/html/structwii_poll_data.js b/Doxygen/Docs/html/structwii_poll_data.js new file mode 100644 index 00000000..213446e6 --- /dev/null +++ b/Doxygen/Docs/html/structwii_poll_data.js @@ -0,0 +1,7 @@ +var structwii_poll_data = +[ + [ "bb_magnitudes", "structwii_poll_data.html#ad2a9be1946c67bd0da3de42dee26926a", null ], + [ "Reset_Camera", "structwii_poll_data.html#af06c440335fec68bfa22d3601e050d2e", null ], + [ "wr_rates", "structwii_poll_data.html#a794e2a15344966d546c3f02f3470a3af", null ], + [ "wr_thetas", "structwii_poll_data.html#a9d7ad57a394cbae0d84285888a04c4ec", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/sync_off.png b/Doxygen/Docs/html/sync_off.png new file mode 100644 index 00000000..3b443fc6 Binary files /dev/null and b/Doxygen/Docs/html/sync_off.png differ diff --git a/Doxygen/Docs/html/sync_on.png b/Doxygen/Docs/html/sync_on.png new file mode 100644 index 00000000..e08320fb Binary files /dev/null and b/Doxygen/Docs/html/sync_on.png differ diff --git a/Doxygen/Docs/html/tab_a.png b/Doxygen/Docs/html/tab_a.png new file mode 100644 index 00000000..3b725c41 Binary files /dev/null and b/Doxygen/Docs/html/tab_a.png differ diff --git a/Doxygen/Docs/html/tab_b.png b/Doxygen/Docs/html/tab_b.png new file mode 100644 index 00000000..258c1416 Binary files /dev/null and b/Doxygen/Docs/html/tab_b.png differ diff --git a/Doxygen/Docs/html/tab_h.png b/Doxygen/Docs/html/tab_h.png new file mode 100644 index 00000000..4ca91028 Binary files /dev/null and b/Doxygen/Docs/html/tab_h.png differ diff --git a/Doxygen/Docs/html/tab_s.png b/Doxygen/Docs/html/tab_s.png new file mode 100644 index 00000000..ab478c95 Binary files /dev/null and b/Doxygen/Docs/html/tab_s.png differ diff --git a/Doxygen/Docs/html/tabs.css b/Doxygen/Docs/html/tabs.css new file mode 100644 index 00000000..9cf578f2 --- /dev/null +++ b/Doxygen/Docs/html/tabs.css @@ -0,0 +1,60 @@ +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #283A5D; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} diff --git a/Doxygen/Docs/html/terrain_8cpp.html b/Doxygen/Docs/html/terrain_8cpp.html new file mode 100644 index 00000000..61929568 --- /dev/null +++ b/Doxygen/Docs/html/terrain_8cpp.html @@ -0,0 +1,397 @@ + + + + + +HyperGrafx: terrain.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
terrain.cpp File Reference
+
+
+ +

This is a trimmed version of our Fall 2012 project. +More...

+
#include <cmath>
+#include <cstdio>
+#include <sstream>
+#include <cstdlib>
+#include <time.h>
+#include "platform.h"
+#include "globals.h"
+#include "vec.hpp"
+#include "mat.hpp"
+#include "Engine.hpp"
+#include "Camera.hpp"
+#include "Cameras.hpp"
+#include "Screen.hpp"
+#include "Object.hpp"
+#include "Timer.hpp"
+#include "Scene.hpp"
+#include "model.hpp"
+#include "InitShader.hpp"
+#include "glut_callbacks.h"
+#include "ObjLoader.hpp"
+#include "eric_rules.hpp"
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + +

+Functions

void randomize_terrain ()
 randomize_terrain is called to regenerate the terrain in this application.
void init ()
 init will initialize this particular flythrough, by creating and instantiating a shader, a camera, and a number of initial objects.
void cleanup (void)
 cleanup is a routine to call at exit time that will free up the resources the application is using.
void displayViewport (void)
 displayViewport is responsible for drawing a single viewport.
void display (void)
 display is responsible for drawing an entire screen.
void TerrainGenerationAnimation (TransCache &obj)
 TerrainGenerationAnimation is an animation callback that will: (A) If triggered, begin to shrink the object into a flat plane, (B) Order a re-generation of the terrain data (C) will grow the object back into its new, final shape.
void wiilook (Camera &WiiCamera, const Angel::vec3 &NewTheta, const Angel::vec3 &MovementRates)
 wiilook is an analog of mouselook, for wii remote controls.
+void simpleRotateY (TransCache &obj)
+void simpleRotateAnim (TransCache &obj)
+void animationTest (TransCache &obj)
+void idle (void)
+void menufunc (int value)
+int main (int argc, char **argv)
+ + + + + + +

+Variables

const char * terrainTex []
+bool switchingTerrain = false
+float heightScale = 0.0
 hackity hack hack hackey doo!
+float ticker = 0.0
+

Detailed Description

+

This is a trimmed version of our Fall 2012 project.

+
Authors
John Huston, Nicholas StPierre, Chris Compton
+
Date
2013-02-23
+

This is a tech demo for terrain generation using an udpated engine derived from Ed Angel's code from his book.

+ +

Definition in file terrain.cpp.

+

Function Documentation

+ +
+
+ + + + + + + + +
void cleanup (void )
+
+ +

cleanup is a routine to call at exit time that will free up the resources the application is using.

+

While not critical, it does aid in using debuggers to not have any memory leaks at exit time.

+
Returns
void.
+ +

Definition at line 224 of file terrain.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void display (void )
+
+ +

display is responsible for drawing an entire screen.

+
Returns
void.
+ +

Definition at line 249 of file terrain.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void displayViewport (void )
+
+ +

displayViewport is responsible for drawing a single viewport.

+
Returns
void.
+ +

Definition at line 235 of file terrain.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void init (void )
+
+ +

init will initialize this particular flythrough, by creating and instantiating a shader, a camera, and a number of initial objects.

+
Returns
void.
+ +

Definition at line 88 of file terrain.cpp.

+ +
+
+ +
+
+ + + + + + + +
void randomize_terrain ()
+
+ +

randomize_terrain is called to regenerate the terrain in this application.

+

It assumes the terrain is named "terrain" and is located as a direct child of the main scene graph.

+
Returns
void.
+ +

Definition at line 65 of file terrain.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void TerrainGenerationAnimation (TransCache & obj)
+
+ +

TerrainGenerationAnimation is an animation callback that will: (A) If triggered, begin to shrink the object into a flat plane, (B) Order a re-generation of the terrain data (C) will grow the object back into its new, final shape.

+
Parameters
+ + +
objA reference to an object's transformation state.
+
+
+
Returns
void.
+ +

Definition at line 273 of file terrain.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void wiilook (Camera & WiiCamera,
const Angel::vec3 & NewTheta,
const Angel::vec3 & MovementRates 
)
+
+ +

wiilook is an analog of mouselook, for wii remote controls.

+

It takes a reference to a Camera, and two vec3s, and uses the information to adjust the Camera's _rotation.

+
Parameters
+ + + + +
WiiCameraThe camera to adjust the _rotation of.
NewThetaThe X,Y,Z angles of the Wii Remote.
MovementRatesThe X, Y, Z angular velocities of the Wii Remote.
+
+
+
Returns
Void.
+ +

Definition at line 336 of file terrain.cpp.

+ +
+
+

Variable Documentation

+ +
+
+ + + + +
const char* terrainTex[]
+
+Initial value:
{ "../Textures/GoodTextures_0013423.jpg",
+
"../Textures/GoodTextures_0013779.jpg",
+
"../Textures/GrassGreenTexture0002.jpg",
+
"../Textures/GoodTextures_0013418.jpg",
+
"../Textures/GoodTextures_0013291.jpg"
+
}
+
+

Definition at line 51 of file terrain.cpp.

+ +
+
+
+
+ + + + diff --git a/Doxygen/Docs/html/terrain_8cpp.js b/Doxygen/Docs/html/terrain_8cpp.js new file mode 100644 index 00000000..8644b80d --- /dev/null +++ b/Doxygen/Docs/html/terrain_8cpp.js @@ -0,0 +1,20 @@ +var terrain_8cpp = +[ + [ "animationTest", "terrain_8cpp.html#ab42e9609dfaf48294321a6b821095be9", null ], + [ "cleanup", "terrain_8cpp.html#aeb94fbd457627182ceee7e505f432541", null ], + [ "display", "terrain_8cpp.html#a4ea013001a5fb47853d0fab8f8de35cd", null ], + [ "displayViewport", "terrain_8cpp.html#af3c12d5391e754508338373c5071b2ed", null ], + [ "idle", "terrain_8cpp.html#a01131b63acf241e9db91704d89ce15d2", null ], + [ "init", "terrain_8cpp.html#a02fd73d861ef2e4aabb38c0c9ff82947", null ], + [ "main", "terrain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627", null ], + [ "menufunc", "terrain_8cpp.html#af6531069cfd120c9bc890b2c187b6917", null ], + [ "randomize_terrain", "terrain_8cpp.html#a43d76d6460eea14cbfac57f649c4ccc9", null ], + [ "simpleRotateAnim", "terrain_8cpp.html#a15a9a530111780e1374765468f99b92e", null ], + [ "simpleRotateY", "terrain_8cpp.html#ac3134fe01754f597b75b29b29523cde7", null ], + [ "TerrainGenerationAnimation", "terrain_8cpp.html#a19cc2bcd83a4740c8ab847f391229f09", null ], + [ "wiilook", "terrain_8cpp.html#a3db6770b4d2fa9a7566e01c68880d49c", null ], + [ "heightScale", "terrain_8cpp.html#abf93e1e5ae2f6baff49c75741529f033", null ], + [ "switchingTerrain", "terrain_8cpp.html#af584a969caa5b22fa5a7b6a0cc1af88f", null ], + [ "terrainTex", "terrain_8cpp.html#abc581addfa7e463bdc14d275fe30f412", null ], + [ "ticker", "terrain_8cpp.html#ae1114139c8bdb00ddef13127a2fe5b8b", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/terrain_8cpp_source.html b/Doxygen/Docs/html/terrain_8cpp_source.html new file mode 100644 index 00000000..ed3d5459 --- /dev/null +++ b/Doxygen/Docs/html/terrain_8cpp_source.html @@ -0,0 +1,596 @@ + + + + + +HyperGrafx: terrain.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
terrain.cpp
+
+
+Go to the documentation of this file.
1 
+
10 // System Headers
+
11 #include <cmath>
+
12 #include <cstdio>
+
13 #include <sstream>
+
14 #include <cstdlib>
+
15 #include <time.h>
+
16 // Multi-platform support and OpenGL headers
+
17 #include "platform.h"
+
18 #include "globals.h"
+
19 // Ed Angel's Math Classes
+
20 #include "vec.hpp"
+
21 #include "mat.hpp"
+
22 // Utilities and Classes
+
23 #include "Engine.hpp"
+
24 #include "Camera.hpp"
+
25 #include "Cameras.hpp"
+
26 #include "Screen.hpp"
+
27 #include "Object.hpp"
+
28 #include "Timer.hpp"
+
29 #include "Scene.hpp"
+
30 // Utilities
+
31 #include "model.hpp"
+
32 #include "InitShader.hpp"
+
33 #include "glut_callbacks.h"
+
34 #include "ObjLoader.hpp"
+
35 #include "eric_rules.hpp"
+
36 
+
37 // Type Aliases
+
38 using Angel::vec3;
+
39 using Angel::vec4;
+
40 
+
41 // Wii Connectivity
+
42 #ifdef WII
+
43 #include <wiicpp.h> // WiiC++ API
+
44 #include "WiiUtil.h" // Wii Controller Handler Util
+
45 CWii Wii;
+
46 bool usingWii = false;
+
47 #endif
+
48 
+
49 // Textures
+
50 // Obtained from www.goodtextures.com
+
51 const char* terrainTex[] = { "../Textures/GoodTextures_0013423.jpg", // Dirt/Mud
+
52  "../Textures/GoodTextures_0013779.jpg", // Sand
+
53  "../Textures/GrassGreenTexture0002.jpg", // Grass (who'da thunk?)
+
54  "../Textures/GoodTextures_0013418.jpg", // Rock
+
55  "../Textures/GoodTextures_0013291.jpg" // Snow
+
56  };
+
57 
+ +
66 
+
67  // Final project demo used the equivalent of terrain_size = 10.
+
68  const size_t terrain_size = 8;
+
69  float H = fmod( (float) random(), 20 * terrain_size ) + 5 * terrain_size;
+
70 
+
71  srand( time( NULL ) );
+
72 
+
73  Object *Terrain = (*Engine::instance()->rootScene())["terrain"];
+
74  double magnitude = landGen( Terrain, terrain_size, H );
+
75  Terrain->buffer();
+
76  GLint handle = glGetUniformLocation( Terrain->shader(), "terrainMag" );
+
77  if ( handle != -1 ) glUniform1f( handle, magnitude );
+
78 
+
79 }
+
80 
+
88 void init() {
+
89 
+
90  Scene *theScene = Engine::instance()->rootScene();
+
91  Screen *myScreen = Engine::instance()->mainScreen();
+
92 
+
93  // Load the shaders.
+
94  GLuint gShader = Angel::InitShader( "shaders/vterrain.glsl",
+
95  "shaders/fterrain.glsl" );
+
96  // Initialize engine setting: Enable "fixed yaw"... disable free-Y _rotation.
+
97  Engine::instance()->opt( "fixed_yaw", true );
+
98 
+
99  // Give the shader handle to the Scene Graph and the Camera List.
+
100  theScene->shader( gShader );
+
101  myScreen->_camList.shader( gShader );
+
102 
+
103  // Cameras must be added after setting a shader.
+
104  myScreen->_camList.addCamera( "Camera1" );
+
105  myScreen->_camList.next();
+
106 
+
107  /*
+
108  NOTE:
+
109  ==========================
+
110  Please do not give the Terrain children.
+
111  The terrain generation animation applies directly to the terrain,
+
112  which of course propegates the animation to all child objects.
+
113 
+
114  You'll pancake any child objects.
+
115  */
+
116 
+
117  // Let's create some objects.
+
118  Object *terrain = theScene->addObject( "terrain" );
+
119  glUseProgram( gShader );// Temporary hack until I refine the texturing management subsystem.
+
120  terrain->texture( terrainTex );
+
121  terrain->drawMode( GL_TRIANGLE_STRIP );
+
122  randomize_terrain();// This call depends upon "terrain" existing within theScene.
+
123 
+
124  Object *pyramid = theScene->addObject( "pyramid" );
+
125 
+
126  /*
+
127  Object *box = theScene.addObject( "box" ) ;
+
128  loadModelFromFile( box, "../models/box-a.obj");
+
129  box->_trans._offset.SetY(100.0);
+
130  box->_trans._offset.SetX(100.0);
+
131  box->_buffer();
+
132  */
+
133 
+
134  sierpinskiPyramid( pyramid, vec4( 0, 1, 0, 1 ), vec4( -1, -0.999, 1, 1 ),
+
135  vec4( 1, -0.999, 1, 1 ), vec4( 0, -0.999, -1, 1 ), 4 );
+
136  pyramid->buffer();
+
137 
+
138  Object *cube_base = theScene->addObject( "basecube" );
+
139  colorCube( cube_base, 1.0 );
+
140  cube_base->buffer();
+
141 
+
142  Object *moon_cube = pyramid->addObject( "moon" );
+
143  colorCube( moon_cube, 0.5 );
+
144  moon_cube->buffer();
+
145 
+
146  // These models came from VALVE,
+
147  // From their game "Team Fortress 2."
+
148  // The model processing was done in Blender.
+
149  Object *heavy = theScene->addObject( "heavy" );
+
150  ObjLoader::loadModelFromFile( heavy, "../models/heavyT.obj" );
+
151  heavy->buffer();
+
152  heavy->_trans._scale.set( 0.10 );
+
153  heavy->_trans._offset.set( 0, 2, 0 );
+
154 
+
155  // Valve's TF2 Medic
+
156  Object *medic = heavy->addObject( "medic" );
+
157  ObjLoader::loadModelFromFile( medic, "../models/medicT.obj" );
+
158  medic->_trans._offset.set( 0, 20, 0 );
+
159  medic->buffer();
+
160 
+
161  // Valve's TF2 Spy
+
162  Object *spy = medic->addObject( "spy" );
+
163  ObjLoader::loadModelFromFile( spy, "../models/spyT.obj" );
+
164  spy->_trans._offset.set( 0, 20, 0 );
+
165  spy->buffer();
+
166 
+
167  Object *ball = theScene->addObject( "ball" );
+
168  sphere( ball );
+
169  ball->_trans._scale.set( 1000 );
+
170  ball->buffer();
+
171 
+
172  /*
+
173  Object *sun = theScene.addObject ("sun");
+
174  //loadModelFromFile( sun, "../models/heavyT.obj" );
+
175  sphere(sun);
+
176  sun->_trans._offset.SetX(500.0);
+
177  sun->_trans._scale.set(16.0) ;
+
178  sun->_buffer();
+
179  */
+
180 
+
181  /*
+
182  Object *actualMoon = theScene.addObject ("actualMoon");
+
183  //loadModelFromFile( actualMoon, "../models/spyT.obj" );
+
184  sphere(actualMoon);
+
185  actualMoon->_trans._offset.SetX(-500.0);
+
186  actualMoon->_trans._scale.set(12.0);
+
187  actualMoon->_buffer();
+
188  */
+
189 
+
190  // The water gets generated last -- In order for our fake transparency to work.
+
191  Object *agua = theScene->addObject( "agua" );
+
192  makeAgua( terrain, agua );
+
193  agua->buffer();
+
194  agua->drawMode( GL_TRIANGLES );
+
195 
+
196  glEnable( GL_DEPTH_TEST );
+
197  glClearColor( 0.3, 0.5, 0.9, 1.0 );
+
198 
+
199  //Attach a model to the Camera.
+
200  Object *cam = myScreen->_camList.active();
+
201  ObjLoader::loadModelFromFile( cam, "../models/rainbow_dashT.obj" );
+
202  // http://kp-shadowsquirrel.deviantart.com/
+
203  // art/Pony-Model-Download-Center-215266264
+
204  cam->buffer();
+
205  cam->drawMode( GL_TRIANGLES );
+
206  cam->_trans._scale.set( 0.05 );
+
207  cam->_trans._preRotation.rotateY( 180 );
+
208  cam->propagate();
+
209 
+
210  // Add the propagate method to the Scene Graph directly, instead of this:
+
211  // Note: Terrain doesn't/shouldn't have children ...
+
212  terrain->propagate();
+
213 
+
214 }
+
215 
+
224 void cleanup( void ) {
+
225 
+
226  //Engine::instance()->rootScene()->DestroyObject();
+
227 
+
228 }
+
229 
+
235 void displayViewport( void ) {
+
236 
+
237  // draw free-floating objects
+
238  Engine::instance()->rootScene()->draw();
+
239  // draw camera-attached objects
+
240  Engine::instance()->cams()->draw();
+
241 
+
242 }
+
243 
+
249 void display( void ) {
+
250  // Clear the screen and begin rendering.
+
251  glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
+
252 
+
253  // Tell camList to draw using our displayViewport rendering function.
+ +
255 
+
256  // Utilize multi-buffering.
+
257  glutSwapBuffers();
+
258 }
+
259 
+
260 // This global switch controls if we generate terrain or not.
+
261 bool switchingTerrain = false;
+
262 
+ +
274 
+
275  typedef enum {
+
276  SHRINKING, TRANSITIONING, GROWING, DONE
+
277  } AnimationState;
+
278  static AnimationState terrainState = DONE;
+
279  static float CurrentScale = 0.0;
+
280 
+
281  if ( switchingTerrain ) {
+
282  terrainState = SHRINKING;
+
283  switchingTerrain = false;
+
284  CurrentScale = 0.0;
+
285  }
+
286 
+
287  switch ( terrainState ) {
+
288 
+
289  case SHRINKING:
+
290  obj._scale.set( 1.0,
+
291  ((1.0 + cos( CurrentScale * DEGREES_TO_RADIANS )) / 2.0),
+
292  1.0 );
+
293 
+
294  CurrentScale += 1.0 * tick.scale();
+
295 
+
296  if ( CurrentScale >= 180.0 ) {
+
297  terrainState = TRANSITIONING;
+
298  }
+
299  break;
+
300 
+
301  case TRANSITIONING:
+
302  // Multithread this for graphics 2 project
+ +
304  terrainState = GROWING;
+
305  break;
+
306 
+
307  case GROWING:
+
308  obj._scale.set( 1.0,
+
309  ((1.0 + cos( CurrentScale * DEGREES_TO_RADIANS )) / 2.0),
+
310  1.0 );
+
311 
+
312  CurrentScale += 1.0 * tick.scale();
+
313 
+
314  if ( CurrentScale >= 360.0 ) terrainState = DONE;
+
315  break;
+
316 
+
317  case DONE:
+
318  return;
+
319 
+
320  default:
+
321  return;
+
322  }
+
323 }
+
324 
+
336 void wiilook( Camera &WiiCamera, const Angel::vec3 &NewTheta,
+
337  const Angel::vec3 &MovementRates ) {
+
338 
+
339  static Angel::vec3 OldTheta; /* Defaults to 0,0,0 */
+
340  // Rotation Order: Y-X-Z looks the best, I think.
+
341  //WiiCamera.yaw( NewTheta.y - OldTheta.y );
+
342  //WiiCamera.pitch( OldTheta.x - NewTheta.x );
+
343  //WiiCamera.roll( NewTheta.z - OldTheta.z );
+
344 
+
345  float yaw = -MovementRates.y / 20;
+
346  float pitch = -MovementRates.x / 20;
+
347  float roll = MovementRates.z / 20;
+
348 
+
349  if ( abs( yaw ) >= 0.1 )
+
350  WiiCamera.yaw( -MovementRates.y / 20,
+
351  Engine::instance()->opt( "fixed_yaw" ) );
+
352  if ( abs( pitch ) >= 0.1 ) WiiCamera.pitch( -MovementRates.x / 20 );
+
353  if ( abs( roll ) >= 0.1 ) WiiCamera.roll( MovementRates.z / 20 );
+
354 
+
355  OldTheta = NewTheta;
+
356 
+
357 }
+
358 
+
359 void simpleRotateY( TransCache &obj ) {
+
360  obj._rotation.rotateY( tick.scale() * 1.5 );
+
361 }
+
362 void simpleRotateAnim( TransCache &obj ) {
+
363  obj._rotation.rotateY( tick.scale() * 1.5 );
+
364  obj._offset.set( 1.5, 0, 0 );
+
365  obj._orbit.rotateY( tick.scale() * -1.0 );
+
366 }
+
367 
+
368 void animationTest( TransCache &obj ) {
+
369  double timeScale = tick.scale();
+
370  double theta = timeScale * 0.1;
+
371  if ( 0 ) fprintf( stderr, "Timescale: %f\n", timeScale );
+
372 
+
373  //Object increasingly grows.
+
374  /* Note that, Scaling Adjustment, unlike Rotation and Translation,
+
375  is a multiplicative adjustment, which means that
+
376  we can't just multiply by our time scaling factor,
+
377  we have to take pow( scaleFactor, timeScale ) instead.
+
378  This is, of course, incredibly inefficient. */
+
379  // obj._scale.Adjust( pow( 1.001, timeScale ) );
+
380  //Object rotates in-place.
+
381  obj._rotation.rotateX( theta );
+
382  obj._rotation.rotateY( theta );
+
383  obj._rotation.rotateZ( theta );
+
384 
+
385  obj._offset.set( 5, 0, 0 );
+
386 
+
387  //Object increasingly moves away from origin, x += 0.01
+
388  //obj._offset.delta( timeScale * 0.01, 0, 0 );
+
389 
+
390  //Object orbits about the origin
+
391  obj._orbit.rotateX( timeScale * 0.2 );
+
392  obj._orbit.rotateY( timeScale * 0.2 );
+
393  obj._orbit.rotateZ( timeScale * 0.2 );
+
394 
+
395  // Object moves its focal _orbit-point, x = 5.
+
396  //obj.displacement.set( 5, 0, 0 );
+
397 }
+
398 
+
400 float heightScale = 0.0;
+
401 float ticker = 0.0;
+
402 
+
403 void idle( void ) {
+
404 
+
405  Scene &theScene = (*Engine::instance()->rootScene());
+
406 
+
407  tick.tock();
+
408 
+
409  if ( DEBUG_MOTION )
+
410  fprintf( stderr, "Time since last idle: %lu\n", tick.delta() );
+
411 
+
412  Object &Terrain = *(theScene["terrain"]);
+
413  Object &Pyramid = *(theScene["pyramid"]);
+
414  Pyramid.animation( animationTest );
+
415  Pyramid["moon"]->animation( simpleRotateAnim );
+
416 
+
417  Object &Heavy = *(theScene["heavy"]);
+
418  Object &Medic = *(Heavy["medic"]);
+
419  Object &Spy = *(Medic["spy"]);
+
420  Heavy.animation( simpleRotateAnim );
+
421  Medic.animation( simpleRotateY );
+
422  Spy.animation( simpleRotateY );
+
423 
+
424  if ( Engine::instance()->opt( "terrain_regen" ) ) {
+
425  fprintf( stderr, "terrain_regen on, turning on switchingTerrain bool\n" );
+
426  switchingTerrain = true;
+
427  Engine::instance()->opt( "terrain_regen", false );
+
428  }
+
429 
+
430  Terrain.animation( TerrainGenerationAnimation );
+
431 
+
432 #ifdef WII
+
433  if (usingWii) {
+
434  static const unsigned NumPolls = 20;
+
435  Camera *camptr = dynamic_cast< Camera* >( myScreen._camList["AutoCamera2"] );
+
436  Angel::vec3 theta_diff;
+
437  Angel::vec3 accel_mag;
+
438 
+
439  // Take many samples for two reasons:
+
440  // (1) Without this, we can't poll often enough and Wii Input "lags".
+
441  // (2) Average/Sample to "smooth" the data.
+
442  for (size_t i = 0; i < NumPolls; ++i) {
+
443  pollWii( Wii );
+
444  if (PollResults.Reset_Camera && camptr != NULL) camptr->resetRotation();
+
445  theta_diff += PollResults.wr_thetas;
+
446  accel_mag += PollResults.bb_magnitudes;
+
447  }
+
448 
+
449  if (camptr) {
+
450  camptr->Accel( (accel_mag / NumPolls) * 2.0 );
+
451  wiilook( *camptr, theta_diff / NumPolls, PollResults.wr_rates );
+
452  }
+
453 
+
454  }
+
455 #endif
+
456 
+
457  // Move all camera(s).
+ +
459  glutPostRedisplay();
+
460 
+
461 }
+
462 
+
463 //--------------------------------------------------------------------
+
464 
+
465 void menufunc( int value ) {
+
466 
+
467  Engine *EN = Engine::instance();
+
468  Scene *theScene = EN->rootScene();
+
469 
+
470  switch ( value ) {
+
471  case 0:
+
472  landGen( (*theScene)["terrain"], 12, 40.0 );
+
473  (*theScene)["terrain"]->buffer();
+
474  break;
+
475  case 1:
+
476  EN->flip( "fixed_yaw" );
+
477  break;
+
478  }
+
479 
+
480 }
+
481 
+
482 int main( int argc, char **argv ) {
+
483 
+
484 #ifdef WII
+
485  if (!(usingWii = initWii( Wii ))) {
+
486  std::cerr << "Not using Wii controls for this runthrough.\n";
+
487  }
+
488 #endif
+
489 
+
490  // OS X suppresses events after mouse warp. This resets the suppression
+
491  // interval to 0 so that events will not be suppressed. This also found
+
492  // at http://stackoverflow.com/questions/728049/
+
493  // glutpassivemotionfunc-and-glutwarpmousepointer
+
494 #ifdef __APPLE__
+
495  CGSetLocalEventsSuppressionInterval( 0.0 );
+
496 #endif
+
497  VooDoo::InitRelativePaths(argc, argv);
+
498 
+
499  glutInit( &argc, argv );
+
500  glutInitDisplayMode( GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH );
+
501  //glutInitWindowSize( 0, 0 );
+
502  glutCreateWindow( "Terrain" );
+
503  glutFullScreen();
+
504  glutSetCursor( GLUT_CURSOR_NONE );
+
505 
+
506  GLEW_INIT();
+
507  init();
+
508 
+
509  /* Register our Callbacks */
+
510  glutDisplayFunc( display );
+
511  glutKeyboardFunc( keyboard );
+
512  glutKeyboardUpFunc( keylift );
+
513  glutSpecialFunc( keyboard_ctrl );
+
514  glutMouseFunc( mouse );
+
515  glutMotionFunc( mouseroll );
+
516  glutPassiveMotionFunc( mouselook );
+
517  glutIdleFunc( idle );
+
518  glutReshapeFunc( resizeEvent );
+
519 
+
520  if ( DEBUG ) {
+
521  fprintf( stderr, "GL_VENDOR: %s\n", glGetString( GL_VENDOR ) );
+
522  fprintf( stderr, "GL_RENDERER: %s\n", glGetString( GL_RENDERER ) );
+
523  fprintf( stderr, "GL_VERSION: %s\n", glGetString( GL_VERSION ) );
+
524  fprintf( stderr, "GL_SHADING_LANGUAGE_VERSION: %s\n",
+
525  glGetString( GL_SHADING_LANGUAGE_VERSION ) );
+
526  fprintf( stderr, "GL_EXTENSIONS: %s\n", glGetString( GL_EXTENSIONS ) );
+
527  }
+
528 
+
529  int menu = glutCreateMenu( menufunc );
+
530  glutSetMenu( menu );
+
531  glutAddMenuEntry( "Randomize Terrain", 0 );
+
532  glutAddMenuEntry( "Toggle Free Rotation", 1 );
+
533  glutAttachMenu( GLUT_RIGHT_BUTTON );
+
534 
+
535  /* PULL THE TRIGGER */
+
536  glutMainLoop();
+
537  return EXIT_SUCCESS;
+
538 
+
539 }
+
+
+ + + + diff --git a/Doxygen/Docs/html/vec_8cpp.html b/Doxygen/Docs/html/vec_8cpp.html new file mode 100644 index 00000000..22cdbccc --- /dev/null +++ b/Doxygen/Docs/html/vec_8cpp.html @@ -0,0 +1,182 @@ + + + + + +HyperGrafx: vec.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
vec.cpp File Reference
+
+
+ +

Implementation for the vec2, vec3, and vec4 classes. +More...

+
#include "vec.hpp"
+#include <cmath>
+#include "globals.h"
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+vec2 Angel::operator* (const GLfloat s, const vec2 &v)
+std::ostream & Angel::operator<< (std::ostream &os, const vec2 &v)
+std::istream & Angel::operator>> (std::istream &is, vec2 &v)
+GLfloat Angel::dot (const vec2 &u, const vec2 &v)
+GLfloat Angel::length (const vec2 &v)
+vec2 Angel::normalize (const vec2 &v)
+vec3 Angel::operator* (const GLfloat s, const vec3 &v)
+std::ostream & Angel::operator<< (std::ostream &os, const vec3 &v)
+std::istream & Angel::operator>> (std::istream &is, vec3 &v)
+GLfloat Angel::dot (const vec3 &u, const vec3 &v)
+GLfloat Angel::length (const vec3 &v)
+vec3 Angel::normalize (const vec3 &v)
+vec3 Angel::cross (const vec3 &a, const vec3 &b)
+vec4 Angel::operator* (const GLfloat s, const vec4 &v)
+std::ostream & Angel::operator<< (std::ostream &os, const vec4 &v)
+std::istream & Angel::operator>> (std::istream &is, vec4 &v)
+GLfloat Angel::dot (const vec4 &u, const vec4 &v)
+GLfloat Angel::length (const vec4 &v)
+vec4 Angel::normalize (const vec4 &v)
+vec3 Angel::cross (const vec4 &a, const vec4 &b)
+vec3 Angel::xyz (const vec4 &a)
+

Detailed Description

+

Implementation for the vec2, vec3, and vec4 classes.

+
Author
Ed Angel
+
Date
2012-12-04
+

Modified heavily from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition Addison-Wesley 2012

+ +

Definition in file vec.cpp.

+
+
+ + + + diff --git a/Doxygen/Docs/html/vec_8cpp.js b/Doxygen/Docs/html/vec_8cpp.js new file mode 100644 index 00000000..b07afd42 --- /dev/null +++ b/Doxygen/Docs/html/vec_8cpp.js @@ -0,0 +1,24 @@ +var vec_8cpp = +[ + [ "cross", "vec_8cpp.html#aec2b5d63a94177fd94dbc6394d1e766d", null ], + [ "cross", "vec_8cpp.html#a638274c2524333d10b91fd5a596e6dac", null ], + [ "dot", "vec_8cpp.html#abaaeeb1b6f0101861ee3cdabdabdff02", null ], + [ "dot", "vec_8cpp.html#ae89677cec6623b0473ffddbf86911318", null ], + [ "dot", "vec_8cpp.html#a2a121c5c46b2c1098396371c6bea23bf", null ], + [ "length", "vec_8cpp.html#a11b56d6a939f6eee6a4612f3a9b48e9e", null ], + [ "length", "vec_8cpp.html#ae4bf8671fdc5a7904ab33eeec83ff282", null ], + [ "length", "vec_8cpp.html#a19ed7706220565755a619e5c994957bb", null ], + [ "normalize", "vec_8cpp.html#aa48e50126ca87222e261bfff639a71d1", null ], + [ "normalize", "vec_8cpp.html#a9e10ec78c60b3624999ecbf164c19104", null ], + [ "normalize", "vec_8cpp.html#a9413161a503ca6816a2aa28669f938d7", null ], + [ "operator*", "vec_8cpp.html#a0806bd80ed20b66f9317ead8398e3988", null ], + [ "operator*", "vec_8cpp.html#a57270299ee4c733736fb4a15ae05fd09", null ], + [ "operator*", "vec_8cpp.html#a9402dd20e1d3a4f0880517d1aac4ef7a", null ], + [ "operator<<", "vec_8cpp.html#a20d89f3c8a2c47cb8802c7f0a287cf7f", null ], + [ "operator<<", "vec_8cpp.html#a0d63e8d66c9f7e1b034ca224437ee5c1", null ], + [ "operator<<", "vec_8cpp.html#a29cb0f905618ce5a191c8ec103c4deda", null ], + [ "operator>>", "vec_8cpp.html#a723fb3d4b2fad6e37bf95657feddc1ea", null ], + [ "operator>>", "vec_8cpp.html#a591583b8d846d4183049b216cf6ef37e", null ], + [ "operator>>", "vec_8cpp.html#a9134403ccd5cc5f8d2079bec7cda8042", null ], + [ "xyz", "vec_8cpp.html#a0f48a1dd4b8d557b2b756c4bcbce562c", null ] +]; \ No newline at end of file diff --git a/Doxygen/Docs/html/vec_8cpp_source.html b/Doxygen/Docs/html/vec_8cpp_source.html new file mode 100644 index 00000000..35f6af24 --- /dev/null +++ b/Doxygen/Docs/html/vec_8cpp_source.html @@ -0,0 +1,638 @@ + + + + + +HyperGrafx: vec.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
vec.cpp
+
+
+Go to the documentation of this file.
1 
+
15 #include "vec.hpp"
+
16 #include <cmath>
+
17 #include "globals.h"
+
18 
+
19 namespace Angel {
+
20 
+
22 //
+
23 // vec2.h - 2D vector
+
24 //
+
25 
+
26 //
+
27 // --- Constructors and Destructors ---
+
28 //
+
29 
+
30  vec2::vec2( GLfloat s ) :
+
31  x( s ), y( s ) {
+
32  }
+
33 
+
34  vec2::vec2( GLfloat x, GLfloat y ) :
+
35  x( x ), y( y ) {
+
36  }
+
37 
+
38  vec2::vec2( const vec2& v ) {
+
39  x = v.x;
+
40  y = v.y;
+
41  }
+
42 
+
43  //
+
44  // --- Indexing Operator ---
+
45  //
+
46 
+
47  GLfloat& vec2::operator []( int i ) {
+
48  return *(&x + i);
+
49  }
+
50  const GLfloat vec2::operator []( int i ) const {
+
51  return *(&x + i);
+
52  }
+
53 
+
54  //
+
55  // --- (non-modifying) Arithematic Operators ---
+
56  //
+
57 
+
58  vec2 vec2::operator -() const // unary minus operator
+
59  {
+
60  return vec2( -x, -y );
+
61  }
+
62 
+
63  vec2 vec2::operator +( const vec2& v ) const {
+
64  return vec2( x + v.x, y + v.y );
+
65  }
+
66 
+
67  vec2 vec2::operator -( const vec2& v ) const {
+
68  return vec2( x - v.x, y - v.y );
+
69  }
+
70 
+
71  vec2 vec2::operator *( const GLfloat s ) const {
+
72  return vec2( s * x, s * y );
+
73  }
+
74 
+
75  vec2 vec2::operator *( const vec2& v ) const {
+
76  return vec2( x * v.x, y * v.y );
+
77  }
+
78 
+
79  vec2 vec2::operator /( const GLfloat s ) const {
+
80 #ifdef DEBUG
+
81  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
82  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
83  << "Division by zero" << std::endl;
+
84  return vec2();
+
85  }
+
86 #endif // DEBUG
+
87  GLfloat r = GLfloat( 1.0 ) / s;
+
88  return *this * r;
+
89  }
+
90 
+
91  //
+
92  // --- (modifying) Arithematic Operators ---
+
93  //
+
94 
+
95  vec2& vec2::operator +=( const vec2& v ) {
+
96  x += v.x;
+
97  y += v.y;
+
98  return *this;
+
99  }
+
100 
+
101  vec2& vec2::operator -=( const vec2& v ) {
+
102  x -= v.x;
+
103  y -= v.y;
+
104  return *this;
+
105  }
+
106 
+
107  vec2& vec2::operator *=( const GLfloat s ) {
+
108  x *= s;
+
109  y *= s;
+
110  return *this;
+
111  }
+
112 
+
113  vec2& vec2::operator *=( const vec2& v ) {
+
114  x *= v.x;
+
115  y *= v.y;
+
116  return *this;
+
117  }
+
118 
+
119  vec2& vec2::operator /=( const GLfloat s ) {
+
120 #ifdef DEBUG
+
121  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
122  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
123  << "Division by zero" << std::endl;
+
124  }
+
125 #endif // DEBUG
+
126  GLfloat r = GLfloat( 1.0 ) / s;
+
127  *this *= r;
+
128 
+
129  return *this;
+
130  }
+
131 
+
132  vec2::operator const GLfloat*() const {
+
133  return static_cast< const GLfloat* >( &x );
+
134  }
+
135 
+
136  vec2::operator GLfloat*() {
+
137  return static_cast< GLfloat* >( &x );
+
138  }
+
139 
+
140  //
+
141  // --- Insertion and Extraction Operators ---
+
142  //
+
143 
+
144 //----------------------------------------------------------------------------
+
145 //
+
146 // Non-class vec2 Methods
+
147 //
+
148 
+
149  vec2 operator *( const GLfloat s, const vec2& v ) {
+
150  return v * s;
+
151  }
+
152 
+
153  std::ostream& operator <<( std::ostream& os, const vec2& v ) {
+
154  return os << "( " << v.x << ", " << v.y << " )";
+
155  }
+
156 
+
157  std::istream& operator >>( std::istream& is, vec2& v ) {
+
158  return is >> v.x >> v.y;
+
159  }
+
160 
+
161  GLfloat dot( const vec2& u, const vec2& v ) {
+
162  return u.x * v.x + u.y * v.y;
+
163  }
+
164 
+
165  GLfloat length( const vec2& v ) {
+
166  return std::sqrt( dot( v, v ) );
+
167  }
+
168 
+
169  vec2 normalize( const vec2& v ) {
+
170  return v / length( v );
+
171  }
+
172 
+
174 //
+
175 // vec3.h - 3D vector
+
176 //
+
178 
+
179  //
+
180  // --- Constructors and Destructors ---
+
181  //
+
182 
+
183  vec3::vec3( GLfloat s ) :
+
184  x( s ), y( s ), z( s ) {
+
185  }
+
186 
+
187  vec3::vec3( GLfloat x, GLfloat y, GLfloat z ) :
+
188  x( x ), y( y ), z( z ) {
+
189  }
+
190 
+
191  vec3::vec3( const vec3& v ) {
+
192  x = v.x;
+
193  y = v.y;
+
194  z = v.z;
+
195  }
+
196 
+
197  vec3::vec3( const vec2& v, const float f ) {
+
198  x = v.x;
+
199  y = v.y;
+
200  z = f;
+
201  }
+
202 
+
203  //
+
204  // --- Indexing Operator ---
+
205  //
+
206 
+
207  GLfloat& vec3::operator []( int i ) {
+
208  return *(&x + i);
+
209  }
+
210  const GLfloat vec3::operator []( int i ) const {
+
211  return *(&x + i);
+
212  }
+
213 
+
214  //
+
215  // --- (non-modifying) Arithematic Operators ---
+
216  //
+
217 
+
218  vec3 vec3::operator -() const // unary minus operator
+
219  {
+
220  return vec3( -x, -y, -z );
+
221  }
+
222 
+
223  vec3 vec3::operator +( const vec3& v ) const {
+
224  return vec3( x + v.x, y + v.y, z + v.z );
+
225  }
+
226 
+
227  vec3 vec3::operator -( const vec3& v ) const {
+
228  return vec3( x - v.x, y - v.y, z - v.z );
+
229  }
+
230 
+
231  vec3 vec3::operator *( const GLfloat s ) const {
+
232  return vec3( s * x, s * y, s * z );
+
233  }
+
234 
+
235  vec3 vec3::operator *( const vec3& v ) const {
+
236  return vec3( x * v.x, y * v.y, z * v.z );
+
237  }
+
238 
+
239  vec3 vec3::operator /( const GLfloat s ) const {
+
240 #ifdef DEBUG
+
241  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
242  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
243  << "Division by zero" << std::endl;
+
244  return vec3();
+
245  }
+
246 #endif // DEBUG
+
247  GLfloat r = GLfloat( 1.0 ) / s;
+
248  return *this * r;
+
249  }
+
250 
+
251  //
+
252  // --- (modifying) Arithematic Operators ---
+
253  //
+
254 
+
255  vec3& vec3::operator +=( const vec3& v ) {
+
256  x += v.x;
+
257  y += v.y;
+
258  z += v.z;
+
259  return *this;
+
260  }
+
261 
+
262  vec3& vec3::operator -=( const vec3& v ) {
+
263  x -= v.x;
+
264  y -= v.y;
+
265  z -= v.z;
+
266  return *this;
+
267  }
+
268 
+
269  vec3& vec3::operator *=( const GLfloat s ) {
+
270  x *= s;
+
271  y *= s;
+
272  z *= s;
+
273  return *this;
+
274  }
+
275 
+
276  vec3& vec3::operator *=( const vec3& v ) {
+
277  x *= v.x;
+
278  y *= v.y;
+
279  z *= v.z;
+
280  return *this;
+
281  }
+
282 
+
283  vec3& vec3::operator /=( const GLfloat s ) {
+
284 #ifdef DEBUG
+
285  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
286  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
287  << "Division by zero" << std::endl;
+
288  }
+
289 #endif // DEBUG
+
290  GLfloat r = GLfloat( 1.0 ) / s;
+
291  *this *= r;
+
292 
+
293  return *this;
+
294  }
+
295 
+
296  //
+
297  // --- Insertion and Extraction Operators ---
+
298  //
+
299 
+
300  //
+
301  // --- Conversion Operators ---
+
302  //
+
303 
+
304  vec3::operator const GLfloat*() const {
+
305  return static_cast< const GLfloat* >( &x );
+
306  }
+
307 
+
308  vec3::operator GLfloat*() {
+
309  return static_cast< GLfloat* >( &x );
+
310  }
+
311 
+
312 //----------------------------------------------------------------------------
+
313 //
+
314 // Non-class vec3 Methods
+
315 //
+
316 
+
317  vec3 operator *( const GLfloat s, const vec3& v ) {
+
318  return v * s;
+
319  }
+
320 
+
321  std::ostream& operator <<( std::ostream& os, const vec3& v ) {
+
322  return os << "( " << v.x << ", " << v.y << ", " << v.z << " )";
+
323  }
+
324 
+
325  std::istream& operator >>( std::istream& is, vec3& v ) {
+
326  return is >> v.x >> v.y >> v.z;
+
327  }
+
328 
+
329  GLfloat dot( const vec3& u, const vec3& v ) {
+
330  return u.x * v.x + u.y * v.y + u.z * v.z;
+
331  }
+
332 
+
333  GLfloat length( const vec3& v ) {
+
334  return std::sqrt( dot( v, v ) );
+
335  }
+
336 
+
337  vec3 normalize( const vec3& v ) {
+
338  return v / length( v );
+
339  }
+
340 
+
341  vec3 cross( const vec3& a, const vec3& b ) {
+
342  return vec3( a.y * b.z - a.z * b.y, a.z * b.x - a.x * b.z,
+
343  a.x * b.y - a.y * b.x );
+
344  }
+
345 
+
347 //
+
348 // vec4 - 4D vector
+
349 //
+
351 
+
352  //
+
353  // --- Constructors and Destructors ---
+
354  //
+
355 
+
356  vec4::vec4( GLfloat s ) :
+
357  x( s ), y( s ), z( s ), w( s ) {
+
358  }
+
359 
+
360  vec4::vec4( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) :
+
361  x( x ), y( y ), z( z ), w( w ) {
+
362  }
+
363 
+
364  vec4::vec4( const vec4& v ) {
+
365  x = v.x;
+
366  y = v.y;
+
367  z = v.z;
+
368  w = v.w;
+
369  }
+
370 
+
371  vec4::vec4( const vec3& v, const float w ) :
+
372  w( w ) {
+
373  x = v.x;
+
374  y = v.y;
+
375  z = v.z;
+
376  }
+
377 
+
378  vec4::vec4( const vec2& v, const float z, const float w ) :
+
379  z( z ), w( w ) {
+
380  x = v.x;
+
381  y = v.y;
+
382  }
+
383 
+
384  //
+
385  // --- Indexing Operator ---
+
386  //
+
387 
+
388  GLfloat& vec4::operator []( int i ) {
+
389  return *(&x + i);
+
390  }
+
391  const GLfloat vec4::operator []( int i ) const {
+
392  return *(&x + i);
+
393  }
+
394 
+
395  //
+
396  // --- (non-modifying) Arithematic Operators ---
+
397  //
+
398 
+
399  vec4 vec4::operator -() const // unary minus operator
+
400  {
+
401  return vec4( -x, -y, -z, -w );
+
402  }
+
403 
+
404  vec4 vec4::operator +( const vec4& v ) const {
+
405  return vec4( x + v.x, y + v.y, z + v.z, w + v.w );
+
406  }
+
407 
+
408  vec4 vec4::operator -( const vec4& v ) const {
+
409  return vec4( x - v.x, y - v.y, z - v.z, w - v.w );
+
410  }
+
411 
+
412  vec4 vec4::operator *( const GLfloat s ) const {
+
413  return vec4( s * x, s * y, s * z, s * w );
+
414  }
+
415 
+
416  vec4 vec4::operator *( const vec4& v ) const {
+
417  return vec4( x * v.x, y * v.y, z * v.z, w * v.z );
+
418  }
+
419 
+
420  vec4 vec4::operator /( const GLfloat s ) const {
+
421 #ifdef DEBUG
+
422  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
423  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
424  << "Division by zero" << std::endl;
+
425  return vec4();
+
426  }
+
427 #endif // DEBUG
+
428  GLfloat r = GLfloat( 1.0 ) / s;
+
429  return *this * r;
+
430  }
+
431 
+
432  //
+
433  // --- (modifying) Arithematic Operators ---
+
434  //
+
435 
+
436  vec4& vec4::operator +=( const vec4& v ) {
+
437  x += v.x;
+
438  y += v.y;
+
439  z += v.z;
+
440  w += v.w;
+
441  return *this;
+
442  }
+
443 
+
444  vec4& vec4::operator -=( const vec4& v ) {
+
445  x -= v.x;
+
446  y -= v.y;
+
447  z -= v.z;
+
448  w -= v.w;
+
449  return *this;
+
450  }
+
451 
+
452  vec4& vec4::operator *=( const GLfloat s ) {
+
453  x *= s;
+
454  y *= s;
+
455  z *= s;
+
456  w *= s;
+
457  return *this;
+
458  }
+
459 
+
460  vec4& vec4::operator *=( const vec4& v ) {
+
461  x *= v.x, y *= v.y, z *= v.z, w *= v.w;
+
462  return *this;
+
463  }
+
464 
+
465  vec4& vec4::operator /=( const GLfloat s ) {
+
466 #ifdef DEBUG
+
467  if ( std::fabs( s ) < DIVIDE_BY_ZERO_TOLERANCE ) {
+
468  std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] "
+
469  << "Division by zero" << std::endl;
+
470  }
+
471 #endif // DEBUG
+
472  GLfloat r = GLfloat( 1.0 ) / s;
+
473  *this *= r;
+
474 
+
475  return *this;
+
476  }
+
477 
+
478  //
+
479  // --- Insertion and Extraction Operators ---
+
480  //
+
481 
+
482  //
+
483  // --- Conversion Operators ---
+
484  //
+
485 
+
486  vec4::operator const GLfloat*() const {
+
487  return static_cast< const GLfloat* >( &x );
+
488  }
+
489 
+
490  vec4::operator GLfloat*() {
+
491  return static_cast< GLfloat* >( &x );
+
492  }
+
493 
+
494 //--------------------------------------------------------------------------
+
495 //
+
496 // Non-class vec4 Methods
+
497 //
+
498 
+
499  vec4 operator *( const GLfloat s, const vec4& v ) {
+
500  return v * s;
+
501  }
+
502 
+
503  std::ostream& operator <<( std::ostream& os, const vec4& v ) {
+
504  return os << "( " << v.x << ", " << v.y << ", " << v.z << ", " << v.w
+
505  << " )";
+
506  }
+
507 
+
508  std::istream& operator >>( std::istream& is, vec4& v ) {
+
509  return is >> v.x >> v.y >> v.z >> v.w;
+
510  }
+
511 
+
512  GLfloat dot( const vec4& u, const vec4& v ) {
+
513  return u.x * v.x + u.y * v.y + u.z * v.z + u.w + v.w;
+
514  }
+
515 
+
516  GLfloat length( const vec4& v ) {
+
517  return std::sqrt( dot( v, v ) );
+
518  }
+
519 
+
520  vec4 normalize( const vec4& v ) {
+
521  return v / length( v );
+
522  }
+
523 
+
524  vec3 cross( const vec4& a, const vec4& b ) {
+
525  return vec3( a.y * b.z - a.z * b.y, a.z * b.x - a.x * b.z,
+
526  a.x * b.y - a.y * b.x );
+
527  }
+
528 
+
529  vec3 xyz( const vec4& a ) {
+
530 
+
531  return vec3( a.x, a.y, a.z );
+
532 
+
533  }
+
534 
+
535 //----------------------------------------------------------------------------
+
536 
+
537 }// namespace Angel
+
+
+ + + + diff --git a/Doxygen/Docs/html/vec_8hpp_source.html b/Doxygen/Docs/html/vec_8hpp_source.html new file mode 100644 index 00000000..e4537cb4 --- /dev/null +++ b/Doxygen/Docs/html/vec_8hpp_source.html @@ -0,0 +1,280 @@ + + + + + +HyperGrafx: vec.hpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
vec.hpp
+
+
+Go to the documentation of this file.
1 
+
9 #ifndef __ANGEL_VEC_H__
+
10 #define __ANGEL_VEC_H__
+
11 
+
12 #include "OpenGL.h"
+
13 #include <iostream>
+
14 
+
15 namespace Angel {
+
16 
+
17  // vec2.h - 2D vector
+
18  struct vec2 {
+
19 
+
20  GLfloat x;
+
21  GLfloat y;
+
22 
+
23  // --- Constructors and Destructors ---
+
24  vec2( GLfloat s = GLfloat( 0.0 ) );
+
25  vec2( GLfloat x, GLfloat y );
+
26  vec2( const vec2& v );
+
27 
+
28  // --- Indexing Operator ---
+
29  GLfloat& operator []( int i );
+
30  const GLfloat operator []( int i ) const;
+
31 
+
32  // --- (non-modifying) Arithematic Operators ---
+
33  vec2 operator -() const; // unary minus operator
+
34  vec2 operator +( const vec2& v ) const;
+
35  vec2 operator -( const vec2& v ) const;
+
36  vec2 operator *( const GLfloat s ) const;
+
37  vec2 operator *( const vec2& v ) const;
+
38  friend vec2 operator *( const GLfloat s, const vec2& v );
+
39  vec2 operator /( const GLfloat s ) const;
+
40 
+
41  // --- (modifying) Arithematic Operators ---
+
42  vec2& operator +=( const vec2& v );
+
43  vec2& operator -=( const vec2& v );
+
44  vec2& operator *=( const GLfloat s );
+
45  vec2& operator *=( const vec2& v );
+
46  vec2& operator /=( const GLfloat s );
+
47 
+
48  // --- Insertion and Extraction Operators ---
+
49  friend std::ostream& operator <<( std::ostream& os, const vec2& v );
+
50  friend std::istream& operator >>( std::istream& is, vec2& v );
+
51 
+
52  // --- Conversion Operators ---
+
53  operator const GLfloat*() const;
+
54  operator GLfloat*();
+
55  };
+
56 
+
57  // Non-class vec2 Methods
+
58  GLfloat dot( const vec2& u, const vec2& v );
+
59  GLfloat length( const vec2& v );
+
60  vec2 normalize( const vec2& v );
+
61 
+
62  // vec3.h - 3D vector
+
63  struct vec3 {
+
64 
+
65  GLfloat x;
+
66  GLfloat y;
+
67  GLfloat z;
+
68 
+
69  // --- Constructors and Destructors ---
+
70  vec3( GLfloat s = GLfloat( 0.0 ) );
+
71  vec3( GLfloat x, GLfloat y, GLfloat z );
+
72  vec3( const vec3& v );
+
73  vec3( const vec2& v, const float f );
+
74 
+
75  // --- Indexing Operator ---
+
76  GLfloat& operator []( int i );
+
77  const GLfloat operator []( int i ) const;
+
78 
+
79  // --- (non-modifying) Arithematic Operators ---
+
80  vec3 operator -() const;
+
81  vec3 operator +( const vec3& v ) const;
+
82  vec3 operator -( const vec3& v ) const;
+
83  vec3 operator *( const GLfloat s ) const;
+
84  vec3 operator *( const vec3& v ) const;
+
85  friend vec3 operator *( const GLfloat s, const vec3& v );
+
86  vec3 operator /( const GLfloat s ) const;
+
87 
+
88  // --- (modifying) Arithematic Operators ---
+
89  vec3& operator +=( const vec3& v );
+
90  vec3& operator -=( const vec3& v );
+
91  vec3& operator *=( const GLfloat s );
+
92  vec3& operator *=( const vec3& v );
+
93  vec3& operator /=( const GLfloat s );
+
94 
+
95  // --- Insertion and Extraction Operators ---
+
96  friend std::ostream& operator <<( std::ostream& os, const vec3& v );
+
97  friend std::istream& operator >>( std::istream& is, vec3& v );
+
98 
+
99  // --- Conversion Operators ---
+
100  operator const GLfloat*() const;
+
101  operator GLfloat*();
+
102 
+
103  };
+
104 
+
105  // Non-class vec3 Methods
+
106  GLfloat dot( const vec3& u, const vec3& v );
+
107  GLfloat length( const vec3& v );
+
108  vec3 normalize( const vec3& v );
+
109  vec3 cross( const vec3& a, const vec3& b );
+
110 
+
111  // vec4 - 4D vector
+
112  struct vec4 {
+
113 
+
114  GLfloat x;
+
115  GLfloat y;
+
116  GLfloat z;
+
117  GLfloat w;
+
118 
+
119  // --- Constructors and Destructors ---
+
120  vec4( GLfloat s = GLfloat( 0.0 ) );
+
121  vec4( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
+
122  vec4( const vec4& v );
+
123  vec4( const vec3& v, const float w = 1.0 );
+
124  vec4( const vec2& v, const float z, const float w );
+
125 
+
126  // --- Indexing Operator ---
+
127  GLfloat& operator []( int i );
+
128  const GLfloat operator []( int i ) const;
+
129 
+
130  // --- (non-modifying) Arithematic Operators ---
+
131  vec4 operator -() const;
+
132  vec4 operator +( const vec4& v ) const;
+
133  vec4 operator -( const vec4& v ) const;
+
134  vec4 operator *( const GLfloat s ) const;
+
135  vec4 operator *( const vec4& v ) const;
+
136  friend vec4 operator *( const GLfloat s, const vec4& v );
+
137  vec4 operator /( const GLfloat s ) const;
+
138 
+
139  // --- (modifying) Arithematic Operators ---
+
140  vec4& operator +=( const vec4& v );
+
141  vec4& operator -=( const vec4& v );
+
142  vec4& operator *=( const GLfloat s );
+
143  vec4& operator *=( const vec4& v );
+
144  vec4& operator /=( const GLfloat s );
+
145 
+
146  // --- Insertion and Extraction Operators ---
+
147  friend std::ostream& operator <<( std::ostream& os, const vec4& v );
+
148  friend std::istream& operator >>( std::istream& is, vec4& v );
+
149 
+
150  // --- Conversion Operators ---
+
151  operator const GLfloat*() const;
+
152  operator GLfloat*();
+
153 
+
154  };
+
155 
+
156  // Non-class vec4 Methods
+
157  GLfloat dot( const vec4& u, const vec4& v );
+
158  GLfloat length( const vec4& v );
+
159  vec4 normalize( const vec4& v );
+
160  vec3 cross( const vec4& a, const vec4& b );
+
161  vec3 xyz( const vec4& a );
+
162 
+
163 } // namespace Angel
+
164 
+ + +
169 
+
170 #endif // __ANGEL_VEC_H__
+
+
+ + + + diff --git a/Doxygen/Docs/html/zach_morph_demo_8cpp_source.html b/Doxygen/Docs/html/zach_morph_demo_8cpp_source.html new file mode 100644 index 00000000..70b1760f --- /dev/null +++ b/Doxygen/Docs/html/zach_morph_demo_8cpp_source.html @@ -0,0 +1,324 @@ + + + + + +HyperGrafx: zachMorphDemo.cpp Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
HyperGrafx +  31337 +
+
Graphics II Project
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
zachMorphDemo.cpp
+
+
+Go to the documentation of this file.
1 
+
11 #include "globals.h"
+
12 /* System Headers */
+
13 #include <cmath>
+
14 #include <cstdio>
+
15 #include <sstream>
+
16 #include <cstdlib>
+
17 #include <time.h>
+
18 /* Multi-platform support and OpenGL headers. */
+
19 #include "platform.h"
+
20 #include "Camera.hpp"
+
21 #include "Cameras.hpp"
+
22 #include "Screen.hpp"
+
23 #include "Object.hpp"
+
24 #include "Timer.hpp"
+
25 #include "Scene.hpp"
+
26 #include "Engine.hpp"
+
27 /* Utilities and Common */
+
28 #include "model.hpp"
+
29 #include "InitShader.hpp"
+
30 #include "glut_callbacks.h"
+
31 #include "ObjLoader.hpp"
+
32 #include "eric_rules.hpp"
+
33 
+
34 // Initialization: load and compile shaders, initialize camera(s), load models.
+
35 void init() {
+
36 
+
37  // Get handles to the Scene and the Screen.
+
38  Scene *rootScene = Engine::instance()->rootScene();
+
39  Screen *primScreen = Engine::instance()->mainScreen();
+
40 
+
41  // Load shaders and use the resulting shader program.
+
42  GLuint gShader = Angel::InitShader( "shaders/vmorph.glsl",
+
43  "shaders/fmorph.glsl" );
+
44 
+
45  // Let the other objects know which shader to use by default.
+
46  rootScene->shader( gShader );
+
47  primScreen->_camList.shader( gShader );
+
48 
+
49  // We start with no cameras, by default. Add one and set it "active" by using next().
+
50  primScreen->_camList.addCamera( "Camera1" );
+
51  primScreen->_camList.next();
+
52 
+
53  // Create an object and add it to the scene with the name "bottle".
+
54  Object *bottle = rootScene->addObject( "bottle" );
+
55 
+
56  // Use the object loader to actually fill out the vertices and-so-on of the bottle.
+
57  ObjLoader::loadModelFromFile( bottle, "../models/bottle-b.obj" );
+
58 
+
59  // Objects has-a pointer to an object which is their "morph target."
+
60  // they are created and buffered as follows:
+
61 
+
62  bottle->genMorphTarget( gShader );// this makes a new object and links it to the source object. it returns the addr of the new obj..
+
63  Object *bottleMorphTarget = bottle->morphTarget();// we can get the addr of the morph object like this, also.
+
64  ObjLoader::loadModelFromFile( bottleMorphTarget, "../models/bottle-a.obj" );// with this model, we can use all the preexisting Object class functionality
+
65  //loadModelFromFile( bottle->getMorphTargetPtr(), "../models/bottle-b.obj" ); // with this model, we can use all the preexisting Object class functionality
+
66 
+
67  printf( "Number Vertices: %d\n", bottle->numberOfPoints() );
+
68  printf( "Number Vertices: %d\n", bottleMorphTarget->numberOfPoints() );
+
69  printf( "Colors: %lu\n", bottle->_colors.size() );
+
70  printf( "Normals: %lu\n", bottle->_normals.size() );
+
71  printf( "Indices: %lu\n", bottle->_indices.size() );
+
72  //makeModelsSameSize(bottle, bottleMorphTarget);
+
73 
+
74  printf( "Number Vertices: %d\n", bottle->numberOfPoints() );
+
75  printf( "Number Vertices: %d\n", bottleMorphTarget->numberOfPoints() );
+
76 
+
77  bottle->_trans._scale.set( 0.01 );
+
78  bottleMorphTarget->_trans._scale.set( 0.01 );
+
79  bottle->buffer();
+
80  bottle->bufferMorphOnly();// YES THIS IS THE REAL OBJECT, NOT THE TARGET. IT SENDS THE MORPH VERTICES TO THE SHADER, NOT TO THE DRAW LIST TO BE DRAWN!
+
81 
+
82  // Generic OpenGL setup: Enable the depth _buffer and set a nice background color.
+
83  glEnable( GL_DEPTH_TEST );
+
84  glClearColor( 0.3, 0.5, 0.9, 1.0 );
+
85 
+
86 }
+
87 
+
88 void cleanup( void ) {
+
89  //Engine::instance()->rootScene()->DestroyObject();
+
90 }
+
91 
+
92 //--------------------------------------------------------------------
+
93 
+
94 // Implementation of drawing the display with regards to a single viewport.
+
95 void draw( void ) {
+
96  static Scene *theScene = Engine::instance()->rootScene();
+
97  static Cameras *camList = Engine::instance()->cams();
+
98 
+
99  theScene->draw();
+
100  camList->draw();
+
101 }
+
102 
+
103 // GLUT display callback. Effectively calls displayViewport per-each Camera.
+
104 void display( void ) {
+
105  static Cameras *camList = Engine::instance()->cams();
+
106 
+
107  // Clear the _buffer.
+
108  glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
+
109 
+
110  // Tell camList to draw using our 'draw' rendering function.
+
111  camList->view( draw );
+
112 
+
113  // Swap to the next _buffer.
+
114  glutSwapBuffers();
+
115 
+
116 }
+
117 
+
118 void simpleRotateAnim( TransCache &obj ) {
+
119 
+
120  obj._rotation.rotateY( tick.scale() * 1.5 );
+
121  obj._offset.set( 1.5, 0, 0 );
+
122  obj._orbit.rotateY( tick.scale() * -1.0 );
+
123 
+
124 }
+
125 
+
126 void idle( void ) {
+
127 
+
128  static Cameras *camList = Engine::instance()->cams();
+
129  static Scene *rootScene = Engine::instance()->rootScene();
+
130  tick.tock();
+
131 
+
132  //zach m - in order to eventually allow for user specified equations,
+
133  // we need to think of equations between 0 and 1.
+
134  // The current line "percent = timer" would be the line where
+
135  // we would handle a user specified equation in the form of
+
136  // y = x, where y is the percent and x is the timer. We may
+
137  // want to specify that the y should equal 1 when x equals 1,
+
138  // otherwise we can get a percent greater than 100.
+
139  static double timer = 0.0;
+
140  static bool trigger = false;
+
141  if ( trigger == false ) {
+
142  if ( (timer += 0.01) > 1 ) {
+
143  timer = 1.0;
+
144  trigger = true;
+
145  }
+
146  } else {
+
147  if ( (timer -= 0.01) < 0 ) {
+
148  timer = 0.0;
+
149  trigger = false;
+
150  }
+
151  }
+
152  float percent = timer;
+
153 
+
154  //if ( (timer += 0.05 ) > 360.0 ) timer = 0.0 ;
+
155  //float percent = ( sin(timer) + 1 ) / 2 ;
+
156  (*rootScene)["bottle"]->morphPercentage( percent );
+
157 
+
158  if ( DEBUG_MOTION )
+
159  fprintf( stderr, "Time since last idle: %lu\n", tick.delta() );
+
160 
+
161  // Move all cameras: Apply velocity and acceleration adjustments.
+
162  // If no cameras are currently moving, this will do nothing ;)
+
163  camList->idleMotion();
+
164 
+
165  // Inform GLUT we'd like to render a new frame.
+
166  glutPostRedisplay();
+
167 
+
168 }
+
169 
+
170 int main( int argc, char **argv ) {
+
171 
+
172  // OS X suppresses events after mouse warp. This resets the suppression
+
173  // interval to 0 so that events will not be suppressed. This also found
+
174  // at http://stackoverflow.com/questions/728049/
+
175  // glutpassivemotionfunc-and-glutwarpmousepointer
+
176 #ifdef __APPLE__
+
177  CGSetLocalEventsSuppressionInterval( 0.0 );
+
178 #endif
+
179  VooDoo::InitRelativePaths(argc, argv);
+
180 
+
181  glutInit( &argc, argv );
+
182  glutInitDisplayMode( GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH );
+
183  //glutInitWindowSize( myScreen.Width(), myScreen.Height() );
+
184  glutCreateWindow( "Zach's Morphing Demo" );
+
185  glutFullScreen();
+
186  glutSetCursor( GLUT_CURSOR_NONE );
+
187 
+
188  GLEW_INIT();
+
189  init();
+
190 
+
191  /* Register our Callbacks */
+
192  glutDisplayFunc( display );
+
193  glutKeyboardFunc( keyboard );
+
194  glutKeyboardUpFunc( keylift );
+
195  glutSpecialFunc( keyboard_ctrl );
+
196  glutMouseFunc( mouse );
+
197  glutMotionFunc( mouseroll );
+
198  glutPassiveMotionFunc( mouselook );
+
199  glutIdleFunc( idle );
+
200  glutReshapeFunc( resizeEvent );
+
201 
+
202  if ( DEBUG ) {
+
203  fprintf( stderr, "GL_VENDOR: %s\n", glGetString( GL_VENDOR ) );
+
204  fprintf( stderr, "GL_RENDERER: %s\n", glGetString( GL_RENDERER ) );
+
205  fprintf( stderr, "GL_VERSION: %s\n", glGetString( GL_VERSION ) );
+
206  fprintf( stderr, "GL_SHADING_LANGUAGE_VERSION: %s\n",
+
207  glGetString( GL_SHADING_LANGUAGE_VERSION ) );
+
208  }
+
209 
+
210  /* PULL THE TRIGGER */
+
211  glutMainLoop();
+
212  return EXIT_SUCCESS;
+
213 
+
214 }
+
+
+ + + + diff --git a/Doxygen/Docs/latex/Makefile b/Doxygen/Docs/latex/Makefile new file mode 100644 index 00000000..083d8b1d --- /dev/null +++ b/Doxygen/Docs/latex/Makefile @@ -0,0 +1,19 @@ +all: refman.pdf + +pdf: refman.pdf + +refman.pdf: clean refman.tex + pdflatex refman + makeindex refman.idx + pdflatex refman + latex_count=5 ; \ + while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ + do \ + echo "Rerunning latex...." ;\ + pdflatex refman ;\ + latex_count=`expr $$latex_count - 1` ;\ + done + + +clean: + rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf diff --git a/Doxygen/Docs/latex/_camera_8cpp.tex b/Doxygen/Docs/latex/_camera_8cpp.tex new file mode 100644 index 00000000..542b6114 --- /dev/null +++ b/Doxygen/Docs/latex/_camera_8cpp.tex @@ -0,0 +1,62 @@ +\hypertarget{_camera_8cpp}{\section{Camera.\-cpp File Reference} +\label{_camera_8cpp}\index{Camera.\-cpp@{Camera.\-cpp}} +} + + +Implementation for the \hyperlink{class_camera}{Camera} class. + + +{\ttfamily \#include $<$stdexcept$>$}\\* +{\ttfamily \#include $<$iostream$>$}\\* +{\ttfamily \#include \char`\"{}mat.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Camera.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Timer.\-hpp\char`\"{}}\\* +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\#define \hyperlink{_camera_8cpp_a00e96bcc90e768c724477dbd2a3d9291}{R\-O\-T\-A\-T\-E\-\_\-\-O\-F\-F\-S\-E\-T}(V)~(V $\ast$ \-\_\-ctm.\-\_\-orbit.\-matrix()) +\begin{DoxyCompactList}\small\item\em R\-O\-T\-A\-T\-E\-\_\-\-O\-F\-F\-S\-E\-T is a macro which is used to normalize the six camera motion directions with respect to the current camera \-\_\-rotation. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Implementation for the \hyperlink{class_camera}{Camera} class. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +John Huston, Nicholas St\-Pierre, Chris Compton +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2012-\/12-\/20 +\end{DoxyDate} + + +Definition in file \hyperlink{_camera_8cpp_source}{Camera.\-cpp}. + + + +\subsection{Macro Definition Documentation} +\hypertarget{_camera_8cpp_a00e96bcc90e768c724477dbd2a3d9291}{\index{Camera.\-cpp@{Camera.\-cpp}!R\-O\-T\-A\-T\-E\-\_\-\-O\-F\-F\-S\-E\-T@{R\-O\-T\-A\-T\-E\-\_\-\-O\-F\-F\-S\-E\-T}} +\index{R\-O\-T\-A\-T\-E\-\_\-\-O\-F\-F\-S\-E\-T@{R\-O\-T\-A\-T\-E\-\_\-\-O\-F\-F\-S\-E\-T}!Camera.cpp@{Camera.\-cpp}} +\subsubsection[{R\-O\-T\-A\-T\-E\-\_\-\-O\-F\-F\-S\-E\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define R\-O\-T\-A\-T\-E\-\_\-\-O\-F\-F\-S\-E\-T( +\begin{DoxyParamCaption} +\item[{}]{V} +\end{DoxyParamCaption} +)~(V $\ast$ \-\_\-ctm.\-\_\-orbit.\-matrix())}}\label{_camera_8cpp_a00e96bcc90e768c724477dbd2a3d9291} + + +R\-O\-T\-A\-T\-E\-\_\-\-O\-F\-F\-S\-E\-T is a macro which is used to normalize the six camera motion directions with respect to the current camera \-\_\-rotation. + +It is used in heave(), sway() and surge(). +\begin{DoxyParams}{Parameters} +{\em V} & a vec4 representing the movement \-\_\-offset vector. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +A rotated vec4. +\end{DoxyReturn} + + +Definition at line 184 of file Camera.\-cpp. + diff --git a/Doxygen/Docs/latex/_camera_8hpp.tex b/Doxygen/Docs/latex/_camera_8hpp.tex new file mode 100644 index 00000000..3e6c6a26 --- /dev/null +++ b/Doxygen/Docs/latex/_camera_8hpp.tex @@ -0,0 +1,33 @@ +\hypertarget{_camera_8hpp}{\section{Camera.\-hpp File Reference} +\label{_camera_8hpp}\index{Camera.\-hpp@{Camera.\-hpp}} +} + + +Header for the \hyperlink{class_camera}{Camera} class. + + +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include \char`\"{}mat.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Object.\-hpp\char`\"{}}\\* +\subsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \hyperlink{class_camera}{Camera} +\begin{DoxyCompactList}\small\item\em The \hyperlink{class_camera}{Camera} class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Header for the \hyperlink{class_camera}{Camera} class. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +John Huston, Nicholas St\-Pierre, Chris Compton +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/13 +\end{DoxyDate} + + +Definition in file \hyperlink{_camera_8hpp_source}{Camera.\-hpp}. + diff --git a/Doxygen/Docs/latex/_cameras_8cpp.tex b/Doxygen/Docs/latex/_cameras_8cpp.tex new file mode 100644 index 00000000..d1bf2d72 --- /dev/null +++ b/Doxygen/Docs/latex/_cameras_8cpp.tex @@ -0,0 +1,30 @@ +\hypertarget{_cameras_8cpp}{\section{Cameras.\-cpp File Reference} +\label{_cameras_8cpp}\index{Cameras.\-cpp@{Cameras.\-cpp}} +} + + +Implementation for the \hyperlink{class_cameras}{Cameras} class, which is a container for \hyperlink{class_camera}{Camera} objects. + + +{\ttfamily \#include $<$cmath$>$}\\* +{\ttfamily \#include $<$vector$>$}\\* +{\ttfamily \#include $<$stdexcept$>$}\\* +{\ttfamily \#include \char`\"{}Camera.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Cameras.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\* + + +\subsection{Detailed Description} +Implementation for the \hyperlink{class_cameras}{Cameras} class, which is a container for \hyperlink{class_camera}{Camera} objects. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +John Huston, Nicholas St\-Pierre, Chris Compton +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2012-\/12-\/04 +\end{DoxyDate} + + +Definition in file \hyperlink{_cameras_8cpp_source}{Cameras.\-cpp}. + diff --git a/Doxygen/Docs/latex/_cameras_8hpp.tex b/Doxygen/Docs/latex/_cameras_8hpp.tex new file mode 100644 index 00000000..f4d246a0 --- /dev/null +++ b/Doxygen/Docs/latex/_cameras_8hpp.tex @@ -0,0 +1,32 @@ +\hypertarget{_cameras_8hpp}{\section{Cameras.\-hpp File Reference} +\label{_cameras_8hpp}\index{Cameras.\-hpp@{Cameras.\-hpp}} +} + + +Header for the '\hyperlink{class_cameras}{Cameras}' class, a collection of \hyperlink{class_camera}{Camera} objects. + + +{\ttfamily \#include $<$vector$>$}\\* +{\ttfamily \#include \char`\"{}Camera.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Scene.\-hpp\char`\"{}}\\* +\subsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \hyperlink{class_cameras}{Cameras} +\begin{DoxyCompactList}\small\item\em The \hyperlink{class_cameras}{Cameras} class represents a group of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Header for the '\hyperlink{class_cameras}{Cameras}' class, a collection of \hyperlink{class_camera}{Camera} objects. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +John Huston, Nicholas St\-Pierre, Chris Compton +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2012-\/12-\/04 +\end{DoxyDate} + + +Definition in file \hyperlink{_cameras_8hpp_source}{Cameras.\-hpp}. + diff --git a/Doxygen/Docs/latex/_engine_8cpp.tex b/Doxygen/Docs/latex/_engine_8cpp.tex new file mode 100644 index 00000000..cee11e30 --- /dev/null +++ b/Doxygen/Docs/latex/_engine_8cpp.tex @@ -0,0 +1,31 @@ +\hypertarget{_engine_8cpp}{\section{Engine.\-cpp File Reference} +\label{_engine_8cpp}\index{Engine.\-cpp@{Engine.\-cpp}} +} + + +Implementation for the \hyperlink{class_engine}{Engine} class. + + +{\ttfamily \#include $<$stdexcept$>$}\\* +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include $<$map$>$}\\* +{\ttfamily \#include \char`\"{}Engine.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Cameras.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Scene.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Screen.\-hpp\char`\"{}}\\* + + +\subsection{Detailed Description} +Implementation for the \hyperlink{class_engine}{Engine} class. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +\href{https://github.com/UMLComputerGraphics}{\tt https\-://github.\-com/\-U\-M\-L\-Computer\-Graphics} +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/13 +\end{DoxyDate} + + +Definition in file \hyperlink{_engine_8cpp_source}{Engine.\-cpp}. + diff --git a/Doxygen/Docs/latex/_engine_8hpp.tex b/Doxygen/Docs/latex/_engine_8hpp.tex new file mode 100644 index 00000000..8a22a58c --- /dev/null +++ b/Doxygen/Docs/latex/_engine_8hpp.tex @@ -0,0 +1,41 @@ +\hypertarget{_engine_8hpp}{\section{Engine.\-hpp File Reference} +\label{_engine_8hpp}\index{Engine.\-hpp@{Engine.\-hpp}} +} + + +Header for the \hyperlink{class_engine}{Engine} class. + + +{\ttfamily \#include \char`\"{}Cameras.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Scene.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Screen.\-hpp\char`\"{}}\\* +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include $<$map$>$}\\* +\subsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \hyperlink{class_engine}{Engine} +\begin{DoxyCompactList}\small\item\em The \hyperlink{class_engine}{Engine} class is a singleton-\/style class which helps keep track of instances of important objects (for \hyperlink{class_cameras}{Cameras}, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Typedefs} +\begin{DoxyCompactItemize} +\item +\hypertarget{_engine_8hpp_a35f3ec1606bb0642e48d2e62fea0d6a6}{typedef std\-::map$<$ std\-::string, \\* +bool $>$ \hyperlink{_engine_8hpp_a35f3ec1606bb0642e48d2e62fea0d6a6}{Settings\-Map}}\label{_engine_8hpp_a35f3ec1606bb0642e48d2e62fea0d6a6} + +\begin{DoxyCompactList}\small\item\em An alias for the type used by the Settings Map. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Header for the \hyperlink{class_engine}{Engine} class. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +\href{https://github.com/UMLComputerGraphics}{\tt https\-://github.\-com/\-U\-M\-L\-Computer\-Graphics} +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/13 +\end{DoxyDate} + + +Definition in file \hyperlink{_engine_8hpp_source}{Engine.\-hpp}. + diff --git a/Doxygen/Docs/latex/_init_shader_8cpp.tex b/Doxygen/Docs/latex/_init_shader_8cpp.tex new file mode 100644 index 00000000..22e58a41 --- /dev/null +++ b/Doxygen/Docs/latex/_init_shader_8cpp.tex @@ -0,0 +1,69 @@ +\hypertarget{_init_shader_8cpp}{\section{Init\-Shader.\-cpp File Reference} +\label{_init_shader_8cpp}\index{Init\-Shader.\-cpp@{Init\-Shader.\-cpp}} +} + + +Provides a wrapper utility for quickly linking against glsl programs. + + +{\ttfamily \#include $<$cstdio$>$}\\* +{\ttfamily \#include $<$string.\-h$>$}\\* +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include $<$sstream$>$}\\* +{\ttfamily \#include $<$iostream$>$}\\* +{\ttfamily \#include $<$vector$>$}\\* +{\ttfamily \#include \char`\"{}platform.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Init\-Shader.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}eric\-\_\-rules.\-hpp\char`\"{}}\\* +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\#define \hyperlink{_init_shader_8cpp_aa848a95e858e08d3718ccb1ecce0a05a}{G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T}~0x8\-D\-D\-A +\begin{DoxyCompactList}\small\item\em G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T is a Magic Open\-G\-L constant. \end{DoxyCompactList}\item +\#define \hyperlink{_init_shader_8cpp_a1e0c2d7120ea4f2e30000d134a9dc335}{G\-L\-\_\-\-G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-S\-H\-A\-D\-E\-R}~0x8\-D\-D9 +\begin{DoxyCompactList}\small\item\em G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T is a Magic Open\-G\-L constant. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +static char $\ast$ {\bfseries Angel\-::read\-Shader\-Source} (const char $\ast$shader\-File) +\begin{DoxyCompactList}\small\item\em Read in a shader file into a N\-U\-L\-L-\/terminated string. \end{DoxyCompactList}\item +G\-Luint {\bfseries Angel\-::\-Init\-Shader} (const char $\ast$v\-Shader\-File, const char $\ast$f\-Shader\-File, const char $\ast$g\-Shader\-File) +\begin{DoxyCompactList}\small\item\em Init\-Shader takes two shader sourcefiles and compiles them into a shader program. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Provides a wrapper utility for quickly linking against glsl programs. \begin{DoxyAuthor}{Authors} +Ed Angel, Nick St.\-Pierre +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/13 +\end{DoxyDate} + + +Definition in file \hyperlink{_init_shader_8cpp_source}{Init\-Shader.\-cpp}. + + + +\subsection{Macro Definition Documentation} +\hypertarget{_init_shader_8cpp_aa848a95e858e08d3718ccb1ecce0a05a}{\index{Init\-Shader.\-cpp@{Init\-Shader.\-cpp}!G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T@{G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T}} +\index{G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T@{G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T}!InitShader.cpp@{Init\-Shader.\-cpp}} +\subsubsection[{G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T~0x8\-D\-D\-A}}\label{_init_shader_8cpp_aa848a95e858e08d3718ccb1ecce0a05a} + + +G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T is a Magic Open\-G\-L constant. + +On some systems, we might need to define this manually. It is normally provided by Open\-G\-L directly. F\-I\-X\-M\-E\-: This seems hacky! + +Definition at line 27 of file Init\-Shader.\-cpp. + +\hypertarget{_init_shader_8cpp_a1e0c2d7120ea4f2e30000d134a9dc335}{\index{Init\-Shader.\-cpp@{Init\-Shader.\-cpp}!G\-L\-\_\-\-G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-S\-H\-A\-D\-E\-R@{G\-L\-\_\-\-G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-S\-H\-A\-D\-E\-R}} +\index{G\-L\-\_\-\-G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-S\-H\-A\-D\-E\-R@{G\-L\-\_\-\-G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-S\-H\-A\-D\-E\-R}!InitShader.cpp@{Init\-Shader.\-cpp}} +\subsubsection[{G\-L\-\_\-\-G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-S\-H\-A\-D\-E\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define G\-L\-\_\-\-G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-S\-H\-A\-D\-E\-R~0x8\-D\-D9}}\label{_init_shader_8cpp_a1e0c2d7120ea4f2e30000d134a9dc335} + + +G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T is a Magic Open\-G\-L constant. + +On some systems, we might need to define this manually. It is normally provided by Open\-G\-L directly. F\-I\-X\-M\-E\-: This seems hacky! + +Definition at line 38 of file Init\-Shader.\-cpp. + diff --git a/Doxygen/Docs/latex/_init_shader_8hpp.tex b/Doxygen/Docs/latex/_init_shader_8hpp.tex new file mode 100644 index 00000000..930089f3 --- /dev/null +++ b/Doxygen/Docs/latex/_init_shader_8hpp.tex @@ -0,0 +1,34 @@ +\hypertarget{_init_shader_8hpp}{\section{Init\-Shader.\-hpp File Reference} +\label{_init_shader_8hpp}\index{Init\-Shader.\-hpp@{Init\-Shader.\-hpp}} +} + + +Provides a wrapper utility for quickly linking against glsl programs. + + +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\hypertarget{_init_shader_8hpp_abb13017b9a808564eee922ad64d2fb64}{\#define {\bfseries G\-L\-\_\-\-I\-N\-V\-A\-L\-I\-D\-\_\-\-S\-H\-A\-D\-E\-R}~-\/1}\label{_init_shader_8hpp_abb13017b9a808564eee922ad64d2fb64} + +\end{DoxyCompactItemize} +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +const char $\ast$ {\bfseries Angel\-::\-Init\-Init\-Shader} (const char $\ast$binloc) +\begin{DoxyCompactList}\small\item\em Init\-Init\-Shader is a preparation step allowing executables to be invoked from working directories O\-T\-H\-E\-R than the one containing the shaders directory. \end{DoxyCompactList}\item +G\-Luint {\bfseries Angel\-::\-Init\-Shader} (const char $\ast$v\-Shader\-File, const char $\ast$f\-Shader\-File, const char $\ast$g\-Shader\-File) +\begin{DoxyCompactList}\small\item\em Init\-Shader takes two shader sourcefiles and compiles them into a shader program. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Provides a wrapper utility for quickly linking against glsl programs. \begin{DoxyAuthor}{Authors} +Ed Angel, Nick St.\-Pierre +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/13 +\end{DoxyDate} + + +Definition in file \hyperlink{_init_shader_8hpp_source}{Init\-Shader.\-hpp}. + diff --git a/Doxygen/Docs/latex/_kinect_inator_8cpp.tex b/Doxygen/Docs/latex/_kinect_inator_8cpp.tex new file mode 100644 index 00000000..ab8f72f5 --- /dev/null +++ b/Doxygen/Docs/latex/_kinect_inator_8cpp.tex @@ -0,0 +1,92 @@ +\hypertarget{_kinect_inator_8cpp}{\section{Kinect\-Inator.\-cpp File Reference} +\label{_kinect_inator_8cpp}\index{Kinect\-Inator.\-cpp@{Kinect\-Inator.\-cpp}} +} + + +F\-I\-X\-M\-E\-: Documentation needed from Eric. + + +{\ttfamily \#include \char`\"{}Kinect\-Inator.\-hpp\char`\"{}}\\* +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\#define {\bfseries C\-H\-E\-C\-K\-\_\-\-R\-C}(n\-Ret\-Val, what) +\end{DoxyCompactItemize} +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{_kinect_inator_8cpp_ad04f37063176106882768375bd165688}{Xn\-Bool {\bfseries file\-Exists} (const char $\ast$fn)}\label{_kinect_inator_8cpp_ad04f37063176106882768375bd165688} + +\item +\hypertarget{_kinect_inator_8cpp_a8ba5423b62998cceb82796c41cd0fa5f}{void {\bfseries printhead} (int user, double x, double y, double z)}\label{_kinect_inator_8cpp_a8ba5423b62998cceb82796c41cd0fa5f} + +\item +\hypertarget{_kinect_inator_8cpp_a82a48d671384d81ae21db20a59e1bd77}{void {\bfseries noop} (int user, double x, double y, double z)}\label{_kinect_inator_8cpp_a82a48d671384d81ae21db20a59e1bd77} + +\end{DoxyCompactItemize} +\subsection*{Variables} +\begin{DoxyCompactItemize} +\item +\hypertarget{namespace_tiem_spelchk_a7c2fa90a51789e3f8c1ed931cd92b176}{boost\-::function$<$ void \\* +X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E(xn\-::\-User\-Generator \\* +\&, Xn\-User\-I\-D, void $\ast$)$>$ {\bfseries Tiem\-Spelchk\-::\-\_\-new\-\_\-user}}\label{namespace_tiem_spelchk_a7c2fa90a51789e3f8c1ed931cd92b176} + +\item +\hypertarget{namespace_tiem_spelchk_a573ac54b7dee7b9c4b5f74bb5b624f93}{boost\-::function$<$ void \\* +X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E(xn\-::\-User\-Generator \\* +\&, Xn\-User\-I\-D, void $\ast$)$>$ {\bfseries Tiem\-Spelchk\-::\-\_\-lost\-\_\-user}}\label{namespace_tiem_spelchk_a573ac54b7dee7b9c4b5f74bb5b624f93} + +\item +\hypertarget{namespace_tiem_spelchk_ae8ca42e4f66c3bb2d063e8adf9882209}{boost\-::function$<$ void \\* +X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E(xn\-::\-Pose\-Detection\-Capability \\* +\&, const Xn\-Char $\ast$, Xn\-User\-I\-D, \\* +void $\ast$)$>$ {\bfseries Tiem\-Spelchk\-::\-\_\-pose}}\label{namespace_tiem_spelchk_ae8ca42e4f66c3bb2d063e8adf9882209} + +\item +\hypertarget{namespace_tiem_spelchk_a8aecdfd3373cb573aceb7f8bfa1b6a01}{boost\-::function$<$ void \\* +X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E(xn\-::\-Skeleton\-Capability \\* +\&, Xn\-User\-I\-D, void $\ast$)$>$ {\bfseries Tiem\-Spelchk\-::\-\_\-cal\-\_\-start}}\label{namespace_tiem_spelchk_a8aecdfd3373cb573aceb7f8bfa1b6a01} + +\item +\hypertarget{namespace_tiem_spelchk_aff60759f8c46a07b0bdf3274b6685e87}{boost\-::function$<$ void \\* +X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E(xn\-::\-Skeleton\-Capability \\* +\&, Xn\-User\-I\-D, \\* +Xn\-Calibration\-Status, void $\ast$)$>$ {\bfseries Tiem\-Spelchk\-::\-\_\-cal\-\_\-complete}}\label{namespace_tiem_spelchk_aff60759f8c46a07b0bdf3274b6685e87} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +F\-I\-X\-M\-E\-: Documentation needed from Eric. \begin{DoxyDate}{Date} +2013-\/03-\/13 +\end{DoxyDate} +\begin{DoxyAuthor}{Authors} +Prime\-Sense Ltd, Eric Mc\-Cann +\end{DoxyAuthor} + + +Definition in file \hyperlink{_kinect_inator_8cpp_source}{Kinect\-Inator.\-cpp}. + + + +\subsection{Macro Definition Documentation} +\hypertarget{_kinect_inator_8cpp_a60ac817a27259ef08534e893bbf50739}{\index{Kinect\-Inator.\-cpp@{Kinect\-Inator.\-cpp}!C\-H\-E\-C\-K\-\_\-\-R\-C@{C\-H\-E\-C\-K\-\_\-\-R\-C}} +\index{C\-H\-E\-C\-K\-\_\-\-R\-C@{C\-H\-E\-C\-K\-\_\-\-R\-C}!KinectInator.cpp@{Kinect\-Inator.\-cpp}} +\subsubsection[{C\-H\-E\-C\-K\-\_\-\-R\-C}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-H\-E\-C\-K\-\_\-\-R\-C( +\begin{DoxyParamCaption} +\item[{}]{n\-Ret\-Val, } +\item[{}]{what} +\end{DoxyParamCaption} +)}}\label{_kinect_inator_8cpp_a60ac817a27259ef08534e893bbf50739} +{\bfseries Value\-:} +\begin{DoxyCode} +\textcolor{keywordflow}{if} (nRetVal != XN\_STATUS\_OK) \(\backslash\) +\{ \(\backslash\) + printf(\textcolor{stringliteral}{"%s failed: %s\(\backslash\)n"}, what, xnGetStatusString(nRetVal)); \(\backslash\) + return nRetVal; \(\backslash\) +\} +\end{DoxyCode} + + +Definition at line 99 of file Kinect\-Inator.\-cpp. + diff --git a/Doxygen/Docs/latex/_kinect_inator_8hpp.tex b/Doxygen/Docs/latex/_kinect_inator_8hpp.tex new file mode 100644 index 00000000..86b8e6a3 --- /dev/null +++ b/Doxygen/Docs/latex/_kinect_inator_8hpp.tex @@ -0,0 +1,62 @@ +\hypertarget{_kinect_inator_8hpp}{\section{Kinect\-Inator.\-hpp File Reference} +\label{_kinect_inator_8hpp}\index{Kinect\-Inator.\-hpp@{Kinect\-Inator.\-hpp}} +} + + +F\-I\-X\-M\-E\-: Documentation needed from Eric. + + +{\ttfamily \#include $<$Xn\-Cpp\-Wrapper.\-h$>$}\\* +{\ttfamily \#include $<$boost/thread/thread.\-hpp$>$}\\* +{\ttfamily \#include $<$boost/thread/mutex.\-hpp$>$}\\* +{\ttfamily \#include $<$boost/function.\-hpp$>$}\\* +{\ttfamily \#include $<$iostream$>$}\\* +{\ttfamily \#include $<$cfloat$>$}\\* +\subsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \hyperlink{class_tiem_spelchk_1_1_lurn2_spiel_nub}{Tiem\-Spelchk\-::\-Lurn2\-Spiel\-Nub} +\end{DoxyCompactItemize} +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\hypertarget{_kinect_inator_8hpp_ad325d7e7cf672f0e4528ca4d749892fd}{\#define {\bfseries \-\_\-\-\_\-\-O\-P\-E\-N\-N\-I\-F\-T\-W}}\label{_kinect_inator_8hpp_ad325d7e7cf672f0e4528ca4d749892fd} + +\item +\hypertarget{_kinect_inator_8hpp_a34f2c6bb9f5eae3dd5a8de1117093ee9}{\#define {\bfseries S\-A\-M\-P\-L\-E\-\_\-\-X\-M\-L\-\_\-\-P\-A\-T\-H}~\char`\"{}Open\-N\-I\-Config.\-xml\char`\"{}}\label{_kinect_inator_8hpp_a34f2c6bb9f5eae3dd5a8de1117093ee9} + +\item +\hypertarget{_kinect_inator_8hpp_a5d4347bd3b04b46e63d5448a3fc5ace6}{\#define {\bfseries S\-A\-M\-P\-L\-E\-\_\-\-X\-M\-L\-\_\-\-P\-A\-T\-H\-\_\-\-L\-O\-C\-A\-L}~\char`\"{}Open\-N\-I\-Config.\-xml\char`\"{}}\label{_kinect_inator_8hpp_a5d4347bd3b04b46e63d5448a3fc5ace6} + +\item +\hypertarget{_kinect_inator_8hpp_ae9240abca632df157780cb9c6a06e452}{\#define {\bfseries M\-A\-X\-\_\-\-N\-U\-M\-\_\-\-U\-S\-E\-R\-S}~15}\label{_kinect_inator_8hpp_ae9240abca632df157780cb9c6a06e452} + +\end{DoxyCompactItemize} +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{_kinect_inator_8hpp_a1752c24f7978482426e096cf18602f2d}{void {\bfseries printhead} (int, double, double, double)}\label{_kinect_inator_8hpp_a1752c24f7978482426e096cf18602f2d} + +\item +\hypertarget{_kinect_inator_8hpp_ab39ca03856a52b67f27ad9b418b6bcc6}{void {\bfseries noop} (int, double, double, double)}\label{_kinect_inator_8hpp_ab39ca03856a52b67f27ad9b418b6bcc6} + +\item +\hypertarget{_kinect_inator_8hpp_a1a8a54afcffdea07862f5d526d2d8d5e}{void {\bfseries noopint} (int)}\label{_kinect_inator_8hpp_a1a8a54afcffdea07862f5d526d2d8d5e} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +F\-I\-X\-M\-E\-: Documentation needed from Eric. \begin{DoxyDate}{Date} +2013-\/03-\/13 +\end{DoxyDate} +\begin{DoxyAuthor}{Author} +Prime\-Sense Ltd. +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +Prime\-Sense Ltd., Eric Mc\-Cann +\end{DoxyAuthor} + + +Definition in file \hyperlink{_kinect_inator_8hpp_source}{Kinect\-Inator.\-hpp}. + diff --git a/Doxygen/Docs/latex/_obj_loader_8cpp.tex b/Doxygen/Docs/latex/_obj_loader_8cpp.tex new file mode 100644 index 00000000..1f44c913 --- /dev/null +++ b/Doxygen/Docs/latex/_obj_loader_8cpp.tex @@ -0,0 +1,68 @@ +\hypertarget{_obj_loader_8cpp}{\section{Obj\-Loader.\-cpp File Reference} +\label{_obj_loader_8cpp}\index{Obj\-Loader.\-cpp@{Obj\-Loader.\-cpp}} +} + + +Implementation for reading in geometry from .O\-B\-J files. + + +{\ttfamily \#include $<$vector$>$}\\* +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include $<$sstream$>$}\\* +{\ttfamily \#include $<$fstream$>$}\\* +{\ttfamily \#include $<$stdexcept$>$}\\* +{\ttfamily \#include $<$cstdio$>$}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Obj\-Loader.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}eric\-\_\-rules.\-hpp\char`\"{}}\\* +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\#define \hyperlink{_obj_loader_8cpp_a5fc5a76891a19debb9aa8e2557e3d26a}{R\-A\-N\-D\-\_\-\-F\-L\-O\-A\-T}~(rand() / (float) R\-A\-N\-D\-\_\-\-M\-A\-X) +\begin{DoxyCompactList}\small\item\em R\-A\-N\-D\-\_\-\-F\-L\-O\-A\-T returns a random float from (0,1). \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +const vector$<$ string $>$ {\bfseries Obj\-Loader\-::split} (const string \&str, const char delim) +\begin{DoxyCompactList}\small\item\em Split a string by an arbitrary delimiter. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries Obj\-Loader\-::parse\-Vertex} (string line) +\begin{DoxyCompactList}\small\item\em Obtain a vertex from a std\-::string line. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec2}{vec2} {\bfseries Obj\-Loader\-::parse\-Texture\-U\-V} (string line) +\begin{DoxyCompactList}\small\item\em Obtain a 2\-D Tex\-U\-V coordinate from a std\-::string line. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries Obj\-Loader\-::parse\-Normal} (string line) +\begin{DoxyCompactList}\small\item\em Obtain a 3\-D normal vector from a std\-::string line. \end{DoxyCompactList}\item +vector$<$ vector$<$ int $>$ $>$ {\bfseries Obj\-Loader\-::parse\-Face\-Elements} (string line) +\begin{DoxyCompactList}\small\item\em parses face elements into a vector of 3 vectors of 3 ints from an .obj line \end{DoxyCompactList}\item +void {\bfseries Obj\-Loader\-::parse\-Element\-Triple} (string triple, vector$<$ int $>$ \&v\-\_\-elements, vector$<$ int $>$ \&uv\-\_\-elements, vector$<$ int $>$ \&n\-\_\-elements) +\begin{DoxyCompactList}\small\item\em Helper function that splits an obj element listing (x/y/z) into their proper components (vertices, U\-Vs, \-\_\-normals.) \end{DoxyCompactList}\item +\hyperlink{class_object}{Object} $\ast$ {\bfseries Obj\-Loader\-::load\-Obj} (\hyperlink{class_scene}{Scene} \&scene, const char $\ast$filename, const char $\ast$default\-Obj\-Name) +\begin{DoxyCompactList}\small\item\em load\-Obj loads all available objects from a .obj file into the provided scene. \end{DoxyCompactList}\item +void {\bfseries Obj\-Loader\-::load\-Model\-From\-File} (\hyperlink{class_object}{Object} $\ast$object, const char $\ast$filename) +\begin{DoxyCompactList}\small\item\em Legacy function until I make everything suck less\-: Loads a single model from an O\-B\-J and stores it into a single \hyperlink{class_object}{Object} instance. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Implementation for reading in geometry from .O\-B\-J files. \begin{DoxyDate}{Date} +2013-\/03-\/14 +\end{DoxyDate} +\begin{DoxyAuthor}{Authors} +Greg Giannone, Nick Ver\-Voort, John Huston +\end{DoxyAuthor} + + +Definition in file \hyperlink{_obj_loader_8cpp_source}{Obj\-Loader.\-cpp}. + + + +\subsection{Macro Definition Documentation} +\hypertarget{_obj_loader_8cpp_a5fc5a76891a19debb9aa8e2557e3d26a}{\index{Obj\-Loader.\-cpp@{Obj\-Loader.\-cpp}!R\-A\-N\-D\-\_\-\-F\-L\-O\-A\-T@{R\-A\-N\-D\-\_\-\-F\-L\-O\-A\-T}} +\index{R\-A\-N\-D\-\_\-\-F\-L\-O\-A\-T@{R\-A\-N\-D\-\_\-\-F\-L\-O\-A\-T}!ObjLoader.cpp@{Obj\-Loader.\-cpp}} +\subsubsection[{R\-A\-N\-D\-\_\-\-F\-L\-O\-A\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define R\-A\-N\-D\-\_\-\-F\-L\-O\-A\-T~(rand() / (float) R\-A\-N\-D\-\_\-\-M\-A\-X)}}\label{_obj_loader_8cpp_a5fc5a76891a19debb9aa8e2557e3d26a} + + +R\-A\-N\-D\-\_\-\-F\-L\-O\-A\-T returns a random float from (0,1). + + + +Definition at line 288 of file Obj\-Loader.\-cpp. + diff --git a/Doxygen/Docs/latex/_obj_loader_8hpp.tex b/Doxygen/Docs/latex/_obj_loader_8hpp.tex new file mode 100644 index 00000000..31d091ce --- /dev/null +++ b/Doxygen/Docs/latex/_obj_loader_8hpp.tex @@ -0,0 +1,46 @@ +\hypertarget{_obj_loader_8hpp}{\section{Obj\-Loader.\-hpp File Reference} +\label{_obj_loader_8hpp}\index{Obj\-Loader.\-hpp@{Obj\-Loader.\-hpp}} +} + + +Headers for functions for reading in geometry from .O\-B\-J files. + + +{\ttfamily \#include $<$vector$>$}\\* +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include $<$exception$>$}\\* +{\ttfamily \#include $<$sstream$>$}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Object.\-hpp\char`\"{}}\\* +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +const vector$<$ string $>$ {\bfseries Obj\-Loader\-::split} (const string \&str, const char delim) +\begin{DoxyCompactList}\small\item\em Split a string by an arbitrary delimiter. \end{DoxyCompactList}\item +\hyperlink{class_object}{Object} $\ast$ {\bfseries Obj\-Loader\-::load\-Obj} (\hyperlink{class_scene}{Scene} \&scene, const char $\ast$filename, const char $\ast$default\-Obj\-Name) +\begin{DoxyCompactList}\small\item\em load\-Obj loads all available objects from a .obj file into the provided scene. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries Obj\-Loader\-::parse\-Vertex} (string line) +\begin{DoxyCompactList}\small\item\em Obtain a vertex from a std\-::string line. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec2}{vec2} {\bfseries Obj\-Loader\-::parse\-Texture\-U\-V} (string line) +\begin{DoxyCompactList}\small\item\em Obtain a 2\-D Tex\-U\-V coordinate from a std\-::string line. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries Obj\-Loader\-::parse\-Normal} (string line) +\begin{DoxyCompactList}\small\item\em Obtain a 3\-D normal vector from a std\-::string line. \end{DoxyCompactList}\item +vector$<$ vector$<$ int $>$ $>$ {\bfseries Obj\-Loader\-::parse\-Face\-Elements} (string line) +\begin{DoxyCompactList}\small\item\em parses face elements into a vector of 3 vectors of 3 ints from an .obj line \end{DoxyCompactList}\item +void {\bfseries Obj\-Loader\-::parse\-Element\-Triple} (string triple, vector$<$ int $>$ \&v\-\_\-elements, vector$<$ int $>$ \&uv\-\_\-elements, vector$<$ int $>$ \&n\-\_\-elements) +\begin{DoxyCompactList}\small\item\em Helper function that splits an obj element listing (x/y/z) into their proper components (vertices, U\-Vs, \-\_\-normals.) \end{DoxyCompactList}\item +void {\bfseries Obj\-Loader\-::load\-Model\-From\-File} (\hyperlink{class_object}{Object} $\ast$object, const char $\ast$filename) +\begin{DoxyCompactList}\small\item\em Legacy function until I make everything suck less\-: Loads a single model from an O\-B\-J and stores it into a single \hyperlink{class_object}{Object} instance. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Headers for functions for reading in geometry from .O\-B\-J files. \begin{DoxyDate}{Date} +2013-\/03-\/14 +\end{DoxyDate} +\begin{DoxyAuthor}{Authors} +Greg Giannone, Nick Ver\-Voort, John Huston +\end{DoxyAuthor} + + +Definition in file \hyperlink{_obj_loader_8hpp_source}{Obj\-Loader.\-hpp}. + diff --git a/Doxygen/Docs/latex/_object_8cpp.tex b/Doxygen/Docs/latex/_object_8cpp.tex new file mode 100644 index 00000000..57839030 --- /dev/null +++ b/Doxygen/Docs/latex/_object_8cpp.tex @@ -0,0 +1,35 @@ +\hypertarget{_object_8cpp}{\section{Object.\-cpp File Reference} +\label{_object_8cpp}\index{Object.\-cpp@{Object.\-cpp}} +} + + +Implementation for the \hyperlink{class_object}{Object} class. + + +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include $<$vector$>$}\\* +{\ttfamily \#include \char`\"{}Texture.\-hpp\char`\"{}}\\* +{\ttfamily \#include $<$stdexcept$>$}\\* +{\ttfamily \#include \char`\"{}platform.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Engine.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}mat.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Object.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Timer.\-hpp\char`\"{}}\\* + + +\subsection{Detailed Description} +Implementation for the \hyperlink{class_object}{Object} class. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +Nick St.\-Pierre, Nick Ver\-Voort, Chris Compton +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/15 +\end{DoxyDate} + + +Definition in file \hyperlink{_object_8cpp_source}{Object.\-cpp}. + diff --git a/Doxygen/Docs/latex/_object_8hpp.tex b/Doxygen/Docs/latex/_object_8hpp.tex new file mode 100644 index 00000000..5a67d6de --- /dev/null +++ b/Doxygen/Docs/latex/_object_8hpp.tex @@ -0,0 +1,36 @@ +\hypertarget{_object_8hpp}{\section{Object.\-hpp File Reference} +\label{_object_8hpp}\index{Object.\-hpp@{Object.\-hpp}} +} + + +Header for the \hyperlink{class_object}{Object} class. + + +{\ttfamily \#include $<$vector$>$}\\* +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include \char`\"{}platform.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}mat.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Scene.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Trans\-Cache.\-hpp\char`\"{}}\\* +\subsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \hyperlink{class_object}{Object} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_object}{Object} Class\-: Renderable \hyperlink{class_object}{Object} Implementation. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Header for the \hyperlink{class_object}{Object} class. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +Nick St.\-Pierre, Nick Ver\-Voort, Chris Compton +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/15 +\end{DoxyDate} + + +Definition in file \hyperlink{_object_8hpp_source}{Object.\-hpp}. + diff --git a/Doxygen/Docs/latex/_open_g_l_8h.tex b/Doxygen/Docs/latex/_open_g_l_8h.tex new file mode 100644 index 00000000..21aae778 --- /dev/null +++ b/Doxygen/Docs/latex/_open_g_l_8h.tex @@ -0,0 +1,24 @@ +\hypertarget{_open_g_l_8h}{\section{Open\-G\-L.\-h File Reference} +\label{_open_g_l_8h}\index{Open\-G\-L.\-h@{Open\-G\-L.\-h}} +} + + +Core Open\-G\-L includes needed for basic functionality. + + +{\ttfamily \#include $<$G\-L/glew.\-h$>$}\\* +{\ttfamily \#include $<$G\-L/freeglut.\-h$>$}\\* +{\ttfamily \#include $<$G\-L/freeglut\-\_\-ext.\-h$>$}\\* + + +\subsection{Detailed Description} +Core Open\-G\-L includes needed for basic functionality. \begin{DoxyDate}{Date} +2013-\/03-\/15 +\end{DoxyDate} +\begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +Includes platform-\/dependent macros that need to be supported by the Makefile in order to function correctly on both Linux and O\-S\-X. + +Definition in file \hyperlink{_open_g_l_8h_source}{Open\-G\-L.\-h}. + diff --git a/Doxygen/Docs/latex/_particle_8cpp.tex b/Doxygen/Docs/latex/_particle_8cpp.tex new file mode 100644 index 00000000..5751bbfb --- /dev/null +++ b/Doxygen/Docs/latex/_particle_8cpp.tex @@ -0,0 +1,35 @@ +\hypertarget{_particle_8cpp}{\section{Particle.\-cpp File Reference} +\label{_particle_8cpp}\index{Particle.\-cpp@{Particle.\-cpp}} +} + + +F\-I\-X\-M\-E\-: Needs documentation from N\-V\-V/\-C\-C. + + +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include $<$stdexcept$>$}\\* +{\ttfamily \#include $<$vector$>$}\\* +{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}mat.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}model.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Object.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Particle.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}platform.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Timer.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* + + +\subsection{Detailed Description} +F\-I\-X\-M\-E\-: Needs documentation from N\-V\-V/\-C\-C. \begin{DoxyAuthor}{Author} +F\-I\-X\-M\-E +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +F\-I\-X\-M\-E +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/15 +\end{DoxyDate} + + +Definition in file \hyperlink{_particle_8cpp_source}{Particle.\-cpp}. + diff --git a/Doxygen/Docs/latex/_particle_8hpp.tex b/Doxygen/Docs/latex/_particle_8hpp.tex new file mode 100644 index 00000000..1a0400f9 --- /dev/null +++ b/Doxygen/Docs/latex/_particle_8hpp.tex @@ -0,0 +1,33 @@ +\hypertarget{_particle_8hpp}{\section{Particle.\-hpp File Reference} +\label{_particle_8hpp}\index{Particle.\-hpp@{Particle.\-hpp}} +} + + +F\-I\-X\-M\-E\-: Needs documentation from N\-V\-V/\-C\-C. + + +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include \char`\"{}mat.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Object.\-hpp\char`\"{}}\\* +\subsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \hyperlink{class_particle}{Particle} +\begin{DoxyCompactList}\small\item\em T\-O\-D\-O\-: You know you've been bad. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +F\-I\-X\-M\-E\-: Needs documentation from N\-V\-V/\-C\-C. \begin{DoxyAuthor}{Author} +F\-I\-X\-M\-E +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +F\-I\-X\-M\-E +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/15 +\end{DoxyDate} + + +Definition in file \hyperlink{_particle_8hpp_source}{Particle.\-hpp}. + diff --git a/Doxygen/Docs/latex/annotated.tex b/Doxygen/Docs/latex/annotated.tex new file mode 100644 index 00000000..df90a605 --- /dev/null +++ b/Doxygen/Docs/latex/annotated.tex @@ -0,0 +1,27 @@ +\section{Class List} +Here are the classes, structs, unions and interfaces with brief descriptions\-:\begin{DoxyCompactList} +\item\contentsline{section}{\hyperlink{class_camera}{Camera} \\*Logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state }{\pageref{class_camera}}{} +\item\contentsline{section}{\hyperlink{class_cameras}{Cameras} \\*Group of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space }{\pageref{class_cameras}}{} +\item\contentsline{section}{\hyperlink{class_engine}{Engine} \\*Singleton-\/style class which helps keep track of instances of important objects (for \hyperlink{class_cameras}{Cameras}, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace }{\pageref{class_engine}}{} +\item\contentsline{section}{\hyperlink{class_tiem_spelchk_1_1_lurn2_spiel_nub}{Tiem\-Spelchk\-::\-Lurn2\-Spiel\-Nub} }{\pageref{class_tiem_spelchk_1_1_lurn2_spiel_nub}}{} +\item\contentsline{section}{\hyperlink{class_angel_1_1mat2}{Angel\-::mat2} \\*Mat2 -\/ 2\-D square matrix }{\pageref{class_angel_1_1mat2}}{} +\item\contentsline{section}{\hyperlink{class_angel_1_1mat3}{Angel\-::mat3} \\*Mat3 -\/ 3\-D square matrix }{\pageref{class_angel_1_1mat3}}{} +\item\contentsline{section}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \\*Mat4 -\/ 4\-D square matrix }{\pageref{class_angel_1_1mat4}}{} +\item\contentsline{section}{\hyperlink{class_object}{Object} \\*\hyperlink{class_object}{Object} Class\-: Renderable \hyperlink{class_object}{Object} Implementation }{\pageref{class_object}}{} +\item\contentsline{section}{\hyperlink{class_particle}{Particle} \\*T\-O\-D\-O\-: You know you've been bad }{\pageref{class_particle}}{} +\item\contentsline{section}{\hyperlink{class_particle_system}{Particle\-System} }{\pageref{class_particle_system}}{} +\item\contentsline{section}{\hyperlink{class_rot_mat}{Rot\-Mat} \\*Rotations }{\pageref{class_rot_mat}}{} +\item\contentsline{section}{\hyperlink{class_scale_mat}{Scale\-Mat} }{\pageref{class_scale_mat}}{} +\item\contentsline{section}{\hyperlink{class_scene}{Scene} \\*The \hyperlink{class_scene}{Scene} object keeps track of a list of objects considered to be \char`\"{}children\char`\"{} of the \hyperlink{class_scene}{Scene} }{\pageref{class_scene}}{} +\item\contentsline{section}{\hyperlink{class_screen}{Screen} }{\pageref{class_screen}}{} +\item\contentsline{section}{\hyperlink{class_spelchk_camera}{Spelchk\-Camera} }{\pageref{class_spelchk_camera}}{} +\item\contentsline{section}{\hyperlink{class_texture}{Texture} }{\pageref{class_texture}}{} +\item\contentsline{section}{\hyperlink{class_timer}{Timer} }{\pageref{class_timer}}{} +\item\contentsline{section}{\hyperlink{class_trans_cache}{Trans\-Cache} }{\pageref{class_trans_cache}}{} +\item\contentsline{section}{\hyperlink{class_transformation}{Transformation} }{\pageref{class_transformation}}{} +\item\contentsline{section}{\hyperlink{class_trans_mat}{Trans\-Mat} \\*Translations }{\pageref{class_trans_mat}}{} +\item\contentsline{section}{\hyperlink{struct_angel_1_1vec2}{Angel\-::vec2} }{\pageref{struct_angel_1_1vec2}}{} +\item\contentsline{section}{\hyperlink{struct_angel_1_1vec3}{Angel\-::vec3} }{\pageref{struct_angel_1_1vec3}}{} +\item\contentsline{section}{\hyperlink{struct_angel_1_1vec4}{Angel\-::vec4} }{\pageref{struct_angel_1_1vec4}}{} +\item\contentsline{section}{\hyperlink{struct_wii_poll_data}{Wii\-Poll\-Data} }{\pageref{struct_wii_poll_data}}{} +\end{DoxyCompactList} diff --git a/Doxygen/Docs/latex/class_angel_1_1mat2.tex b/Doxygen/Docs/latex/class_angel_1_1mat2.tex new file mode 100644 index 00000000..73f51bc0 --- /dev/null +++ b/Doxygen/Docs/latex/class_angel_1_1mat2.tex @@ -0,0 +1,138 @@ +\hypertarget{class_angel_1_1mat2}{\section{Angel\-:\-:mat2 Class Reference} +\label{class_angel_1_1mat2}\index{Angel\-::mat2@{Angel\-::mat2}} +} + + +\hyperlink{class_angel_1_1mat2}{mat2} -\/ 2\-D square matrix. + + + + +{\ttfamily \#include $<$mat.\-hpp$>$} + +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_angel_1_1mat2_ae102b820abff2323c45227b2b8bbf750}{{\bfseries mat2} (const G\-Lfloat d=G\-Lfloat(1.\-0))}\label{class_angel_1_1mat2_ae102b820abff2323c45227b2b8bbf750} + +\item +\hypertarget{class_angel_1_1mat2_a28913fa178e1d31303701bfb68a18206}{{\bfseries mat2} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&a, const \hyperlink{struct_angel_1_1vec2}{vec2} \&b)}\label{class_angel_1_1mat2_a28913fa178e1d31303701bfb68a18206} + +\item +\hypertarget{class_angel_1_1mat2_a922505784f3ff68666c32ea610d98579}{{\bfseries mat2} (G\-Lfloat m00, G\-Lfloat m10, G\-Lfloat m01, G\-Lfloat m11)}\label{class_angel_1_1mat2_a922505784f3ff68666c32ea610d98579} + +\item +\hypertarget{class_angel_1_1mat2_a4311450f6bb2b9c0413470c1877718f7}{{\bfseries mat2} (const \hyperlink{class_angel_1_1mat2}{mat2} \&m)}\label{class_angel_1_1mat2_a4311450f6bb2b9c0413470c1877718f7} + +\item +\hypertarget{class_angel_1_1mat2_a9cd43f0d8628af058eb2a8a45823558d}{\hyperlink{struct_angel_1_1vec2}{vec2} \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i)}\label{class_angel_1_1mat2_a9cd43f0d8628af058eb2a8a45823558d} + +\item +\hypertarget{class_angel_1_1mat2_ae6f4de77d3e72ce41397fd5accdbbc4e}{const \hyperlink{struct_angel_1_1vec2}{vec2} \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i) const }\label{class_angel_1_1mat2_ae6f4de77d3e72ce41397fd5accdbbc4e} + +\item +\hypertarget{class_angel_1_1mat2_a9015e221ffcb42c91a927a8a307ace8b}{\hyperlink{class_angel_1_1mat2}{mat2} {\bfseries operator+} (const \hyperlink{class_angel_1_1mat2}{mat2} \&m) const }\label{class_angel_1_1mat2_a9015e221ffcb42c91a927a8a307ace8b} + +\item +\hypertarget{class_angel_1_1mat2_a767d5c1e30cf67ddce4d5f917d337bae}{\hyperlink{class_angel_1_1mat2}{mat2} {\bfseries operator-\/} (const \hyperlink{class_angel_1_1mat2}{mat2} \&m) const }\label{class_angel_1_1mat2_a767d5c1e30cf67ddce4d5f917d337bae} + +\item +\hypertarget{class_angel_1_1mat2_a227fe98f0e64b8c849ddc45d64b31524}{\hyperlink{class_angel_1_1mat2}{mat2} {\bfseries operator$\ast$} (const G\-Lfloat s) const }\label{class_angel_1_1mat2_a227fe98f0e64b8c849ddc45d64b31524} + +\item +\hypertarget{class_angel_1_1mat2_a181da09b6d2e8e687a8a6832b453a053}{\hyperlink{class_angel_1_1mat2}{mat2} {\bfseries operator/} (const G\-Lfloat s) const }\label{class_angel_1_1mat2_a181da09b6d2e8e687a8a6832b453a053} + +\item +\hypertarget{class_angel_1_1mat2_ab07cf1133d24947e4c9c5b329bb97526}{\hyperlink{class_angel_1_1mat2}{mat2} {\bfseries operator$\ast$} (const \hyperlink{class_angel_1_1mat2}{mat2} \&m) const }\label{class_angel_1_1mat2_ab07cf1133d24947e4c9c5b329bb97526} + +\item +\hypertarget{class_angel_1_1mat2_a6ae2926130c3291c6901355c0d7ab9d0}{\hyperlink{class_angel_1_1mat2}{mat2} \& {\bfseries operator+=} (const \hyperlink{class_angel_1_1mat2}{mat2} \&m)}\label{class_angel_1_1mat2_a6ae2926130c3291c6901355c0d7ab9d0} + +\item +\hypertarget{class_angel_1_1mat2_a0b457bdc16735b356a68baaca2d2037f}{\hyperlink{class_angel_1_1mat2}{mat2} \& {\bfseries operator-\/=} (const \hyperlink{class_angel_1_1mat2}{mat2} \&m)}\label{class_angel_1_1mat2_a0b457bdc16735b356a68baaca2d2037f} + +\item +\hypertarget{class_angel_1_1mat2_a50fb8a22b3178810f74a0cca7dcb5b42}{\hyperlink{class_angel_1_1mat2}{mat2} \& {\bfseries operator$\ast$=} (const G\-Lfloat s)}\label{class_angel_1_1mat2_a50fb8a22b3178810f74a0cca7dcb5b42} + +\item +\hypertarget{class_angel_1_1mat2_ae473dedc654b83baa25a34f9d5e9061f}{\hyperlink{class_angel_1_1mat2}{mat2} \& {\bfseries operator$\ast$=} (const \hyperlink{class_angel_1_1mat2}{mat2} \&m)}\label{class_angel_1_1mat2_ae473dedc654b83baa25a34f9d5e9061f} + +\item +\hypertarget{class_angel_1_1mat2_ad72c91bf3c2d1ea79a0ee67f50b3dda6}{\hyperlink{class_angel_1_1mat2}{mat2} \& {\bfseries operator/=} (const G\-Lfloat s)}\label{class_angel_1_1mat2_ad72c91bf3c2d1ea79a0ee67f50b3dda6} + +\item +\hyperlink{struct_angel_1_1vec2}{vec2} \hyperlink{class_angel_1_1mat2_a1be53f556f8dd39cc2a95c0168319129}{operator$\ast$} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&v) const +\begin{DoxyCompactList}\small\item\em Returns the result of the operation M$\ast$v. \end{DoxyCompactList}\item +\hypertarget{class_angel_1_1mat2_a413f7a4b589ff434f6a4f3a2bf2e3238}{{\bfseries operator const G\-Lfloat $\ast$} () const }\label{class_angel_1_1mat2_a413f7a4b589ff434f6a4f3a2bf2e3238} + +\item +\hypertarget{class_angel_1_1mat2_a1964937b0ce62e819edb23c8eeee9ddc}{{\bfseries operator G\-Lfloat $\ast$} ()}\label{class_angel_1_1mat2_a1964937b0ce62e819edb23c8eeee9ddc} + +\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hyperlink{struct_angel_1_1vec2}{vec2} \hyperlink{class_angel_1_1mat2_a04ca47b08412fa9c9ed5067843df53e9}{\-\_\-m} \mbox{[}2\mbox{]} +\begin{DoxyCompactList}\small\item\em The data is stored as an array of two vectors. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Friends} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_angel_1_1mat2_a93186aa02a28897515079acad73bd0dd}{\hyperlink{class_angel_1_1mat2}{mat2} {\bfseries operator$\ast$} (const G\-Lfloat s, const \hyperlink{class_angel_1_1mat2}{mat2} \&m)}\label{class_angel_1_1mat2_a93186aa02a28897515079acad73bd0dd} + +\item +\hypertarget{class_angel_1_1mat2_a264412852cfa06a39b477d08b390d8e8}{std\-::ostream \& {\bfseries operator$<$$<$} (std\-::ostream \&os, const \hyperlink{class_angel_1_1mat2}{mat2} \&m)}\label{class_angel_1_1mat2_a264412852cfa06a39b477d08b390d8e8} + +\item +\hypertarget{class_angel_1_1mat2_a43f4ce08af11ef35f85de6c785b093a8}{std\-::istream \& {\bfseries operator$>$$>$} (std\-::istream \&is, \hyperlink{class_angel_1_1mat2}{mat2} \&m)}\label{class_angel_1_1mat2_a43f4ce08af11ef35f85de6c785b093a8} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +\hyperlink{class_angel_1_1mat2}{mat2} -\/ 2\-D square matrix. + +\begin{DoxyAuthor}{Author} +Ed Angel Class for a 2x2 matrix. Modified from code available from Ed Angel's website, \href{http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/}{\tt http\-://www.\-cs.\-unm.\-edu/$\sim$angel/\-B\-O\-O\-K/\-I\-N\-T\-E\-R\-A\-C\-T\-I\-V\-E\-\_\-\-C\-O\-M\-P\-U\-T\-E\-R\-\_\-\-G\-R\-A\-P\-H\-I\-C\-S/\-S\-I\-X\-T\-H\-\_\-\-E\-D\-I\-T\-I\-O\-N/} Published from his book, Interactive Computer Graphics A Top-\/\-Down Approach with Open\-G\-L, Sixth Edition +\end{DoxyAuthor} + + +Definition at line 36 of file mat.\-hpp. + + + +\subsection{Member Function Documentation} +\hypertarget{class_angel_1_1mat2_a1be53f556f8dd39cc2a95c0168319129}{\index{Angel\-::mat2@{Angel\-::mat2}!operator$\ast$@{operator$\ast$}} +\index{operator$\ast$@{operator$\ast$}!Angel::mat2@{Angel\-::mat2}} +\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf vec2} Angel\-::mat2\-::operator$\ast$ ( +\begin{DoxyParamCaption} +\item[{const {\bf vec2} \&}]{v} +\end{DoxyParamCaption} +) const}}\label{class_angel_1_1mat2_a1be53f556f8dd39cc2a95c0168319129} + + +Returns the result of the operation M$\ast$v. + +Assumes v is a one column, two row matrix. + +Definition at line 154 of file mat.\-cpp. + + + +\subsection{Member Data Documentation} +\hypertarget{class_angel_1_1mat2_a04ca47b08412fa9c9ed5067843df53e9}{\index{Angel\-::mat2@{Angel\-::mat2}!\-\_\-m@{\-\_\-m}} +\index{\-\_\-m@{\-\_\-m}!Angel::mat2@{Angel\-::mat2}} +\subsubsection[{\-\_\-m}]{\setlength{\rightskip}{0pt plus 5cm}{\bf vec2} Angel\-::mat2\-::\-\_\-m\mbox{[}2\mbox{]}\hspace{0.3cm}{\ttfamily [private]}}}\label{class_angel_1_1mat2_a04ca47b08412fa9c9ed5067843df53e9} + + +The data is stored as an array of two vectors. + + + +Definition at line 39 of file mat.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{mat_8hpp}{mat.\-hpp}\item +\hyperlink{mat_8cpp}{mat.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_angel_1_1mat3.tex b/Doxygen/Docs/latex/class_angel_1_1mat3.tex new file mode 100644 index 00000000..90d1feb5 --- /dev/null +++ b/Doxygen/Docs/latex/class_angel_1_1mat3.tex @@ -0,0 +1,108 @@ +\hypertarget{class_angel_1_1mat3}{\section{Angel\-:\-:mat3 Class Reference} +\label{class_angel_1_1mat3}\index{Angel\-::mat3@{Angel\-::mat3}} +} + + +\hyperlink{class_angel_1_1mat3}{mat3} -\/ 3\-D square matrix. + + + + +{\ttfamily \#include $<$mat.\-hpp$>$} + +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_angel_1_1mat3_a169ddab082b2c0da9ab028ec1a1c223c}{{\bfseries mat3} (const G\-Lfloat d=G\-Lfloat(1.\-0))}\label{class_angel_1_1mat3_a169ddab082b2c0da9ab028ec1a1c223c} + +\item +\hypertarget{class_angel_1_1mat3_a62a888ec4f7f9246960253eea5acfc89}{{\bfseries mat3} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&a, const \hyperlink{struct_angel_1_1vec3}{vec3} \&b, const \hyperlink{struct_angel_1_1vec3}{vec3} \&c)}\label{class_angel_1_1mat3_a62a888ec4f7f9246960253eea5acfc89} + +\item +\hypertarget{class_angel_1_1mat3_adac89ce7cc0b0b566f0dcd66e9746119}{{\bfseries mat3} (G\-Lfloat m00, G\-Lfloat m10, G\-Lfloat m20, G\-Lfloat m01, G\-Lfloat m11, G\-Lfloat m21, G\-Lfloat m02, G\-Lfloat m12, G\-Lfloat m22)}\label{class_angel_1_1mat3_adac89ce7cc0b0b566f0dcd66e9746119} + +\item +\hypertarget{class_angel_1_1mat3_a1315bcb40b29673956e48f7c807a8e6e}{{\bfseries mat3} (const \hyperlink{class_angel_1_1mat3}{mat3} \&m)}\label{class_angel_1_1mat3_a1315bcb40b29673956e48f7c807a8e6e} + +\item +\hypertarget{class_angel_1_1mat3_a5548a1da78e29cc9e093414e897e44b0}{\hyperlink{struct_angel_1_1vec3}{vec3} \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i)}\label{class_angel_1_1mat3_a5548a1da78e29cc9e093414e897e44b0} + +\item +\hypertarget{class_angel_1_1mat3_a9d05f262d88c02009bdcc24afb0b5f91}{const \hyperlink{struct_angel_1_1vec3}{vec3} \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i) const }\label{class_angel_1_1mat3_a9d05f262d88c02009bdcc24afb0b5f91} + +\item +\hypertarget{class_angel_1_1mat3_ab15ce66a9d7c31c47eb954c1fac269dc}{\hyperlink{class_angel_1_1mat3}{mat3} {\bfseries operator+} (const \hyperlink{class_angel_1_1mat3}{mat3} \&m) const }\label{class_angel_1_1mat3_ab15ce66a9d7c31c47eb954c1fac269dc} + +\item +\hypertarget{class_angel_1_1mat3_ad6ad753f499abf25615da51a4acd3451}{\hyperlink{class_angel_1_1mat3}{mat3} {\bfseries operator-\/} (const \hyperlink{class_angel_1_1mat3}{mat3} \&m) const }\label{class_angel_1_1mat3_ad6ad753f499abf25615da51a4acd3451} + +\item +\hypertarget{class_angel_1_1mat3_a6635568333982f7819539a273e1d5c88}{\hyperlink{class_angel_1_1mat3}{mat3} {\bfseries operator$\ast$} (const G\-Lfloat s) const }\label{class_angel_1_1mat3_a6635568333982f7819539a273e1d5c88} + +\item +\hypertarget{class_angel_1_1mat3_a74f28d013f4b222a45fd4ca339e04ed0}{\hyperlink{class_angel_1_1mat3}{mat3} {\bfseries operator/} (const G\-Lfloat s) const }\label{class_angel_1_1mat3_a74f28d013f4b222a45fd4ca339e04ed0} + +\item +\hypertarget{class_angel_1_1mat3_aec8a7afc3f8b30365d30a393048e43e6}{\hyperlink{class_angel_1_1mat3}{mat3} {\bfseries operator$\ast$} (const \hyperlink{class_angel_1_1mat3}{mat3} \&m) const }\label{class_angel_1_1mat3_aec8a7afc3f8b30365d30a393048e43e6} + +\item +\hypertarget{class_angel_1_1mat3_a7f2d2eee7fdca9f2a97bb169153a501d}{\hyperlink{class_angel_1_1mat3}{mat3} \& {\bfseries operator+=} (const \hyperlink{class_angel_1_1mat3}{mat3} \&m)}\label{class_angel_1_1mat3_a7f2d2eee7fdca9f2a97bb169153a501d} + +\item +\hypertarget{class_angel_1_1mat3_a80b42b08d55fbaee1001ee733ed16471}{\hyperlink{class_angel_1_1mat3}{mat3} \& {\bfseries operator-\/=} (const \hyperlink{class_angel_1_1mat3}{mat3} \&m)}\label{class_angel_1_1mat3_a80b42b08d55fbaee1001ee733ed16471} + +\item +\hypertarget{class_angel_1_1mat3_add5cf6842bebfce53ba2af6bdd48436f}{\hyperlink{class_angel_1_1mat3}{mat3} \& {\bfseries operator$\ast$=} (const G\-Lfloat s)}\label{class_angel_1_1mat3_add5cf6842bebfce53ba2af6bdd48436f} + +\item +\hypertarget{class_angel_1_1mat3_ace9e4a45d3dc4ad3d6d05474159e75f9}{\hyperlink{class_angel_1_1mat3}{mat3} \& {\bfseries operator$\ast$=} (const \hyperlink{class_angel_1_1mat3}{mat3} \&m)}\label{class_angel_1_1mat3_ace9e4a45d3dc4ad3d6d05474159e75f9} + +\item +\hypertarget{class_angel_1_1mat3_a72b528f838b9a7c25daeda95c2e54431}{\hyperlink{class_angel_1_1mat3}{mat3} \& {\bfseries operator/=} (const G\-Lfloat s)}\label{class_angel_1_1mat3_a72b528f838b9a7c25daeda95c2e54431} + +\item +\hypertarget{class_angel_1_1mat3_a816f9f6ba6cbebea56b0f84432643e4a}{\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries operator$\ast$} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&v) const }\label{class_angel_1_1mat3_a816f9f6ba6cbebea56b0f84432643e4a} + +\item +\hypertarget{class_angel_1_1mat3_a1d8dde0ed668c30af292f9b53253dec9}{{\bfseries operator const G\-Lfloat $\ast$} () const }\label{class_angel_1_1mat3_a1d8dde0ed668c30af292f9b53253dec9} + +\item +\hypertarget{class_angel_1_1mat3_a5b68f66855c70b79a86a3ddc65acda6f}{{\bfseries operator G\-Lfloat $\ast$} ()}\label{class_angel_1_1mat3_a5b68f66855c70b79a86a3ddc65acda6f} + +\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_angel_1_1mat3_a937bb5305c6e023812a87d0a329546b0}{\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries \-\_\-m} \mbox{[}3\mbox{]}}\label{class_angel_1_1mat3_a937bb5305c6e023812a87d0a329546b0} + +\end{DoxyCompactItemize} +\subsection*{Friends} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_angel_1_1mat3_ad9345c93609b63264fb4a4d48cef9e47}{\hyperlink{class_angel_1_1mat3}{mat3} {\bfseries operator$\ast$} (const G\-Lfloat s, const \hyperlink{class_angel_1_1mat3}{mat3} \&m)}\label{class_angel_1_1mat3_ad9345c93609b63264fb4a4d48cef9e47} + +\item +\hypertarget{class_angel_1_1mat3_a85d71885cc6797f2553701eb01c52851}{std\-::ostream \& {\bfseries operator$<$$<$} (std\-::ostream \&os, const \hyperlink{class_angel_1_1mat3}{mat3} \&m)}\label{class_angel_1_1mat3_a85d71885cc6797f2553701eb01c52851} + +\item +\hypertarget{class_angel_1_1mat3_aa6ac075e9f3776b3d6eba3e8207ab990}{std\-::istream \& {\bfseries operator$>$$>$} (std\-::istream \&is, \hyperlink{class_angel_1_1mat3}{mat3} \&m)}\label{class_angel_1_1mat3_aa6ac075e9f3776b3d6eba3e8207ab990} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +\hyperlink{class_angel_1_1mat3}{mat3} -\/ 3\-D square matrix. + +\begin{DoxyAuthor}{Author} +Ed Angel Class for a 2x2 matrix. Modified from code available from Ed Angel's website, \href{http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/}{\tt http\-://www.\-cs.\-unm.\-edu/$\sim$angel/\-B\-O\-O\-K/\-I\-N\-T\-E\-R\-A\-C\-T\-I\-V\-E\-\_\-\-C\-O\-M\-P\-U\-T\-E\-R\-\_\-\-G\-R\-A\-P\-H\-I\-C\-S/\-S\-I\-X\-T\-H\-\_\-\-E\-D\-I\-T\-I\-O\-N/} Published from his book, Interactive Computer Graphics A Top-\/\-Down Approach with Open\-G\-L, Sixth Edition +\end{DoxyAuthor} + + +Definition at line 94 of file mat.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{mat_8hpp}{mat.\-hpp}\item +\hyperlink{mat_8cpp}{mat.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_angel_1_1mat4.tex b/Doxygen/Docs/latex/class_angel_1_1mat4.tex new file mode 100644 index 00000000..48da7e44 --- /dev/null +++ b/Doxygen/Docs/latex/class_angel_1_1mat4.tex @@ -0,0 +1,111 @@ +\hypertarget{class_angel_1_1mat4}{\section{Angel\-:\-:mat4 Class Reference} +\label{class_angel_1_1mat4}\index{Angel\-::mat4@{Angel\-::mat4}} +} + + +\hyperlink{class_angel_1_1mat4}{mat4} -\/ 4\-D square matrix. + + + + +{\ttfamily \#include $<$mat.\-hpp$>$} + +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_angel_1_1mat4_ae4dcc751dab1439d187d31187527d7db}{{\bfseries mat4} (const G\-Lfloat d=G\-Lfloat(1.\-0))}\label{class_angel_1_1mat4_ae4dcc751dab1439d187d31187527d7db} + +\item +\hypertarget{class_angel_1_1mat4_a751177e4ed4083c4935c18e20d99c394}{{\bfseries mat4} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&a, const \hyperlink{struct_angel_1_1vec4}{vec4} \&b, const \hyperlink{struct_angel_1_1vec4}{vec4} \&c, const \hyperlink{struct_angel_1_1vec4}{vec4} \&d)}\label{class_angel_1_1mat4_a751177e4ed4083c4935c18e20d99c394} + +\item +\hypertarget{class_angel_1_1mat4_a4231505378561a211c9c98ef665ed2e4}{{\bfseries mat4} (G\-Lfloat m00, G\-Lfloat m01, G\-Lfloat m02, G\-Lfloat m03, G\-Lfloat m10, G\-Lfloat m11, G\-Lfloat m12, G\-Lfloat m13, G\-Lfloat m20, G\-Lfloat m21, G\-Lfloat m22, G\-Lfloat m23, G\-Lfloat m30, G\-Lfloat m31, G\-Lfloat m32, G\-Lfloat m33)}\label{class_angel_1_1mat4_a4231505378561a211c9c98ef665ed2e4} + +\item +\hypertarget{class_angel_1_1mat4_aa1d00cd134d37716c9613435b624bf7d}{{\bfseries mat4} (const \hyperlink{class_angel_1_1mat4}{mat4} \&m)}\label{class_angel_1_1mat4_aa1d00cd134d37716c9613435b624bf7d} + +\item +\hypertarget{class_angel_1_1mat4_ac78d6efb4a0d639d645acd4f00e8b3b6}{\hyperlink{struct_angel_1_1vec4}{vec4} \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i)}\label{class_angel_1_1mat4_ac78d6efb4a0d639d645acd4f00e8b3b6} + +\item +\hypertarget{class_angel_1_1mat4_a8458337af4a94968e5840e9851ecfa81}{const \hyperlink{struct_angel_1_1vec4}{vec4} \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i) const }\label{class_angel_1_1mat4_a8458337af4a94968e5840e9851ecfa81} + +\item +\hypertarget{class_angel_1_1mat4_a4d1df5516693e2a58bef2fb89e1820ad}{\hyperlink{class_angel_1_1mat4}{mat4} {\bfseries operator+} (const \hyperlink{class_angel_1_1mat4}{mat4} \&m) const }\label{class_angel_1_1mat4_a4d1df5516693e2a58bef2fb89e1820ad} + +\item +\hypertarget{class_angel_1_1mat4_abb4e232fc14fe9a7033a093613ea4b58}{\hyperlink{class_angel_1_1mat4}{mat4} {\bfseries operator-\/} (const \hyperlink{class_angel_1_1mat4}{mat4} \&m) const }\label{class_angel_1_1mat4_abb4e232fc14fe9a7033a093613ea4b58} + +\item +\hypertarget{class_angel_1_1mat4_aabe5c0344339577204843c3fcee0b456}{\hyperlink{class_angel_1_1mat4}{mat4} {\bfseries operator$\ast$} (const G\-Lfloat s) const }\label{class_angel_1_1mat4_aabe5c0344339577204843c3fcee0b456} + +\item +\hypertarget{class_angel_1_1mat4_a7d837bc6b2b7cc9e1d5b76b52d61c784}{\hyperlink{class_angel_1_1mat4}{mat4} {\bfseries operator/} (const G\-Lfloat s) const }\label{class_angel_1_1mat4_a7d837bc6b2b7cc9e1d5b76b52d61c784} + +\item +\hypertarget{class_angel_1_1mat4_a90585682655be2fb6093f8b95756b12c}{\hyperlink{class_angel_1_1mat4}{mat4} {\bfseries operator$\ast$} (const \hyperlink{class_angel_1_1mat4}{mat4} \&m) const }\label{class_angel_1_1mat4_a90585682655be2fb6093f8b95756b12c} + +\item +\hypertarget{class_angel_1_1mat4_afcec838432820dec7fa3059f5142270d}{\hyperlink{class_angel_1_1mat4}{mat4} \& {\bfseries operator+=} (const \hyperlink{class_angel_1_1mat4}{mat4} \&m)}\label{class_angel_1_1mat4_afcec838432820dec7fa3059f5142270d} + +\item +\hypertarget{class_angel_1_1mat4_af061ec3446e24ea24e7e0eb981ed4465}{\hyperlink{class_angel_1_1mat4}{mat4} \& {\bfseries operator-\/=} (const \hyperlink{class_angel_1_1mat4}{mat4} \&m)}\label{class_angel_1_1mat4_af061ec3446e24ea24e7e0eb981ed4465} + +\item +\hypertarget{class_angel_1_1mat4_a0f22db6237d4fbb916bf82be7132bd6c}{\hyperlink{class_angel_1_1mat4}{mat4} \& {\bfseries operator$\ast$=} (const G\-Lfloat s)}\label{class_angel_1_1mat4_a0f22db6237d4fbb916bf82be7132bd6c} + +\item +\hypertarget{class_angel_1_1mat4_a36a1eca30d83a2bdbd7d2ec6675ee853}{\hyperlink{class_angel_1_1mat4}{mat4} \& {\bfseries operator$\ast$=} (const \hyperlink{class_angel_1_1mat4}{mat4} \&m)}\label{class_angel_1_1mat4_a36a1eca30d83a2bdbd7d2ec6675ee853} + +\item +\hypertarget{class_angel_1_1mat4_a0f8c1b50c454341ff26f006a0ff09788}{\hyperlink{class_angel_1_1mat4}{mat4} \& {\bfseries operator/=} (const G\-Lfloat s)}\label{class_angel_1_1mat4_a0f8c1b50c454341ff26f006a0ff09788} + +\item +\hypertarget{class_angel_1_1mat4_a820e0c317d1836cd224ff75f676c6f2f}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries operator$\ast$} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&v) const }\label{class_angel_1_1mat4_a820e0c317d1836cd224ff75f676c6f2f} + +\item +\hypertarget{class_angel_1_1mat4_a93c2295529f8cde832378076837d202e}{{\bfseries operator const G\-Lfloat $\ast$} () const }\label{class_angel_1_1mat4_a93c2295529f8cde832378076837d202e} + +\item +\hypertarget{class_angel_1_1mat4_a83e8b31ac751f67e31985fc104e1a0e6}{{\bfseries operator G\-Lfloat $\ast$} ()}\label{class_angel_1_1mat4_a83e8b31ac751f67e31985fc104e1a0e6} + +\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_angel_1_1mat4_a927716d9eb0e35e6f577beca4a4fc243}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries \-\_\-m} \mbox{[}4\mbox{]}}\label{class_angel_1_1mat4_a927716d9eb0e35e6f577beca4a4fc243} + +\end{DoxyCompactItemize} +\subsection*{Friends} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_angel_1_1mat4_aee74ba4512e3c59e8ed73764e4396d59}{\hyperlink{class_angel_1_1mat4}{mat4} {\bfseries operator$\ast$} (const G\-Lfloat s, const \hyperlink{class_angel_1_1mat4}{mat4} \&m)}\label{class_angel_1_1mat4_aee74ba4512e3c59e8ed73764e4396d59} + +\item +\hypertarget{class_angel_1_1mat4_a43eac2e676368c54279c3babf511fa6b}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries operator$\ast$} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&v, const \hyperlink{class_angel_1_1mat4}{mat4} \&\-\_\-m)}\label{class_angel_1_1mat4_a43eac2e676368c54279c3babf511fa6b} + +\item +\hypertarget{class_angel_1_1mat4_ac079e857a3c74a1b974e4f4619e16adf}{std\-::ostream \& {\bfseries operator$<$$<$} (std\-::ostream \&os, const \hyperlink{class_angel_1_1mat4}{mat4} \&m)}\label{class_angel_1_1mat4_ac079e857a3c74a1b974e4f4619e16adf} + +\item +\hypertarget{class_angel_1_1mat4_a897b946d3a30dbddc811d486bfa4b61a}{std\-::istream \& {\bfseries operator$>$$>$} (std\-::istream \&is, \hyperlink{class_angel_1_1mat4}{mat4} \&m)}\label{class_angel_1_1mat4_a897b946d3a30dbddc811d486bfa4b61a} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +\hyperlink{class_angel_1_1mat4}{mat4} -\/ 4\-D square matrix. + +\begin{DoxyAuthor}{Author} +Ed Angel Class for a 2x2 matrix. Modified from code available from Ed Angel's website, \href{http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/}{\tt http\-://www.\-cs.\-unm.\-edu/$\sim$angel/\-B\-O\-O\-K/\-I\-N\-T\-E\-R\-A\-C\-T\-I\-V\-E\-\_\-\-C\-O\-M\-P\-U\-T\-E\-R\-\_\-\-G\-R\-A\-P\-H\-I\-C\-S/\-S\-I\-X\-T\-H\-\_\-\-E\-D\-I\-T\-I\-O\-N/} Published from his book, Interactive Computer Graphics A Top-\/\-Down Approach with Open\-G\-L, Sixth Edition +\end{DoxyAuthor} + + +Definition at line 150 of file mat.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{mat_8hpp}{mat.\-hpp}\item +\hyperlink{mat_8cpp}{mat.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_camera.eps b/Doxygen/Docs/latex/class_camera.eps new file mode 100644 index 00000000..84495c5e --- /dev/null +++ b/Doxygen/Docs/latex/class_camera.eps @@ -0,0 +1,203 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 937.500000 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 0.533333 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 3 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(Camera) cw +(Object) cw +(Scene) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (Camera) 0.000000 0.000000 box + (Object) 0.000000 1.000000 box + (Scene) 0.000000 2.000000 box + +% ----- relations ----- + +solid +0 0.000000 0.000000 out +solid +1 0.000000 1.000000 in +solid +0 0.000000 1.000000 out +solid +1 0.000000 2.000000 in diff --git a/Doxygen/Docs/latex/class_camera.pdf b/Doxygen/Docs/latex/class_camera.pdf new file mode 100644 index 00000000..ae343d10 Binary files /dev/null and b/Doxygen/Docs/latex/class_camera.pdf differ diff --git a/Doxygen/Docs/latex/class_camera.tex b/Doxygen/Docs/latex/class_camera.tex new file mode 100644 index 00000000..a3fe11ce --- /dev/null +++ b/Doxygen/Docs/latex/class_camera.tex @@ -0,0 +1,2029 @@ +\hypertarget{class_camera}{\section{Camera Class Reference} +\label{class_camera}\index{Camera@{Camera}} +} + + +The \hyperlink{class_camera}{Camera} class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state. + + + + +{\ttfamily \#include $<$Camera.\-hpp$>$} + +Inheritance diagram for Camera\-:\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=3.000000cm]{class_camera} +\end{center} +\end{figure} +\subsection*{Public Types} +\begin{DoxyCompactItemize} +\item +enum \hyperlink{class_camera_a80cb65605322d27ad3b6d973484509ec}{Direction} \{ \\* +{\bfseries D\-I\-R\-\_\-\-F\-O\-R\-W\-A\-R\-D}, +{\bfseries D\-I\-R\-\_\-\-B\-A\-C\-K\-W\-A\-R\-D}, +{\bfseries D\-I\-R\-\_\-\-L\-E\-F\-T}, +{\bfseries D\-I\-R\-\_\-\-R\-I\-G\-H\-T}, +\\* +{\bfseries D\-I\-R\-\_\-\-U\-P}, +{\bfseries D\-I\-R\-\_\-\-D\-O\-W\-N}, +{\bfseries D\-I\-R\-\_\-\-E\-N\-D}, +{\bfseries D\-I\-R\-\_\-\-B\-E\-G\-I\-N} = D\-I\-R\-\_\-\-F\-O\-R\-W\-A\-R\-D + \} +\begin{DoxyCompactList}\small\item\em The Direction enumeration lists all of the possible directions the camera may travel in. \end{DoxyCompactList}\item +enum \hyperlink{class_camera_aaa256acd50a2fa143d9f8d9456e2802f}{View\-Type} \{ \\* +{\bfseries P\-E\-R\-S\-P\-E\-C\-T\-I\-V\-E}, +{\bfseries O\-R\-T\-H\-O}, +{\bfseries O\-R\-T\-H\-O2\-D}, +{\bfseries I\-D\-E\-N\-T\-I\-T\-Y}, +\\* +{\bfseries F\-R\-U\-S\-T\-U\-M} + \} +\begin{DoxyCompactList}\small\item\em The View\-Type enumeration lists the various possibilities for the current viewing mode that can be switched between. \end{DoxyCompactList}\item +enum \hyperlink{class_camera_a630738fd23098d44c0d15ee28d5649dd}{Uniforms} \{ \\* +{\bfseries B\-E\-G\-I\-N} = Object\-:\-:E\-N\-D, +{\bfseries T\-R\-A\-N\-S\-L\-A\-T\-I\-O\-N} = B\-E\-G\-I\-N, +{\bfseries R\-O\-T\-A\-T\-I\-O\-N}, +{\bfseries V\-I\-E\-W}, +\\* +{\bfseries C\-T\-M}, +{\bfseries E\-N\-D} + \} +\begin{DoxyCompactList}\small\item\em The glsl\-\_\-var enumeration lists the various variables the \hyperlink{class_camera}{Camera} class is capable of sending to the shader. \end{DoxyCompactList}\item +typedef enum \hyperlink{class_camera_a80cb65605322d27ad3b6d973484509ec}{Camera\-::\-Direction} \hyperlink{class_camera_a94bb7ceb1c7a05e54cf638924f228baf}{Direction} +\begin{DoxyCompactList}\small\item\em The Direction enumeration lists all of the possible directions the camera may travel in. \end{DoxyCompactList}\item +typedef enum \hyperlink{class_camera_aaa256acd50a2fa143d9f8d9456e2802f}{Camera\-::\-View\-Type} \hyperlink{class_camera_a5b2dc5eaed6cbaabee0eea3f2714acd7}{View\-Type} +\begin{DoxyCompactList}\small\item\em The View\-Type enumeration lists the various possibilities for the current viewing mode that can be switched between. \end{DoxyCompactList}\item +typedef enum \hyperlink{class_camera_a630738fd23098d44c0d15ee28d5649dd}{Camera\-::\-Uniforms} \hyperlink{class_camera_a0ed19c96505cbb70625938d1e883af24}{Uniform} +\begin{DoxyCompactList}\small\item\em The glsl\-\_\-var enumeration lists the various variables the \hyperlink{class_camera}{Camera} class is capable of sending to the shader. \end{DoxyCompactList}\item +typedef const unsigned int \hyperlink{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{Uniform\-Enum} +\begin{DoxyCompactList}\small\item\em The \hyperlink{class_object}{Object} class takes advantage of child-\/extendible enumerations. \end{DoxyCompactList}\item +typedef std\-::map\\* +$<$ \hyperlink{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{Object\-::\-Uniform\-Enum}, \\* +std\-::string $>$ \hyperlink{class_object_a6e19bd8516360bff956408cbae33b878}{Uniform\-Map} +\begin{DoxyCompactList}\small\item\em We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hyperlink{class_camera_a16516fa8c830cecef5c8eb43eff12783}{Camera} (const std\-::string \&\hyperlink{class_object_aafd766fce2598f718cac97a3ac731706}{name}, G\-Luint g\-Shader, float \hyperlink{class_camera_a14d59ca64bf258adacbed4e0e70ba701}{x}=0.\-0, float \hyperlink{class_camera_a5021b8379a853f306851837178856db0}{y}=0.\-0, float \hyperlink{class_camera_a4acfa20291c83f13c98781c0d53cdbd8}{z}=0.\-0) +\begin{DoxyCompactList}\small\item\em Initialization Constructor; sets the x,y,z coordinates explicitly. \end{DoxyCompactList}\item +\hyperlink{class_camera_a24329612384948d2b64f78094fe84e75}{Camera} (const std\-::string \&\hyperlink{class_object_aafd766fce2598f718cac97a3ac731706}{name}, G\-Luint g\-Shader, \hyperlink{struct_angel_1_1vec3}{vec3} \&in) +\begin{DoxyCompactList}\small\item\em Initialization Constructor, uses a vec3 as its initial coordinates. \end{DoxyCompactList}\item +\hyperlink{class_camera_aa131bc7f1bad2cc8baea463714c4485d}{Camera} (const std\-::string \&\hyperlink{class_object_aafd766fce2598f718cac97a3ac731706}{name}, G\-Luint g\-Shader, \hyperlink{struct_angel_1_1vec4}{vec4} \&in) +\begin{DoxyCompactList}\small\item\em Initialization Constructor, uses a vec4 as its initial coordinates. \end{DoxyCompactList}\item +virtual \hyperlink{class_camera_a06211f202c145b3ec8253f96e1e654a6}{$\sim$\-Camera} (void) +\begin{DoxyCompactList}\small\item\em Default destructor. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a14d59ca64bf258adacbed4e0e70ba701}{x} (const float \&in, const bool \&update=true) +\begin{DoxyCompactList}\small\item\em Sets the x coordinate of the camera. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a5021b8379a853f306851837178856db0}{y} (const float \&in, const bool \&update=true) +\begin{DoxyCompactList}\small\item\em Sets the y coordinate of the camera. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a4acfa20291c83f13c98781c0d53cdbd8}{z} (const float \&in, const bool \&update=true) +\begin{DoxyCompactList}\small\item\em Sets the z coordinate of the camera. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a432e03c15d63f8839fe4731016d907a4}{pos} (const float \&\hyperlink{class_camera_a14d59ca64bf258adacbed4e0e70ba701}{x}, const float \&\hyperlink{class_camera_a5021b8379a853f306851837178856db0}{y}, const float \&\hyperlink{class_camera_a4acfa20291c83f13c98781c0d53cdbd8}{z}, const bool \&update=true) +\begin{DoxyCompactList}\small\item\em Sets the absolute position of the camera. \end{DoxyCompactList}\item +void \hyperlink{class_camera_ae9dc2206b71b25cf320a05d148cb8b56}{pos} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&in, const bool \&update=true) +\begin{DoxyCompactList}\small\item\em Sets the absolute position of the camera. \end{DoxyCompactList}\item +void \hyperlink{class_camera_aec2115038562e514193bb2b67f5da153}{pos} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&in, const bool \&update=true) +\begin{DoxyCompactList}\small\item\em Sets the absolute position of the camera. \end{DoxyCompactList}\item +void \hyperlink{class_camera_ac7985a6cb48f4e1e74fda17e5213dd74}{d\-X} (const float \&by, const bool \&update=true) +\begin{DoxyCompactList}\small\item\em Moves the camera along the x axis. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a59570a88e3ff2d277c9e995372fcadfe}{d\-Y} (const float \&by, const bool \&update=true) +\begin{DoxyCompactList}\small\item\em Moves the camera along the y axis. \end{DoxyCompactList}\item +void \hyperlink{class_camera_ab94ed9b3c7e12f484d6bfa5f827b59ff}{d\-Z} (const float \&by, const bool \&update=true) +\begin{DoxyCompactList}\small\item\em Moves the camera along the z axis. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a2ac5f89b4f9f012dead66980925143c0}{d\-Pos} (const float \&\hyperlink{class_camera_a14d59ca64bf258adacbed4e0e70ba701}{x}, const float \&\hyperlink{class_camera_a5021b8379a853f306851837178856db0}{y}, const float \&\hyperlink{class_camera_a4acfa20291c83f13c98781c0d53cdbd8}{z}) +\begin{DoxyCompactList}\small\item\em Moves the camera along the x, y, and z axes. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a928de59670f0b31264307a8a0888b99d}{d\-Pos} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&by) +\begin{DoxyCompactList}\small\item\em Moves the camera along the x, y, and z axes. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a4ec2e3d2a66826aedb1ac1eee7da0b96}{d\-Pos} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&by) +\begin{DoxyCompactList}\small\item\em Moves the camera along the x, y, and z axes. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a36ec0e0e832f789e27d42e7bd4f6d174}{field\-Of\-View} (const float \&fovy) +\begin{DoxyCompactList}\small\item\em field\-Of\-View sets the current camera Field-\/of-\/view angle. \end{DoxyCompactList}\item +float \hyperlink{class_camera_a9b3675bf6866a67f8fa802bb4aecba89}{field\-Of\-View} (void) const +\begin{DoxyCompactList}\small\item\em \hyperlink{class_camera_a9b3675bf6866a67f8fa802bb4aecba89}{field\-Of\-View()} gets the current camera Field-\/of-\/view angle. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a717f5d58bb0a73f8c5513a3520d98203}{adjust\-Field\-Of\-View} (const float \&by) +\begin{DoxyCompactList}\small\item\em adjust\-Field\-Of\-View adjusts the field of view angle up or down by an amount. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a8463a19c9e1e7a1c51cd97051e937230}{change\-Perspective} (const \hyperlink{class_camera_aaa256acd50a2fa143d9f8d9456e2802f}{View\-Type} \&v\-Type) +\begin{DoxyCompactList}\small\item\em change\-Perspective changes the current perspective of the camera. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a24c5346fc0dfaa93257b6716fe0f2421}{refresh\-Perspective} (void) +\begin{DoxyCompactList}\small\item\em refresh\-Perspective re-\/generates the current view/perspective matrix of the camera. \end{DoxyCompactList}\item +void \hyperlink{class_camera_adda458a9212825164b52019597f2e9c8}{viewport} (size\-\_\-t \-\_\-\-X, size\-\_\-t \-\_\-\-Y, size\-\_\-t \-\_\-width, size\-\_\-t \-\_\-height) +\begin{DoxyCompactList}\small\item\em viewport instructs this camera what his expected drawing window will be. \end{DoxyCompactList}\item +void \hyperlink{class_camera_abbe6fe82ed05e64e35b0c4ed2001b34e}{sway} (const float \&by) +\begin{DoxyCompactList}\small\item\em Adjusts the camera's x coordinate relative to its current position. \end{DoxyCompactList}\item +void \hyperlink{class_camera_abb2251df65445bf8efd3fe0074fb5033}{surge} (const float \&by) +\begin{DoxyCompactList}\small\item\em Adjusts the camera's z coordinate relative to its current position. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a2148d751f104d8e39c9832e2372df2d9}{heave} (const float \&by) +\begin{DoxyCompactList}\small\item\em Adjusts the camera's y coordinate relative to its current position. \end{DoxyCompactList}\item +void \hyperlink{class_camera_aac7dbb6201be7f17e014fc6fdf915560}{pitch} (const float \&by, const bool \&fixed=false) +\begin{DoxyCompactList}\small\item\em pitch adjusts the x axis rotation; up/down look. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a0ce7d12edbe47d9a8915d8af98d8f524}{yaw} (const float \&by, const bool \&fixed=false) +\begin{DoxyCompactList}\small\item\em yaw adjusts the y axis rotation; left/right look. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a1ba0979fe0b2ec58085d5f9721858e5e}{roll} (const float \&by, const bool \&fixed=false) +\begin{DoxyCompactList}\small\item\em roll adjusts the z axis rotation; tilt or lean left/right. \end{DoxyCompactList}\item +void \hyperlink{class_camera_aaa9706527438bd5bd323dd018bb34fcf}{move} (const \hyperlink{class_camera_a80cb65605322d27ad3b6d973484509ec}{Camera\-::\-Direction} \&Dir) +\begin{DoxyCompactList}\small\item\em move instructs the camera to begin moving in the specified direction. \end{DoxyCompactList}\item +void \hyperlink{class_camera_ae7414c6ae83c3c9392ab90e957daf2b9}{stop} (const \hyperlink{class_camera_a80cb65605322d27ad3b6d973484509ec}{Camera\-::\-Direction} \&Dir) +\begin{DoxyCompactList}\small\item\em stop instructs the camera to stop moving in the specified direction. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a9c620bd05c119791c080e479ee71abc2}{idle} (void) +\begin{DoxyCompactList}\small\item\em idle moves the camera forward in whichever directions it is configured to move in. \end{DoxyCompactList}\item +void \hyperlink{class_camera_abee6a36602b8044478739cea9221ed41}{accel} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&accel) +\begin{DoxyCompactList}\small\item\em accel takes an input vec2 which represents an acceleration, and applies it to the motion vectors with regards to the maximum acceleration and the maximum speed of the camera. \end{DoxyCompactList}\item +float \hyperlink{class_camera_ab84abdd525581fbaf0462595d0a087d6}{x} (void) const +\begin{DoxyCompactList}\small\item\em \hyperlink{class_camera_ab84abdd525581fbaf0462595d0a087d6}{x()} returns the current position of the camera in model coordinates. \end{DoxyCompactList}\item +float \hyperlink{class_camera_a68d0865ed19510ee41c6477511d70185}{y} (void) const +\begin{DoxyCompactList}\small\item\em \hyperlink{class_camera_a68d0865ed19510ee41c6477511d70185}{y()} returns the current position of the camera in model coordinates. \end{DoxyCompactList}\item +float \hyperlink{class_camera_ab1167495c547046c57b1c417e53c39f6}{z} (void) const +\begin{DoxyCompactList}\small\item\em \hyperlink{class_camera_ab1167495c547046c57b1c417e53c39f6}{z()} returns the current position of the camera in model coordinates. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec4}{vec4} \hyperlink{class_camera_a9982ac5f48fe0af97fefa725080d6da6}{pos} (void) const +\begin{DoxyCompactList}\small\item\em \hyperlink{class_camera_a9982ac5f48fe0af97fefa725080d6da6}{pos()} gets the current camera position in model coordinates. \end{DoxyCompactList}\item +virtual void \hyperlink{class_camera_a401decef27b59d6485b4ab9762f5b9e6}{send} (\hyperlink{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{Object\-::\-Uniform\-Enum} which) +\begin{DoxyCompactList}\small\item\em send will send a glsl variable to the shader. \end{DoxyCompactList}\item +void \hyperlink{class_camera_ae845a36306bba6b6e359cbdddce65f7f}{view} (void) +\begin{DoxyCompactList}\small\item\em view will instruct Open\-G\-L of the viewport we want, and then send all of our current matrices to the shader for rendering. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a8ec7938c5e25068e5bff25aeb7038af4}{reset\-Rotation} (void) +\begin{DoxyCompactList}\small\item\em reset\-Rotation adjusts the camera's rotational state back to its default state (The Identity Matrix.) \end{DoxyCompactList}\item +\hypertarget{class_object_a53e2ee7f548550be014126bed139fe69}{void \hyperlink{class_object_a53e2ee7f548550be014126bed139fe69}{draw} (void)}\label{class_object_a53e2ee7f548550be014126bed139fe69} + +\begin{DoxyCompactList}\small\item\em draw method\-: Render this object to the screen \-\_\-buffer. \end{DoxyCompactList}\item +\hypertarget{class_object_a7edb92c30d86b6479b0ff2a5e9f06e13}{void \hyperlink{class_object_a7edb92c30d86b6479b0ff2a5e9f06e13}{buffer} (void)}\label{class_object_a7edb92c30d86b6479b0ff2a5e9f06e13} + +\begin{DoxyCompactList}\small\item\em buffer all of our data\-: Vertices, Tex\-U\-Vs, Normals, Indices, Colors and Morph Buffers. \end{DoxyCompactList}\item +\hypertarget{class_object_a293792abfe0671e00a0ec10e85ea9d9e}{void \hyperlink{class_object_a293792abfe0671e00a0ec10e85ea9d9e}{buffer\-Morph\-Only} (void)}\label{class_object_a293792abfe0671e00a0ec10e85ea9d9e} + +\begin{DoxyCompactList}\small\item\em buffer only the Morph-\/related buffers. \end{DoxyCompactList}\item +void \hyperlink{class_object_adafdf22583b051b4c61c8eb725fb07d5}{draw\-Mode} (G\-Lenum new\-\_\-mode) +\begin{DoxyCompactList}\small\item\em Select a new Open\-G\-L draw mode for this \hyperlink{class_object}{Object}. \end{DoxyCompactList}\item +void \hyperlink{class_object_afebb27ddb10daed8e2c5085b76cbc500}{texture} (const char $\ast$$\ast$filename) +\begin{DoxyCompactList}\small\item\em F\-I\-X\-M\-E\-: This is a junk, nonflexible method. \end{DoxyCompactList}\item +const std\-::string \& \hyperlink{class_object_aafd766fce2598f718cac97a3ac731706}{name} (void) const +\begin{DoxyCompactList}\small\item\em Retrieve the \-\_\-name of this \hyperlink{class_object}{Object}. \end{DoxyCompactList}\item +virtual void \hyperlink{class_object_a11d6063c580331d6af59c8d71b7f3e9f}{link} (\hyperlink{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{Uniform\-Enum} which, const std\-::string \&\hyperlink{class_object_aafd766fce2598f718cac97a3ac731706}{name}) +\begin{DoxyCompactList}\small\item\em link a specified Uniform against the shader's variable \-\_\-name. \end{DoxyCompactList}\item +virtual G\-Luint \hyperlink{class_object_a459489106838a1e3a8dbbd13045cd523}{shader} (void) +\begin{DoxyCompactList}\small\item\em Returns the \hyperlink{class_object}{Object}'s current shader. \end{DoxyCompactList}\item +virtual void \hyperlink{class_object_aeaf11bb87bd59381c9e066f0b4f40d8e}{shader} (G\-Luint new\-Shader) +\begin{DoxyCompactList}\small\item\em Sets the shader to be used by this object. \end{DoxyCompactList}\item +void \hyperlink{class_object_a0d604a816115c474b9593aeaebda9f8b}{animation} (void($\ast$anim\-\_\-func)(\hyperlink{class_trans_cache}{Trans\-Cache} \&arg)) +\begin{DoxyCompactList}\small\item\em Apply an animation callback function to this \hyperlink{class_object}{Object}. \end{DoxyCompactList}\item +void \hyperlink{class_object_a2fdd201413e0408f5a2508874acd2ef5}{propagate} (void) +\begin{DoxyCompactList}\small\item\em Scene-\/graph changes are not automatically applied to children. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec4}{vec4} \hyperlink{class_object_ac64609eb614aa5974b74000cec6fc95c}{position} () const +\begin{DoxyCompactList}\small\item\em Obtain the vec4 representative of the \hyperlink{class_object}{Object}'s current position in space. \end{DoxyCompactList}\item +\hyperlink{class_object}{Object} $\ast$ \hyperlink{class_object_a7694c9cfe445c3d5b993a38e3f8badd9}{morph\-Target} () const +\begin{DoxyCompactList}\small\item\em Retrieve a pointer to this object's morph target. \end{DoxyCompactList}\item +\hyperlink{class_object}{Object} $\ast$ \hyperlink{class_object_ab0ba603904f8f7de15dc0450e2d9b30e}{gen\-Morph\-Target} (G\-Luint \hyperlink{class_object_a459489106838a1e3a8dbbd13045cd523}{shader}) +\begin{DoxyCompactList}\small\item\em Instantiate a new morphing target. \end{DoxyCompactList}\item +float \hyperlink{class_object_accb051cdc79bc93e8c9c0edb79dd6b30}{morph\-Percentage} () const +\begin{DoxyCompactList}\small\item\em Retrieve the morph Percentage of this object. \end{DoxyCompactList}\item +void \hyperlink{class_object_a543d2329b25df9fb0a782f09d03e5cb1}{morph\-Percentage} (const float new\-Percentage) +\begin{DoxyCompactList}\small\item\em Set the morph percentage of this \hyperlink{class_object}{Object}. \end{DoxyCompactList}\item +\hypertarget{class_object_a98d3f1b9ebb61c3b21e2a59ed267480a}{void \hyperlink{class_object_a98d3f1b9ebb61c3b21e2a59ed267480a}{destroy\-Morph\-Target} ()}\label{class_object_a98d3f1b9ebb61c3b21e2a59ed267480a} + +\begin{DoxyCompactList}\small\item\em Obliterate the morph target for this object. \end{DoxyCompactList}\item +int \hyperlink{class_object_a73f1a6210bacf504de9a808009479b81}{number\-Of\-Points} () +\begin{DoxyCompactList}\small\item\em Retrieve the number of \-\_\-vertices this object has. \end{DoxyCompactList}\item +void \hyperlink{class_object_a74300b3fa318786e21b65183461c5e25}{texture\-I\-D} (G\-Lint new\-Texture\-I\-D) +\begin{DoxyCompactList}\small\item\em Set the \hyperlink{class_texture}{Texture} I\-D / \hyperlink{class_texture}{Texture} Unit for this \hyperlink{class_object}{Object}. \end{DoxyCompactList}\item +\hyperlink{class_object}{Object} $\ast$ \hyperlink{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b}{add\-Object} (const std\-::string \&obj\-Name, G\-Luint Object\-\_\-\-Shader=0) +\begin{DoxyCompactList}\small\item\em add\-Object creates a new \hyperlink{class_object}{Object} with the given name and, optionally, a specified shader and adds it to the \hyperlink{class_scene}{Scene} graph. \end{DoxyCompactList}\item +void \hyperlink{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0}{del\-Object} (const std\-::string \&obj\-Name) +\begin{DoxyCompactList}\small\item\em del\-Object will remove from the \hyperlink{class_scene}{Scene} graph the object with the given name. \end{DoxyCompactList}\item +\hypertarget{class_scene_a2e6b319b60e27e66ad43bb942a6c4424}{void \hyperlink{class_scene_a2e6b319b60e27e66ad43bb942a6c4424}{del\-Object} (void)}\label{class_scene_a2e6b319b60e27e66ad43bb942a6c4424} + +\begin{DoxyCompactList}\small\item\em del\-Object with no parameters will delete the first \hyperlink{class_object}{Object} in the \hyperlink{class_scene}{Scene}. \end{DoxyCompactList}\item +\hypertarget{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b}{void \hyperlink{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b}{pop\-Object} (void)}\label{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b} + +\begin{DoxyCompactList}\small\item\em pop\-Object deletes the last \hyperlink{class_object}{Object} in the \hyperlink{class_scene}{Scene}. \end{DoxyCompactList}\item +\hypertarget{class_scene_a70fcdad192a4c6ff508125de8af6cf4d}{\hyperlink{class_object}{Object} $\ast$ {\bfseries next} (void)}\label{class_scene_a70fcdad192a4c6ff508125de8af6cf4d} + +\item +\hypertarget{class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae}{\hyperlink{class_object}{Object} $\ast$ {\bfseries prev} (void)}\label{class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae} + +\item +\hypertarget{class_scene_ad0ea1a6bcf7815c63988bd937f06eb23}{\hyperlink{class_object}{Object} $\ast$ {\bfseries active} (void) const }\label{class_scene_ad0ea1a6bcf7815c63988bd937f06eb23} + +\item +\hypertarget{class_scene_ae9b69d8db8a46991017635f22e45baad}{\hyperlink{class_object}{Object} $\ast$ {\bfseries operator\mbox{[}$\,$\mbox{]}} (const std\-::string \&objname)}\label{class_scene_ae9b69d8db8a46991017635f22e45baad} + +\item +void \hyperlink{class_scene_a8893899f0088a72642ae32a656252e7f}{insert\-Object} (\hyperlink{class_object}{Object} $\ast$obj) +\begin{DoxyCompactList}\small\item\em Register a created object with the scene graph. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Public Attributes} +\begin{DoxyCompactItemize} +\item +std\-::vector$<$ \hyperlink{struct_angel_1_1vec4}{Angel\-::vec4} $>$ \hyperlink{class_object_a4ac354b3ec284f27358b1d4b8d95b9a9}{\-\_\-vertices} +\begin{DoxyCompactList}\small\item\em vertex buffer. \end{DoxyCompactList}\item +std\-::vector$<$ \hyperlink{struct_angel_1_1vec3}{Angel\-::vec3} $>$ \hyperlink{class_object_a20bb786cb5915934853855aab9d1a1b3}{\-\_\-normals} +\begin{DoxyCompactList}\small\item\em Normals buffer. \end{DoxyCompactList}\item +std\-::vector$<$ unsigned int $>$ \hyperlink{class_object_ab85adc7a2d3b891051c096593982653d}{\-\_\-indices} +\begin{DoxyCompactList}\small\item\em Draw Order Index buffer. \end{DoxyCompactList}\item +std\-::vector$<$ \hyperlink{struct_angel_1_1vec4}{Angel\-::vec4} $>$ \hyperlink{class_object_a29a0e9959c490067db69378bf57a17ba}{\-\_\-colors} +\begin{DoxyCompactList}\small\item\em Colors buffer. \end{DoxyCompactList}\item +std\-::vector$<$ \hyperlink{struct_angel_1_1vec2}{Angel\-::vec2} $>$ \hyperlink{class_object_aa9ddc3b95d74b76ab8a251fb376dfafb}{\-\_\-tex\-U\-Vs} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_texture}{Texture} Coordinates buffer. \end{DoxyCompactList}\item +\hypertarget{class_object_af17d57ea2dab64e21112e8949d50d85f}{\hyperlink{class_trans_cache}{Trans\-Cache} \hyperlink{class_object_af17d57ea2dab64e21112e8949d50d85f}{\-\_\-trans}}\label{class_object_af17d57ea2dab64e21112e8949d50d85f} + +\begin{DoxyCompactList}\small\item\em The \-\_\-trans cache encompasses the current transformational state of this object. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Protected Member Functions} +\begin{DoxyCompactItemize} +\item +void \hyperlink{class_scene_ad3897f8ac658af62c133783b2c4eaee4}{delete\-Object} (\hyperlink{class_object}{Object} $\ast$obj) +\begin{DoxyCompactList}\small\item\em Very seriously delete a child object and free his memory. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Protected Attributes} +\begin{DoxyCompactItemize} +\item +std\-::string \hyperlink{class_object_a3f617214b260ebbe394e7c7b08ab5e43}{\-\_\-name} +\begin{DoxyCompactList}\small\item\em \-\_\-name is used as an identifying handle for the object. \end{DoxyCompactList}\item +G\-Luint \hyperlink{class_object_a564aa6b1df66a05ab6b6c2f071851c4e}{\-\_\-vao} +\begin{DoxyCompactList}\small\item\em Vertex Array \hyperlink{class_object}{Object} handle identifying our buffers/object. \end{DoxyCompactList}\item +\hypertarget{class_object_adf8365e2c661ab4014c3dbf60e48572b}{G\-Luint \hyperlink{class_object_adf8365e2c661ab4014c3dbf60e48572b}{\-\_\-buffer} \mbox{[}\hyperlink{class_object_a51d08da3bd559d08734197006bc29a79a1999a38dc687c7ae05c884078de39b51}{N\-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S}\mbox{]}}\label{class_object_adf8365e2c661ab4014c3dbf60e48572b} + +\begin{DoxyCompactList}\small\item\em Handles to our buffers (Vertices, Tex\-U\-Vs, etc.) \end{DoxyCompactList}\item +G\-Lenum \hyperlink{class_object_ae8457eabfb89d55826142508013b56c0}{\-\_\-draw\-Mode} +\begin{DoxyCompactList}\small\item\em Drawing mode for this object. \end{DoxyCompactList}\item +\hypertarget{class_object_abcb877094b696561a49bc931c5a12d9f}{bool \hyperlink{class_object_abcb877094b696561a49bc931c5a12d9f}{\-\_\-is\-Textured}}\label{class_object_abcb877094b696561a49bc931c5a12d9f} + +\begin{DoxyCompactList}\small\item\em Is this object textured? \end{DoxyCompactList}\item +float \hyperlink{class_object_a7fbbac9027e1a8266342bd5ce064120d}{\-\_\-morph\-Percentage} +\begin{DoxyCompactList}\small\item\em The percentage of the morph. \end{DoxyCompactList}\item +\hypertarget{class_object_a5baa9891bd4981d62b4e86a1c2a8eea7}{\hyperlink{class_object}{Object} $\ast$ \hyperlink{class_object_a5baa9891bd4981d62b4e86a1c2a8eea7}{\-\_\-morph\-Target}}\label{class_object_a5baa9891bd4981d62b4e86a1c2a8eea7} + +\begin{DoxyCompactList}\small\item\em A pointer to the object we wish to morph into. \end{DoxyCompactList}\item +std\-::map$<$ \hyperlink{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{Object\-::\-Uniform\-Enum}, \\* +std\-::string $>$ \hyperlink{class_object_a6378d0b0eeec23045ae2a5245e42bf13}{\-\_\-uniform\-Map} +\begin{DoxyCompactList}\small\item\em A map between Uniform variable functions and the actual uniform variable names. \end{DoxyCompactList}\item +std\-::vector$<$ G\-Lint $>$ \hyperlink{class_object_a983963f564898beca4bda99676245663}{\-\_\-handles} +\begin{DoxyCompactList}\small\item\em Handles to Uniforms on the shader. \end{DoxyCompactList}\item +\hypertarget{class_object_aefef7502dd10fb3c1c266cf688c432de}{G\-Lint \hyperlink{class_object_aefef7502dd10fb3c1c266cf688c432de}{\-\_\-texture\-I\-D}}\label{class_object_aefef7502dd10fb3c1c266cf688c432de} + +\begin{DoxyCompactList}\small\item\em The texture unit index this \hyperlink{class_object}{Object} uses. \end{DoxyCompactList}\item +\hypertarget{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{std\-::list$<$ \hyperlink{class_object}{Object} $\ast$ $>$ \hyperlink{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{\-\_\-list}}\label{class_scene_acdd0123ca6b2d64d8d447bb485b235fc} + +\begin{DoxyCompactList}\small\item\em For the purposes of rapid propagation of scene-\/graph changes, \hyperlink{class_object}{Object} pointers are stored in a regular flat list. \end{DoxyCompactList}\item +std\-::map$<$ std\-::string, \hyperlink{class_object}{Object} $\ast$ $>$ \hyperlink{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{\-\_\-map} +\begin{DoxyCompactList}\small\item\em For the purposes of accessing named objects quickly, though, objects are also re-\/stored in an associative map. \end{DoxyCompactList}\item +\hypertarget{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{std\-::list$<$ \hyperlink{class_object}{Object} $\ast$ $>$\-::iterator \hyperlink{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{\-\_\-current\-Obj}}\label{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9} + +\begin{DoxyCompactList}\small\item\em We keep an iterator on-\/hand that references what the scene considers to be it's active, current object. \end{DoxyCompactList}\item +\hypertarget{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{G\-Luint \hyperlink{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{\-\_\-g\-Shader}}\label{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724} + +\begin{DoxyCompactList}\small\item\em A handle to a shader program to be used as the default shader for new children objects added to the scene. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Private Member Functions} +\begin{DoxyCompactItemize} +\item +void \hyperlink{class_camera_aba32f195cdb5bfcfd05c2ce74315b6c3}{adjust\-Rotation} (const \hyperlink{class_angel_1_1mat4}{mat4} \&adjustment, const bool \&fixed=false) +\begin{DoxyCompactList}\small\item\em adjust\-Rotation is an internal function that rotates the camera. \end{DoxyCompactList}\item +void \hyperlink{class_camera_a20243a7e3eb06ab1265118c5fb9cce9b}{common\-Init} (void) +\begin{DoxyCompactList}\small\item\em common\-Init is a private function that initializes local object attributes. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hyperlink{class_angel_1_1mat4}{mat4} \hyperlink{class_camera_a28f6e710df6db726568cd0f2bbd3643a}{\-\_\-view} +\begin{DoxyCompactList}\small\item\em The current view matrix (defaultly perspective) for this camera. \end{DoxyCompactList}\item +\hyperlink{class_trans_cache}{Trans\-Cache} \hyperlink{class_camera_a6c1e31c8470b923f9f872f73597cb95b}{\-\_\-ctm} +\begin{DoxyCompactList}\small\item\em The Current \hyperlink{class_transformation}{Transformation} state for this \hyperlink{class_camera}{Camera}. \end{DoxyCompactList}\item +\hyperlink{class_camera_aaa256acd50a2fa143d9f8d9456e2802f}{View\-Type} \hyperlink{class_camera_ac9062d9bb891aa81d163076738451081}{\-\_\-current\-View} +\begin{DoxyCompactList}\small\item\em The current viewing mode type. \end{DoxyCompactList}\item +G\-Lfloat \hyperlink{class_camera_a21f8eb53e5369018e39add0453ae626d}{\-\_\-speed} +\begin{DoxyCompactList}\small\item\em Current Speed of camera motion. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec3}{vec3} \hyperlink{class_camera_aa15577ff9e67c81699ee86d4d20a7ee7}{\-\_\-velocity} +\begin{DoxyCompactList}\small\item\em Current Velocity of camera motion. \end{DoxyCompactList}\item +\hypertarget{class_camera_a4d875d29a43bdfed4eac4c76747939d3}{G\-Lfloat \hyperlink{class_camera_a4d875d29a43bdfed4eac4c76747939d3}{\-\_\-speed\-\_\-cap}}\label{class_camera_a4d875d29a43bdfed4eac4c76747939d3} + +\begin{DoxyCompactList}\small\item\em Current Speed Capacity\-: (speed/\-Max\-Speed) \end{DoxyCompactList}\item +\hypertarget{class_camera_acbfae99c73c118ca92be9a6ba664b303}{G\-Lfloat \hyperlink{class_camera_acbfae99c73c118ca92be9a6ba664b303}{\-\_\-max\-Accel}}\label{class_camera_acbfae99c73c118ca92be9a6ba664b303} + +\begin{DoxyCompactList}\small\item\em Maximum Acceleration Magnitude. \end{DoxyCompactList}\item +\hypertarget{class_camera_a83cab43f9ccc3d5f4c7db8543a806745}{G\-Lfloat \hyperlink{class_camera_a83cab43f9ccc3d5f4c7db8543a806745}{\-\_\-max\-Speed}}\label{class_camera_a83cab43f9ccc3d5f4c7db8543a806745} + +\begin{DoxyCompactList}\small\item\em Maximum Speed. \end{DoxyCompactList}\item +G\-Lfloat \hyperlink{class_camera_a66fb66da0ccd400c4986dc19276b6716}{\-\_\-friction\-Magnitude} +\begin{DoxyCompactList}\small\item\em Friction. \end{DoxyCompactList}\item +G\-Lfloat \hyperlink{class_camera_a42082e8f2d80a13674ce163d8e720bfb}{\-\_\-aspect\-Ratio} +\begin{DoxyCompactList}\small\item\em Current aspect ratio for certain perspectives. \end{DoxyCompactList}\item +G\-Lfloat \hyperlink{class_camera_a82542bb76347e2a2bb66b3bb7842945b}{\-\_\-fovy} +\begin{DoxyCompactList}\small\item\em Current field-\/of-\/view angle for perspective view. \end{DoxyCompactList}\item +\hypertarget{class_camera_a67c7600162abef1d2cddfce8cc75c33b}{\hyperlink{struct_angel_1_1vec2}{Angel\-::vec2} \hyperlink{class_camera_a67c7600162abef1d2cddfce8cc75c33b}{\-\_\-viewport\-Size}}\label{class_camera_a67c7600162abef1d2cddfce8cc75c33b} + +\begin{DoxyCompactList}\small\item\em \hyperlink{class_camera}{Camera}'s Drawbox Width and Height. \end{DoxyCompactList}\item +\hypertarget{class_camera_adb7506be3632abc2d33e77a5783f5be8}{\hyperlink{struct_angel_1_1vec2}{Angel\-::vec2} \hyperlink{class_camera_adb7506be3632abc2d33e77a5783f5be8}{\-\_\-viewport\-Position}}\label{class_camera_adb7506be3632abc2d33e77a5783f5be8} + +\begin{DoxyCompactList}\small\item\em \hyperlink{class_camera}{Camera}'s Drawbox x,y Coordinate (Upper-\/\-Left Pixel) \end{DoxyCompactList}\item +bool \hyperlink{class_camera_abec7e2becbad5a692a54a69b6a5f6d75}{\-\_\-motion} \mbox{[}Camera\-::\-D\-I\-R\-\_\-\-E\-N\-D\mbox{]} +\begin{DoxyCompactList}\small\item\em Booleans correlating to the different motion directions. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +The \hyperlink{class_camera}{Camera} class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state. + +\begin{DoxyAuthor}{Author} +John Huston, \href{mailto:jhuston@cs.uml.edu}{\tt jhuston@cs.\-uml.\-edu} +\end{DoxyAuthor} +\begin{DoxySince}{Since} +16 Nov 2012 +\end{DoxySince} +Functions are provided to adjust the rotation according to \hyperlink{class_camera_aac7dbb6201be7f17e014fc6fdf915560}{pitch()}, \hyperlink{class_camera_a0ce7d12edbe47d9a8915d8af98d8f524}{yaw()} and \hyperlink{class_camera_a1ba0979fe0b2ec58085d5f9721858e5e}{roll()} motions; \hyperlink{class_camera_abb2251df65445bf8efd3fe0074fb5033}{surge()}, \hyperlink{class_camera_abbe6fe82ed05e64e35b0c4ed2001b34e}{sway()}, and \hyperlink{class_camera_a2148d751f104d8e39c9832e2372df2d9}{heave()} are provided to adjust position in space. + +\hyperlink{class_camera_aaa9706527438bd5bd323dd018bb34fcf}{move()}, \hyperlink{class_camera_ae7414c6ae83c3c9392ab90e957daf2b9}{stop()}, and \hyperlink{class_camera_a9c620bd05c119791c080e479ee71abc2}{idle()} are provided to help the camera automatically move along the x, y, or z axes. + +Definition at line 37 of file Camera.\-hpp. + + + +\subsection{Member Typedef Documentation} +\hypertarget{class_camera_a94bb7ceb1c7a05e54cf638924f228baf}{\index{Camera@{Camera}!Direction@{Direction}} +\index{Direction@{Direction}!Camera@{Camera}} +\subsubsection[{Direction}]{\setlength{\rightskip}{0pt plus 5cm}typedef enum {\bf Camera\-::\-Direction} {\bf Camera\-::\-Direction}}}\label{class_camera_a94bb7ceb1c7a05e54cf638924f228baf} + + +The Direction enumeration lists all of the possible directions the camera may travel in. + +'B\-E\-G\-I\-N' and 'E\-N\-D' are special sentinel directions for the purposes of iteration, and are ignored by any functions that accept a Direction. \hypertarget{class_camera_a0ed19c96505cbb70625938d1e883af24}{\index{Camera@{Camera}!Uniform@{Uniform}} +\index{Uniform@{Uniform}!Camera@{Camera}} +\subsubsection[{Uniform}]{\setlength{\rightskip}{0pt plus 5cm}typedef enum {\bf Camera\-::\-Uniforms} {\bf Camera\-::\-Uniform}}}\label{class_camera_a0ed19c96505cbb70625938d1e883af24} + + +The glsl\-\_\-var enumeration lists the various variables the \hyperlink{class_camera}{Camera} class is capable of sending to the shader. + +The Num\-Glsl\-Vars variable is a sentinel value that is ignored by any functions that accept a glsl\-\_\-var. \hypertarget{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{\index{Camera@{Camera}!Uniform\-Enum@{Uniform\-Enum}} +\index{Uniform\-Enum@{Uniform\-Enum}!Camera@{Camera}} +\subsubsection[{Uniform\-Enum}]{\setlength{\rightskip}{0pt plus 5cm}typedef const unsigned int {\bf Object\-::\-Uniform\-Enum}\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_a79b74057dbc5182b85c9c3ba8480fcf2} + + +The \hyperlink{class_object}{Object} class takes advantage of child-\/extendible enumerations. + +We create an alias here for sake of ease. + +Definition at line 62 of file Object.\-hpp. + +\hypertarget{class_object_a6e19bd8516360bff956408cbae33b878}{\index{Camera@{Camera}!Uniform\-Map@{Uniform\-Map}} +\index{Uniform\-Map@{Uniform\-Map}!Camera@{Camera}} +\subsubsection[{Uniform\-Map}]{\setlength{\rightskip}{0pt plus 5cm}typedef std\-::map$<$ {\bf Object\-::\-Uniform\-Enum}, std\-::string $>$ {\bf Object\-::\-Uniform\-Map}\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_a6e19bd8516360bff956408cbae33b878} + + +We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables. + +This is utilized if we ever switch this object's shader, so we can re-\/associate with the correct uniform locations. + +Definition at line 70 of file Object.\-hpp. + +\hypertarget{class_camera_a5b2dc5eaed6cbaabee0eea3f2714acd7}{\index{Camera@{Camera}!View\-Type@{View\-Type}} +\index{View\-Type@{View\-Type}!Camera@{Camera}} +\subsubsection[{View\-Type}]{\setlength{\rightskip}{0pt plus 5cm}typedef enum {\bf Camera\-::\-View\-Type} {\bf Camera\-::\-View\-Type}}}\label{class_camera_a5b2dc5eaed6cbaabee0eea3f2714acd7} + + +The View\-Type enumeration lists the various possibilities for the current viewing mode that can be switched between. + +The default is P\-E\-R\-S\-P\-E\-C\-T\-I\-V\-E. + +\subsection{Member Enumeration Documentation} +\hypertarget{class_camera_a80cb65605322d27ad3b6d973484509ec}{\index{Camera@{Camera}!Direction@{Direction}} +\index{Direction@{Direction}!Camera@{Camera}} +\subsubsection[{Direction}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Camera\-::\-Direction}}}\label{class_camera_a80cb65605322d27ad3b6d973484509ec} + + +The Direction enumeration lists all of the possible directions the camera may travel in. + +'B\-E\-G\-I\-N' and 'E\-N\-D' are special sentinel directions for the purposes of iteration, and are ignored by any functions that accept a Direction. + +Definition at line 47 of file Camera.\-hpp. + +\hypertarget{class_camera_a630738fd23098d44c0d15ee28d5649dd}{\index{Camera@{Camera}!Uniforms@{Uniforms}} +\index{Uniforms@{Uniforms}!Camera@{Camera}} +\subsubsection[{Uniforms}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Camera\-::\-Uniforms}}}\label{class_camera_a630738fd23098d44c0d15ee28d5649dd} + + +The glsl\-\_\-var enumeration lists the various variables the \hyperlink{class_camera}{Camera} class is capable of sending to the shader. + +The Num\-Glsl\-Vars variable is a sentinel value that is ignored by any functions that accept a glsl\-\_\-var. + +Definition at line 73 of file Camera.\-hpp. + +\hypertarget{class_camera_aaa256acd50a2fa143d9f8d9456e2802f}{\index{Camera@{Camera}!View\-Type@{View\-Type}} +\index{View\-Type@{View\-Type}!Camera@{Camera}} +\subsubsection[{View\-Type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Camera\-::\-View\-Type}}}\label{class_camera_aaa256acd50a2fa143d9f8d9456e2802f} + + +The View\-Type enumeration lists the various possibilities for the current viewing mode that can be switched between. + +The default is P\-E\-R\-S\-P\-E\-C\-T\-I\-V\-E. + +Definition at line 63 of file Camera.\-hpp. + + + +\subsection{Constructor \& Destructor Documentation} +\hypertarget{class_camera_a16516fa8c830cecef5c8eb43eff12783}{\index{Camera@{Camera}!Camera@{Camera}} +\index{Camera@{Camera}!Camera@{Camera}} +\subsubsection[{Camera}]{\setlength{\rightskip}{0pt plus 5cm}Camera\-::\-Camera ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{name, } +\item[{G\-Luint}]{g\-Shader, } +\item[{float}]{x = {\ttfamily 0.0}, } +\item[{float}]{y = {\ttfamily 0.0}, } +\item[{float}]{z = {\ttfamily 0.0}} +\end{DoxyParamCaption} +)}}\label{class_camera_a16516fa8c830cecef5c8eb43eff12783} + + +Initialization Constructor; sets the x,y,z coordinates explicitly. + + +\begin{DoxyParams}{Parameters} +{\em name} & The name of this Camera/\-Object. \\ +\hline +{\em g\-Shader} & A handle to this camera's associated shader object. \\ +\hline +{\em x} & The initial x coordinate. \\ +\hline +{\em y} & The initial y coordinate. \\ +\hline +{\em z} & The initial z coordinate. \\ +\hline +\end{DoxyParams} + + +Definition at line 45 of file Camera.\-cpp. + +\hypertarget{class_camera_a24329612384948d2b64f78094fe84e75}{\index{Camera@{Camera}!Camera@{Camera}} +\index{Camera@{Camera}!Camera@{Camera}} +\subsubsection[{Camera}]{\setlength{\rightskip}{0pt plus 5cm}Camera\-::\-Camera ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{name, } +\item[{G\-Luint}]{g\-Shader, } +\item[{{\bf vec3} \&}]{in} +\end{DoxyParamCaption} +)}}\label{class_camera_a24329612384948d2b64f78094fe84e75} + + +Initialization Constructor, uses a vec3 as its initial coordinates. + + +\begin{DoxyParams}{Parameters} +{\em name} & The name of this Camera/\-Object. \\ +\hline +{\em g\-Shader} & A handle to this camera's associated shader object. \\ +\hline +{\em in} & A vec3 representing the initial coordinates. \\ +\hline +\end{DoxyParams} + + +Definition at line 52 of file Camera.\-cpp. + +\hypertarget{class_camera_aa131bc7f1bad2cc8baea463714c4485d}{\index{Camera@{Camera}!Camera@{Camera}} +\index{Camera@{Camera}!Camera@{Camera}} +\subsubsection[{Camera}]{\setlength{\rightskip}{0pt plus 5cm}Camera\-::\-Camera ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{name, } +\item[{G\-Luint}]{g\-Shader, } +\item[{{\bf vec4} \&}]{in} +\end{DoxyParamCaption} +)}}\label{class_camera_aa131bc7f1bad2cc8baea463714c4485d} + + +Initialization Constructor, uses a vec4 as its initial coordinates. + + +\begin{DoxyParams}{Parameters} +{\em name} & The name of this Camera/\-Object. \\ +\hline +{\em g\-Shader} & A handle to this camera's associated shader object. \\ +\hline +{\em in} & A vec4 representing the initial coordinates. The w component is ignored. \\ +\hline +\end{DoxyParams} + + +Definition at line 58 of file Camera.\-cpp. + +\hypertarget{class_camera_a06211f202c145b3ec8253f96e1e654a6}{\index{Camera@{Camera}!$\sim$\-Camera@{$\sim$\-Camera}} +\index{$\sim$\-Camera@{$\sim$\-Camera}!Camera@{Camera}} +\subsubsection[{$\sim$\-Camera}]{\setlength{\rightskip}{0pt plus 5cm}Camera\-::$\sim$\-Camera ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_camera_a06211f202c145b3ec8253f96e1e654a6} + + +Default destructor. + +Defined only to allow inheritance. + +Definition at line 64 of file Camera.\-cpp. + + + +\subsection{Member Function Documentation} +\hypertarget{class_camera_abee6a36602b8044478739cea9221ed41}{\index{Camera@{Camera}!accel@{accel}} +\index{accel@{accel}!Camera@{Camera}} +\subsubsection[{accel}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::accel ( +\begin{DoxyParamCaption} +\item[{const {\bf vec3} \&}]{accel} +\end{DoxyParamCaption} +)}}\label{class_camera_abee6a36602b8044478739cea9221ed41} + + +accel takes an input vec2 which represents an acceleration, and applies it to the motion vectors with regards to the maximum acceleration and the maximum speed of the camera. + + +\begin{DoxyParams}{Parameters} +{\em accel} & The vec3 which represents the (x,y,z) acceleration, where x,y,z are \mbox{[}-\/1,1\mbox{]}. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 223 of file Camera.\-cpp. + +\hypertarget{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b}{\index{Camera@{Camera}!add\-Object@{add\-Object}} +\index{add\-Object@{add\-Object}!Camera@{Camera}} +\subsubsection[{add\-Object}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object} $\ast$ Scene\-::add\-Object ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{obj\-Name, } +\item[{G\-Luint}]{shader = {\ttfamily 0}} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b} + + +add\-Object creates a new \hyperlink{class_object}{Object} with the given name and, optionally, a specified shader and adds it to the \hyperlink{class_scene}{Scene} graph. + +If no shader is given, a default shader M\-U\-S\-T have been specified for the \hyperlink{class_scene}{Scene} prior to the call. + + +\begin{DoxyParams}{Parameters} +{\em obj\-Name} & The name of the new \hyperlink{class_object}{Object} to add. \\ +\hline +{\em Object\-\_\-\-Shader} & The shader that should be used to render this object. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +A pointer to the new \hyperlink{class_object}{Object}. +\end{DoxyReturn} + + +Definition at line 77 of file Scene.\-cpp. + +\hypertarget{class_camera_a717f5d58bb0a73f8c5513a3520d98203}{\index{Camera@{Camera}!adjust\-Field\-Of\-View@{adjust\-Field\-Of\-View}} +\index{adjust\-Field\-Of\-View@{adjust\-Field\-Of\-View}!Camera@{Camera}} +\subsubsection[{adjust\-Field\-Of\-View}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::adjust\-Field\-Of\-View ( +\begin{DoxyParamCaption} +\item[{const float \&}]{by} +\end{DoxyParamCaption} +)}}\label{class_camera_a717f5d58bb0a73f8c5513a3520d98203} + + +adjust\-Field\-Of\-View adjusts the field of view angle up or down by an amount. + + +\begin{DoxyParams}{Parameters} +{\em by} & The float to adjust the field\-Of\-View angle by. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 392 of file Camera.\-cpp. + +\hypertarget{class_camera_aba32f195cdb5bfcfd05c2ce74315b6c3}{\index{Camera@{Camera}!adjust\-Rotation@{adjust\-Rotation}} +\index{adjust\-Rotation@{adjust\-Rotation}!Camera@{Camera}} +\subsubsection[{adjust\-Rotation}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::adjust\-Rotation ( +\begin{DoxyParamCaption} +\item[{const {\bf mat4} \&}]{adjustment, } +\item[{const bool \&}]{fixed = {\ttfamily false}} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_camera_aba32f195cdb5bfcfd05c2ce74315b6c3} + + +adjust\-Rotation is an internal function that rotates the camera. + +Technically, any transformation, not just a rotation, is possible. +\begin{DoxyParams}{Parameters} +{\em adjustment} & The 4x4 matrix to transform the C\-T\-M by. \\ +\hline +{\em fixed} & Should this rotation be fixed about the origin? \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 148 of file Camera.\-cpp. + +\hypertarget{class_object_a0d604a816115c474b9593aeaebda9f8b}{\index{Camera@{Camera}!animation@{animation}} +\index{animation@{animation}!Camera@{Camera}} +\subsubsection[{animation}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::animation ( +\begin{DoxyParamCaption} +\item[{void($\ast$)({\bf Trans\-Cache} \&arg)}]{anim\-\_\-func} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_a0d604a816115c474b9593aeaebda9f8b} + + +Apply an animation callback function to this \hyperlink{class_object}{Object}. + +Works once only\-: Does not save the function or automatically run on idle. +\begin{DoxyParams}{Parameters} +{\em anim\-\_\-func} & The transformation/animation function to apply. \\ +\hline +\end{DoxyParams} + + +Definition at line 443 of file Object.\-cpp. + +\hypertarget{class_camera_a8463a19c9e1e7a1c51cd97051e937230}{\index{Camera@{Camera}!change\-Perspective@{change\-Perspective}} +\index{change\-Perspective@{change\-Perspective}!Camera@{Camera}} +\subsubsection[{change\-Perspective}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::change\-Perspective ( +\begin{DoxyParamCaption} +\item[{const {\bf View\-Type} \&}]{v\-Type} +\end{DoxyParamCaption} +)}}\label{class_camera_a8463a19c9e1e7a1c51cd97051e937230} + + +change\-Perspective changes the current perspective of the camera. + + +\begin{DoxyParams}{Parameters} +{\em v\-Type} & Which perspective to use. see enum View\-Type for possibilities. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 359 of file Camera.\-cpp. + +\hypertarget{class_camera_a20243a7e3eb06ab1265118c5fb9cce9b}{\index{Camera@{Camera}!common\-Init@{common\-Init}} +\index{common\-Init@{common\-Init}!Camera@{Camera}} +\subsubsection[{common\-Init}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::common\-Init ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_camera_a20243a7e3eb06ab1265118c5fb9cce9b} + + +common\-Init is a private function that initializes local object attributes. + +It should be called by all available constructors. \begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 19 of file Camera.\-cpp. + +\hypertarget{class_scene_ad3897f8ac658af62c133783b2c4eaee4}{\index{Camera@{Camera}!delete\-Object@{delete\-Object}} +\index{delete\-Object@{delete\-Object}!Camera@{Camera}} +\subsubsection[{delete\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::delete\-Object ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_scene_ad3897f8ac658af62c133783b2c4eaee4} + + +Very seriously delete a child object and free his memory. + +delete\-Object is the actual implementation function that will remove an \hyperlink{class_object}{Object} from the \hyperlink{class_scene}{Scene} list and \hyperlink{class_scene}{Scene} map, then free the object. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to delete.\\ +\hline +{\em obj} & The pointer to the object to free. \\ +\hline +\end{DoxyParams} + + +Definition at line 129 of file Scene.\-cpp. + +\hypertarget{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0}{\index{Camera@{Camera}!del\-Object@{del\-Object}} +\index{del\-Object@{del\-Object}!Camera@{Camera}} +\subsubsection[{del\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::del\-Object ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{obj\-Name} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0} + + +del\-Object will remove from the \hyperlink{class_scene}{Scene} graph the object with the given name. + + +\begin{DoxyParams}{Parameters} +{\em obj\-Name} & Name of the \hyperlink{class_object}{Object} to delete. \\ +\hline +\end{DoxyParams} + + +Definition at line 99 of file Scene.\-cpp. + +\hypertarget{class_camera_a2ac5f89b4f9f012dead66980925143c0}{\index{Camera@{Camera}!d\-Pos@{d\-Pos}} +\index{d\-Pos@{d\-Pos}!Camera@{Camera}} +\subsubsection[{d\-Pos}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::d\-Pos ( +\begin{DoxyParamCaption} +\item[{const float \&}]{x, } +\item[{const float \&}]{y, } +\item[{const float \&}]{z} +\end{DoxyParamCaption} +)}}\label{class_camera_a2ac5f89b4f9f012dead66980925143c0} + + +Moves the camera along the x, y, and z axes. + + +\begin{DoxyParams}{Parameters} +{\em x} & the x-\/axis displacement. \\ +\hline +{\em y} & the y-\/axis displacement. \\ +\hline +{\em z} & the z-\/axis displacement. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 131 of file Camera.\-cpp. + +\hypertarget{class_camera_a928de59670f0b31264307a8a0888b99d}{\index{Camera@{Camera}!d\-Pos@{d\-Pos}} +\index{d\-Pos@{d\-Pos}!Camera@{Camera}} +\subsubsection[{d\-Pos}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::d\-Pos ( +\begin{DoxyParamCaption} +\item[{const {\bf vec3} \&}]{by} +\end{DoxyParamCaption} +)}}\label{class_camera_a928de59670f0b31264307a8a0888b99d} + + +Moves the camera along the x, y, and z axes. + + +\begin{DoxyParams}{Parameters} +{\em by} & A vec3 containing the x, y, and z axis displacements. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 140 of file Camera.\-cpp. + +\hypertarget{class_camera_a4ec2e3d2a66826aedb1ac1eee7da0b96}{\index{Camera@{Camera}!d\-Pos@{d\-Pos}} +\index{d\-Pos@{d\-Pos}!Camera@{Camera}} +\subsubsection[{d\-Pos}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::d\-Pos ( +\begin{DoxyParamCaption} +\item[{const {\bf vec4} \&}]{by} +\end{DoxyParamCaption} +)}}\label{class_camera_a4ec2e3d2a66826aedb1ac1eee7da0b96} + + +Moves the camera along the x, y, and z axes. + + +\begin{DoxyParams}{Parameters} +{\em by} & A vec4 containing the x, y, and z axis displacements. The w component is ignored. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 144 of file Camera.\-cpp. + +\hypertarget{class_object_adafdf22583b051b4c61c8eb725fb07d5}{\index{Camera@{Camera}!draw\-Mode@{draw\-Mode}} +\index{draw\-Mode@{draw\-Mode}!Camera@{Camera}} +\subsubsection[{draw\-Mode}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::draw\-Mode ( +\begin{DoxyParamCaption} +\item[{G\-Lenum}]{new\-\_\-mode} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_adafdf22583b051b4c61c8eb725fb07d5} + + +Select a new Open\-G\-L draw mode for this \hyperlink{class_object}{Object}. + +Can be G\-L\-\_\-\-L\-I\-N\-E\-S, G\-L\-\_\-\-L\-I\-N\-E\-\_\-\-L\-O\-O\-P, G\-L\-\_\-\-T\-R\-I\-A\-N\-G\-L\-E\-S, etc. \begin{DoxySeeAlso}{See Also} +\href{http://www.opengl.org/wiki/Primitive}{\tt http\-://www.\-opengl.\-org/wiki/\-Primitive} +\end{DoxySeeAlso} + +\begin{DoxyParams}{Parameters} +{\em new\-\_\-mode} & The primitive rendering mode to use. \\ +\hline +\end{DoxyParams} + + +Definition at line 269 of file Object.\-cpp. + +\hypertarget{class_camera_ac7985a6cb48f4e1e74fda17e5213dd74}{\index{Camera@{Camera}!d\-X@{d\-X}} +\index{d\-X@{d\-X}!Camera@{Camera}} +\subsubsection[{d\-X}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::d\-X ( +\begin{DoxyParamCaption} +\item[{const float \&}]{by, } +\item[{const bool \&}]{update = {\ttfamily true}} +\end{DoxyParamCaption} +)}}\label{class_camera_ac7985a6cb48f4e1e74fda17e5213dd74} + + +Moves the camera along the x axis. + + +\begin{DoxyParams}{Parameters} +{\em by} & The float value of the x-\/axis displacement. \\ +\hline +{\em update} & A boolean indicating whether or not to update the shader. update defaults to true. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 119 of file Camera.\-cpp. + +\hypertarget{class_camera_a59570a88e3ff2d277c9e995372fcadfe}{\index{Camera@{Camera}!d\-Y@{d\-Y}} +\index{d\-Y@{d\-Y}!Camera@{Camera}} +\subsubsection[{d\-Y}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::d\-Y ( +\begin{DoxyParamCaption} +\item[{const float \&}]{by, } +\item[{const bool \&}]{update = {\ttfamily true}} +\end{DoxyParamCaption} +)}}\label{class_camera_a59570a88e3ff2d277c9e995372fcadfe} + + +Moves the camera along the y axis. + + +\begin{DoxyParams}{Parameters} +{\em by} & The float value of the y-\/axis displacement. \\ +\hline +{\em update} & A boolean indicating whether or not to update the shader. update defaults to true. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 123 of file Camera.\-cpp. + +\hypertarget{class_camera_ab94ed9b3c7e12f484d6bfa5f827b59ff}{\index{Camera@{Camera}!d\-Z@{d\-Z}} +\index{d\-Z@{d\-Z}!Camera@{Camera}} +\subsubsection[{d\-Z}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::d\-Z ( +\begin{DoxyParamCaption} +\item[{const float \&}]{by, } +\item[{const bool \&}]{update = {\ttfamily true}} +\end{DoxyParamCaption} +)}}\label{class_camera_ab94ed9b3c7e12f484d6bfa5f827b59ff} + + +Moves the camera along the z axis. + + +\begin{DoxyParams}{Parameters} +{\em by} & The float value of the z-\/axis displacement. \\ +\hline +{\em update} & A boolean indicating whether or not to update the shader. update defaults to true. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 127 of file Camera.\-cpp. + +\hypertarget{class_camera_a36ec0e0e832f789e27d42e7bd4f6d174}{\index{Camera@{Camera}!field\-Of\-View@{field\-Of\-View}} +\index{field\-Of\-View@{field\-Of\-View}!Camera@{Camera}} +\subsubsection[{field\-Of\-View}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::field\-Of\-View ( +\begin{DoxyParamCaption} +\item[{const float \&}]{fovy} +\end{DoxyParamCaption} +)}}\label{class_camera_a36ec0e0e832f789e27d42e7bd4f6d174} + + +field\-Of\-View sets the current camera Field-\/of-\/view angle. + +This function will send the new perspective matrix to the shader. +\begin{DoxyParams}{Parameters} +{\em fovy} & The new field of view angle. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 354 of file Camera.\-cpp. + +\hypertarget{class_camera_a9b3675bf6866a67f8fa802bb4aecba89}{\index{Camera@{Camera}!field\-Of\-View@{field\-Of\-View}} +\index{field\-Of\-View@{field\-Of\-View}!Camera@{Camera}} +\subsubsection[{field\-Of\-View}]{\setlength{\rightskip}{0pt plus 5cm}float Camera\-::field\-Of\-View ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_camera_a9b3675bf6866a67f8fa802bb4aecba89} + + +\hyperlink{class_camera_a9b3675bf6866a67f8fa802bb4aecba89}{field\-Of\-View()} gets the current camera Field-\/of-\/view angle. + +\begin{DoxyReturn}{Returns} +A float that is the y axis viewing angle. +\end{DoxyReturn} + + +Definition at line 350 of file Camera.\-cpp. + +\hypertarget{class_object_ab0ba603904f8f7de15dc0450e2d9b30e}{\index{Camera@{Camera}!gen\-Morph\-Target@{gen\-Morph\-Target}} +\index{gen\-Morph\-Target@{gen\-Morph\-Target}!Camera@{Camera}} +\subsubsection[{gen\-Morph\-Target}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object} $\ast$ Object\-::gen\-Morph\-Target ( +\begin{DoxyParamCaption} +\item[{G\-Luint}]{shader} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_ab0ba603904f8f7de15dc0450e2d9b30e} + + +Instantiate a new morphing target. + + +\begin{DoxyParams}{Parameters} +{\em shader} & The shader to use for the new morphing target. N\-O\-T U\-S\-E\-D for rendering the object, but Objects cannot be instantiated without a shader, so here it is.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +A pointer to the newly created target. +\end{DoxyReturn} + + +Definition at line 503 of file Object.\-cpp. + +\hypertarget{class_camera_a2148d751f104d8e39c9832e2372df2d9}{\index{Camera@{Camera}!heave@{heave}} +\index{heave@{heave}!Camera@{Camera}} +\subsubsection[{heave}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::heave ( +\begin{DoxyParamCaption} +\item[{const float \&}]{by} +\end{DoxyParamCaption} +)}}\label{class_camera_a2148d751f104d8e39c9832e2372df2d9} + + +Adjusts the camera's y coordinate relative to its current position. + +Positive values move the camera up, and negative values move the camera down. +\begin{DoxyParams}{Parameters} +{\em by} & The float to adjust the y coordinate by. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 194 of file Camera.\-cpp. + +\hypertarget{class_camera_a9c620bd05c119791c080e479ee71abc2}{\index{Camera@{Camera}!idle@{idle}} +\index{idle@{idle}!Camera@{Camera}} +\subsubsection[{idle}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::idle ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_camera_a9c620bd05c119791c080e479ee71abc2} + + +idle moves the camera forward in whichever directions it is configured to move in. + +Call it in the glut idle function. \begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 280 of file Camera.\-cpp. + +\hypertarget{class_scene_a8893899f0088a72642ae32a656252e7f}{\index{Camera@{Camera}!insert\-Object@{insert\-Object}} +\index{insert\-Object@{insert\-Object}!Camera@{Camera}} +\subsubsection[{insert\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::insert\-Object ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_scene_a8893899f0088a72642ae32a656252e7f} + + +Register a created object with the scene graph. + + +\begin{DoxyParams}{Parameters} +{\em name} & The name of the object (For the associative map), \\ +\hline +{\em obj} & The \hyperlink{class_object}{Object} pointer to add to the scene. \\ +\hline +\end{DoxyParams} + + +Definition at line 118 of file Scene.\-cpp. + +\hypertarget{class_object_a11d6063c580331d6af59c8d71b7f3e9f}{\index{Camera@{Camera}!link@{link}} +\index{link@{link}!Camera@{Camera}} +\subsubsection[{link}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::link ( +\begin{DoxyParamCaption} +\item[{{\bf Uniform\-Enum}}]{which, } +\item[{const std\-::string \&}]{name} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}}\label{class_object_a11d6063c580331d6af59c8d71b7f3e9f} + + +link a specified Uniform against the shader's variable \-\_\-name. + + +\begin{DoxyParams}{Parameters} +{\em which} & The Uniform to link. \\ +\hline +{\em name} & The variable \-\_\-name on the shader. \\ +\hline +\end{DoxyParams} + + +Definition at line 345 of file Object.\-cpp. + +\hypertarget{class_object_accb051cdc79bc93e8c9c0edb79dd6b30}{\index{Camera@{Camera}!morph\-Percentage@{morph\-Percentage}} +\index{morph\-Percentage@{morph\-Percentage}!Camera@{Camera}} +\subsubsection[{morph\-Percentage}]{\setlength{\rightskip}{0pt plus 5cm}float Object\-::morph\-Percentage ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_accb051cdc79bc93e8c9c0edb79dd6b30} + + +Retrieve the morph Percentage of this object. + +\begin{DoxyReturn}{Returns} +The morph percentage, as a float. +\end{DoxyReturn} + + +Definition at line 515 of file Object.\-cpp. + +\hypertarget{class_object_a543d2329b25df9fb0a782f09d03e5cb1}{\index{Camera@{Camera}!morph\-Percentage@{morph\-Percentage}} +\index{morph\-Percentage@{morph\-Percentage}!Camera@{Camera}} +\subsubsection[{morph\-Percentage}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::morph\-Percentage ( +\begin{DoxyParamCaption} +\item[{const float}]{new\-Percentage} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_a543d2329b25df9fb0a782f09d03e5cb1} + + +Set the morph percentage of this \hyperlink{class_object}{Object}. + + +\begin{DoxyParams}{Parameters} +{\em new\-Percentage} & The new morphing percentage. \\ +\hline +\end{DoxyParams} + + +Definition at line 524 of file Object.\-cpp. + +\hypertarget{class_object_a7694c9cfe445c3d5b993a38e3f8badd9}{\index{Camera@{Camera}!morph\-Target@{morph\-Target}} +\index{morph\-Target@{morph\-Target}!Camera@{Camera}} +\subsubsection[{morph\-Target}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object} $\ast$ Object\-::morph\-Target ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_a7694c9cfe445c3d5b993a38e3f8badd9} + + +Retrieve a pointer to this object's morph target. + +\begin{DoxyReturn}{Returns} +An \hyperlink{class_object}{Object} pointer to the morph target. +\end{DoxyReturn} + + +Definition at line 489 of file Object.\-cpp. + +\hypertarget{class_camera_aaa9706527438bd5bd323dd018bb34fcf}{\index{Camera@{Camera}!move@{move}} +\index{move@{move}!Camera@{Camera}} +\subsubsection[{move}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::move ( +\begin{DoxyParamCaption} +\item[{const {\bf Camera\-::\-Direction} \&}]{Dir} +\end{DoxyParamCaption} +)}}\label{class_camera_aaa9706527438bd5bd323dd018bb34fcf} + + +move instructs the camera to begin moving in the specified direction. + + +\begin{DoxyParams}{Parameters} +{\em Dir} & The direction in which to move. Can be any direction in the enumerated type \hyperlink{class_camera_a80cb65605322d27ad3b6d973484509ec}{Camera\-::\-Direction}. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 272 of file Camera.\-cpp. + +\hypertarget{class_object_aafd766fce2598f718cac97a3ac731706}{\index{Camera@{Camera}!name@{name}} +\index{name@{name}!Camera@{Camera}} +\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::string \& Object\-::name ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_aafd766fce2598f718cac97a3ac731706} + + +Retrieve the \-\_\-name of this \hyperlink{class_object}{Object}. + +\begin{DoxyReturn}{Returns} +The \-\_\-name of this \hyperlink{class_object}{Object}. +\end{DoxyReturn} + + +Definition at line 333 of file Object.\-cpp. + +\hypertarget{class_object_a73f1a6210bacf504de9a808009479b81}{\index{Camera@{Camera}!number\-Of\-Points@{number\-Of\-Points}} +\index{number\-Of\-Points@{number\-Of\-Points}!Camera@{Camera}} +\subsubsection[{number\-Of\-Points}]{\setlength{\rightskip}{0pt plus 5cm}int Object\-::number\-Of\-Points ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_a73f1a6210bacf504de9a808009479b81} + + +Retrieve the number of \-\_\-vertices this object has. + +\begin{DoxyReturn}{Returns} +An integer representing the number of vertices the object has. +\end{DoxyReturn} + + +Definition at line 544 of file Object.\-cpp. + +\hypertarget{class_camera_aac7dbb6201be7f17e014fc6fdf915560}{\index{Camera@{Camera}!pitch@{pitch}} +\index{pitch@{pitch}!Camera@{Camera}} +\subsubsection[{pitch}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::pitch ( +\begin{DoxyParamCaption} +\item[{const float \&}]{by, } +\item[{const bool \&}]{fixed = {\ttfamily false}} +\end{DoxyParamCaption} +)}}\label{class_camera_aac7dbb6201be7f17e014fc6fdf915560} + + +pitch adjusts the x axis rotation; up/down look. + +A positive value represents looking up, while a negative value represents looking down. +\begin{DoxyParams}{Parameters} +{\em by} & A float, in degrees, to adjust the pitch by. \\ +\hline +{\em fixed} & Should this rotation be fixed about the origin? \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 198 of file Camera.\-cpp. + +\hypertarget{class_camera_a432e03c15d63f8839fe4731016d907a4}{\index{Camera@{Camera}!pos@{pos}} +\index{pos@{pos}!Camera@{Camera}} +\subsubsection[{pos}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::pos ( +\begin{DoxyParamCaption} +\item[{const float \&}]{x, } +\item[{const float \&}]{y, } +\item[{const float \&}]{z, } +\item[{const bool \&}]{update = {\ttfamily true}} +\end{DoxyParamCaption} +)}}\label{class_camera_a432e03c15d63f8839fe4731016d907a4} + + +Sets the absolute position of the camera. + + +\begin{DoxyParams}{Parameters} +{\em x} & The new x coordinate of the camera. \\ +\hline +{\em y} & The new y coordinate of the camera. \\ +\hline +{\em z} & The new z coordinate of the camera. \\ +\hline +{\em update} & Whether or not to update the shader with the new coordinates. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 99 of file Camera.\-cpp. + +\hypertarget{class_camera_ae9dc2206b71b25cf320a05d148cb8b56}{\index{Camera@{Camera}!pos@{pos}} +\index{pos@{pos}!Camera@{Camera}} +\subsubsection[{pos}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::pos ( +\begin{DoxyParamCaption} +\item[{const {\bf vec3} \&}]{in, } +\item[{const bool \&}]{update = {\ttfamily true}} +\end{DoxyParamCaption} +)}}\label{class_camera_ae9dc2206b71b25cf320a05d148cb8b56} + + +Sets the absolute position of the camera. + + +\begin{DoxyParams}{Parameters} +{\em in} & A vec3 containing the x, y, and z coordinates to set the camera to. \\ +\hline +{\em update} & Whether or not to update the shader with the new coordinates. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 115 of file Camera.\-cpp. + +\hypertarget{class_camera_aec2115038562e514193bb2b67f5da153}{\index{Camera@{Camera}!pos@{pos}} +\index{pos@{pos}!Camera@{Camera}} +\subsubsection[{pos}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::pos ( +\begin{DoxyParamCaption} +\item[{const {\bf vec4} \&}]{in, } +\item[{const bool \&}]{update = {\ttfamily true}} +\end{DoxyParamCaption} +)}}\label{class_camera_aec2115038562e514193bb2b67f5da153} + + +Sets the absolute position of the camera. + + +\begin{DoxyParams}{Parameters} +{\em in} & A vec4 containing the x, y, and z coordinates to set the camera to. The w coordinate is ignored. \\ +\hline +{\em update} & Whether or not to update the shader with the new coordinates. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 111 of file Camera.\-cpp. + +\hypertarget{class_camera_a9982ac5f48fe0af97fefa725080d6da6}{\index{Camera@{Camera}!pos@{pos}} +\index{pos@{pos}!Camera@{Camera}} +\subsubsection[{pos}]{\setlength{\rightskip}{0pt plus 5cm}{\bf vec4} Camera\-::pos ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_camera_a9982ac5f48fe0af97fefa725080d6da6} + + +\hyperlink{class_camera_a9982ac5f48fe0af97fefa725080d6da6}{pos()} gets the current camera position in model coordinates. + +\begin{DoxyReturn}{Returns} +A vec4 that represents the current camera coordinates. +\end{DoxyReturn} + + +Definition at line 346 of file Camera.\-cpp. + +\hypertarget{class_object_ac64609eb614aa5974b74000cec6fc95c}{\index{Camera@{Camera}!position@{position}} +\index{position@{position}!Camera@{Camera}} +\subsubsection[{position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf vec4} Object\-::position ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_ac64609eb614aa5974b74000cec6fc95c} + + +Obtain the vec4 representative of the \hyperlink{class_object}{Object}'s current position in space. + +\begin{DoxyReturn}{Returns} +vec4 representing the \hyperlink{class_object}{Object}'s position in space. +\end{DoxyReturn} + + +Definition at line 478 of file Object.\-cpp. + +\hypertarget{class_object_a2fdd201413e0408f5a2508874acd2ef5}{\index{Camera@{Camera}!propagate@{propagate}} +\index{propagate@{propagate}!Camera@{Camera}} +\subsubsection[{propagate}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::propagate ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_a2fdd201413e0408f5a2508874acd2ef5} + + +Scene-\/graph changes are not automatically applied to children. + +For efficiency reasons, you need to call \hyperlink{class_object_a2fdd201413e0408f5a2508874acd2ef5}{propagate()} manually. + +Definition at line 452 of file Object.\-cpp. + +\hypertarget{class_camera_a24c5346fc0dfaa93257b6716fe0f2421}{\index{Camera@{Camera}!refresh\-Perspective@{refresh\-Perspective}} +\index{refresh\-Perspective@{refresh\-Perspective}!Camera@{Camera}} +\subsubsection[{refresh\-Perspective}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::refresh\-Perspective ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_camera_a24c5346fc0dfaa93257b6716fe0f2421} + + +refresh\-Perspective re-\/generates the current view/perspective matrix of the camera. + +This function should be called after physical or virtual (viewport) screen resizes. \begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 366 of file Camera.\-cpp. + +\hypertarget{class_camera_a8ec7938c5e25068e5bff25aeb7038af4}{\index{Camera@{Camera}!reset\-Rotation@{reset\-Rotation}} +\index{reset\-Rotation@{reset\-Rotation}!Camera@{Camera}} +\subsubsection[{reset\-Rotation}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::reset\-Rotation ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_camera_a8ec7938c5e25068e5bff25aeb7038af4} + + +reset\-Rotation adjusts the camera's rotational state back to its default state (The Identity Matrix.) + +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 446 of file Camera.\-cpp. + +\hypertarget{class_camera_a1ba0979fe0b2ec58085d5f9721858e5e}{\index{Camera@{Camera}!roll@{roll}} +\index{roll@{roll}!Camera@{Camera}} +\subsubsection[{roll}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::roll ( +\begin{DoxyParamCaption} +\item[{const float \&}]{by, } +\item[{const bool \&}]{fixed = {\ttfamily false}} +\end{DoxyParamCaption} +)}}\label{class_camera_a1ba0979fe0b2ec58085d5f9721858e5e} + + +roll adjusts the z axis rotation; tilt or lean left/right. + +A positive value represents leaning right, while a negative value represents leaning left. +\begin{DoxyParams}{Parameters} +{\em by} & A float, in degrees, to adjust the roll by. \\ +\hline +{\em fixed} & Should this rotation be fixed about the origin? \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 219 of file Camera.\-cpp. + +\hypertarget{class_camera_a401decef27b59d6485b4ab9762f5b9e6}{\index{Camera@{Camera}!send@{send}} +\index{send@{send}!Camera@{Camera}} +\subsubsection[{send}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::send ( +\begin{DoxyParamCaption} +\item[{{\bf Object\-::\-Uniform\-Enum}}]{which} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_camera_a401decef27b59d6485b4ab9762f5b9e6} + + +send will send a glsl variable to the shader. + + +\begin{DoxyParams}{Parameters} +{\em which} & The parameter to send. Can be any from enum glsl\-\_\-var. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Reimplemented from \hyperlink{class_object_a34258ee199342d785c29d18c49d54e71}{Object}. + + + +Definition at line 403 of file Camera.\-cpp. + +\hypertarget{class_object_a459489106838a1e3a8dbbd13045cd523}{\index{Camera@{Camera}!shader@{shader}} +\index{shader@{shader}!Camera@{Camera}} +\subsubsection[{shader}]{\setlength{\rightskip}{0pt plus 5cm}G\-Luint Object\-::shader ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}}\label{class_object_a459489106838a1e3a8dbbd13045cd523} + + +Returns the \hyperlink{class_object}{Object}'s current shader. + +Defined because C++ will not let you overload an overrided function, without re-\/overloading it in the derived class. + +\begin{DoxyReturn}{Returns} +a G\-Luint handle to the shader program used by this \hyperlink{class_object}{Object}. +\end{DoxyReturn} + + +Reimplemented from \hyperlink{class_scene_a9d8a33f0f0a296aba0fb6717ab85cb18}{Scene}. + + + +Definition at line 406 of file Object.\-cpp. + +\hypertarget{class_object_aeaf11bb87bd59381c9e066f0b4f40d8e}{\index{Camera@{Camera}!shader@{shader}} +\index{shader@{shader}!Camera@{Camera}} +\subsubsection[{shader}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::shader ( +\begin{DoxyParamCaption} +\item[{G\-Luint}]{new\-Shader} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}}\label{class_object_aeaf11bb87bd59381c9e066f0b4f40d8e} + + +Sets the shader to be used by this object. + +Triggers a query of the shader program, for the locations of the Uniform locations that the object needs. + + +\begin{DoxyParams}{Parameters} +{\em new\-Shader} & a G\-Luint handle to the shader program to use.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +None. +\end{DoxyReturn} + + +Reimplemented from \hyperlink{class_scene_a3ea7e92935755c776c235a9872f53394}{Scene}. + + + +Definition at line 422 of file Object.\-cpp. + +\hypertarget{class_camera_ae7414c6ae83c3c9392ab90e957daf2b9}{\index{Camera@{Camera}!stop@{stop}} +\index{stop@{stop}!Camera@{Camera}} +\subsubsection[{stop}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::stop ( +\begin{DoxyParamCaption} +\item[{const {\bf Camera\-::\-Direction} \&}]{Dir} +\end{DoxyParamCaption} +)}}\label{class_camera_ae7414c6ae83c3c9392ab90e957daf2b9} + + +stop instructs the camera to stop moving in the specified direction. + + +\begin{DoxyParams}{Parameters} +{\em Dir} & The direction in which to stop moving. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 276 of file Camera.\-cpp. + +\hypertarget{class_camera_abb2251df65445bf8efd3fe0074fb5033}{\index{Camera@{Camera}!surge@{surge}} +\index{surge@{surge}!Camera@{Camera}} +\subsubsection[{surge}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::surge ( +\begin{DoxyParamCaption} +\item[{const float \&}]{by} +\end{DoxyParamCaption} +)}}\label{class_camera_abb2251df65445bf8efd3fe0074fb5033} + + +Adjusts the camera's z coordinate relative to its current position. + +Positive values move the camera forward, and negative values move the camera backward. Note that the camera uses model coordinates internally, so moving forward will increase the camera's z position negatively. +\begin{DoxyParams}{Parameters} +{\em by} & The float to adjust the z coordinate by. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 190 of file Camera.\-cpp. + +\hypertarget{class_camera_abbe6fe82ed05e64e35b0c4ed2001b34e}{\index{Camera@{Camera}!sway@{sway}} +\index{sway@{sway}!Camera@{Camera}} +\subsubsection[{sway}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::sway ( +\begin{DoxyParamCaption} +\item[{const float \&}]{by} +\end{DoxyParamCaption} +)}}\label{class_camera_abbe6fe82ed05e64e35b0c4ed2001b34e} + + +Adjusts the camera's x coordinate relative to its current position. + +Negative values move the camera left, and positive values move the camera right. +\begin{DoxyParams}{Parameters} +{\em by} & The float to adjust the x coordinate by. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 186 of file Camera.\-cpp. + +\hypertarget{class_object_afebb27ddb10daed8e2c5085b76cbc500}{\index{Camera@{Camera}!texture@{texture}} +\index{texture@{texture}!Camera@{Camera}} +\subsubsection[{texture}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::texture ( +\begin{DoxyParamCaption} +\item[{const char $\ast$$\ast$}]{filename} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_afebb27ddb10daed8e2c5085b76cbc500} + + +F\-I\-X\-M\-E\-: This is a junk, nonflexible method. + +It would be better if you didn't think of this as being here. + + +\begin{DoxyParams}{Parameters} +{\em filename} & an array of strings to load textures from. \\ +\hline +\end{DoxyParams} + + +Definition at line 279 of file Object.\-cpp. + +\hypertarget{class_object_a74300b3fa318786e21b65183461c5e25}{\index{Camera@{Camera}!texture\-I\-D@{texture\-I\-D}} +\index{texture\-I\-D@{texture\-I\-D}!Camera@{Camera}} +\subsubsection[{texture\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::texture\-I\-D ( +\begin{DoxyParamCaption} +\item[{G\-Lint}]{new\-Texture\-I\-D} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}}\label{class_object_a74300b3fa318786e21b65183461c5e25} + + +Set the \hyperlink{class_texture}{Texture} I\-D / \hyperlink{class_texture}{Texture} Unit for this \hyperlink{class_object}{Object}. + + +\begin{DoxyParams}{Parameters} +{\em new\-Texture\-I\-D} & The new \hyperlink{class_texture}{Texture} Unit I\-D/\-Index for this \hyperlink{class_object}{Object}. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +None. +\end{DoxyReturn} + + +Definition at line 244 of file Object.\-hpp. + +\hypertarget{class_camera_ae845a36306bba6b6e359cbdddce65f7f}{\index{Camera@{Camera}!view@{view}} +\index{view@{view}!Camera@{Camera}} +\subsubsection[{view}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::view ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_camera_ae845a36306bba6b6e359cbdddce65f7f} + + +view will instruct Open\-G\-L of the viewport we want, and then send all of our current matrices to the shader for rendering. + +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 434 of file Camera.\-cpp. + +\hypertarget{class_camera_adda458a9212825164b52019597f2e9c8}{\index{Camera@{Camera}!viewport@{viewport}} +\index{viewport@{viewport}!Camera@{Camera}} +\subsubsection[{viewport}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::viewport ( +\begin{DoxyParamCaption} +\item[{size\-\_\-t}]{\-\_\-\-X, } +\item[{size\-\_\-t}]{\-\_\-\-Y, } +\item[{size\-\_\-t}]{\-\_\-width, } +\item[{size\-\_\-t}]{\-\_\-height} +\end{DoxyParamCaption} +)}}\label{class_camera_adda458a9212825164b52019597f2e9c8} + + +viewport instructs this camera what his expected drawing window will be. + +This allows the camera to generate his viewing matrices with the correct aspect ratio. +\begin{DoxyParams}{Parameters} +{\em \-\_\-\-X} & The x coordinate of the lower-\/left corner of our viewport. \\ +\hline +{\em \-\_\-\-Y} & the y coordinate of the lower-\/left corner of our viewport. \\ +\hline +{\em \-\_\-width} & The width of our viewport. \\ +\hline +{\em \-\_\-height} & the height of our viewport. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 396 of file Camera.\-cpp. + +\hypertarget{class_camera_a14d59ca64bf258adacbed4e0e70ba701}{\index{Camera@{Camera}!x@{x}} +\index{x@{x}!Camera@{Camera}} +\subsubsection[{x}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::x ( +\begin{DoxyParamCaption} +\item[{const float \&}]{in, } +\item[{const bool \&}]{update = {\ttfamily true}} +\end{DoxyParamCaption} +)}}\label{class_camera_a14d59ca64bf258adacbed4e0e70ba701} + + +Sets the x coordinate of the camera. + + +\begin{DoxyParams}{Parameters} +{\em in} & The new x coordinate of the camera. \\ +\hline +{\em update} & Whether or not to update the shader with the new coordinates. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 68 of file Camera.\-cpp. + +\hypertarget{class_camera_ab84abdd525581fbaf0462595d0a087d6}{\index{Camera@{Camera}!x@{x}} +\index{x@{x}!Camera@{Camera}} +\subsubsection[{x}]{\setlength{\rightskip}{0pt plus 5cm}float Camera\-::x ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_camera_ab84abdd525581fbaf0462595d0a087d6} + + +\hyperlink{class_camera_ab84abdd525581fbaf0462595d0a087d6}{x()} returns the current position of the camera in model coordinates. + +\begin{DoxyReturn}{Returns} +The current x coordinate of the camera in model coordinates. +\end{DoxyReturn} + + +Definition at line 334 of file Camera.\-cpp. + +\hypertarget{class_camera_a5021b8379a853f306851837178856db0}{\index{Camera@{Camera}!y@{y}} +\index{y@{y}!Camera@{Camera}} +\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::y ( +\begin{DoxyParamCaption} +\item[{const float \&}]{in, } +\item[{const bool \&}]{update = {\ttfamily true}} +\end{DoxyParamCaption} +)}}\label{class_camera_a5021b8379a853f306851837178856db0} + + +Sets the y coordinate of the camera. + + +\begin{DoxyParams}{Parameters} +{\em in} & The new y coordinate of the camera. \\ +\hline +{\em update} & Whether or not to update the shader with the new coordinates. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 79 of file Camera.\-cpp. + +\hypertarget{class_camera_a68d0865ed19510ee41c6477511d70185}{\index{Camera@{Camera}!y@{y}} +\index{y@{y}!Camera@{Camera}} +\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}float Camera\-::y ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_camera_a68d0865ed19510ee41c6477511d70185} + + +\hyperlink{class_camera_a68d0865ed19510ee41c6477511d70185}{y()} returns the current position of the camera in model coordinates. + +\begin{DoxyReturn}{Returns} +The current y coordinate of the camera in model coordinates. +\end{DoxyReturn} + + +Definition at line 338 of file Camera.\-cpp. + +\hypertarget{class_camera_a0ce7d12edbe47d9a8915d8af98d8f524}{\index{Camera@{Camera}!yaw@{yaw}} +\index{yaw@{yaw}!Camera@{Camera}} +\subsubsection[{yaw}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::yaw ( +\begin{DoxyParamCaption} +\item[{const float \&}]{by, } +\item[{const bool \&}]{fixed = {\ttfamily false}} +\end{DoxyParamCaption} +)}}\label{class_camera_a0ce7d12edbe47d9a8915d8af98d8f524} + + +yaw adjusts the y axis rotation; left/right look. + +A positive value represents looking right, while a negative value represents looking left. +\begin{DoxyParams}{Parameters} +{\em by} & A float, in degrees, to adjust the yaw by. \\ +\hline +{\em fixed} & Should this rotation be fixed about the origin? \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 209 of file Camera.\-cpp. + +\hypertarget{class_camera_a4acfa20291c83f13c98781c0d53cdbd8}{\index{Camera@{Camera}!z@{z}} +\index{z@{z}!Camera@{Camera}} +\subsubsection[{z}]{\setlength{\rightskip}{0pt plus 5cm}void Camera\-::z ( +\begin{DoxyParamCaption} +\item[{const float \&}]{in, } +\item[{const bool \&}]{update = {\ttfamily true}} +\end{DoxyParamCaption} +)}}\label{class_camera_a4acfa20291c83f13c98781c0d53cdbd8} + + +Sets the z coordinate of the camera. + + +\begin{DoxyParams}{Parameters} +{\em in} & The new z coordinate of the camera. \\ +\hline +{\em update} & Whether or not to update the shader with the new coordinates. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 89 of file Camera.\-cpp. + +\hypertarget{class_camera_ab1167495c547046c57b1c417e53c39f6}{\index{Camera@{Camera}!z@{z}} +\index{z@{z}!Camera@{Camera}} +\subsubsection[{z}]{\setlength{\rightskip}{0pt plus 5cm}float Camera\-::z ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_camera_ab1167495c547046c57b1c417e53c39f6} + + +\hyperlink{class_camera_ab1167495c547046c57b1c417e53c39f6}{z()} returns the current position of the camera in model coordinates. + +\begin{DoxyReturn}{Returns} +The current z coordinate of the camera in model coordinates. +\end{DoxyReturn} + + +Definition at line 342 of file Camera.\-cpp. + + + +\subsection{Member Data Documentation} +\hypertarget{class_camera_a42082e8f2d80a13674ce163d8e720bfb}{\index{Camera@{Camera}!\-\_\-aspect\-Ratio@{\-\_\-aspect\-Ratio}} +\index{\-\_\-aspect\-Ratio@{\-\_\-aspect\-Ratio}!Camera@{Camera}} +\subsubsection[{\-\_\-aspect\-Ratio}]{\setlength{\rightskip}{0pt plus 5cm}G\-Lfloat Camera\-::\-\_\-aspect\-Ratio\hspace{0.3cm}{\ttfamily [private]}}}\label{class_camera_a42082e8f2d80a13674ce163d8e720bfb} + + +Current aspect ratio for certain perspectives. + + + +Definition at line 428 of file Camera.\-hpp. + +\hypertarget{class_object_a29a0e9959c490067db69378bf57a17ba}{\index{Camera@{Camera}!\-\_\-colors@{\-\_\-colors}} +\index{\-\_\-colors@{\-\_\-colors}!Camera@{Camera}} +\subsubsection[{\-\_\-colors}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ {\bf Angel\-::vec4} $>$ Object\-::\-\_\-colors\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_a29a0e9959c490067db69378bf57a17ba} + + +Colors buffer. + + + +Definition at line 256 of file Object.\-hpp. + +\hypertarget{class_camera_a6c1e31c8470b923f9f872f73597cb95b}{\index{Camera@{Camera}!\-\_\-ctm@{\-\_\-ctm}} +\index{\-\_\-ctm@{\-\_\-ctm}!Camera@{Camera}} +\subsubsection[{\-\_\-ctm}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Trans\-Cache} Camera\-::\-\_\-ctm\hspace{0.3cm}{\ttfamily [private]}}}\label{class_camera_a6c1e31c8470b923f9f872f73597cb95b} + + +The Current \hyperlink{class_transformation}{Transformation} state for this \hyperlink{class_camera}{Camera}. + + + +Definition at line 404 of file Camera.\-hpp. + +\hypertarget{class_camera_ac9062d9bb891aa81d163076738451081}{\index{Camera@{Camera}!\-\_\-current\-View@{\-\_\-current\-View}} +\index{\-\_\-current\-View@{\-\_\-current\-View}!Camera@{Camera}} +\subsubsection[{\-\_\-current\-View}]{\setlength{\rightskip}{0pt plus 5cm}{\bf View\-Type} Camera\-::\-\_\-current\-View\hspace{0.3cm}{\ttfamily [private]}}}\label{class_camera_ac9062d9bb891aa81d163076738451081} + + +The current viewing mode type. + + + +Definition at line 407 of file Camera.\-hpp. + +\hypertarget{class_object_ae8457eabfb89d55826142508013b56c0}{\index{Camera@{Camera}!\-\_\-draw\-Mode@{\-\_\-draw\-Mode}} +\index{\-\_\-draw\-Mode@{\-\_\-draw\-Mode}!Camera@{Camera}} +\subsubsection[{\-\_\-draw\-Mode}]{\setlength{\rightskip}{0pt plus 5cm}G\-Lenum Object\-::\-\_\-draw\-Mode\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_object_ae8457eabfb89d55826142508013b56c0} + + +Drawing mode for this object. + +G\-L\-\_\-\-T\-R\-I\-A\-N\-G\-L\-E\-S, G\-L\-\_\-\-L\-I\-N\-E\-\_\-\-L\-O\-O\-P, etc. + +Definition at line 278 of file Object.\-hpp. + +\hypertarget{class_camera_a82542bb76347e2a2bb66b3bb7842945b}{\index{Camera@{Camera}!\-\_\-fovy@{\-\_\-fovy}} +\index{\-\_\-fovy@{\-\_\-fovy}!Camera@{Camera}} +\subsubsection[{\-\_\-fovy}]{\setlength{\rightskip}{0pt plus 5cm}G\-Lfloat Camera\-::\-\_\-fovy\hspace{0.3cm}{\ttfamily [private]}}}\label{class_camera_a82542bb76347e2a2bb66b3bb7842945b} + + +Current field-\/of-\/view angle for perspective view. + + + +Definition at line 431 of file Camera.\-hpp. + +\hypertarget{class_camera_a66fb66da0ccd400c4986dc19276b6716}{\index{Camera@{Camera}!\-\_\-friction\-Magnitude@{\-\_\-friction\-Magnitude}} +\index{\-\_\-friction\-Magnitude@{\-\_\-friction\-Magnitude}!Camera@{Camera}} +\subsubsection[{\-\_\-friction\-Magnitude}]{\setlength{\rightskip}{0pt plus 5cm}G\-Lfloat Camera\-::\-\_\-friction\-Magnitude\hspace{0.3cm}{\ttfamily [private]}}}\label{class_camera_a66fb66da0ccd400c4986dc19276b6716} + + +Friction. + +Should be less than Max\-Accel. + +Definition at line 425 of file Camera.\-hpp. + +\hypertarget{class_object_a983963f564898beca4bda99676245663}{\index{Camera@{Camera}!\-\_\-handles@{\-\_\-handles}} +\index{\-\_\-handles@{\-\_\-handles}!Camera@{Camera}} +\subsubsection[{\-\_\-handles}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ G\-Lint $>$ Object\-::\-\_\-handles\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_object_a983963f564898beca4bda99676245663} + + +Handles to Uniforms on the shader. + +Protected to allow derived classes to extend it as needed. + +Definition at line 307 of file Object.\-hpp. + +\hypertarget{class_object_ab85adc7a2d3b891051c096593982653d}{\index{Camera@{Camera}!\-\_\-indices@{\-\_\-indices}} +\index{\-\_\-indices@{\-\_\-indices}!Camera@{Camera}} +\subsubsection[{\-\_\-indices}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ unsigned int $>$ Object\-::\-\_\-indices\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_ab85adc7a2d3b891051c096593982653d} + + +Draw Order Index buffer. + +If not used, engine assumes G\-L\-\_\-\-D\-R\-A\-W\-\_\-\-A\-R\-R\-A\-Y\-S. + +Definition at line 254 of file Object.\-hpp. + +\hypertarget{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{\index{Camera@{Camera}!\-\_\-map@{\-\_\-map}} +\index{\-\_\-map@{\-\_\-map}!Camera@{Camera}} +\subsubsection[{\-\_\-map}]{\setlength{\rightskip}{0pt plus 5cm}std\-::map$<$ std\-::string, {\bf Object}$\ast$ $>$ Scene\-::\-\_\-map\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a} + + +For the purposes of accessing named objects quickly, though, objects are also re-\/stored in an associative map. + +It's a little superfluous, but here it is! + +Definition at line 127 of file Scene.\-hpp. + +\hypertarget{class_object_a7fbbac9027e1a8266342bd5ce064120d}{\index{Camera@{Camera}!\-\_\-morph\-Percentage@{\-\_\-morph\-Percentage}} +\index{\-\_\-morph\-Percentage@{\-\_\-morph\-Percentage}!Camera@{Camera}} +\subsubsection[{\-\_\-morph\-Percentage}]{\setlength{\rightskip}{0pt plus 5cm}float Object\-::\-\_\-morph\-Percentage\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_object_a7fbbac9027e1a8266342bd5ce064120d} + + +The percentage of the morph. + +0.\-0 means 100\% the original, current object. 100.\-0 means 100\% the new, targeted object. + +Definition at line 289 of file Object.\-hpp. + +\hypertarget{class_camera_abec7e2becbad5a692a54a69b6a5f6d75}{\index{Camera@{Camera}!\-\_\-motion@{\-\_\-motion}} +\index{\-\_\-motion@{\-\_\-motion}!Camera@{Camera}} +\subsubsection[{\-\_\-motion}]{\setlength{\rightskip}{0pt plus 5cm}bool Camera\-::\-\_\-motion\mbox{[}Camera\-::\-D\-I\-R\-\_\-\-E\-N\-D\mbox{]}\hspace{0.3cm}{\ttfamily [private]}}}\label{class_camera_abec7e2becbad5a692a54a69b6a5f6d75} + + +Booleans correlating to the different motion directions. + + + +Definition at line 440 of file Camera.\-hpp. + +\hypertarget{class_object_a3f617214b260ebbe394e7c7b08ab5e43}{\index{Camera@{Camera}!\-\_\-name@{\-\_\-name}} +\index{\-\_\-name@{\-\_\-name}!Camera@{Camera}} +\subsubsection[{\-\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string Object\-::\-\_\-name\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_object_a3f617214b260ebbe394e7c7b08ab5e43} + + +\-\_\-name is used as an identifying handle for the object. + + + +Definition at line 269 of file Object.\-hpp. + +\hypertarget{class_object_a20bb786cb5915934853855aab9d1a1b3}{\index{Camera@{Camera}!\-\_\-normals@{\-\_\-normals}} +\index{\-\_\-normals@{\-\_\-normals}!Camera@{Camera}} +\subsubsection[{\-\_\-normals}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ {\bf Angel\-::vec3} $>$ Object\-::\-\_\-normals\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_a20bb786cb5915934853855aab9d1a1b3} + + +Normals buffer. + + + +Definition at line 252 of file Object.\-hpp. + +\hypertarget{class_camera_a21f8eb53e5369018e39add0453ae626d}{\index{Camera@{Camera}!\-\_\-speed@{\-\_\-speed}} +\index{\-\_\-speed@{\-\_\-speed}!Camera@{Camera}} +\subsubsection[{\-\_\-speed}]{\setlength{\rightskip}{0pt plus 5cm}G\-Lfloat Camera\-::\-\_\-speed\hspace{0.3cm}{\ttfamily [private]}}}\label{class_camera_a21f8eb53e5369018e39add0453ae626d} + + +Current Speed of camera motion. + + + +Definition at line 410 of file Camera.\-hpp. + +\hypertarget{class_object_aa9ddc3b95d74b76ab8a251fb376dfafb}{\index{Camera@{Camera}!\-\_\-tex\-U\-Vs@{\-\_\-tex\-U\-Vs}} +\index{\-\_\-tex\-U\-Vs@{\-\_\-tex\-U\-Vs}!Camera@{Camera}} +\subsubsection[{\-\_\-tex\-U\-Vs}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ {\bf Angel\-::vec2} $>$ Object\-::\-\_\-tex\-U\-Vs\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_aa9ddc3b95d74b76ab8a251fb376dfafb} + + +\hyperlink{class_texture}{Texture} Coordinates buffer. + + + +Definition at line 258 of file Object.\-hpp. + +\hypertarget{class_object_a6378d0b0eeec23045ae2a5245e42bf13}{\index{Camera@{Camera}!\-\_\-uniform\-Map@{\-\_\-uniform\-Map}} +\index{\-\_\-uniform\-Map@{\-\_\-uniform\-Map}!Camera@{Camera}} +\subsubsection[{\-\_\-uniform\-Map}]{\setlength{\rightskip}{0pt plus 5cm}std\-::map$<$ {\bf Object\-::\-Uniform\-Enum}, std\-::string $>$ Object\-::\-\_\-uniform\-Map\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_object_a6378d0b0eeec23045ae2a5245e42bf13} + + +A map between Uniform variable functions and the actual uniform variable names. + +Used when linking against a shader. + +Definition at line 300 of file Object.\-hpp. + +\hypertarget{class_object_a564aa6b1df66a05ab6b6c2f071851c4e}{\index{Camera@{Camera}!\-\_\-vao@{\-\_\-vao}} +\index{\-\_\-vao@{\-\_\-vao}!Camera@{Camera}} +\subsubsection[{\-\_\-vao}]{\setlength{\rightskip}{0pt plus 5cm}G\-Luint Object\-::\-\_\-vao\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_object_a564aa6b1df66a05ab6b6c2f071851c4e} + + +Vertex Array \hyperlink{class_object}{Object} handle identifying our buffers/object. + + + +Definition at line 272 of file Object.\-hpp. + +\hypertarget{class_camera_aa15577ff9e67c81699ee86d4d20a7ee7}{\index{Camera@{Camera}!\-\_\-velocity@{\-\_\-velocity}} +\index{\-\_\-velocity@{\-\_\-velocity}!Camera@{Camera}} +\subsubsection[{\-\_\-velocity}]{\setlength{\rightskip}{0pt plus 5cm}{\bf vec3} Camera\-::\-\_\-velocity\hspace{0.3cm}{\ttfamily [private]}}}\label{class_camera_aa15577ff9e67c81699ee86d4d20a7ee7} + + +Current Velocity of camera motion. + + + +Definition at line 413 of file Camera.\-hpp. + +\hypertarget{class_object_a4ac354b3ec284f27358b1d4b8d95b9a9}{\index{Camera@{Camera}!\-\_\-vertices@{\-\_\-vertices}} +\index{\-\_\-vertices@{\-\_\-vertices}!Camera@{Camera}} +\subsubsection[{\-\_\-vertices}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ {\bf Angel\-::vec4} $>$ Object\-::\-\_\-vertices\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_object_a4ac354b3ec284f27358b1d4b8d95b9a9} + + +vertex buffer. + + + +Definition at line 250 of file Object.\-hpp. + +\hypertarget{class_camera_a28f6e710df6db726568cd0f2bbd3643a}{\index{Camera@{Camera}!\-\_\-view@{\-\_\-view}} +\index{\-\_\-view@{\-\_\-view}!Camera@{Camera}} +\subsubsection[{\-\_\-view}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mat4} Camera\-::\-\_\-view\hspace{0.3cm}{\ttfamily [private]}}}\label{class_camera_a28f6e710df6db726568cd0f2bbd3643a} + + +The current view matrix (defaultly perspective) for this camera. + + + +Definition at line 401 of file Camera.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_camera_8hpp}{Camera.\-hpp}\item +\hyperlink{_camera_8cpp}{Camera.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_cameras.eps b/Doxygen/Docs/latex/class_cameras.eps new file mode 100644 index 00000000..f46fffb5 --- /dev/null +++ b/Doxygen/Docs/latex/class_cameras.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 571.428571 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 0.875000 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(Cameras) cw +(Scene) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (Cameras) 0.000000 0.000000 box + (Scene) 0.000000 1.000000 box + +% ----- relations ----- + +solid +0 0.000000 0.000000 out +solid +1 0.000000 1.000000 in diff --git a/Doxygen/Docs/latex/class_cameras.pdf b/Doxygen/Docs/latex/class_cameras.pdf new file mode 100644 index 00000000..1b975aec Binary files /dev/null and b/Doxygen/Docs/latex/class_cameras.pdf differ diff --git a/Doxygen/Docs/latex/class_cameras.tex b/Doxygen/Docs/latex/class_cameras.tex new file mode 100644 index 00000000..20d61a93 --- /dev/null +++ b/Doxygen/Docs/latex/class_cameras.tex @@ -0,0 +1,558 @@ +\hypertarget{class_cameras}{\section{Cameras Class Reference} +\label{class_cameras}\index{Cameras@{Cameras}} +} + + +The \hyperlink{class_cameras}{Cameras} class represents a group of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space. + + + + +{\ttfamily \#include $<$Cameras.\-hpp$>$} + +Inheritance diagram for Cameras\-:\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2.000000cm]{class_cameras} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hyperlink{class_cameras_a14342354c24f588c24e004a722849c3d}{Cameras} (void) +\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item +\hyperlink{class_cameras_a7de763b562cce2a06cb120610987cd29}{$\sim$\-Cameras} (void) +\begin{DoxyCompactList}\small\item\em Default destructor. \end{DoxyCompactList}\item +\hyperlink{class_camera}{Camera} $\ast$ \hyperlink{class_cameras_a436b481bf293ec6dfa09d2f89054c54b}{add\-Camera} (const std\-::string \&name) +\begin{DoxyCompactList}\small\item\em add\-Camera takes a name for a camera and returns a handle to a newly created camera. \end{DoxyCompactList}\item +void \hyperlink{class_cameras_a9dee7bf1f2c56176c461fa2617ce4549}{pop\-Camera} (void) +\begin{DoxyCompactList}\small\item\em pop\-Camera removes the most recently added \hyperlink{class_camera}{Camera} from the scene. \end{DoxyCompactList}\item +\hyperlink{class_camera}{Camera} $\ast$ \hyperlink{class_cameras_a971e1ffd27ff38d58f83996f87700e82}{next} (void) +\begin{DoxyCompactList}\small\item\em Sets the active camera to the next available one in the collection. \end{DoxyCompactList}\item +\hyperlink{class_camera}{Camera} $\ast$ \hyperlink{class_cameras_a90eb5a3dda940ed494f592d094580dd8}{prev} (void) +\begin{DoxyCompactList}\small\item\em Sets the active \hyperlink{class_camera}{Camera} to the previous available one in the collection. \end{DoxyCompactList}\item +\hyperlink{class_camera}{Camera} $\ast$ \hyperlink{class_cameras_a6002cbceb6a93092a1a029af486349a0}{active} (void) const +\begin{DoxyCompactList}\small\item\em active returns the \hyperlink{class_camera}{Camera} in the collection that is considered 'active'. \end{DoxyCompactList}\item +size\-\_\-t \hyperlink{class_cameras_acf7e92b5163efeeb88543e605d436a0e}{num\-Cameras} (void) const +\begin{DoxyCompactList}\small\item\em num\-Cameras fetches the number of \hyperlink{class_cameras}{Cameras} in the collection. \end{DoxyCompactList}\item +void \hyperlink{class_cameras_ac4fee80c5cd473ee4fa2360a95857da7}{idle\-Motion} (void) +\begin{DoxyCompactList}\small\item\em idle\-Motion calls the idle method on all child cameras. \end{DoxyCompactList}\item +void \hyperlink{class_cameras_a0d0b08d599d471c0070665006f3bc437}{resize} (int width, int height) +\begin{DoxyCompactList}\small\item\em resize informs the \hyperlink{class_cameras}{Cameras} collection of the new window size. \end{DoxyCompactList}\item +void \hyperlink{class_cameras_a9d3b24eec1504127e4942aa0e9412ae7}{calculate\-Viewports} (void) +\begin{DoxyCompactList}\small\item\em For each \hyperlink{class_camera}{Camera} in the collection, computes the position and size of that \hyperlink{class_camera}{Camera}'s viewport in a split-\/screen, single-\/window configuration. \end{DoxyCompactList}\item +void \hyperlink{class_cameras_adeb29c1d639fcfbae4c68017bc8ef4d4}{view} (void($\ast$draw\-\_\-func)(void)) +\begin{DoxyCompactList}\small\item\em view calls the view method on all child cameras, followed by the provided draw function. \end{DoxyCompactList}\item +\hyperlink{class_camera}{Camera} $\ast$ \hyperlink{class_cameras_a8a6c7958396c6b0d07380aa762b15fcc}{obj2\-Cam} (std\-::list$<$ \hyperlink{class_object}{Object} $\ast$ $>$\-::iterator \&it) +\begin{DoxyCompactList}\small\item\em obj2\-Cam is a gross hack; the function is used as a utility to convert \hyperlink{class_object}{Object} pointers to \hyperlink{class_camera}{Camera} pointers safely. \end{DoxyCompactList}\item +virtual void \hyperlink{class_scene_a3ea7e92935755c776c235a9872f53394}{shader} (G\-Luint g\-Shader) +\begin{DoxyCompactList}\small\item\em Sets the Default shader for the scene. \end{DoxyCompactList}\item +G\-Luint \hyperlink{class_scene_a9d8a33f0f0a296aba0fb6717ab85cb18}{shader} (void) +\begin{DoxyCompactList}\small\item\em Retrieves the handle for the default shader for the scene. \end{DoxyCompactList}\item +\hyperlink{class_object}{Object} $\ast$ \hyperlink{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b}{add\-Object} (const std\-::string \&obj\-Name, G\-Luint Object\-\_\-\-Shader=0) +\begin{DoxyCompactList}\small\item\em add\-Object creates a new \hyperlink{class_object}{Object} with the given name and, optionally, a specified shader and adds it to the \hyperlink{class_scene}{Scene} graph. \end{DoxyCompactList}\item +void \hyperlink{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0}{del\-Object} (const std\-::string \&obj\-Name) +\begin{DoxyCompactList}\small\item\em del\-Object will remove from the \hyperlink{class_scene}{Scene} graph the object with the given name. \end{DoxyCompactList}\item +\hypertarget{class_scene_a2e6b319b60e27e66ad43bb942a6c4424}{void \hyperlink{class_scene_a2e6b319b60e27e66ad43bb942a6c4424}{del\-Object} (void)}\label{class_scene_a2e6b319b60e27e66ad43bb942a6c4424} + +\begin{DoxyCompactList}\small\item\em del\-Object with no parameters will delete the first \hyperlink{class_object}{Object} in the \hyperlink{class_scene}{Scene}. \end{DoxyCompactList}\item +\hypertarget{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b}{void \hyperlink{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b}{pop\-Object} (void)}\label{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b} + +\begin{DoxyCompactList}\small\item\em pop\-Object deletes the last \hyperlink{class_object}{Object} in the \hyperlink{class_scene}{Scene}. \end{DoxyCompactList}\item +\hypertarget{class_scene_a41fbbe388ea322df338648e66611ffcf}{void {\bfseries draw} (void)}\label{class_scene_a41fbbe388ea322df338648e66611ffcf} + +\item +\hypertarget{class_scene_ae9b69d8db8a46991017635f22e45baad}{\hyperlink{class_object}{Object} $\ast$ {\bfseries operator\mbox{[}$\,$\mbox{]}} (const std\-::string \&objname)}\label{class_scene_ae9b69d8db8a46991017635f22e45baad} + +\item +void \hyperlink{class_scene_a8893899f0088a72642ae32a656252e7f}{insert\-Object} (\hyperlink{class_object}{Object} $\ast$obj) +\begin{DoxyCompactList}\small\item\em Register a created object with the scene graph. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Protected Member Functions} +\begin{DoxyCompactItemize} +\item +void \hyperlink{class_scene_ad3897f8ac658af62c133783b2c4eaee4}{delete\-Object} (\hyperlink{class_object}{Object} $\ast$obj) +\begin{DoxyCompactList}\small\item\em Very seriously delete a child object and free his memory. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Protected Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{std\-::list$<$ \hyperlink{class_object}{Object} $\ast$ $>$ \hyperlink{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{\-\_\-list}}\label{class_scene_acdd0123ca6b2d64d8d447bb485b235fc} + +\begin{DoxyCompactList}\small\item\em For the purposes of rapid propagation of scene-\/graph changes, \hyperlink{class_object}{Object} pointers are stored in a regular flat list. \end{DoxyCompactList}\item +std\-::map$<$ std\-::string, \hyperlink{class_object}{Object} $\ast$ $>$ \hyperlink{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{\-\_\-map} +\begin{DoxyCompactList}\small\item\em For the purposes of accessing named objects quickly, though, objects are also re-\/stored in an associative map. \end{DoxyCompactList}\item +\hypertarget{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{std\-::list$<$ \hyperlink{class_object}{Object} $\ast$ $>$\-::iterator \hyperlink{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{\-\_\-current\-Obj}}\label{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9} + +\begin{DoxyCompactList}\small\item\em We keep an iterator on-\/hand that references what the scene considers to be it's active, current object. \end{DoxyCompactList}\item +\hypertarget{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{G\-Luint \hyperlink{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{\-\_\-g\-Shader}}\label{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724} + +\begin{DoxyCompactList}\small\item\em A handle to a shader program to be used as the default shader for new children objects added to the scene. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_cameras_a2c40cd131741e1904fdfb024006258fd}{\hyperlink{struct_angel_1_1vec2}{Angel\-::vec2} \hyperlink{class_cameras_a2c40cd131741e1904fdfb024006258fd}{\-\_\-size}}\label{class_cameras_a2c40cd131741e1904fdfb024006258fd} + +\begin{DoxyCompactList}\small\item\em \-\_\-size is a simple vec2 (x,y) that contains the size of the screen. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +The \hyperlink{class_cameras}{Cameras} class represents a group of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space. + +\begin{DoxyAuthor}{Author} +John Huston, \href{mailto:jhuston@cs.uml.edu}{\tt jhuston@cs.\-uml.\-edu} +\end{DoxyAuthor} +\begin{DoxySince}{Since} +28 Nov 2012 +\end{DoxySince} +Each \hyperlink{class_camera}{Camera} possesses its own C\-T\-M which can be resent to the G\-P\-U at will. + +Definition at line 29 of file Cameras.\-hpp. + + + +\subsection{Constructor \& Destructor Documentation} +\hypertarget{class_cameras_a14342354c24f588c24e004a722849c3d}{\index{Cameras@{Cameras}!Cameras@{Cameras}} +\index{Cameras@{Cameras}!Cameras@{Cameras}} +\subsubsection[{Cameras}]{\setlength{\rightskip}{0pt plus 5cm}Cameras\-::\-Cameras ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_cameras_a14342354c24f588c24e004a722849c3d} + + +Default constructor. + +Nothing special. + +Definition at line 19 of file Cameras.\-cpp. + +\hypertarget{class_cameras_a7de763b562cce2a06cb120610987cd29}{\index{Cameras@{Cameras}!$\sim$\-Cameras@{$\sim$\-Cameras}} +\index{$\sim$\-Cameras@{$\sim$\-Cameras}!Cameras@{Cameras}} +\subsubsection[{$\sim$\-Cameras}]{\setlength{\rightskip}{0pt plus 5cm}Cameras\-::$\sim$\-Cameras ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_cameras_a7de763b562cce2a06cb120610987cd29} + + +Default destructor. + +Nothing special here, either. + +Definition at line 26 of file Cameras.\-cpp. + + + +\subsection{Member Function Documentation} +\hypertarget{class_cameras_a6002cbceb6a93092a1a029af486349a0}{\index{Cameras@{Cameras}!active@{active}} +\index{active@{active}!Cameras@{Cameras}} +\subsubsection[{active}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Camera} $\ast$ Cameras\-::active ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_cameras_a6002cbceb6a93092a1a029af486349a0} + + +active returns the \hyperlink{class_camera}{Camera} in the collection that is considered 'active'. + +\begin{DoxyReturn}{Returns} +A pointer to the currently selected, active \hyperlink{class_camera}{Camera}. +\end{DoxyReturn} + + +Reimplemented from \hyperlink{class_scene}{Scene}. + + + +Definition at line 88 of file Cameras.\-cpp. + +\hypertarget{class_cameras_a436b481bf293ec6dfa09d2f89054c54b}{\index{Cameras@{Cameras}!add\-Camera@{add\-Camera}} +\index{add\-Camera@{add\-Camera}!Cameras@{Cameras}} +\subsubsection[{add\-Camera}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Camera} $\ast$ Cameras\-::add\-Camera ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{name} +\end{DoxyParamCaption} +)}}\label{class_cameras_a436b481bf293ec6dfa09d2f89054c54b} + + +add\-Camera takes a name for a camera and returns a handle to a newly created camera. + + +\begin{DoxyParams}{Parameters} +{\em name} & The name of the new camera to create. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +A Pointer to a newly created \hyperlink{class_camera}{Camera} object. +\end{DoxyReturn} + + +Definition at line 35 of file Cameras.\-cpp. + +\hypertarget{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b}{\index{Cameras@{Cameras}!add\-Object@{add\-Object}} +\index{add\-Object@{add\-Object}!Cameras@{Cameras}} +\subsubsection[{add\-Object}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object} $\ast$ Scene\-::add\-Object ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{obj\-Name, } +\item[{G\-Luint}]{shader = {\ttfamily 0}} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b} + + +add\-Object creates a new \hyperlink{class_object}{Object} with the given name and, optionally, a specified shader and adds it to the \hyperlink{class_scene}{Scene} graph. + +If no shader is given, a default shader M\-U\-S\-T have been specified for the \hyperlink{class_scene}{Scene} prior to the call. + + +\begin{DoxyParams}{Parameters} +{\em obj\-Name} & The name of the new \hyperlink{class_object}{Object} to add. \\ +\hline +{\em Object\-\_\-\-Shader} & The shader that should be used to render this object. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +A pointer to the new \hyperlink{class_object}{Object}. +\end{DoxyReturn} + + +Definition at line 77 of file Scene.\-cpp. + +\hypertarget{class_cameras_a9d3b24eec1504127e4942aa0e9412ae7}{\index{Cameras@{Cameras}!calculate\-Viewports@{calculate\-Viewports}} +\index{calculate\-Viewports@{calculate\-Viewports}!Cameras@{Cameras}} +\subsubsection[{calculate\-Viewports}]{\setlength{\rightskip}{0pt plus 5cm}void Cameras\-::calculate\-Viewports ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_cameras_a9d3b24eec1504127e4942aa0e9412ae7} + + +For each \hyperlink{class_camera}{Camera} in the collection, computes the position and size of that \hyperlink{class_camera}{Camera}'s viewport in a split-\/screen, single-\/window configuration. + +The \hyperlink{class_camera}{Camera} object is updated with the new information. + +\begin{DoxyReturn}{Returns} +void. + +void. +\end{DoxyReturn} + + +Definition at line 143 of file Cameras.\-cpp. + +\hypertarget{class_scene_ad3897f8ac658af62c133783b2c4eaee4}{\index{Cameras@{Cameras}!delete\-Object@{delete\-Object}} +\index{delete\-Object@{delete\-Object}!Cameras@{Cameras}} +\subsubsection[{delete\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::delete\-Object ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_scene_ad3897f8ac658af62c133783b2c4eaee4} + + +Very seriously delete a child object and free his memory. + +delete\-Object is the actual implementation function that will remove an \hyperlink{class_object}{Object} from the \hyperlink{class_scene}{Scene} list and \hyperlink{class_scene}{Scene} map, then free the object. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to delete.\\ +\hline +{\em obj} & The pointer to the object to free. \\ +\hline +\end{DoxyParams} + + +Definition at line 129 of file Scene.\-cpp. + +\hypertarget{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0}{\index{Cameras@{Cameras}!del\-Object@{del\-Object}} +\index{del\-Object@{del\-Object}!Cameras@{Cameras}} +\subsubsection[{del\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::del\-Object ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{obj\-Name} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0} + + +del\-Object will remove from the \hyperlink{class_scene}{Scene} graph the object with the given name. + + +\begin{DoxyParams}{Parameters} +{\em obj\-Name} & Name of the \hyperlink{class_object}{Object} to delete. \\ +\hline +\end{DoxyParams} + + +Definition at line 99 of file Scene.\-cpp. + +\hypertarget{class_cameras_ac4fee80c5cd473ee4fa2360a95857da7}{\index{Cameras@{Cameras}!idle\-Motion@{idle\-Motion}} +\index{idle\-Motion@{idle\-Motion}!Cameras@{Cameras}} +\subsubsection[{idle\-Motion}]{\setlength{\rightskip}{0pt plus 5cm}void Cameras\-::idle\-Motion ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_cameras_ac4fee80c5cd473ee4fa2360a95857da7} + + +idle\-Motion calls the idle method on all child cameras. + +Intended to be called during the \hyperlink{ds_8cpp_a01131b63acf241e9db91704d89ce15d2}{idle()} loop in G\-L\-U\-T. + +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 113 of file Cameras.\-cpp. + +\hypertarget{class_scene_a8893899f0088a72642ae32a656252e7f}{\index{Cameras@{Cameras}!insert\-Object@{insert\-Object}} +\index{insert\-Object@{insert\-Object}!Cameras@{Cameras}} +\subsubsection[{insert\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::insert\-Object ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_scene_a8893899f0088a72642ae32a656252e7f} + + +Register a created object with the scene graph. + + +\begin{DoxyParams}{Parameters} +{\em name} & The name of the object (For the associative map), \\ +\hline +{\em obj} & The \hyperlink{class_object}{Object} pointer to add to the scene. \\ +\hline +\end{DoxyParams} + + +Definition at line 118 of file Scene.\-cpp. + +\hypertarget{class_cameras_a971e1ffd27ff38d58f83996f87700e82}{\index{Cameras@{Cameras}!next@{next}} +\index{next@{next}!Cameras@{Cameras}} +\subsubsection[{next}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Camera} $\ast$ Cameras\-::next ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_cameras_a971e1ffd27ff38d58f83996f87700e82} + + +Sets the active camera to the next available one in the collection. + +Sets the active \hyperlink{class_camera}{Camera} to the next available one in the collection. + +\begin{DoxyReturn}{Returns} +A pointer to the newly active \hyperlink{class_camera}{Camera}. +\end{DoxyReturn} + + +Reimplemented from \hyperlink{class_scene}{Scene}. + + + +Definition at line 66 of file Cameras.\-cpp. + +\hypertarget{class_cameras_acf7e92b5163efeeb88543e605d436a0e}{\index{Cameras@{Cameras}!num\-Cameras@{num\-Cameras}} +\index{num\-Cameras@{num\-Cameras}!Cameras@{Cameras}} +\subsubsection[{num\-Cameras}]{\setlength{\rightskip}{0pt plus 5cm}size\-\_\-t Cameras\-::num\-Cameras ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_cameras_acf7e92b5163efeeb88543e605d436a0e} + + +num\-Cameras fetches the number of \hyperlink{class_cameras}{Cameras} in the collection. + +\begin{DoxyReturn}{Returns} +an unsigned integer, the number of \hyperlink{class_cameras}{Cameras} in the collection. +\end{DoxyReturn} + + +Definition at line 103 of file Cameras.\-cpp. + +\hypertarget{class_cameras_a8a6c7958396c6b0d07380aa762b15fcc}{\index{Cameras@{Cameras}!obj2\-Cam@{obj2\-Cam}} +\index{obj2\-Cam@{obj2\-Cam}!Cameras@{Cameras}} +\subsubsection[{obj2\-Cam}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Camera} $\ast$ Cameras\-::obj2\-Cam ( +\begin{DoxyParamCaption} +\item[{std\-::list$<$ {\bf Object} $\ast$ $>$\-::iterator \&}]{it} +\end{DoxyParamCaption} +)}}\label{class_cameras_a8a6c7958396c6b0d07380aa762b15fcc} + + +obj2\-Cam is a gross hack; the function is used as a utility to convert \hyperlink{class_object}{Object} pointers to \hyperlink{class_camera}{Camera} pointers safely. + +F\-I\-X\-M\-E\-: Refactor the inheritance here to make this less hacky. + + +\begin{DoxyParams}{Parameters} +{\em it} & A list$<$\-Object$\ast$$>$ iterator that points to the \hyperlink{class_object}{Object}.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +A pointer to a \hyperlink{class_camera}{Camera} object. +\end{DoxyReturn} + + +Definition at line 251 of file Cameras.\-cpp. + +\hypertarget{class_cameras_a9dee7bf1f2c56176c461fa2617ce4549}{\index{Cameras@{Cameras}!pop\-Camera@{pop\-Camera}} +\index{pop\-Camera@{pop\-Camera}!Cameras@{Cameras}} +\subsubsection[{pop\-Camera}]{\setlength{\rightskip}{0pt plus 5cm}void Cameras\-::pop\-Camera ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_cameras_a9dee7bf1f2c56176c461fa2617ce4549} + + +pop\-Camera removes the most recently added \hyperlink{class_camera}{Camera} from the scene. + +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 52 of file Cameras.\-cpp. + +\hypertarget{class_cameras_a90eb5a3dda940ed494f592d094580dd8}{\index{Cameras@{Cameras}!prev@{prev}} +\index{prev@{prev}!Cameras@{Cameras}} +\subsubsection[{prev}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Camera} $\ast$ Cameras\-::prev ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_cameras_a90eb5a3dda940ed494f592d094580dd8} + + +Sets the active \hyperlink{class_camera}{Camera} to the previous available one in the collection. + +\begin{DoxyReturn}{Returns} +A pointer to the newly active \hyperlink{class_camera}{Camera}. +\end{DoxyReturn} + + +Reimplemented from \hyperlink{class_scene}{Scene}. + + + +Definition at line 77 of file Cameras.\-cpp. + +\hypertarget{class_cameras_a0d0b08d599d471c0070665006f3bc437}{\index{Cameras@{Cameras}!resize@{resize}} +\index{resize@{resize}!Cameras@{Cameras}} +\subsubsection[{resize}]{\setlength{\rightskip}{0pt plus 5cm}void Cameras\-::resize ( +\begin{DoxyParamCaption} +\item[{int}]{width, } +\item[{int}]{height} +\end{DoxyParamCaption} +)}}\label{class_cameras_a0d0b08d599d471c0070665006f3bc437} + + +resize informs the \hyperlink{class_cameras}{Cameras} collection of the new window size. + +Intended to be called from the G\-L\-U\-T main loop. This method also invokes \hyperlink{class_cameras_a9d3b24eec1504127e4942aa0e9412ae7}{Cameras\-::calculate\-Viewports}. + + +\begin{DoxyParams}{Parameters} +{\em width} & The new window width. \\ +\hline +{\em height} & The new window height.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 130 of file Cameras.\-cpp. + +\hypertarget{class_scene_a3ea7e92935755c776c235a9872f53394}{\index{Cameras@{Cameras}!shader@{shader}} +\index{shader@{shader}!Cameras@{Cameras}} +\subsubsection[{shader}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::shader ( +\begin{DoxyParamCaption} +\item[{G\-Luint}]{g\-Shader} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}}\label{class_scene_a3ea7e92935755c776c235a9872f53394} + + +Sets the Default shader for the scene. + +In the context of inheritance by objects, This sets the shader to use to render the physical object. + + +\begin{DoxyParams}{Parameters} +{\em g\-Shader} & The G\-Luint handle to the shader to use.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Reimplemented in \hyperlink{class_object_aeaf11bb87bd59381c9e066f0b4f40d8e}{Object}. + + + +Definition at line 52 of file Scene.\-cpp. + +\hypertarget{class_scene_a9d8a33f0f0a296aba0fb6717ab85cb18}{\index{Cameras@{Cameras}!shader@{shader}} +\index{shader@{shader}!Cameras@{Cameras}} +\subsubsection[{shader}]{\setlength{\rightskip}{0pt plus 5cm}G\-Luint Scene\-::shader ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_scene_a9d8a33f0f0a296aba0fb6717ab85cb18} + + +Retrieves the handle for the default shader for the scene. + +In the context of inheritance by objects, This retrieves the shader handle to use to draw the object. + +\begin{DoxyReturn}{Returns} +A G\-Luint handle to the shader program. +\end{DoxyReturn} + + +Reimplemented in \hyperlink{class_object_a459489106838a1e3a8dbbd13045cd523}{Object}. + + + +Definition at line 63 of file Scene.\-cpp. + +\hypertarget{class_cameras_adeb29c1d639fcfbae4c68017bc8ef4d4}{\index{Cameras@{Cameras}!view@{view}} +\index{view@{view}!Cameras@{Cameras}} +\subsubsection[{view}]{\setlength{\rightskip}{0pt plus 5cm}void Cameras\-::view ( +\begin{DoxyParamCaption} +\item[{void($\ast$)(void)}]{draw\-\_\-func} +\end{DoxyParamCaption} +)}}\label{class_cameras_adeb29c1d639fcfbae4c68017bc8ef4d4} + + +view calls the view method on all child cameras, followed by the provided draw function. + +Intended to be called during the \hyperlink{ds_8cpp_a4ea013001a5fb47853d0fab8f8de35cd}{display()} portion of the G\-L\-U\-T main loop. + +\hyperlink{class_cameras_adeb29c1d639fcfbae4c68017bc8ef4d4}{view()} is intended to \char`\"{}set up\char`\"{} the object, but not actually draw it. + + +\begin{DoxyParams}{Parameters} +{\em draw\-\_\-func} & A pointer to a function that will actually draw the object. \\ +\hline +\end{DoxyParams} + + +Definition at line 234 of file Cameras.\-cpp. + + + +\subsection{Member Data Documentation} +\hypertarget{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{\index{Cameras@{Cameras}!\-\_\-map@{\-\_\-map}} +\index{\-\_\-map@{\-\_\-map}!Cameras@{Cameras}} +\subsubsection[{\-\_\-map}]{\setlength{\rightskip}{0pt plus 5cm}std\-::map$<$ std\-::string, {\bf Object}$\ast$ $>$ Scene\-::\-\_\-map\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a} + + +For the purposes of accessing named objects quickly, though, objects are also re-\/stored in an associative map. + +It's a little superfluous, but here it is! + +Definition at line 127 of file Scene.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_cameras_8hpp}{Cameras.\-hpp}\item +\hyperlink{_cameras_8cpp}{Cameras.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_engine.tex b/Doxygen/Docs/latex/class_engine.tex new file mode 100644 index 00000000..c2d77412 --- /dev/null +++ b/Doxygen/Docs/latex/class_engine.tex @@ -0,0 +1,331 @@ +\hypertarget{class_engine}{\section{Engine Class Reference} +\label{class_engine}\index{Engine@{Engine}} +} + + +The \hyperlink{class_engine}{Engine} class is a singleton-\/style class which helps keep track of instances of important objects (for \hyperlink{class_cameras}{Cameras}, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace. + + + + +{\ttfamily \#include $<$Engine.\-hpp$>$} + +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hyperlink{class_cameras}{Cameras} $\ast$ \hyperlink{class_engine_a2b2c1cd59c9a5c903bf466284012ce4c}{cams} (void) +\begin{DoxyCompactList}\small\item\em Retrieves a pointer to the \hyperlink{class_camera}{Camera} List. \end{DoxyCompactList}\item +\hyperlink{class_scene}{Scene} $\ast$ \hyperlink{class_engine_a782cf288c161986d0ac0eb48cd187c4d}{root\-Scene} (void) +\begin{DoxyCompactList}\small\item\em Retrieves a pointer to the Root, top-\/level \hyperlink{class_scene}{Scene} graph. \end{DoxyCompactList}\item +\hyperlink{class_screen}{Screen} $\ast$ \hyperlink{class_engine_ad4429218b5aed162269094c6571a2520}{main\-Screen} (void) +\begin{DoxyCompactList}\small\item\em Retrieves a pointer to the core '\hyperlink{class_screen}{Screen}' object. \end{DoxyCompactList}\item +bool \hyperlink{class_engine_ae3658976c5ab1f0c912d2c7d5747cb67}{opt} (const std\-::string \&Option) +\begin{DoxyCompactList}\small\item\em opt retrieves the current setting of an option in the \hyperlink{class_engine}{Engine}. \end{DoxyCompactList}\item +void \hyperlink{class_engine_a797b0b934a94cd2ea7ab1c11083e425c}{opt} (const std\-::string \&Option, bool setting) +\begin{DoxyCompactList}\small\item\em opt, with a second parameter, sets an \hyperlink{class_engine}{Engine} option. \end{DoxyCompactList}\item +bool \hyperlink{class_engine_a81f16979bc330c46675e4d7ffab5eff9}{set} (const std\-::string \&Option) +\begin{DoxyCompactList}\small\item\em set checks to see if an option has been explicitly set to either True/\-False. \end{DoxyCompactList}\item +bool \hyperlink{class_engine_a0e6265ae2700bda2f21abd308430637a}{flip} (const std\-::string \&Option) +\begin{DoxyCompactList}\small\item\em flip changes a setting from its current value to its negated form. \end{DoxyCompactList}\item +\hypertarget{class_engine_a4850643b0f929d8021115cf37d7ab608}{\hyperlink{class_engine_a4850643b0f929d8021115cf37d7ab608}{$\sim$\-Engine} (void)}\label{class_engine_a4850643b0f929d8021115cf37d7ab608} + +\begin{DoxyCompactList}\small\item\em Default, non-\/virtual destructor. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Static Public Member Functions} +\begin{DoxyCompactItemize} +\item +static \hyperlink{class_engine}{Engine} $\ast$ \hyperlink{class_engine_a6cbf9ec80a4a3bb245355ff70498dba0}{instance} (void) +\begin{DoxyCompactList}\small\item\em instance returns, or creates and then returns, a pointer to the \hyperlink{class_engine}{Engine} object. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Private Member Functions} +\begin{DoxyCompactItemize} +\item +\hyperlink{class_engine_a9ad87e382195a05d5d310a2fb3e357fd}{Engine} (void) +\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item +\hyperlink{class_engine_a8e027119a62020acddedd0a14fb44033}{Engine} (const \hyperlink{class_engine}{Engine} \©) +\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item +\hyperlink{class_engine}{Engine} \& \hyperlink{class_engine_a09761dabaae6f48bd5c612acea76a9bf}{operator=} (\hyperlink{class_engine}{Engine} \&assign) +\begin{DoxyCompactList}\small\item\em Assignment operator. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_engine_afc244649d4b31f59f2ef91754472b281}{\hyperlink{class_scene}{Scene} \hyperlink{class_engine_afc244649d4b31f59f2ef91754472b281}{\-\_\-scene}}\label{class_engine_afc244649d4b31f59f2ef91754472b281} + +\begin{DoxyCompactList}\small\item\em The root \hyperlink{class_scene}{Scene} graph for the \hyperlink{class_engine}{Engine}. \end{DoxyCompactList}\item +\hypertarget{class_engine_a181e11b6fd26698bc173647ab2471c8c}{\hyperlink{class_screen}{Screen} \hyperlink{class_engine_a181e11b6fd26698bc173647ab2471c8c}{\-\_\-screen}}\label{class_engine_a181e11b6fd26698bc173647ab2471c8c} + +\begin{DoxyCompactList}\small\item\em The core \char`\"{}\-Screen\char`\"{} object for the \hyperlink{class_engine}{Engine}. \end{DoxyCompactList}\item +\hypertarget{class_engine_a467d917952b89ef23f7a045e4f87218a}{\hyperlink{_engine_8hpp_a35f3ec1606bb0642e48d2e62fea0d6a6}{Settings\-Map} \hyperlink{class_engine_a467d917952b89ef23f7a045e4f87218a}{\-\_\-engine\-Settings}}\label{class_engine_a467d917952b89ef23f7a045e4f87218a} + +\begin{DoxyCompactList}\small\item\em \-\_\-engine\-Settings is a std\-::map that contains a series of $<$std\-::string, bool$>$ pairs that represent our \hyperlink{class_engine}{Engine} options. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Static Private Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_engine_ae494a590056c4594f1f3cb39e4d18994}{static \hyperlink{class_engine}{Engine} $\ast$ \hyperlink{class_engine_ae494a590056c4594f1f3cb39e4d18994}{\-\_\-engine\-Singleton} = N\-U\-L\-L}\label{class_engine_ae494a590056c4594f1f3cb39e4d18994} + +\begin{DoxyCompactList}\small\item\em static, stateful variable that is our singleton pointer. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +The \hyperlink{class_engine}{Engine} class is a singleton-\/style class which helps keep track of instances of important objects (for \hyperlink{class_cameras}{Cameras}, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace. + +\begin{DoxyAuthor}{Author} +John Huston, \href{mailto:jhuston@cs.uml.edu}{\tt jhuston@cs.\-uml.\-edu} +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/13 +\end{DoxyDate} + + +Definition at line 32 of file Engine.\-hpp. + + + +\subsection{Constructor \& Destructor Documentation} +\hypertarget{class_engine_a9ad87e382195a05d5d310a2fb3e357fd}{\index{Engine@{Engine}!Engine@{Engine}} +\index{Engine@{Engine}!Engine@{Engine}} +\subsubsection[{Engine}]{\setlength{\rightskip}{0pt plus 5cm}Engine\-::\-Engine ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_engine_a9ad87e382195a05d5d310a2fb3e357fd} + + +Default constructor. + +Cannot be called, this is a singleton class. + +Definition at line 40 of file Engine.\-cpp. + +\hypertarget{class_engine_a8e027119a62020acddedd0a14fb44033}{\index{Engine@{Engine}!Engine@{Engine}} +\index{Engine@{Engine}!Engine@{Engine}} +\subsubsection[{Engine}]{\setlength{\rightskip}{0pt plus 5cm}Engine\-::\-Engine ( +\begin{DoxyParamCaption} +\item[{const {\bf Engine} \&}]{copy} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_engine_a8e027119a62020acddedd0a14fb44033} + + +Copy constructor. + +Cannot be called. +\begin{DoxyParams}{Parameters} +{\em copy} & Not used. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Will always throw an exception. +\end{DoxyReturn} + +\begin{DoxyExceptions}{Exceptions} +{\em Will} & always throw std\-::logic\-\_\-error. \\ +\hline +\end{DoxyExceptions} + + +Definition at line 57 of file Engine.\-cpp. + + + +\subsection{Member Function Documentation} +\hypertarget{class_engine_a2b2c1cd59c9a5c903bf466284012ce4c}{\index{Engine@{Engine}!cams@{cams}} +\index{cams@{cams}!Engine@{Engine}} +\subsubsection[{cams}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Cameras} $\ast$ Engine\-::cams ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_engine_a2b2c1cd59c9a5c903bf466284012ce4c} + + +Retrieves a pointer to the \hyperlink{class_camera}{Camera} List. + +\begin{DoxyReturn}{Returns} +A pointer to the \hyperlink{class_camera}{Camera} List. +\end{DoxyReturn} + + +Definition at line 76 of file Engine.\-cpp. + +\hypertarget{class_engine_a0e6265ae2700bda2f21abd308430637a}{\index{Engine@{Engine}!flip@{flip}} +\index{flip@{flip}!Engine@{Engine}} +\subsubsection[{flip}]{\setlength{\rightskip}{0pt plus 5cm}bool Engine\-::flip ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{Option} +\end{DoxyParamCaption} +)}}\label{class_engine_a0e6265ae2700bda2f21abd308430637a} + + +flip changes a setting from its current value to its negated form. + + +\begin{DoxyParams}{Parameters} +{\em Option} & The option to toggle. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +The new, current value of the option. +\end{DoxyReturn} + + +Definition at line 139 of file Engine.\-cpp. + +\hypertarget{class_engine_a6cbf9ec80a4a3bb245355ff70498dba0}{\index{Engine@{Engine}!instance@{instance}} +\index{instance@{instance}!Engine@{Engine}} +\subsubsection[{instance}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Engine} $\ast$ Engine\-::instance ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [static]}}}\label{class_engine_a6cbf9ec80a4a3bb245355ff70498dba0} + + +instance returns, or creates and then returns, a pointer to the \hyperlink{class_engine}{Engine} object. + +All hail the singleton! + +\begin{DoxyReturn}{Returns} +A pointer to the \hyperlink{class_engine}{Engine} object. +\end{DoxyReturn} + + +Definition at line 29 of file Engine.\-cpp. + +\hypertarget{class_engine_ad4429218b5aed162269094c6571a2520}{\index{Engine@{Engine}!main\-Screen@{main\-Screen}} +\index{main\-Screen@{main\-Screen}!Engine@{Engine}} +\subsubsection[{main\-Screen}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Screen} $\ast$ Engine\-::main\-Screen ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_engine_ad4429218b5aed162269094c6571a2520} + + +Retrieves a pointer to the core '\hyperlink{class_screen}{Screen}' object. + +\begin{DoxyReturn}{Returns} +A pointer to the core '\hyperlink{class_screen}{Screen}' object. +\end{DoxyReturn} + + +Definition at line 96 of file Engine.\-cpp. + +\hypertarget{class_engine_a09761dabaae6f48bd5c612acea76a9bf}{\index{Engine@{Engine}!operator=@{operator=}} +\index{operator=@{operator=}!Engine@{Engine}} +\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Engine} \& Engine\-::operator= ( +\begin{DoxyParamCaption} +\item[{{\bf Engine} \&}]{assign} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_engine_a09761dabaae6f48bd5c612acea76a9bf} + + +Assignment operator. + +Cannot be used. This is a singleton class. +\begin{DoxyParams}{Parameters} +{\em assign} & Not used. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Will always throw an exception. +\end{DoxyReturn} + +\begin{DoxyExceptions}{Exceptions} +{\em Will} & always throw std\-::logic\-\_\-error. \\ +\hline +\end{DoxyExceptions} + + +Definition at line 67 of file Engine.\-cpp. + +\hypertarget{class_engine_ae3658976c5ab1f0c912d2c7d5747cb67}{\index{Engine@{Engine}!opt@{opt}} +\index{opt@{opt}!Engine@{Engine}} +\subsubsection[{opt}]{\setlength{\rightskip}{0pt plus 5cm}bool Engine\-::opt ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{Option} +\end{DoxyParamCaption} +)}}\label{class_engine_ae3658976c5ab1f0c912d2c7d5747cb67} + + +opt retrieves the current setting of an option in the \hyperlink{class_engine}{Engine}. + + +\begin{DoxyParams}{Parameters} +{\em Option} & The name of the option to access. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +A bool\-: the current value of the setting. +\end{DoxyReturn} + + +Definition at line 107 of file Engine.\-cpp. + +\hypertarget{class_engine_a797b0b934a94cd2ea7ab1c11083e425c}{\index{Engine@{Engine}!opt@{opt}} +\index{opt@{opt}!Engine@{Engine}} +\subsubsection[{opt}]{\setlength{\rightskip}{0pt plus 5cm}void Engine\-::opt ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{Option, } +\item[{bool}]{setting} +\end{DoxyParamCaption} +)}}\label{class_engine_a797b0b934a94cd2ea7ab1c11083e425c} + + +opt, with a second parameter, sets an \hyperlink{class_engine}{Engine} option. + + +\begin{DoxyParams}{Parameters} +{\em Option} & The name of the option to set. \\ +\hline +{\em setting} & The value to give the option. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 117 of file Engine.\-cpp. + +\hypertarget{class_engine_a782cf288c161986d0ac0eb48cd187c4d}{\index{Engine@{Engine}!root\-Scene@{root\-Scene}} +\index{root\-Scene@{root\-Scene}!Engine@{Engine}} +\subsubsection[{root\-Scene}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Scene} $\ast$ Engine\-::root\-Scene ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_engine_a782cf288c161986d0ac0eb48cd187c4d} + + +Retrieves a pointer to the Root, top-\/level \hyperlink{class_scene}{Scene} graph. + +\begin{DoxyReturn}{Returns} +A pointer to the Root-\/level \hyperlink{class_scene}{Scene} graph. +\end{DoxyReturn} + + +Definition at line 86 of file Engine.\-cpp. + +\hypertarget{class_engine_a81f16979bc330c46675e4d7ffab5eff9}{\index{Engine@{Engine}!set@{set}} +\index{set@{set}!Engine@{Engine}} +\subsubsection[{set}]{\setlength{\rightskip}{0pt plus 5cm}bool Engine\-::set ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{Option} +\end{DoxyParamCaption} +)}}\label{class_engine_a81f16979bc330c46675e4d7ffab5eff9} + + +set checks to see if an option has been explicitly set to either True/\-False. + + +\begin{DoxyParams}{Parameters} +{\em Option} & The option to check the existence of \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +A boolean\-: True if the option has been set, False otherwise. +\end{DoxyReturn} + + +Definition at line 127 of file Engine.\-cpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_engine_8hpp}{Engine.\-hpp}\item +\hyperlink{_engine_8cpp}{Engine.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_object.eps b/Doxygen/Docs/latex/class_object.eps new file mode 100644 index 00000000..f9c749a1 --- /dev/null +++ b/Doxygen/Docs/latex/class_object.eps @@ -0,0 +1,209 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 291.262136 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.716667 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 3 def +/cols 2 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(Object) cw +(Scene) cw +(Camera) cw +(ParticleSystem) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (Object) 0.500000 1.000000 box + (Scene) 0.500000 2.000000 box + (Camera) 0.000000 0.000000 box + (ParticleSystem) 1.000000 0.000000 box + +% ----- relations ----- + +solid +0 0.500000 1.000000 out +solid +1 0.500000 2.000000 in +solid +1 0.500000 0.250000 out +solid +0.000000 1.000000 1.000000 conn +solid +0 0.000000 0.750000 in +solid +0 1.000000 0.750000 in diff --git a/Doxygen/Docs/latex/class_object.pdf b/Doxygen/Docs/latex/class_object.pdf new file mode 100644 index 00000000..55c4c95f Binary files /dev/null and b/Doxygen/Docs/latex/class_object.pdf differ diff --git a/Doxygen/Docs/latex/class_object.tex b/Doxygen/Docs/latex/class_object.tex new file mode 100644 index 00000000..cdf47a01 --- /dev/null +++ b/Doxygen/Docs/latex/class_object.tex @@ -0,0 +1,908 @@ +\hypertarget{class_object}{\section{Object Class Reference} +\label{class_object}\index{Object@{Object}} +} + + +\hyperlink{class_object}{Object} Class\-: Renderable \hyperlink{class_object}{Object} Implementation. + + + + +{\ttfamily \#include $<$Object.\-hpp$>$} + +Inheritance diagram for Object\-:\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=3.000000cm]{class_object} +\end{center} +\end{figure} +\subsection*{Public Types} +\begin{DoxyCompactItemize} +\item +enum \hyperlink{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3}{Uniforms} \{ \\* +\hyperlink{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a8a65225741e4db1df295c9cab71a98c0}{B\-E\-G\-I\-N}, +\hyperlink{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a8fecaee23530c9befe7feb5166e81484}{I\-S\-\_\-\-T\-E\-X\-T\-U\-R\-E\-D} = B\-E\-G\-I\-N, +\hyperlink{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a9aaf45d5144b52065016b5b39e909851}{O\-B\-J\-E\-C\-T\-\_\-\-C\-T\-M}, +\hyperlink{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3ac93e286d52dad730ccf3fdab9b102902}{M\-O\-R\-P\-H\-\_\-\-P\-C\-T}, +\\* +\hyperlink{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a85f87adc3e3d4242733729ee87b21423}{T\-E\-X\-\_\-\-S\-A\-M\-P\-L\-E\-R}, +\hyperlink{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3ad78facbf844c1259f464a49061e1d7ed}{E\-N\-D} + \} +\begin{DoxyCompactList}\small\item\em enum Uniforms describes the properties of the base object that need to be visible to the G\-P\-U. \end{DoxyCompactList}\item +typedef const unsigned int \hyperlink{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{Uniform\-Enum} +\begin{DoxyCompactList}\small\item\em The \hyperlink{class_object}{Object} class takes advantage of child-\/extendible enumerations. \end{DoxyCompactList}\item +typedef std\-::map\\* +$<$ \hyperlink{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{Object\-::\-Uniform\-Enum}, \\* +std\-::string $>$ \hyperlink{class_object_a6e19bd8516360bff956408cbae33b878}{Uniform\-Map} +\begin{DoxyCompactList}\small\item\em We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables. \end{DoxyCompactList}\item +typedef enum \hyperlink{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3}{Object\-::\-Uniforms} \hyperlink{class_object_ae6a2969ddca87d2c54b7cb1c131a7d60}{Uniform} +\begin{DoxyCompactList}\small\item\em enum Uniforms describes the properties of the base object that need to be visible to the G\-P\-U. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hyperlink{class_object_aacf42e81415f32f1f2a105ce29c7c1b9}{Object} (const std\-::string \&\hyperlink{class_object_aafd766fce2598f718cac97a3ac731706}{name}, G\-Luint g\-Shader) +\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item +\hypertarget{class_object_ac9ec2177266554587e8ddb40eb72ae1c}{virtual \hyperlink{class_object_ac9ec2177266554587e8ddb40eb72ae1c}{$\sim$\-Object} (void)}\label{class_object_ac9ec2177266554587e8ddb40eb72ae1c} + +\begin{DoxyCompactList}\small\item\em Default destructor. \end{DoxyCompactList}\item +\hypertarget{class_object_a53e2ee7f548550be014126bed139fe69}{void \hyperlink{class_object_a53e2ee7f548550be014126bed139fe69}{draw} (void)}\label{class_object_a53e2ee7f548550be014126bed139fe69} + +\begin{DoxyCompactList}\small\item\em draw method\-: Render this object to the screen \-\_\-buffer. \end{DoxyCompactList}\item +\hypertarget{class_object_a7edb92c30d86b6479b0ff2a5e9f06e13}{void \hyperlink{class_object_a7edb92c30d86b6479b0ff2a5e9f06e13}{buffer} (void)}\label{class_object_a7edb92c30d86b6479b0ff2a5e9f06e13} + +\begin{DoxyCompactList}\small\item\em buffer all of our data\-: Vertices, Tex\-U\-Vs, Normals, Indices, Colors and Morph Buffers. \end{DoxyCompactList}\item +\hypertarget{class_object_a293792abfe0671e00a0ec10e85ea9d9e}{void \hyperlink{class_object_a293792abfe0671e00a0ec10e85ea9d9e}{buffer\-Morph\-Only} (void)}\label{class_object_a293792abfe0671e00a0ec10e85ea9d9e} + +\begin{DoxyCompactList}\small\item\em buffer only the Morph-\/related buffers. \end{DoxyCompactList}\item +void \hyperlink{class_object_adafdf22583b051b4c61c8eb725fb07d5}{draw\-Mode} (G\-Lenum new\-\_\-mode) +\begin{DoxyCompactList}\small\item\em Select a new Open\-G\-L draw mode for this \hyperlink{class_object}{Object}. \end{DoxyCompactList}\item +void \hyperlink{class_object_afebb27ddb10daed8e2c5085b76cbc500}{texture} (const char $\ast$$\ast$filename) +\begin{DoxyCompactList}\small\item\em F\-I\-X\-M\-E\-: This is a junk, nonflexible method. \end{DoxyCompactList}\item +const std\-::string \& \hyperlink{class_object_aafd766fce2598f718cac97a3ac731706}{name} (void) const +\begin{DoxyCompactList}\small\item\em Retrieve the \-\_\-name of this \hyperlink{class_object}{Object}. \end{DoxyCompactList}\item +virtual void \hyperlink{class_object_a11d6063c580331d6af59c8d71b7f3e9f}{link} (\hyperlink{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{Uniform\-Enum} which, const std\-::string \&\hyperlink{class_object_aafd766fce2598f718cac97a3ac731706}{name}) +\begin{DoxyCompactList}\small\item\em link a specified Uniform against the shader's variable \-\_\-name. \end{DoxyCompactList}\item +virtual void \hyperlink{class_object_a34258ee199342d785c29d18c49d54e71}{send} (\hyperlink{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{Uniform\-Enum} which) +\begin{DoxyCompactList}\small\item\em Send a Uniform to the shader. \end{DoxyCompactList}\item +virtual G\-Luint \hyperlink{class_object_a459489106838a1e3a8dbbd13045cd523}{shader} (void) +\begin{DoxyCompactList}\small\item\em Returns the \hyperlink{class_object}{Object}'s current shader. \end{DoxyCompactList}\item +virtual void \hyperlink{class_object_aeaf11bb87bd59381c9e066f0b4f40d8e}{shader} (G\-Luint new\-Shader) +\begin{DoxyCompactList}\small\item\em Sets the shader to be used by this object. \end{DoxyCompactList}\item +void \hyperlink{class_object_a0d604a816115c474b9593aeaebda9f8b}{animation} (void($\ast$anim\-\_\-func)(\hyperlink{class_trans_cache}{Trans\-Cache} \&arg)) +\begin{DoxyCompactList}\small\item\em Apply an animation callback function to this \hyperlink{class_object}{Object}. \end{DoxyCompactList}\item +void \hyperlink{class_object_a2fdd201413e0408f5a2508874acd2ef5}{propagate} (void) +\begin{DoxyCompactList}\small\item\em Scene-\/graph changes are not automatically applied to children. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec4}{vec4} \hyperlink{class_object_ac64609eb614aa5974b74000cec6fc95c}{position} () const +\begin{DoxyCompactList}\small\item\em Obtain the vec4 representative of the \hyperlink{class_object}{Object}'s current position in space. \end{DoxyCompactList}\item +\hyperlink{class_object}{Object} $\ast$ \hyperlink{class_object_a7694c9cfe445c3d5b993a38e3f8badd9}{morph\-Target} () const +\begin{DoxyCompactList}\small\item\em Retrieve a pointer to this object's morph target. \end{DoxyCompactList}\item +\hyperlink{class_object}{Object} $\ast$ \hyperlink{class_object_ab0ba603904f8f7de15dc0450e2d9b30e}{gen\-Morph\-Target} (G\-Luint \hyperlink{class_object_a459489106838a1e3a8dbbd13045cd523}{shader}) +\begin{DoxyCompactList}\small\item\em Instantiate a new morphing target. \end{DoxyCompactList}\item +float \hyperlink{class_object_accb051cdc79bc93e8c9c0edb79dd6b30}{morph\-Percentage} () const +\begin{DoxyCompactList}\small\item\em Retrieve the morph Percentage of this object. \end{DoxyCompactList}\item +void \hyperlink{class_object_a543d2329b25df9fb0a782f09d03e5cb1}{morph\-Percentage} (const float new\-Percentage) +\begin{DoxyCompactList}\small\item\em Set the morph percentage of this \hyperlink{class_object}{Object}. \end{DoxyCompactList}\item +\hypertarget{class_object_a98d3f1b9ebb61c3b21e2a59ed267480a}{void \hyperlink{class_object_a98d3f1b9ebb61c3b21e2a59ed267480a}{destroy\-Morph\-Target} ()}\label{class_object_a98d3f1b9ebb61c3b21e2a59ed267480a} + +\begin{DoxyCompactList}\small\item\em Obliterate the morph target for this object. \end{DoxyCompactList}\item +int \hyperlink{class_object_a73f1a6210bacf504de9a808009479b81}{number\-Of\-Points} () +\begin{DoxyCompactList}\small\item\em Retrieve the number of \-\_\-vertices this object has. \end{DoxyCompactList}\item +void \hyperlink{class_object_a74300b3fa318786e21b65183461c5e25}{texture\-I\-D} (G\-Lint new\-Texture\-I\-D) +\begin{DoxyCompactList}\small\item\em Set the \hyperlink{class_texture}{Texture} I\-D / \hyperlink{class_texture}{Texture} Unit for this \hyperlink{class_object}{Object}. \end{DoxyCompactList}\item +\hyperlink{class_object}{Object} $\ast$ \hyperlink{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b}{add\-Object} (const std\-::string \&obj\-Name, G\-Luint Object\-\_\-\-Shader=0) +\begin{DoxyCompactList}\small\item\em add\-Object creates a new \hyperlink{class_object}{Object} with the given name and, optionally, a specified shader and adds it to the \hyperlink{class_scene}{Scene} graph. \end{DoxyCompactList}\item +void \hyperlink{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0}{del\-Object} (const std\-::string \&obj\-Name) +\begin{DoxyCompactList}\small\item\em del\-Object will remove from the \hyperlink{class_scene}{Scene} graph the object with the given name. \end{DoxyCompactList}\item +\hypertarget{class_scene_a2e6b319b60e27e66ad43bb942a6c4424}{void \hyperlink{class_scene_a2e6b319b60e27e66ad43bb942a6c4424}{del\-Object} (void)}\label{class_scene_a2e6b319b60e27e66ad43bb942a6c4424} + +\begin{DoxyCompactList}\small\item\em del\-Object with no parameters will delete the first \hyperlink{class_object}{Object} in the \hyperlink{class_scene}{Scene}. \end{DoxyCompactList}\item +\hypertarget{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b}{void \hyperlink{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b}{pop\-Object} (void)}\label{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b} + +\begin{DoxyCompactList}\small\item\em pop\-Object deletes the last \hyperlink{class_object}{Object} in the \hyperlink{class_scene}{Scene}. \end{DoxyCompactList}\item +\hypertarget{class_scene_a70fcdad192a4c6ff508125de8af6cf4d}{\hyperlink{class_object}{Object} $\ast$ {\bfseries next} (void)}\label{class_scene_a70fcdad192a4c6ff508125de8af6cf4d} + +\item +\hypertarget{class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae}{\hyperlink{class_object}{Object} $\ast$ {\bfseries prev} (void)}\label{class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae} + +\item +\hypertarget{class_scene_ad0ea1a6bcf7815c63988bd937f06eb23}{\hyperlink{class_object}{Object} $\ast$ {\bfseries active} (void) const }\label{class_scene_ad0ea1a6bcf7815c63988bd937f06eb23} + +\item +\hypertarget{class_scene_ae9b69d8db8a46991017635f22e45baad}{\hyperlink{class_object}{Object} $\ast$ {\bfseries operator\mbox{[}$\,$\mbox{]}} (const std\-::string \&objname)}\label{class_scene_ae9b69d8db8a46991017635f22e45baad} + +\item +void \hyperlink{class_scene_a8893899f0088a72642ae32a656252e7f}{insert\-Object} (\hyperlink{class_object}{Object} $\ast$obj) +\begin{DoxyCompactList}\small\item\em Register a created object with the scene graph. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Public Attributes} +\begin{DoxyCompactItemize} +\item +std\-::vector$<$ \hyperlink{struct_angel_1_1vec4}{Angel\-::vec4} $>$ \hyperlink{class_object_a4ac354b3ec284f27358b1d4b8d95b9a9}{\-\_\-vertices} +\begin{DoxyCompactList}\small\item\em vertex buffer. \end{DoxyCompactList}\item +std\-::vector$<$ \hyperlink{struct_angel_1_1vec3}{Angel\-::vec3} $>$ \hyperlink{class_object_a20bb786cb5915934853855aab9d1a1b3}{\-\_\-normals} +\begin{DoxyCompactList}\small\item\em Normals buffer. \end{DoxyCompactList}\item +std\-::vector$<$ unsigned int $>$ \hyperlink{class_object_ab85adc7a2d3b891051c096593982653d}{\-\_\-indices} +\begin{DoxyCompactList}\small\item\em Draw Order Index buffer. \end{DoxyCompactList}\item +std\-::vector$<$ \hyperlink{struct_angel_1_1vec4}{Angel\-::vec4} $>$ \hyperlink{class_object_a29a0e9959c490067db69378bf57a17ba}{\-\_\-colors} +\begin{DoxyCompactList}\small\item\em Colors buffer. \end{DoxyCompactList}\item +std\-::vector$<$ \hyperlink{struct_angel_1_1vec2}{Angel\-::vec2} $>$ \hyperlink{class_object_aa9ddc3b95d74b76ab8a251fb376dfafb}{\-\_\-tex\-U\-Vs} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_texture}{Texture} Coordinates buffer. \end{DoxyCompactList}\item +\hypertarget{class_object_af17d57ea2dab64e21112e8949d50d85f}{\hyperlink{class_trans_cache}{Trans\-Cache} \hyperlink{class_object_af17d57ea2dab64e21112e8949d50d85f}{\-\_\-trans}}\label{class_object_af17d57ea2dab64e21112e8949d50d85f} + +\begin{DoxyCompactList}\small\item\em The \-\_\-trans cache encompasses the current transformational state of this object. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Protected Member Functions} +\begin{DoxyCompactItemize} +\item +void \hyperlink{class_scene_ad3897f8ac658af62c133783b2c4eaee4}{delete\-Object} (\hyperlink{class_object}{Object} $\ast$obj) +\begin{DoxyCompactList}\small\item\em Very seriously delete a child object and free his memory. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Protected Attributes} +\begin{DoxyCompactItemize} +\item +std\-::string \hyperlink{class_object_a3f617214b260ebbe394e7c7b08ab5e43}{\-\_\-name} +\begin{DoxyCompactList}\small\item\em \-\_\-name is used as an identifying handle for the object. \end{DoxyCompactList}\item +G\-Luint \hyperlink{class_object_a564aa6b1df66a05ab6b6c2f071851c4e}{\-\_\-vao} +\begin{DoxyCompactList}\small\item\em Vertex Array \hyperlink{class_object}{Object} handle identifying our buffers/object. \end{DoxyCompactList}\item +\hypertarget{class_object_adf8365e2c661ab4014c3dbf60e48572b}{G\-Luint \hyperlink{class_object_adf8365e2c661ab4014c3dbf60e48572b}{\-\_\-buffer} \mbox{[}\hyperlink{class_object_a51d08da3bd559d08734197006bc29a79a1999a38dc687c7ae05c884078de39b51}{N\-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S}\mbox{]}}\label{class_object_adf8365e2c661ab4014c3dbf60e48572b} + +\begin{DoxyCompactList}\small\item\em Handles to our buffers (Vertices, Tex\-U\-Vs, etc.) \end{DoxyCompactList}\item +G\-Lenum \hyperlink{class_object_ae8457eabfb89d55826142508013b56c0}{\-\_\-draw\-Mode} +\begin{DoxyCompactList}\small\item\em Drawing mode for this object. \end{DoxyCompactList}\item +\hypertarget{class_object_abcb877094b696561a49bc931c5a12d9f}{bool \hyperlink{class_object_abcb877094b696561a49bc931c5a12d9f}{\-\_\-is\-Textured}}\label{class_object_abcb877094b696561a49bc931c5a12d9f} + +\begin{DoxyCompactList}\small\item\em Is this object textured? \end{DoxyCompactList}\item +float \hyperlink{class_object_a7fbbac9027e1a8266342bd5ce064120d}{\-\_\-morph\-Percentage} +\begin{DoxyCompactList}\small\item\em The percentage of the morph. \end{DoxyCompactList}\item +\hypertarget{class_object_a5baa9891bd4981d62b4e86a1c2a8eea7}{\hyperlink{class_object}{Object} $\ast$ \hyperlink{class_object_a5baa9891bd4981d62b4e86a1c2a8eea7}{\-\_\-morph\-Target}}\label{class_object_a5baa9891bd4981d62b4e86a1c2a8eea7} + +\begin{DoxyCompactList}\small\item\em A pointer to the object we wish to morph into. \end{DoxyCompactList}\item +std\-::map$<$ \hyperlink{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{Object\-::\-Uniform\-Enum}, \\* +std\-::string $>$ \hyperlink{class_object_a6378d0b0eeec23045ae2a5245e42bf13}{\-\_\-uniform\-Map} +\begin{DoxyCompactList}\small\item\em A map between Uniform variable functions and the actual uniform variable names. \end{DoxyCompactList}\item +std\-::vector$<$ G\-Lint $>$ \hyperlink{class_object_a983963f564898beca4bda99676245663}{\-\_\-handles} +\begin{DoxyCompactList}\small\item\em Handles to Uniforms on the shader. \end{DoxyCompactList}\item +\hypertarget{class_object_aefef7502dd10fb3c1c266cf688c432de}{G\-Lint \hyperlink{class_object_aefef7502dd10fb3c1c266cf688c432de}{\-\_\-texture\-I\-D}}\label{class_object_aefef7502dd10fb3c1c266cf688c432de} + +\begin{DoxyCompactList}\small\item\em The texture unit index this \hyperlink{class_object}{Object} uses. \end{DoxyCompactList}\item +\hypertarget{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{std\-::list$<$ \hyperlink{class_object}{Object} $\ast$ $>$ \hyperlink{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{\-\_\-list}}\label{class_scene_acdd0123ca6b2d64d8d447bb485b235fc} + +\begin{DoxyCompactList}\small\item\em For the purposes of rapid propagation of scene-\/graph changes, \hyperlink{class_object}{Object} pointers are stored in a regular flat list. \end{DoxyCompactList}\item +std\-::map$<$ std\-::string, \hyperlink{class_object}{Object} $\ast$ $>$ \hyperlink{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{\-\_\-map} +\begin{DoxyCompactList}\small\item\em For the purposes of accessing named objects quickly, though, objects are also re-\/stored in an associative map. \end{DoxyCompactList}\item +\hypertarget{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{std\-::list$<$ \hyperlink{class_object}{Object} $\ast$ $>$\-::iterator \hyperlink{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{\-\_\-current\-Obj}}\label{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9} + +\begin{DoxyCompactList}\small\item\em We keep an iterator on-\/hand that references what the scene considers to be it's active, current object. \end{DoxyCompactList}\item +\hypertarget{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{G\-Luint \hyperlink{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{\-\_\-g\-Shader}}\label{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724} + +\begin{DoxyCompactList}\small\item\em A handle to a shader program to be used as the default shader for new children objects added to the scene. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Private Types} +\begin{DoxyCompactItemize} +\item +enum \hyperlink{class_object_a51d08da3bd559d08734197006bc29a79}{Buffer\-Type} \{ \\* +\hyperlink{class_object_a51d08da3bd559d08734197006bc29a79a23be05de1d4a9e5738eff4c1860f8bfd}{V\-E\-R\-T\-I\-C\-E\-S}, +\hyperlink{class_object_a51d08da3bd559d08734197006bc29a79ac91e7a2ef76150b999a9af53d229a8e0}{N\-O\-R\-M\-A\-L\-S}, +\hyperlink{class_object_a51d08da3bd559d08734197006bc29a79abe6f0cf968db450f99d8e176c4d23091}{I\-N\-D\-I\-C\-E\-S}, +\hyperlink{class_object_a51d08da3bd559d08734197006bc29a79a69fb14c98b43d636b30ef5e77b492968}{C\-O\-L\-O\-R\-S}, +\\* +\hyperlink{class_object_a51d08da3bd559d08734197006bc29a79adc601b2ac4ff7f3e455faa35208e431f}{T\-E\-X\-C\-O\-O\-R\-D\-S}, +\hyperlink{class_object_a51d08da3bd559d08734197006bc29a79a0e9e165431001465775bc5ba2b8d1bd8}{V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-M\-O\-R\-P\-H}, +\hyperlink{class_object_a51d08da3bd559d08734197006bc29a79aa2afe042e85c0772ba75ba0ee6223a57}{N\-O\-R\-M\-A\-L\-S\-\_\-\-M\-O\-R\-P\-H}, +\hyperlink{class_object_a51d08da3bd559d08734197006bc29a79a814c8171ad45f6e954ffb474a5dfacb1}{C\-O\-L\-O\-R\-S\-\_\-\-M\-O\-R\-P\-H}, +\\* +\hyperlink{class_object_a51d08da3bd559d08734197006bc29a79a1999a38dc687c7ae05c884078de39b51}{N\-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S} + \} +\begin{DoxyCompactList}\small\item\em These enumerations describe the types of buffers we want on the G\-P\-U per-\/object. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +\hyperlink{class_object}{Object} Class\-: Renderable \hyperlink{class_object}{Object} Implementation. + +\begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/15 +\end{DoxyDate} +The \hyperlink{class_object}{Object} class represents \char`\"{}one renderable object\char`\"{} in terms of the scene graph. It is a simple unit that is rendered with a single \hyperlink{class_object_a53e2ee7f548550be014126bed139fe69}{draw()} call. + +It contains all of the necessary state for sending uniforms to the shader, all of the buffers needed to send to the card, and also contains a fully-\/featured scene graph within itself such that children objects can be attached. + +Definition at line 36 of file Object.\-hpp. + + + +\subsection{Member Typedef Documentation} +\hypertarget{class_object_ae6a2969ddca87d2c54b7cb1c131a7d60}{\index{Object@{Object}!Uniform@{Uniform}} +\index{Uniform@{Uniform}!Object@{Object}} +\subsubsection[{Uniform}]{\setlength{\rightskip}{0pt plus 5cm}typedef enum {\bf Object\-::\-Uniforms} {\bf Object\-::\-Uniform}}}\label{class_object_ae6a2969ddca87d2c54b7cb1c131a7d60} + + +enum Uniforms describes the properties of the base object that need to be visible to the G\-P\-U. + +B\-E\-G\-I\-N and E\-N\-D are special sentinel enumerations that must be first and last, respectively. \hypertarget{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{\index{Object@{Object}!Uniform\-Enum@{Uniform\-Enum}} +\index{Uniform\-Enum@{Uniform\-Enum}!Object@{Object}} +\subsubsection[{Uniform\-Enum}]{\setlength{\rightskip}{0pt plus 5cm}typedef const unsigned int {\bf Object\-::\-Uniform\-Enum}}}\label{class_object_a79b74057dbc5182b85c9c3ba8480fcf2} + + +The \hyperlink{class_object}{Object} class takes advantage of child-\/extendible enumerations. + +We create an alias here for sake of ease. + +Definition at line 62 of file Object.\-hpp. + +\hypertarget{class_object_a6e19bd8516360bff956408cbae33b878}{\index{Object@{Object}!Uniform\-Map@{Uniform\-Map}} +\index{Uniform\-Map@{Uniform\-Map}!Object@{Object}} +\subsubsection[{Uniform\-Map}]{\setlength{\rightskip}{0pt plus 5cm}typedef std\-::map$<$ {\bf Object\-::\-Uniform\-Enum}, std\-::string $>$ {\bf Object\-::\-Uniform\-Map}}}\label{class_object_a6e19bd8516360bff956408cbae33b878} + + +We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables. + +This is utilized if we ever switch this object's shader, so we can re-\/associate with the correct uniform locations. + +Definition at line 70 of file Object.\-hpp. + + + +\subsection{Member Enumeration Documentation} +\hypertarget{class_object_a51d08da3bd559d08734197006bc29a79}{\index{Object@{Object}!Buffer\-Type@{Buffer\-Type}} +\index{Buffer\-Type@{Buffer\-Type}!Object@{Object}} +\subsubsection[{Buffer\-Type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Object\-::\-Buffer\-Type}\hspace{0.3cm}{\ttfamily [private]}}}\label{class_object_a51d08da3bd559d08734197006bc29a79} + + +These enumerations describe the types of buffers we want on the G\-P\-U per-\/object. + +N\-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S is a special sentinel enumeration that must always be last. \begin{Desc} +\item[Enumerator\-: ]\par +\begin{description} +\index{V\-E\-R\-T\-I\-C\-E\-S@{V\-E\-R\-T\-I\-C\-E\-S}!Object@{Object}}\index{Object@{Object}!V\-E\-R\-T\-I\-C\-E\-S@{V\-E\-R\-T\-I\-C\-E\-S}}\item[{\em +\hypertarget{class_object_a51d08da3bd559d08734197006bc29a79a23be05de1d4a9e5738eff4c1860f8bfd}{V\-E\-R\-T\-I\-C\-E\-S}\label{class_object_a51d08da3bd559d08734197006bc29a79a23be05de1d4a9e5738eff4c1860f8bfd} +}]V\-E\-R\-T\-I\-C\-E\-S. \index{N\-O\-R\-M\-A\-L\-S@{N\-O\-R\-M\-A\-L\-S}!Object@{Object}}\index{Object@{Object}!N\-O\-R\-M\-A\-L\-S@{N\-O\-R\-M\-A\-L\-S}}\item[{\em +\hypertarget{class_object_a51d08da3bd559d08734197006bc29a79ac91e7a2ef76150b999a9af53d229a8e0}{N\-O\-R\-M\-A\-L\-S}\label{class_object_a51d08da3bd559d08734197006bc29a79ac91e7a2ef76150b999a9af53d229a8e0} +}]N\-O\-R\-M\-A\-L\-S. \index{I\-N\-D\-I\-C\-E\-S@{I\-N\-D\-I\-C\-E\-S}!Object@{Object}}\index{Object@{Object}!I\-N\-D\-I\-C\-E\-S@{I\-N\-D\-I\-C\-E\-S}}\item[{\em +\hypertarget{class_object_a51d08da3bd559d08734197006bc29a79abe6f0cf968db450f99d8e176c4d23091}{I\-N\-D\-I\-C\-E\-S}\label{class_object_a51d08da3bd559d08734197006bc29a79abe6f0cf968db450f99d8e176c4d23091} +}]I\-N\-D\-I\-C\-E\-S. \index{C\-O\-L\-O\-R\-S@{C\-O\-L\-O\-R\-S}!Object@{Object}}\index{Object@{Object}!C\-O\-L\-O\-R\-S@{C\-O\-L\-O\-R\-S}}\item[{\em +\hypertarget{class_object_a51d08da3bd559d08734197006bc29a79a69fb14c98b43d636b30ef5e77b492968}{C\-O\-L\-O\-R\-S}\label{class_object_a51d08da3bd559d08734197006bc29a79a69fb14c98b43d636b30ef5e77b492968} +}]C\-O\-L\-O\-R\-S. \index{T\-E\-X\-C\-O\-O\-R\-D\-S@{T\-E\-X\-C\-O\-O\-R\-D\-S}!Object@{Object}}\index{Object@{Object}!T\-E\-X\-C\-O\-O\-R\-D\-S@{T\-E\-X\-C\-O\-O\-R\-D\-S}}\item[{\em +\hypertarget{class_object_a51d08da3bd559d08734197006bc29a79adc601b2ac4ff7f3e455faa35208e431f}{T\-E\-X\-C\-O\-O\-R\-D\-S}\label{class_object_a51d08da3bd559d08734197006bc29a79adc601b2ac4ff7f3e455faa35208e431f} +}]T\-E\-X\-C\-O\-O\-R\-D\-S. \index{V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-M\-O\-R\-P\-H@{V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-M\-O\-R\-P\-H}!Object@{Object}}\index{Object@{Object}!V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-M\-O\-R\-P\-H@{V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-M\-O\-R\-P\-H}}\item[{\em +\hypertarget{class_object_a51d08da3bd559d08734197006bc29a79a0e9e165431001465775bc5ba2b8d1bd8}{V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-M\-O\-R\-P\-H}\label{class_object_a51d08da3bd559d08734197006bc29a79a0e9e165431001465775bc5ba2b8d1bd8} +}]V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-M\-O\-R\-P\-H. \index{N\-O\-R\-M\-A\-L\-S\-\_\-\-M\-O\-R\-P\-H@{N\-O\-R\-M\-A\-L\-S\-\_\-\-M\-O\-R\-P\-H}!Object@{Object}}\index{Object@{Object}!N\-O\-R\-M\-A\-L\-S\-\_\-\-M\-O\-R\-P\-H@{N\-O\-R\-M\-A\-L\-S\-\_\-\-M\-O\-R\-P\-H}}\item[{\em +\hypertarget{class_object_a51d08da3bd559d08734197006bc29a79aa2afe042e85c0772ba75ba0ee6223a57}{N\-O\-R\-M\-A\-L\-S\-\_\-\-M\-O\-R\-P\-H}\label{class_object_a51d08da3bd559d08734197006bc29a79aa2afe042e85c0772ba75ba0ee6223a57} +}]N\-O\-R\-M\-A\-L\-S\-\_\-\-M\-O\-R\-P\-H. \index{C\-O\-L\-O\-R\-S\-\_\-\-M\-O\-R\-P\-H@{C\-O\-L\-O\-R\-S\-\_\-\-M\-O\-R\-P\-H}!Object@{Object}}\index{Object@{Object}!C\-O\-L\-O\-R\-S\-\_\-\-M\-O\-R\-P\-H@{C\-O\-L\-O\-R\-S\-\_\-\-M\-O\-R\-P\-H}}\item[{\em +\hypertarget{class_object_a51d08da3bd559d08734197006bc29a79a814c8171ad45f6e954ffb474a5dfacb1}{C\-O\-L\-O\-R\-S\-\_\-\-M\-O\-R\-P\-H}\label{class_object_a51d08da3bd559d08734197006bc29a79a814c8171ad45f6e954ffb474a5dfacb1} +}]C\-O\-L\-O\-R\-S\-\_\-\-M\-O\-R\-P\-H. \index{N\-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S@{N\-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S}!Object@{Object}}\index{Object@{Object}!N\-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S@{N\-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S}}\item[{\em +\hypertarget{class_object_a51d08da3bd559d08734197006bc29a79a1999a38dc687c7ae05c884078de39b51}{N\-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S}\label{class_object_a51d08da3bd559d08734197006bc29a79a1999a38dc687c7ae05c884078de39b51} +}]N\-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S This is a sentinel enumeration. \end{description} +\end{Desc} + + + +Definition at line 44 of file Object.\-hpp. + +\hypertarget{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3}{\index{Object@{Object}!Uniforms@{Uniforms}} +\index{Uniforms@{Uniforms}!Object@{Object}} +\subsubsection[{Uniforms}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Object\-::\-Uniforms}}}\label{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3} + + +enum Uniforms describes the properties of the base object that need to be visible to the G\-P\-U. + +B\-E\-G\-I\-N and E\-N\-D are special sentinel enumerations that must be first and last, respectively. \begin{Desc} +\item[Enumerator\-: ]\par +\begin{description} +\index{B\-E\-G\-I\-N@{B\-E\-G\-I\-N}!Object@{Object}}\index{Object@{Object}!B\-E\-G\-I\-N@{B\-E\-G\-I\-N}}\item[{\em +\hypertarget{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a8a65225741e4db1df295c9cab71a98c0}{B\-E\-G\-I\-N}\label{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a8a65225741e4db1df295c9cab71a98c0} +}]B\-E\-G\-I\-N. \index{I\-S\-\_\-\-T\-E\-X\-T\-U\-R\-E\-D@{I\-S\-\_\-\-T\-E\-X\-T\-U\-R\-E\-D}!Object@{Object}}\index{Object@{Object}!I\-S\-\_\-\-T\-E\-X\-T\-U\-R\-E\-D@{I\-S\-\_\-\-T\-E\-X\-T\-U\-R\-E\-D}}\item[{\em +\hypertarget{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a8fecaee23530c9befe7feb5166e81484}{I\-S\-\_\-\-T\-E\-X\-T\-U\-R\-E\-D}\label{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a8fecaee23530c9befe7feb5166e81484} +}]I\-S\-\_\-\-T\-E\-X\-T\-U\-R\-E\-D. \index{O\-B\-J\-E\-C\-T\-\_\-\-C\-T\-M@{O\-B\-J\-E\-C\-T\-\_\-\-C\-T\-M}!Object@{Object}}\index{Object@{Object}!O\-B\-J\-E\-C\-T\-\_\-\-C\-T\-M@{O\-B\-J\-E\-C\-T\-\_\-\-C\-T\-M}}\item[{\em +\hypertarget{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a9aaf45d5144b52065016b5b39e909851}{O\-B\-J\-E\-C\-T\-\_\-\-C\-T\-M}\label{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a9aaf45d5144b52065016b5b39e909851} +}]O\-B\-J\-E\-C\-T\-\_\-\-C\-T\-M. \index{M\-O\-R\-P\-H\-\_\-\-P\-C\-T@{M\-O\-R\-P\-H\-\_\-\-P\-C\-T}!Object@{Object}}\index{Object@{Object}!M\-O\-R\-P\-H\-\_\-\-P\-C\-T@{M\-O\-R\-P\-H\-\_\-\-P\-C\-T}}\item[{\em +\hypertarget{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3ac93e286d52dad730ccf3fdab9b102902}{M\-O\-R\-P\-H\-\_\-\-P\-C\-T}\label{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3ac93e286d52dad730ccf3fdab9b102902} +}]M\-O\-R\-P\-H\-\_\-\-P\-C\-T. \index{T\-E\-X\-\_\-\-S\-A\-M\-P\-L\-E\-R@{T\-E\-X\-\_\-\-S\-A\-M\-P\-L\-E\-R}!Object@{Object}}\index{Object@{Object}!T\-E\-X\-\_\-\-S\-A\-M\-P\-L\-E\-R@{T\-E\-X\-\_\-\-S\-A\-M\-P\-L\-E\-R}}\item[{\em +\hypertarget{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a85f87adc3e3d4242733729ee87b21423}{T\-E\-X\-\_\-\-S\-A\-M\-P\-L\-E\-R}\label{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3a85f87adc3e3d4242733729ee87b21423} +}]T\-E\-X\-\_\-\-S\-A\-M\-P\-L\-E\-R. \index{E\-N\-D@{E\-N\-D}!Object@{Object}}\index{Object@{Object}!E\-N\-D@{E\-N\-D}}\item[{\em +\hypertarget{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3ad78facbf844c1259f464a49061e1d7ed}{E\-N\-D}\label{class_object_a8c11d8700b0bb79a46c61f2de4f23fa3ad78facbf844c1259f464a49061e1d7ed} +}]E\-N\-D. \end{description} +\end{Desc} + + + +Definition at line 79 of file Object.\-hpp. + + + +\subsection{Constructor \& Destructor Documentation} +\hypertarget{class_object_aacf42e81415f32f1f2a105ce29c7c1b9}{\index{Object@{Object}!Object@{Object}} +\index{Object@{Object}!Object@{Object}} +\subsubsection[{Object}]{\setlength{\rightskip}{0pt plus 5cm}Object\-::\-Object ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{name, } +\item[{G\-Luint}]{g\-Shader} +\end{DoxyParamCaption} +)}}\label{class_object_aacf42e81415f32f1f2a105ce29c7c1b9} + + +Constructor. + +Requires at minimum a \-\_\-name and a shader handle. +\begin{DoxyParams}{Parameters} +{\em name} & The \-\_\-name of this object. \\ +\hline +{\em g\-Shader} & The shader to use to render this object. \\ +\hline +\end{DoxyParams} + + +Definition at line 29 of file Object.\-cpp. + + + +\subsection{Member Function Documentation} +\hypertarget{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b}{\index{Object@{Object}!add\-Object@{add\-Object}} +\index{add\-Object@{add\-Object}!Object@{Object}} +\subsubsection[{add\-Object}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object} $\ast$ Scene\-::add\-Object ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{obj\-Name, } +\item[{G\-Luint}]{shader = {\ttfamily 0}} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b} + + +add\-Object creates a new \hyperlink{class_object}{Object} with the given name and, optionally, a specified shader and adds it to the \hyperlink{class_scene}{Scene} graph. + +If no shader is given, a default shader M\-U\-S\-T have been specified for the \hyperlink{class_scene}{Scene} prior to the call. + + +\begin{DoxyParams}{Parameters} +{\em obj\-Name} & The name of the new \hyperlink{class_object}{Object} to add. \\ +\hline +{\em Object\-\_\-\-Shader} & The shader that should be used to render this object. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +A pointer to the new \hyperlink{class_object}{Object}. +\end{DoxyReturn} + + +Definition at line 77 of file Scene.\-cpp. + +\hypertarget{class_object_a0d604a816115c474b9593aeaebda9f8b}{\index{Object@{Object}!animation@{animation}} +\index{animation@{animation}!Object@{Object}} +\subsubsection[{animation}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::animation ( +\begin{DoxyParamCaption} +\item[{void($\ast$)({\bf Trans\-Cache} \&arg)}]{anim\-\_\-func} +\end{DoxyParamCaption} +)}}\label{class_object_a0d604a816115c474b9593aeaebda9f8b} + + +Apply an animation callback function to this \hyperlink{class_object}{Object}. + +Works once only\-: Does not save the function or automatically run on idle. +\begin{DoxyParams}{Parameters} +{\em anim\-\_\-func} & The transformation/animation function to apply. \\ +\hline +\end{DoxyParams} + + +Definition at line 443 of file Object.\-cpp. + +\hypertarget{class_scene_ad3897f8ac658af62c133783b2c4eaee4}{\index{Object@{Object}!delete\-Object@{delete\-Object}} +\index{delete\-Object@{delete\-Object}!Object@{Object}} +\subsubsection[{delete\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::delete\-Object ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_scene_ad3897f8ac658af62c133783b2c4eaee4} + + +Very seriously delete a child object and free his memory. + +delete\-Object is the actual implementation function that will remove an \hyperlink{class_object}{Object} from the \hyperlink{class_scene}{Scene} list and \hyperlink{class_scene}{Scene} map, then free the object. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to delete.\\ +\hline +{\em obj} & The pointer to the object to free. \\ +\hline +\end{DoxyParams} + + +Definition at line 129 of file Scene.\-cpp. + +\hypertarget{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0}{\index{Object@{Object}!del\-Object@{del\-Object}} +\index{del\-Object@{del\-Object}!Object@{Object}} +\subsubsection[{del\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::del\-Object ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{obj\-Name} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0} + + +del\-Object will remove from the \hyperlink{class_scene}{Scene} graph the object with the given name. + + +\begin{DoxyParams}{Parameters} +{\em obj\-Name} & Name of the \hyperlink{class_object}{Object} to delete. \\ +\hline +\end{DoxyParams} + + +Definition at line 99 of file Scene.\-cpp. + +\hypertarget{class_object_adafdf22583b051b4c61c8eb725fb07d5}{\index{Object@{Object}!draw\-Mode@{draw\-Mode}} +\index{draw\-Mode@{draw\-Mode}!Object@{Object}} +\subsubsection[{draw\-Mode}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::draw\-Mode ( +\begin{DoxyParamCaption} +\item[{G\-Lenum}]{new\-\_\-mode} +\end{DoxyParamCaption} +)}}\label{class_object_adafdf22583b051b4c61c8eb725fb07d5} + + +Select a new Open\-G\-L draw mode for this \hyperlink{class_object}{Object}. + +Can be G\-L\-\_\-\-L\-I\-N\-E\-S, G\-L\-\_\-\-L\-I\-N\-E\-\_\-\-L\-O\-O\-P, G\-L\-\_\-\-T\-R\-I\-A\-N\-G\-L\-E\-S, etc. \begin{DoxySeeAlso}{See Also} +\href{http://www.opengl.org/wiki/Primitive}{\tt http\-://www.\-opengl.\-org/wiki/\-Primitive} +\end{DoxySeeAlso} + +\begin{DoxyParams}{Parameters} +{\em new\-\_\-mode} & The primitive rendering mode to use. \\ +\hline +\end{DoxyParams} + + +Definition at line 269 of file Object.\-cpp. + +\hypertarget{class_object_ab0ba603904f8f7de15dc0450e2d9b30e}{\index{Object@{Object}!gen\-Morph\-Target@{gen\-Morph\-Target}} +\index{gen\-Morph\-Target@{gen\-Morph\-Target}!Object@{Object}} +\subsubsection[{gen\-Morph\-Target}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object} $\ast$ Object\-::gen\-Morph\-Target ( +\begin{DoxyParamCaption} +\item[{G\-Luint}]{shader} +\end{DoxyParamCaption} +)}}\label{class_object_ab0ba603904f8f7de15dc0450e2d9b30e} + + +Instantiate a new morphing target. + + +\begin{DoxyParams}{Parameters} +{\em shader} & The shader to use for the new morphing target. N\-O\-T U\-S\-E\-D for rendering the object, but Objects cannot be instantiated without a shader, so here it is.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +A pointer to the newly created target. +\end{DoxyReturn} + + +Definition at line 503 of file Object.\-cpp. + +\hypertarget{class_scene_a8893899f0088a72642ae32a656252e7f}{\index{Object@{Object}!insert\-Object@{insert\-Object}} +\index{insert\-Object@{insert\-Object}!Object@{Object}} +\subsubsection[{insert\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::insert\-Object ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inherited]}}}\label{class_scene_a8893899f0088a72642ae32a656252e7f} + + +Register a created object with the scene graph. + + +\begin{DoxyParams}{Parameters} +{\em name} & The name of the object (For the associative map), \\ +\hline +{\em obj} & The \hyperlink{class_object}{Object} pointer to add to the scene. \\ +\hline +\end{DoxyParams} + + +Definition at line 118 of file Scene.\-cpp. + +\hypertarget{class_object_a11d6063c580331d6af59c8d71b7f3e9f}{\index{Object@{Object}!link@{link}} +\index{link@{link}!Object@{Object}} +\subsubsection[{link}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::link ( +\begin{DoxyParamCaption} +\item[{{\bf Uniform\-Enum}}]{which, } +\item[{const std\-::string \&}]{name} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_object_a11d6063c580331d6af59c8d71b7f3e9f} + + +link a specified Uniform against the shader's variable \-\_\-name. + + +\begin{DoxyParams}{Parameters} +{\em which} & The Uniform to link. \\ +\hline +{\em name} & The variable \-\_\-name on the shader. \\ +\hline +\end{DoxyParams} + + +Definition at line 345 of file Object.\-cpp. + +\hypertarget{class_object_accb051cdc79bc93e8c9c0edb79dd6b30}{\index{Object@{Object}!morph\-Percentage@{morph\-Percentage}} +\index{morph\-Percentage@{morph\-Percentage}!Object@{Object}} +\subsubsection[{morph\-Percentage}]{\setlength{\rightskip}{0pt plus 5cm}float Object\-::morph\-Percentage ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_object_accb051cdc79bc93e8c9c0edb79dd6b30} + + +Retrieve the morph Percentage of this object. + +\begin{DoxyReturn}{Returns} +The morph percentage, as a float. +\end{DoxyReturn} + + +Definition at line 515 of file Object.\-cpp. + +\hypertarget{class_object_a543d2329b25df9fb0a782f09d03e5cb1}{\index{Object@{Object}!morph\-Percentage@{morph\-Percentage}} +\index{morph\-Percentage@{morph\-Percentage}!Object@{Object}} +\subsubsection[{morph\-Percentage}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::morph\-Percentage ( +\begin{DoxyParamCaption} +\item[{const float}]{new\-Percentage} +\end{DoxyParamCaption} +)}}\label{class_object_a543d2329b25df9fb0a782f09d03e5cb1} + + +Set the morph percentage of this \hyperlink{class_object}{Object}. + + +\begin{DoxyParams}{Parameters} +{\em new\-Percentage} & The new morphing percentage. \\ +\hline +\end{DoxyParams} + + +Definition at line 524 of file Object.\-cpp. + +\hypertarget{class_object_a7694c9cfe445c3d5b993a38e3f8badd9}{\index{Object@{Object}!morph\-Target@{morph\-Target}} +\index{morph\-Target@{morph\-Target}!Object@{Object}} +\subsubsection[{morph\-Target}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object} $\ast$ Object\-::morph\-Target ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_object_a7694c9cfe445c3d5b993a38e3f8badd9} + + +Retrieve a pointer to this object's morph target. + +\begin{DoxyReturn}{Returns} +An \hyperlink{class_object}{Object} pointer to the morph target. +\end{DoxyReturn} + + +Definition at line 489 of file Object.\-cpp. + +\hypertarget{class_object_aafd766fce2598f718cac97a3ac731706}{\index{Object@{Object}!name@{name}} +\index{name@{name}!Object@{Object}} +\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::string \& Object\-::name ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_object_aafd766fce2598f718cac97a3ac731706} + + +Retrieve the \-\_\-name of this \hyperlink{class_object}{Object}. + +\begin{DoxyReturn}{Returns} +The \-\_\-name of this \hyperlink{class_object}{Object}. +\end{DoxyReturn} + + +Definition at line 333 of file Object.\-cpp. + +\hypertarget{class_object_a73f1a6210bacf504de9a808009479b81}{\index{Object@{Object}!number\-Of\-Points@{number\-Of\-Points}} +\index{number\-Of\-Points@{number\-Of\-Points}!Object@{Object}} +\subsubsection[{number\-Of\-Points}]{\setlength{\rightskip}{0pt plus 5cm}int Object\-::number\-Of\-Points ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_object_a73f1a6210bacf504de9a808009479b81} + + +Retrieve the number of \-\_\-vertices this object has. + +\begin{DoxyReturn}{Returns} +An integer representing the number of vertices the object has. +\end{DoxyReturn} + + +Definition at line 544 of file Object.\-cpp. + +\hypertarget{class_object_ac64609eb614aa5974b74000cec6fc95c}{\index{Object@{Object}!position@{position}} +\index{position@{position}!Object@{Object}} +\subsubsection[{position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf vec4} Object\-::position ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_object_ac64609eb614aa5974b74000cec6fc95c} + + +Obtain the vec4 representative of the \hyperlink{class_object}{Object}'s current position in space. + +\begin{DoxyReturn}{Returns} +vec4 representing the \hyperlink{class_object}{Object}'s position in space. +\end{DoxyReturn} + + +Definition at line 478 of file Object.\-cpp. + +\hypertarget{class_object_a2fdd201413e0408f5a2508874acd2ef5}{\index{Object@{Object}!propagate@{propagate}} +\index{propagate@{propagate}!Object@{Object}} +\subsubsection[{propagate}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::propagate ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_object_a2fdd201413e0408f5a2508874acd2ef5} + + +Scene-\/graph changes are not automatically applied to children. + +For efficiency reasons, you need to call \hyperlink{class_object_a2fdd201413e0408f5a2508874acd2ef5}{propagate()} manually. + +Definition at line 452 of file Object.\-cpp. + +\hypertarget{class_object_a34258ee199342d785c29d18c49d54e71}{\index{Object@{Object}!send@{send}} +\index{send@{send}!Object@{Object}} +\subsubsection[{send}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::send ( +\begin{DoxyParamCaption} +\item[{{\bf Object\-::\-Uniform\-Enum}}]{which} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_object_a34258ee199342d785c29d18c49d54e71} + + +Send a Uniform to the shader. + + +\begin{DoxyParams}{Parameters} +{\em which} & The uniform to send. \\ +\hline +\end{DoxyParams} + + +Reimplemented in \hyperlink{class_camera_a401decef27b59d6485b4ab9762f5b9e6}{Camera}. + + + +Definition at line 373 of file Object.\-cpp. + +\hypertarget{class_object_a459489106838a1e3a8dbbd13045cd523}{\index{Object@{Object}!shader@{shader}} +\index{shader@{shader}!Object@{Object}} +\subsubsection[{shader}]{\setlength{\rightskip}{0pt plus 5cm}G\-Luint Object\-::shader ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_object_a459489106838a1e3a8dbbd13045cd523} + + +Returns the \hyperlink{class_object}{Object}'s current shader. + +Defined because C++ will not let you overload an overrided function, without re-\/overloading it in the derived class. + +\begin{DoxyReturn}{Returns} +a G\-Luint handle to the shader program used by this \hyperlink{class_object}{Object}. +\end{DoxyReturn} + + +Reimplemented from \hyperlink{class_scene_a9d8a33f0f0a296aba0fb6717ab85cb18}{Scene}. + + + +Definition at line 406 of file Object.\-cpp. + +\hypertarget{class_object_aeaf11bb87bd59381c9e066f0b4f40d8e}{\index{Object@{Object}!shader@{shader}} +\index{shader@{shader}!Object@{Object}} +\subsubsection[{shader}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::shader ( +\begin{DoxyParamCaption} +\item[{G\-Luint}]{new\-Shader} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_object_aeaf11bb87bd59381c9e066f0b4f40d8e} + + +Sets the shader to be used by this object. + +Triggers a query of the shader program, for the locations of the Uniform locations that the object needs. + + +\begin{DoxyParams}{Parameters} +{\em new\-Shader} & a G\-Luint handle to the shader program to use.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +None. +\end{DoxyReturn} + + +Reimplemented from \hyperlink{class_scene_a3ea7e92935755c776c235a9872f53394}{Scene}. + + + +Definition at line 422 of file Object.\-cpp. + +\hypertarget{class_object_afebb27ddb10daed8e2c5085b76cbc500}{\index{Object@{Object}!texture@{texture}} +\index{texture@{texture}!Object@{Object}} +\subsubsection[{texture}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::texture ( +\begin{DoxyParamCaption} +\item[{const char $\ast$$\ast$}]{filename} +\end{DoxyParamCaption} +)}}\label{class_object_afebb27ddb10daed8e2c5085b76cbc500} + + +F\-I\-X\-M\-E\-: This is a junk, nonflexible method. + +It would be better if you didn't think of this as being here. + + +\begin{DoxyParams}{Parameters} +{\em filename} & an array of strings to load textures from. \\ +\hline +\end{DoxyParams} + + +Definition at line 279 of file Object.\-cpp. + +\hypertarget{class_object_a74300b3fa318786e21b65183461c5e25}{\index{Object@{Object}!texture\-I\-D@{texture\-I\-D}} +\index{texture\-I\-D@{texture\-I\-D}!Object@{Object}} +\subsubsection[{texture\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}void Object\-::texture\-I\-D ( +\begin{DoxyParamCaption} +\item[{G\-Lint}]{new\-Texture\-I\-D} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_object_a74300b3fa318786e21b65183461c5e25} + + +Set the \hyperlink{class_texture}{Texture} I\-D / \hyperlink{class_texture}{Texture} Unit for this \hyperlink{class_object}{Object}. + + +\begin{DoxyParams}{Parameters} +{\em new\-Texture\-I\-D} & The new \hyperlink{class_texture}{Texture} Unit I\-D/\-Index for this \hyperlink{class_object}{Object}. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +None. +\end{DoxyReturn} + + +Definition at line 244 of file Object.\-hpp. + + + +\subsection{Member Data Documentation} +\hypertarget{class_object_a29a0e9959c490067db69378bf57a17ba}{\index{Object@{Object}!\-\_\-colors@{\-\_\-colors}} +\index{\-\_\-colors@{\-\_\-colors}!Object@{Object}} +\subsubsection[{\-\_\-colors}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ {\bf Angel\-::vec4} $>$ Object\-::\-\_\-colors}}\label{class_object_a29a0e9959c490067db69378bf57a17ba} + + +Colors buffer. + + + +Definition at line 256 of file Object.\-hpp. + +\hypertarget{class_object_ae8457eabfb89d55826142508013b56c0}{\index{Object@{Object}!\-\_\-draw\-Mode@{\-\_\-draw\-Mode}} +\index{\-\_\-draw\-Mode@{\-\_\-draw\-Mode}!Object@{Object}} +\subsubsection[{\-\_\-draw\-Mode}]{\setlength{\rightskip}{0pt plus 5cm}G\-Lenum Object\-::\-\_\-draw\-Mode\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_object_ae8457eabfb89d55826142508013b56c0} + + +Drawing mode for this object. + +G\-L\-\_\-\-T\-R\-I\-A\-N\-G\-L\-E\-S, G\-L\-\_\-\-L\-I\-N\-E\-\_\-\-L\-O\-O\-P, etc. + +Definition at line 278 of file Object.\-hpp. + +\hypertarget{class_object_a983963f564898beca4bda99676245663}{\index{Object@{Object}!\-\_\-handles@{\-\_\-handles}} +\index{\-\_\-handles@{\-\_\-handles}!Object@{Object}} +\subsubsection[{\-\_\-handles}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ G\-Lint $>$ Object\-::\-\_\-handles\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_object_a983963f564898beca4bda99676245663} + + +Handles to Uniforms on the shader. + +Protected to allow derived classes to extend it as needed. + +Definition at line 307 of file Object.\-hpp. + +\hypertarget{class_object_ab85adc7a2d3b891051c096593982653d}{\index{Object@{Object}!\-\_\-indices@{\-\_\-indices}} +\index{\-\_\-indices@{\-\_\-indices}!Object@{Object}} +\subsubsection[{\-\_\-indices}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ unsigned int $>$ Object\-::\-\_\-indices}}\label{class_object_ab85adc7a2d3b891051c096593982653d} + + +Draw Order Index buffer. + +If not used, engine assumes G\-L\-\_\-\-D\-R\-A\-W\-\_\-\-A\-R\-R\-A\-Y\-S. + +Definition at line 254 of file Object.\-hpp. + +\hypertarget{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{\index{Object@{Object}!\-\_\-map@{\-\_\-map}} +\index{\-\_\-map@{\-\_\-map}!Object@{Object}} +\subsubsection[{\-\_\-map}]{\setlength{\rightskip}{0pt plus 5cm}std\-::map$<$ std\-::string, {\bf Object}$\ast$ $>$ Scene\-::\-\_\-map\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}}\label{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a} + + +For the purposes of accessing named objects quickly, though, objects are also re-\/stored in an associative map. + +It's a little superfluous, but here it is! + +Definition at line 127 of file Scene.\-hpp. + +\hypertarget{class_object_a7fbbac9027e1a8266342bd5ce064120d}{\index{Object@{Object}!\-\_\-morph\-Percentage@{\-\_\-morph\-Percentage}} +\index{\-\_\-morph\-Percentage@{\-\_\-morph\-Percentage}!Object@{Object}} +\subsubsection[{\-\_\-morph\-Percentage}]{\setlength{\rightskip}{0pt plus 5cm}float Object\-::\-\_\-morph\-Percentage\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_object_a7fbbac9027e1a8266342bd5ce064120d} + + +The percentage of the morph. + +0.\-0 means 100\% the original, current object. 100.\-0 means 100\% the new, targeted object. + +Definition at line 289 of file Object.\-hpp. + +\hypertarget{class_object_a3f617214b260ebbe394e7c7b08ab5e43}{\index{Object@{Object}!\-\_\-name@{\-\_\-name}} +\index{\-\_\-name@{\-\_\-name}!Object@{Object}} +\subsubsection[{\-\_\-name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string Object\-::\-\_\-name\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_object_a3f617214b260ebbe394e7c7b08ab5e43} + + +\-\_\-name is used as an identifying handle for the object. + + + +Definition at line 269 of file Object.\-hpp. + +\hypertarget{class_object_a20bb786cb5915934853855aab9d1a1b3}{\index{Object@{Object}!\-\_\-normals@{\-\_\-normals}} +\index{\-\_\-normals@{\-\_\-normals}!Object@{Object}} +\subsubsection[{\-\_\-normals}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ {\bf Angel\-::vec3} $>$ Object\-::\-\_\-normals}}\label{class_object_a20bb786cb5915934853855aab9d1a1b3} + + +Normals buffer. + + + +Definition at line 252 of file Object.\-hpp. + +\hypertarget{class_object_aa9ddc3b95d74b76ab8a251fb376dfafb}{\index{Object@{Object}!\-\_\-tex\-U\-Vs@{\-\_\-tex\-U\-Vs}} +\index{\-\_\-tex\-U\-Vs@{\-\_\-tex\-U\-Vs}!Object@{Object}} +\subsubsection[{\-\_\-tex\-U\-Vs}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ {\bf Angel\-::vec2} $>$ Object\-::\-\_\-tex\-U\-Vs}}\label{class_object_aa9ddc3b95d74b76ab8a251fb376dfafb} + + +\hyperlink{class_texture}{Texture} Coordinates buffer. + + + +Definition at line 258 of file Object.\-hpp. + +\hypertarget{class_object_a6378d0b0eeec23045ae2a5245e42bf13}{\index{Object@{Object}!\-\_\-uniform\-Map@{\-\_\-uniform\-Map}} +\index{\-\_\-uniform\-Map@{\-\_\-uniform\-Map}!Object@{Object}} +\subsubsection[{\-\_\-uniform\-Map}]{\setlength{\rightskip}{0pt plus 5cm}std\-::map$<$ {\bf Object\-::\-Uniform\-Enum}, std\-::string $>$ Object\-::\-\_\-uniform\-Map\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_object_a6378d0b0eeec23045ae2a5245e42bf13} + + +A map between Uniform variable functions and the actual uniform variable names. + +Used when linking against a shader. + +Definition at line 300 of file Object.\-hpp. + +\hypertarget{class_object_a564aa6b1df66a05ab6b6c2f071851c4e}{\index{Object@{Object}!\-\_\-vao@{\-\_\-vao}} +\index{\-\_\-vao@{\-\_\-vao}!Object@{Object}} +\subsubsection[{\-\_\-vao}]{\setlength{\rightskip}{0pt plus 5cm}G\-Luint Object\-::\-\_\-vao\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_object_a564aa6b1df66a05ab6b6c2f071851c4e} + + +Vertex Array \hyperlink{class_object}{Object} handle identifying our buffers/object. + + + +Definition at line 272 of file Object.\-hpp. + +\hypertarget{class_object_a4ac354b3ec284f27358b1d4b8d95b9a9}{\index{Object@{Object}!\-\_\-vertices@{\-\_\-vertices}} +\index{\-\_\-vertices@{\-\_\-vertices}!Object@{Object}} +\subsubsection[{\-\_\-vertices}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ {\bf Angel\-::vec4} $>$ Object\-::\-\_\-vertices}}\label{class_object_a4ac354b3ec284f27358b1d4b8d95b9a9} + + +vertex buffer. + + + +Definition at line 250 of file Object.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_object_8hpp}{Object.\-hpp}\item +\hyperlink{_object_8cpp}{Object.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_particle.eps b/Doxygen/Docs/latex/class_particle.eps new file mode 100644 index 00000000..be5c9054 --- /dev/null +++ b/Doxygen/Docs/latex/class_particle.eps @@ -0,0 +1,203 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 952.380952 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 0.525000 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 3 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(Particle) cw +(Object) cw +(Scene) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (Particle) 0.000000 0.000000 box + (Object) 0.000000 1.000000 box + (Scene) 0.000000 2.000000 box + +% ----- relations ----- + +solid +0 0.000000 0.000000 out +solid +1 0.000000 1.000000 in +solid +0 0.000000 1.000000 out +solid +1 0.000000 2.000000 in diff --git a/Doxygen/Docs/latex/class_particle.pdf b/Doxygen/Docs/latex/class_particle.pdf new file mode 100644 index 00000000..05977760 Binary files /dev/null and b/Doxygen/Docs/latex/class_particle.pdf differ diff --git a/Doxygen/Docs/latex/class_particle.tex b/Doxygen/Docs/latex/class_particle.tex new file mode 100644 index 00000000..92ddea07 --- /dev/null +++ b/Doxygen/Docs/latex/class_particle.tex @@ -0,0 +1,93 @@ +\hypertarget{class_particle}{\section{Particle Class Reference} +\label{class_particle}\index{Particle@{Particle}} +} + + +T\-O\-D\-O\-: You know you've been bad. + + + + +{\ttfamily \#include $<$Particle.\-hpp$>$} + +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_particle_a5530a89bc36834f77eb45483f3c82942}{{\bfseries Particle} (\hyperlink{struct_angel_1_1vec4}{vec4} position, float scale, float life\-Span)}\label{class_particle_a5530a89bc36834f77eb45483f3c82942} + +\item +\hypertarget{class_particle_a4a4f4e73bbfe512c947e3ddb5c7b765c}{void {\bfseries change\-Vel} (\hyperlink{struct_angel_1_1vec3}{vec3} new\-Vel)}\label{class_particle_a4a4f4e73bbfe512c947e3ddb5c7b765c} + +\item +\hypertarget{class_particle_a65eb1712f7dffd24c9a795020408cb99}{float {\bfseries get\-Lifespan} (void)}\label{class_particle_a65eb1712f7dffd24c9a795020408cb99} + +\item +\hypertarget{class_particle_a3d339beee1c13eb3d1eed69d14715106}{void {\bfseries set\-Alpha} (float new\-Alpha)}\label{class_particle_a3d339beee1c13eb3d1eed69d14715106} + +\item +\hypertarget{class_particle_a8dbaf5f085a47c834c02f0531ccdbae1}{void {\bfseries set\-Color} (\hyperlink{struct_angel_1_1vec4}{vec4} new\-Color)}\label{class_particle_a8dbaf5f085a47c834c02f0531ccdbae1} + +\item +\hypertarget{class_particle_a2f59e88a58a6c6ea766ab4c94c75c2b3}{void {\bfseries set\-Lifespan} (float new\-Lifespan)}\label{class_particle_a2f59e88a58a6c6ea766ab4c94c75c2b3} + +\item +\hypertarget{class_particle_aabc36f29b35e0e1e5c6d6fb926bb7bbb}{void {\bfseries set\-Pos} (\hyperlink{struct_angel_1_1vec4}{vec4} new\-Pos)}\label{class_particle_aabc36f29b35e0e1e5c6d6fb926bb7bbb} + +\item +\hypertarget{class_particle_a1cdeee73a5eb04f48c0002f7136852ff}{void {\bfseries set\-Scale} (\hyperlink{struct_angel_1_1vec3}{vec3} new\-Scale)}\label{class_particle_a1cdeee73a5eb04f48c0002f7136852ff} + +\item +\hypertarget{class_particle_ac0cd12e63886b12d2b99549ecb552838}{void {\bfseries set\-Spin} (float new\-Spin)}\label{class_particle_ac0cd12e63886b12d2b99549ecb552838} + +\item +\hypertarget{class_particle_ac77b501936d44053585151c83b66ba22}{void {\bfseries set\-Vel} (\hyperlink{struct_angel_1_1vec3}{vec3} new\-Vel)}\label{class_particle_ac77b501936d44053585151c83b66ba22} + +\item +\hypertarget{class_particle_a5a387ad04e530af85dcd64763282d3a0}{void {\bfseries set\-Tex\-File} (string new\-Filename)}\label{class_particle_a5a387ad04e530af85dcd64763282d3a0} + +\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_particle_a3d51791a544fb2cbf2e93531b3626132}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries m\-Pos}}\label{class_particle_a3d51791a544fb2cbf2e93531b3626132} + +\item +\hypertarget{class_particle_ad18c1ecffb2e5d032732d4cd058bb986}{\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries m\-Scale}}\label{class_particle_ad18c1ecffb2e5d032732d4cd058bb986} + +\item +\hypertarget{class_particle_a4cd8cbbc5b05126133df8246611339f2}{\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries m\-Vel}}\label{class_particle_a4cd8cbbc5b05126133df8246611339f2} + +\item +\hypertarget{class_particle_a258a4d53c38caca98676a7d41022706b}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries color}}\label{class_particle_a258a4d53c38caca98676a7d41022706b} + +\item +\hypertarget{class_particle_a08108b2a0a2c0ec96f235510cc9aa0a2}{float {\bfseries lifespan}}\label{class_particle_a08108b2a0a2c0ec96f235510cc9aa0a2} + +\item +\hypertarget{class_particle_a639147e87ea9fd39b04ac3bafb6ff97b}{string {\bfseries tex\-Filename}}\label{class_particle_a639147e87ea9fd39b04ac3bafb6ff97b} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +T\-O\-D\-O\-: You know you've been bad. + +\begin{DoxyAuthor}{Author} +Nick Ver Voort, \href{mailto:nicholas_vervoort@student.uml.edu}{\tt nicholas\-\_\-vervoort@student.\-uml.\-edu} +\end{DoxyAuthor} +\begin{DoxySince}{Since} +23 Feb 2013 +\end{DoxySince} +\begin{DoxyAuthor}{Authors} +Nick Ver Voort, Chris Compton \href{mailto:nicholas_vervoort@student.uml.edu}{\tt nicholas\-\_\-vervoort@student.\-uml.\-edu}, \href{mailto:christopher_compton@student.uml.edu}{\tt christopher\-\_\-compton@student.\-uml.\-edu} +\end{DoxyAuthor} + + +Definition at line 31 of file Particle.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_particle_8hpp}{Particle.\-hpp}\item +\hyperlink{_particle_8cpp}{Particle.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_rot_mat.eps b/Doxygen/Docs/latex/class_rot_mat.eps new file mode 100644 index 00000000..830320cd --- /dev/null +++ b/Doxygen/Docs/latex/class_rot_mat.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 384.615385 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.300000 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(RotMat) cw +(Transformation) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (RotMat) 0.000000 0.000000 box + (Transformation) 0.000000 1.000000 box + +% ----- relations ----- + +solid +0 0.000000 0.000000 out +solid +1 0.000000 1.000000 in diff --git a/Doxygen/Docs/latex/class_rot_mat.pdf b/Doxygen/Docs/latex/class_rot_mat.pdf new file mode 100644 index 00000000..f56c68fa Binary files /dev/null and b/Doxygen/Docs/latex/class_rot_mat.pdf differ diff --git a/Doxygen/Docs/latex/class_rot_mat.tex b/Doxygen/Docs/latex/class_rot_mat.tex new file mode 100644 index 00000000..cf61cfcd --- /dev/null +++ b/Doxygen/Docs/latex/class_rot_mat.tex @@ -0,0 +1,64 @@ +\hypertarget{class_rot_mat}{\section{Rot\-Mat Class Reference} +\label{class_rot_mat}\index{Rot\-Mat@{Rot\-Mat}} +} + + +Rotations. + + + + +{\ttfamily \#include $<$Transformation.\-hpp$>$} + +Inheritance diagram for Rot\-Mat\-:\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2.000000cm]{class_rot_mat} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_rot_mat_a32b794d5158a61eccc2f9d7b06ab3fb5}{const \hyperlink{class_rot_mat}{Rot\-Mat} \& {\bfseries reset} (const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \&New\-State)}\label{class_rot_mat_a32b794d5158a61eccc2f9d7b06ab3fb5} + +\item +\hypertarget{class_rot_mat_a15dbc3c6e4870662413e6998ad391191}{const \hyperlink{class_rot_mat}{Rot\-Mat} \& {\bfseries rotate\-X} (const G\-Lfloat theta, bool postmult=true)}\label{class_rot_mat_a15dbc3c6e4870662413e6998ad391191} + +\item +\hypertarget{class_rot_mat_ae1c4ec7d057458bf96ca94cd164617b8}{const \hyperlink{class_rot_mat}{Rot\-Mat} \& {\bfseries rotate\-Y} (const G\-Lfloat theta, bool postmult=true)}\label{class_rot_mat_ae1c4ec7d057458bf96ca94cd164617b8} + +\item +\hypertarget{class_rot_mat_a60364401770d127c040cc3ed1ad83c07}{const \hyperlink{class_rot_mat}{Rot\-Mat} \& {\bfseries rotate\-Z} (const G\-Lfloat theta, bool postmult=true)}\label{class_rot_mat_a60364401770d127c040cc3ed1ad83c07} + +\item +\hypertarget{class_rot_mat_ae37469da848ee4b633889f44babde9fe}{const \hyperlink{class_rot_mat}{Rot\-Mat} \& {\bfseries adjust} (const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \&Adjustment, bool postmult=true)}\label{class_rot_mat_ae37469da848ee4b633889f44babde9fe} + +\item +\hypertarget{class_transformation_afcec300424207fc1d20864b73136937e}{const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \& {\bfseries matrix} (void) const }\label{class_transformation_afcec300424207fc1d20864b73136937e} + +\item +\hypertarget{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries operator$\ast$} (const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \&rhs) const }\label{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66} + +\item +\hypertarget{class_transformation_a85b923e0066365ef2e4aec3671396410}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries operator$\ast$} (const \hyperlink{class_transformation}{Transformation} \&rhs) const }\label{class_transformation_a85b923e0066365ef2e4aec3671396410} + +\end{DoxyCompactItemize} +\subsection*{Protected Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries mat}}\label{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Rotations. + +Definition at line 40 of file Transformation.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_transformation_8hpp}{Transformation.\-hpp}\item +\hyperlink{_transformation_8cpp}{Transformation.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_scale_mat.eps b/Doxygen/Docs/latex/class_scale_mat.eps new file mode 100644 index 00000000..c7ae37f4 --- /dev/null +++ b/Doxygen/Docs/latex/class_scale_mat.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 384.615385 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.300000 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(ScaleMat) cw +(Transformation) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (ScaleMat) 0.000000 0.000000 box + (Transformation) 0.000000 1.000000 box + +% ----- relations ----- + +solid +0 0.000000 0.000000 out +solid +1 0.000000 1.000000 in diff --git a/Doxygen/Docs/latex/class_scale_mat.pdf b/Doxygen/Docs/latex/class_scale_mat.pdf new file mode 100644 index 00000000..eccc0244 Binary files /dev/null and b/Doxygen/Docs/latex/class_scale_mat.pdf differ diff --git a/Doxygen/Docs/latex/class_scale_mat.tex b/Doxygen/Docs/latex/class_scale_mat.tex new file mode 100644 index 00000000..4cb4e06f --- /dev/null +++ b/Doxygen/Docs/latex/class_scale_mat.tex @@ -0,0 +1,52 @@ +\hypertarget{class_scale_mat}{\section{Scale\-Mat Class Reference} +\label{class_scale_mat}\index{Scale\-Mat@{Scale\-Mat}} +} +Inheritance diagram for Scale\-Mat\-:\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2.000000cm]{class_scale_mat} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_scale_mat_ae8b855d2dc58511ab404d5c275936e7d}{const \hyperlink{class_scale_mat}{Scale\-Mat} \& {\bfseries set} (const float x, const float y, const float z)}\label{class_scale_mat_ae8b855d2dc58511ab404d5c275936e7d} + +\item +\hypertarget{class_scale_mat_a2c543c3aa6c795de16fba8cb40434a4f}{const \hyperlink{class_scale_mat}{Scale\-Mat} \& {\bfseries set} (const float pct)}\label{class_scale_mat_a2c543c3aa6c795de16fba8cb40434a4f} + +\item +\hypertarget{class_scale_mat_a6d6d05f3af9012223bb0b61530f18688}{const \hyperlink{class_scale_mat}{Scale\-Mat} \& {\bfseries adjust} (const float x, const float y, const float z)}\label{class_scale_mat_a6d6d05f3af9012223bb0b61530f18688} + +\item +\hypertarget{class_scale_mat_a5cb132a1dec58200eceaa33c4c619580}{const \hyperlink{class_scale_mat}{Scale\-Mat} \& {\bfseries adjust} (const float pct)}\label{class_scale_mat_a5cb132a1dec58200eceaa33c4c619580} + +\item +\hypertarget{class_transformation_afcec300424207fc1d20864b73136937e}{const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \& {\bfseries matrix} (void) const }\label{class_transformation_afcec300424207fc1d20864b73136937e} + +\item +\hypertarget{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries operator$\ast$} (const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \&rhs) const }\label{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66} + +\item +\hypertarget{class_transformation_a85b923e0066365ef2e4aec3671396410}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries operator$\ast$} (const \hyperlink{class_transformation}{Transformation} \&rhs) const }\label{class_transformation_a85b923e0066365ef2e4aec3671396410} + +\end{DoxyCompactItemize} +\subsection*{Protected Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries mat}}\label{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +Definition at line 70 of file Transformation.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_transformation_8hpp}{Transformation.\-hpp}\item +\hyperlink{_transformation_8cpp}{Transformation.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_scene.eps b/Doxygen/Docs/latex/class_scene.eps new file mode 100644 index 00000000..3d74061e --- /dev/null +++ b/Doxygen/Docs/latex/class_scene.eps @@ -0,0 +1,215 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 194.174757 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 2.575000 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 3 def +/cols 3 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(Scene) cw +(Cameras) cw +(Object) cw +(Camera) cw +(ParticleSystem) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (Scene) 0.500000 2.000000 box + (Cameras) 0.000000 1.000000 box + (Object) 1.000000 1.000000 box + (Camera) 0.500000 0.000000 box + (ParticleSystem) 1.500000 0.000000 box + +% ----- relations ----- + +solid +1 0.500000 1.250000 out +solid +0.000000 1.000000 2.000000 conn +solid +0 0.000000 1.750000 in +solid +0 1.000000 1.750000 in +solid +1 1.000000 0.250000 out +solid +0.500000 1.500000 1.000000 conn +solid +0 0.500000 0.750000 in +solid +0 1.500000 0.750000 in diff --git a/Doxygen/Docs/latex/class_scene.pdf b/Doxygen/Docs/latex/class_scene.pdf new file mode 100644 index 00000000..73c563ed Binary files /dev/null and b/Doxygen/Docs/latex/class_scene.pdf differ diff --git a/Doxygen/Docs/latex/class_scene.tex b/Doxygen/Docs/latex/class_scene.tex new file mode 100644 index 00000000..296a580b --- /dev/null +++ b/Doxygen/Docs/latex/class_scene.tex @@ -0,0 +1,287 @@ +\hypertarget{class_scene}{\section{Scene Class Reference} +\label{class_scene}\index{Scene@{Scene}} +} + + +The \hyperlink{class_scene}{Scene} object keeps track of a list of objects considered to be \char`\"{}children\char`\"{} of the \hyperlink{class_scene}{Scene}. + + + + +{\ttfamily \#include $<$Scene.\-hpp$>$} + +Inheritance diagram for Scene\-:\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=3.000000cm]{class_scene} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_scene_ad10176d75a9cc0da56626f682d083507}{\hyperlink{class_scene_ad10176d75a9cc0da56626f682d083507}{Scene} ()}\label{class_scene_ad10176d75a9cc0da56626f682d083507} + +\begin{DoxyCompactList}\small\item\em Nullary constructor. \end{DoxyCompactList}\item +virtual \hyperlink{class_scene_a3b8cec2e32546713915f8c6303c951f1}{$\sim$\-Scene} () +\begin{DoxyCompactList}\small\item\em Destructor! Will traverse its list and delete all objects! !! C\-A\-U\-T\-I\-O\-N !! If you have registered your own Objects manually, note that the scene will delete them for you! \end{DoxyCompactList}\item +virtual void \hyperlink{class_scene_a3ea7e92935755c776c235a9872f53394}{shader} (G\-Luint g\-Shader) +\begin{DoxyCompactList}\small\item\em Sets the Default shader for the scene. \end{DoxyCompactList}\item +G\-Luint \hyperlink{class_scene_a9d8a33f0f0a296aba0fb6717ab85cb18}{shader} (void) +\begin{DoxyCompactList}\small\item\em Retrieves the handle for the default shader for the scene. \end{DoxyCompactList}\item +\hyperlink{class_object}{Object} $\ast$ \hyperlink{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b}{add\-Object} (const std\-::string \&obj\-Name, G\-Luint Object\-\_\-\-Shader=0) +\begin{DoxyCompactList}\small\item\em add\-Object creates a new \hyperlink{class_object}{Object} with the given name and, optionally, a specified shader and adds it to the \hyperlink{class_scene}{Scene} graph. \end{DoxyCompactList}\item +void \hyperlink{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0}{del\-Object} (const std\-::string \&obj\-Name) +\begin{DoxyCompactList}\small\item\em del\-Object will remove from the \hyperlink{class_scene}{Scene} graph the object with the given name. \end{DoxyCompactList}\item +\hypertarget{class_scene_a2e6b319b60e27e66ad43bb942a6c4424}{void \hyperlink{class_scene_a2e6b319b60e27e66ad43bb942a6c4424}{del\-Object} (void)}\label{class_scene_a2e6b319b60e27e66ad43bb942a6c4424} + +\begin{DoxyCompactList}\small\item\em del\-Object with no parameters will delete the first \hyperlink{class_object}{Object} in the \hyperlink{class_scene}{Scene}. \end{DoxyCompactList}\item +\hypertarget{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b}{void \hyperlink{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b}{pop\-Object} (void)}\label{class_scene_ad6c9d1d1d0c786d39bf97dc60410e28b} + +\begin{DoxyCompactList}\small\item\em pop\-Object deletes the last \hyperlink{class_object}{Object} in the \hyperlink{class_scene}{Scene}. \end{DoxyCompactList}\item +\hypertarget{class_scene_a70fcdad192a4c6ff508125de8af6cf4d}{\hyperlink{class_object}{Object} $\ast$ {\bfseries next} (void)}\label{class_scene_a70fcdad192a4c6ff508125de8af6cf4d} + +\item +\hypertarget{class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae}{\hyperlink{class_object}{Object} $\ast$ {\bfseries prev} (void)}\label{class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae} + +\item +\hypertarget{class_scene_ad0ea1a6bcf7815c63988bd937f06eb23}{\hyperlink{class_object}{Object} $\ast$ {\bfseries active} (void) const }\label{class_scene_ad0ea1a6bcf7815c63988bd937f06eb23} + +\item +\hypertarget{class_scene_a41fbbe388ea322df338648e66611ffcf}{void {\bfseries draw} (void)}\label{class_scene_a41fbbe388ea322df338648e66611ffcf} + +\item +\hypertarget{class_scene_ae9b69d8db8a46991017635f22e45baad}{\hyperlink{class_object}{Object} $\ast$ {\bfseries operator\mbox{[}$\,$\mbox{]}} (const std\-::string \&objname)}\label{class_scene_ae9b69d8db8a46991017635f22e45baad} + +\item +\hypertarget{class_scene_aa6e6354478dc7df82446b3abf9f91d96}{{\bfseries Scene} (const \hyperlink{class_scene}{Scene} \©)}\label{class_scene_aa6e6354478dc7df82446b3abf9f91d96} + +\item +\hypertarget{class_scene_a6336263b33b06ce4ace53599ffd8122c}{\hyperlink{class_scene}{Scene} \& {\bfseries operator=} (const \hyperlink{class_scene}{Scene} \©)}\label{class_scene_a6336263b33b06ce4ace53599ffd8122c} + +\item +void \hyperlink{class_scene_a8893899f0088a72642ae32a656252e7f}{insert\-Object} (\hyperlink{class_object}{Object} $\ast$obj) +\begin{DoxyCompactList}\small\item\em Register a created object with the scene graph. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Protected Member Functions} +\begin{DoxyCompactItemize} +\item +void \hyperlink{class_scene_ad3897f8ac658af62c133783b2c4eaee4}{delete\-Object} (\hyperlink{class_object}{Object} $\ast$obj) +\begin{DoxyCompactList}\small\item\em Very seriously delete a child object and free his memory. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Protected Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{std\-::list$<$ \hyperlink{class_object}{Object} $\ast$ $>$ \hyperlink{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{\-\_\-list}}\label{class_scene_acdd0123ca6b2d64d8d447bb485b235fc} + +\begin{DoxyCompactList}\small\item\em For the purposes of rapid propagation of scene-\/graph changes, \hyperlink{class_object}{Object} pointers are stored in a regular flat list. \end{DoxyCompactList}\item +std\-::map$<$ std\-::string, \hyperlink{class_object}{Object} $\ast$ $>$ \hyperlink{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{\-\_\-map} +\begin{DoxyCompactList}\small\item\em For the purposes of accessing named objects quickly, though, objects are also re-\/stored in an associative map. \end{DoxyCompactList}\item +\hypertarget{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{std\-::list$<$ \hyperlink{class_object}{Object} $\ast$ $>$\-::iterator \hyperlink{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{\-\_\-current\-Obj}}\label{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9} + +\begin{DoxyCompactList}\small\item\em We keep an iterator on-\/hand that references what the scene considers to be it's active, current object. \end{DoxyCompactList}\item +\hypertarget{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{G\-Luint \hyperlink{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{\-\_\-g\-Shader}}\label{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724} + +\begin{DoxyCompactList}\small\item\em A handle to a shader program to be used as the default shader for new children objects added to the scene. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +The \hyperlink{class_scene}{Scene} object keeps track of a list of objects considered to be \char`\"{}children\char`\"{} of the \hyperlink{class_scene}{Scene}. + +The \hyperlink{class_scene}{Scene} itself has no physical representation or presence otherwise on the G\-P\-U, it is purely a logical C\-P\-U entity. + +\begin{DoxyDate}{Date} +2013-\/03-\/16 +\end{DoxyDate} +\begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} + + +Definition at line 30 of file Scene.\-hpp. + + + +\subsection{Constructor \& Destructor Documentation} +\hypertarget{class_scene_a3b8cec2e32546713915f8c6303c951f1}{\index{Scene@{Scene}!$\sim$\-Scene@{$\sim$\-Scene}} +\index{$\sim$\-Scene@{$\sim$\-Scene}!Scene@{Scene}} +\subsubsection[{$\sim$\-Scene}]{\setlength{\rightskip}{0pt plus 5cm}Scene\-::$\sim$\-Scene ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_scene_a3b8cec2e32546713915f8c6303c951f1} + + +Destructor! Will traverse its list and delete all objects! !! C\-A\-U\-T\-I\-O\-N !! If you have registered your own Objects manually, note that the scene will delete them for you! + +You should, of course, never register objects from the stack. + +Definition at line 34 of file Scene.\-cpp. + + + +\subsection{Member Function Documentation} +\hypertarget{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b}{\index{Scene@{Scene}!add\-Object@{add\-Object}} +\index{add\-Object@{add\-Object}!Scene@{Scene}} +\subsubsection[{add\-Object}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Object} $\ast$ Scene\-::add\-Object ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{obj\-Name, } +\item[{G\-Luint}]{shader = {\ttfamily 0}} +\end{DoxyParamCaption} +)}}\label{class_scene_aa5a48614e959c38c35d824fa9d6a4b8b} + + +add\-Object creates a new \hyperlink{class_object}{Object} with the given name and, optionally, a specified shader and adds it to the \hyperlink{class_scene}{Scene} graph. + +If no shader is given, a default shader M\-U\-S\-T have been specified for the \hyperlink{class_scene}{Scene} prior to the call. + + +\begin{DoxyParams}{Parameters} +{\em obj\-Name} & The name of the new \hyperlink{class_object}{Object} to add. \\ +\hline +{\em Object\-\_\-\-Shader} & The shader that should be used to render this object. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +A pointer to the new \hyperlink{class_object}{Object}. +\end{DoxyReturn} + + +Definition at line 77 of file Scene.\-cpp. + +\hypertarget{class_scene_ad3897f8ac658af62c133783b2c4eaee4}{\index{Scene@{Scene}!delete\-Object@{delete\-Object}} +\index{delete\-Object@{delete\-Object}!Scene@{Scene}} +\subsubsection[{delete\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::delete\-Object ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_scene_ad3897f8ac658af62c133783b2c4eaee4} + + +Very seriously delete a child object and free his memory. + +delete\-Object is the actual implementation function that will remove an \hyperlink{class_object}{Object} from the \hyperlink{class_scene}{Scene} list and \hyperlink{class_scene}{Scene} map, then free the object. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to delete.\\ +\hline +{\em obj} & The pointer to the object to free. \\ +\hline +\end{DoxyParams} + + +Definition at line 129 of file Scene.\-cpp. + +\hypertarget{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0}{\index{Scene@{Scene}!del\-Object@{del\-Object}} +\index{del\-Object@{del\-Object}!Scene@{Scene}} +\subsubsection[{del\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::del\-Object ( +\begin{DoxyParamCaption} +\item[{const std\-::string \&}]{obj\-Name} +\end{DoxyParamCaption} +)}}\label{class_scene_a2a6845dacbb468c5c097c7a6ab5a0fe0} + + +del\-Object will remove from the \hyperlink{class_scene}{Scene} graph the object with the given name. + + +\begin{DoxyParams}{Parameters} +{\em obj\-Name} & Name of the \hyperlink{class_object}{Object} to delete. \\ +\hline +\end{DoxyParams} + + +Definition at line 99 of file Scene.\-cpp. + +\hypertarget{class_scene_a8893899f0088a72642ae32a656252e7f}{\index{Scene@{Scene}!insert\-Object@{insert\-Object}} +\index{insert\-Object@{insert\-Object}!Scene@{Scene}} +\subsubsection[{insert\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::insert\-Object ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj} +\end{DoxyParamCaption} +)}}\label{class_scene_a8893899f0088a72642ae32a656252e7f} + + +Register a created object with the scene graph. + + +\begin{DoxyParams}{Parameters} +{\em name} & The name of the object (For the associative map), \\ +\hline +{\em obj} & The \hyperlink{class_object}{Object} pointer to add to the scene. \\ +\hline +\end{DoxyParams} + + +Definition at line 118 of file Scene.\-cpp. + +\hypertarget{class_scene_a3ea7e92935755c776c235a9872f53394}{\index{Scene@{Scene}!shader@{shader}} +\index{shader@{shader}!Scene@{Scene}} +\subsubsection[{shader}]{\setlength{\rightskip}{0pt plus 5cm}void Scene\-::shader ( +\begin{DoxyParamCaption} +\item[{G\-Luint}]{g\-Shader} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_scene_a3ea7e92935755c776c235a9872f53394} + + +Sets the Default shader for the scene. + +In the context of inheritance by objects, This sets the shader to use to render the physical object. + + +\begin{DoxyParams}{Parameters} +{\em g\-Shader} & The G\-Luint handle to the shader to use.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Reimplemented in \hyperlink{class_object_aeaf11bb87bd59381c9e066f0b4f40d8e}{Object}. + + + +Definition at line 52 of file Scene.\-cpp. + +\hypertarget{class_scene_a9d8a33f0f0a296aba0fb6717ab85cb18}{\index{Scene@{Scene}!shader@{shader}} +\index{shader@{shader}!Scene@{Scene}} +\subsubsection[{shader}]{\setlength{\rightskip}{0pt plus 5cm}G\-Luint Scene\-::shader ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_scene_a9d8a33f0f0a296aba0fb6717ab85cb18} + + +Retrieves the handle for the default shader for the scene. + +In the context of inheritance by objects, This retrieves the shader handle to use to draw the object. + +\begin{DoxyReturn}{Returns} +A G\-Luint handle to the shader program. +\end{DoxyReturn} + + +Reimplemented in \hyperlink{class_object_a459489106838a1e3a8dbbd13045cd523}{Object}. + + + +Definition at line 63 of file Scene.\-cpp. + + + +\subsection{Member Data Documentation} +\hypertarget{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{\index{Scene@{Scene}!\-\_\-map@{\-\_\-map}} +\index{\-\_\-map@{\-\_\-map}!Scene@{Scene}} +\subsubsection[{\-\_\-map}]{\setlength{\rightskip}{0pt plus 5cm}std\-::map$<$ std\-::string, {\bf Object}$\ast$ $>$ Scene\-::\-\_\-map\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a} + + +For the purposes of accessing named objects quickly, though, objects are also re-\/stored in an associative map. + +It's a little superfluous, but here it is! + +Definition at line 127 of file Scene.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_scene_8hpp}{Scene.\-hpp}\item +\hyperlink{_scene_8cpp}{Scene.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_screen.tex b/Doxygen/Docs/latex/class_screen.tex new file mode 100644 index 00000000..f0456062 --- /dev/null +++ b/Doxygen/Docs/latex/class_screen.tex @@ -0,0 +1,64 @@ +\hypertarget{class_screen}{\section{Screen Class Reference} +\label{class_screen}\index{Screen@{Screen}} +} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_screen_ad97151af2e654778bad86043c32fe19f}{{\bfseries Screen} (int x=0, int y=0)}\label{class_screen_ad97151af2e654778bad86043c32fe19f} + +\item +\hypertarget{class_screen_a7b45282430392ffa8b5891936363f8f8}{{\bfseries Screen} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&new\-Size)}\label{class_screen_a7b45282430392ffa8b5891936363f8f8} + +\item +\hypertarget{class_screen_a24e5be647130c965757db6cb9617fbe1}{void {\bfseries size} (int x, int y)}\label{class_screen_a24e5be647130c965757db6cb9617fbe1} + +\item +\hypertarget{class_screen_a2c027dc96b9133619687f21fd92d66ba}{void {\bfseries size} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&new\-Size)}\label{class_screen_a2c027dc96b9133619687f21fd92d66ba} + +\item +\hypertarget{class_screen_a7c7219ac566e00e09bf3dd7df1a19ccd}{const \hyperlink{struct_angel_1_1vec2}{vec2} \& {\bfseries size} (void)}\label{class_screen_a7c7219ac566e00e09bf3dd7df1a19ccd} + +\item +\hypertarget{class_screen_aa411196a9c73a097e23e5e2cc6f4fb6d}{int {\bfseries width} (void)}\label{class_screen_aa411196a9c73a097e23e5e2cc6f4fb6d} + +\item +\hypertarget{class_screen_a492352f72fd2ee5f3cadcd553539bab1}{int {\bfseries height} (void)}\label{class_screen_a492352f72fd2ee5f3cadcd553539bab1} + +\item +\hypertarget{class_screen_ab1031780f278f25b9ad4efc0379e12fd}{const \hyperlink{struct_angel_1_1vec2}{vec2} \& {\bfseries center} (void)}\label{class_screen_ab1031780f278f25b9ad4efc0379e12fd} + +\item +\hypertarget{class_screen_a8ebfcb6f8f6a01c9397b0255e7e07b3e}{int {\bfseries midpoint\-X} (void)}\label{class_screen_a8ebfcb6f8f6a01c9397b0255e7e07b3e} + +\item +\hypertarget{class_screen_a4c579b4f3e27635f30b912d90a6b53d7}{int {\bfseries midpoint\-Y} (void)}\label{class_screen_a4c579b4f3e27635f30b912d90a6b53d7} + +\end{DoxyCompactItemize} +\subsection*{Public Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_screen_a0098c32ec26cba2df8108d7b706986e5}{\hyperlink{class_cameras}{Cameras} {\bfseries \-\_\-cam\-List}}\label{class_screen_a0098c32ec26cba2df8108d7b706986e5} + +\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_screen_a02a1812a3807a9c4db6d4456861a7130}{\hyperlink{struct_angel_1_1vec2}{vec2} {\bfseries \-\_\-size}}\label{class_screen_a02a1812a3807a9c4db6d4456861a7130} + +\item +\hypertarget{class_screen_a1c82610b27dd93ae998b96d1fe11c792}{\hyperlink{struct_angel_1_1vec2}{vec2} {\bfseries \-\_\-center}}\label{class_screen_a1c82610b27dd93ae998b96d1fe11c792} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +Definition at line 15 of file Screen.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_screen_8hpp}{Screen.\-hpp}\item +\hyperlink{_screen_8cpp}{Screen.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_spelchk_camera.tex b/Doxygen/Docs/latex/class_spelchk_camera.tex new file mode 100644 index 00000000..1f3c7d87 --- /dev/null +++ b/Doxygen/Docs/latex/class_spelchk_camera.tex @@ -0,0 +1,166 @@ +\hypertarget{class_spelchk_camera}{\section{Spelchk\-Camera Class Reference} +\label{class_spelchk_camera}\index{Spelchk\-Camera@{Spelchk\-Camera}} +} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_spelchk_camera_a1d894472ef9e588ddeb56434e549cd0a}{{\bfseries Spelchk\-Camera} (\hyperlink{struct_angel_1_1vec4}{vec4} initial\-Translation\-Vector)}\label{class_spelchk_camera_a1d894472ef9e588ddeb56434e549cd0a} + +\item +\hypertarget{class_spelchk_camera_a2a9aa83f6e5d3d2371dd00ae162aef30}{\hyperlink{class_angel_1_1mat4}{mat4} {\bfseries get\-Projection\-Matrix} ()}\label{class_spelchk_camera_a2a9aa83f6e5d3d2371dd00ae162aef30} + +\item +\hypertarget{class_spelchk_camera_af702dfbd3c3719e4b738440bb2269922}{\hyperlink{class_angel_1_1mat4}{mat4} {\bfseries get\-Model\-View\-Matrix} ()}\label{class_spelchk_camera_af702dfbd3c3719e4b738440bb2269922} + +\item +\hypertarget{class_spelchk_camera_a4ad8fbfe69914453580c02406bffc501}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries get\-Translation\-Vector} ()}\label{class_spelchk_camera_a4ad8fbfe69914453580c02406bffc501} + +\item +\hypertarget{class_spelchk_camera_a1396d6aa2a3e85d9ed8b90c17751da41}{void {\bfseries move\-Camera} (float x\-Depth, float y\-Depth, float z\-Depth)}\label{class_spelchk_camera_a1396d6aa2a3e85d9ed8b90c17751da41} + +\item +\hypertarget{class_spelchk_camera_aa012e2d10f196ae007a8f8b4ac8471c3}{void {\bfseries rotate\-Camera} (float x\-Angle, float y\-Angle, float z\-Angle)}\label{class_spelchk_camera_aa012e2d10f196ae007a8f8b4ac8471c3} + +\item +\hypertarget{class_spelchk_camera_a24f5fe7d296bcd7ec9d70b25b6a92fe5}{void {\bfseries set\-Screen\-Size} (int width, int height)}\label{class_spelchk_camera_a24f5fe7d296bcd7ec9d70b25b6a92fe5} + +\item +\hypertarget{class_spelchk_camera_a95b87c80007941d85d26c43d30fa7f87}{void {\bfseries set\-Projection} (int projection\-Type)}\label{class_spelchk_camera_a95b87c80007941d85d26c43d30fa7f87} + +\item +\hypertarget{class_spelchk_camera_a29d4ba987d9f3e1c47e1103fcea0ae2b}{void {\bfseries reset} ()}\label{class_spelchk_camera_a29d4ba987d9f3e1c47e1103fcea0ae2b} + +\item +\hypertarget{class_spelchk_camera_a20436fee96b0d6a1279d10b88e20f520}{void {\bfseries set\-Light\-Movement\-Ref} (G\-Luint ref)}\label{class_spelchk_camera_a20436fee96b0d6a1279d10b88e20f520} + +\item +\hypertarget{class_spelchk_camera_aed5d76d2de23473dec034161efe29275}{void {\bfseries set\-Light\-Movement\-Time} (float elapsed)}\label{class_spelchk_camera_aed5d76d2de23473dec034161efe29275} + +\item +\hypertarget{class_spelchk_camera_a90aa5e06ba61d44e63535acf2cc3e373}{void {\bfseries get\-Ready\-For\-Zero} (int usernum)}\label{class_spelchk_camera_a90aa5e06ba61d44e63535acf2cc3e373} + +\item +\hypertarget{class_spelchk_camera_afc39db6b4eab85070aa5d7494d0c5198}{void {\bfseries head\-Movement} (int usernum, double x, double y, double z)}\label{class_spelchk_camera_afc39db6b4eab85070aa5d7494d0c5198} + +\end{DoxyCompactItemize} +\subsection*{Private Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_spelchk_camera_a539230ff6d91932526666d4eee9d6c0d}{void {\bfseries calculate\-Translation\-Vector} ()}\label{class_spelchk_camera_a539230ff6d91932526666d4eee9d6c0d} + +\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_spelchk_camera_a1300ebc7e19c9784307668e5fbd54230}{int {\bfseries \-\_\-projection\-Type}}\label{class_spelchk_camera_a1300ebc7e19c9784307668e5fbd54230} + +\item +\hypertarget{class_spelchk_camera_a28e265ba33968587a514c40e1c188362}{G\-Lfloat {\bfseries \-\_\-fovy}}\label{class_spelchk_camera_a28e265ba33968587a514c40e1c188362} + +\item +\hypertarget{class_spelchk_camera_af45ecbaf2abdb45ba7a7b10988cb32bf}{G\-Lfloat {\bfseries \-\_\-aspect}}\label{class_spelchk_camera_af45ecbaf2abdb45ba7a7b10988cb32bf} + +\item +\hypertarget{class_spelchk_camera_a42693efc09de379317a24175a8820a4b}{G\-Lfloat {\bfseries \-\_\-left}}\label{class_spelchk_camera_a42693efc09de379317a24175a8820a4b} + +\item +\hypertarget{class_spelchk_camera_a4b673ae943e77ac4e84ef3655dffb9dc}{G\-Lfloat {\bfseries \-\_\-right}}\label{class_spelchk_camera_a4b673ae943e77ac4e84ef3655dffb9dc} + +\item +\hypertarget{class_spelchk_camera_a4b6008e072c2c969bdad94340c9e883f}{G\-Lfloat {\bfseries \-\_\-bottom}}\label{class_spelchk_camera_a4b6008e072c2c969bdad94340c9e883f} + +\item +\hypertarget{class_spelchk_camera_a4e57c23cb7296bf3b377b2695684f2f0}{G\-Lfloat {\bfseries \-\_\-top}}\label{class_spelchk_camera_a4e57c23cb7296bf3b377b2695684f2f0} + +\item +\hypertarget{class_spelchk_camera_a583fa3f337f6b4f6662c79580a7ac0b9}{G\-Lfloat {\bfseries \-\_\-z\-Near}}\label{class_spelchk_camera_a583fa3f337f6b4f6662c79580a7ac0b9} + +\item +\hypertarget{class_spelchk_camera_aa634e60867955c15ff1f3930fd65e141}{G\-Lfloat {\bfseries \-\_\-z\-Far}}\label{class_spelchk_camera_aa634e60867955c15ff1f3930fd65e141} + +\item +\hypertarget{class_spelchk_camera_a842fe340902238c352e3ae353c69efe3}{G\-Luint {\bfseries \-\_\-time\-Ref}}\label{class_spelchk_camera_a842fe340902238c352e3ae353c69efe3} + +\item +\hypertarget{class_spelchk_camera_a5af9cf826b28b2089f455b2a9dd55273}{int {\bfseries \-\_\-screen\-Width}}\label{class_spelchk_camera_a5af9cf826b28b2089f455b2a9dd55273} + +\item +\hypertarget{class_spelchk_camera_a71989db7bbd6ee6e53c449edbd5b97c2}{int {\bfseries \-\_\-screen\-Height}}\label{class_spelchk_camera_a71989db7bbd6ee6e53c449edbd5b97c2} + +\item +\hypertarget{class_spelchk_camera_af358d23e248c4ea34eac1cb6d43650c4}{G\-Lfloat {\bfseries \-\_\-x\-Depth}}\label{class_spelchk_camera_af358d23e248c4ea34eac1cb6d43650c4} + +\item +\hypertarget{class_spelchk_camera_ac9e259988d55580ca85a8ce675eca238}{G\-Lfloat {\bfseries \-\_\-y\-Depth}}\label{class_spelchk_camera_ac9e259988d55580ca85a8ce675eca238} + +\item +\hypertarget{class_spelchk_camera_a226c2bd8248e2da25449bb7b259cbe53}{G\-Lfloat {\bfseries \-\_\-z\-Depth}}\label{class_spelchk_camera_a226c2bd8248e2da25449bb7b259cbe53} + +\item +\hypertarget{class_spelchk_camera_affdf1796d7b273b022aab5bcd057906d}{G\-Lfloat {\bfseries \-\_\-x\-Angle}}\label{class_spelchk_camera_affdf1796d7b273b022aab5bcd057906d} + +\item +\hypertarget{class_spelchk_camera_aa91c493a5fcebf41dd22a2ba19dccb67}{G\-Lfloat {\bfseries \-\_\-y\-Angle}}\label{class_spelchk_camera_aa91c493a5fcebf41dd22a2ba19dccb67} + +\item +\hypertarget{class_spelchk_camera_aee718e71cfc0e1223a651640a92d043d}{G\-Lfloat {\bfseries \-\_\-z\-Angle}}\label{class_spelchk_camera_aee718e71cfc0e1223a651640a92d043d} + +\item +\hypertarget{class_spelchk_camera_aed4968712cd26cbcf1b3a0aaefef0be9}{G\-Lfloat {\bfseries \-\_\-x\-Head}}\label{class_spelchk_camera_aed4968712cd26cbcf1b3a0aaefef0be9} + +\item +\hypertarget{class_spelchk_camera_a8821e575424b9bf9c7df5b88a00791a9}{G\-Lfloat {\bfseries \-\_\-y\-Head}}\label{class_spelchk_camera_a8821e575424b9bf9c7df5b88a00791a9} + +\item +\hypertarget{class_spelchk_camera_a5b4f9fd0ac88b154a8ac7c67937a027e}{G\-Lfloat {\bfseries \-\_\-z\-Head}}\label{class_spelchk_camera_a5b4f9fd0ac88b154a8ac7c67937a027e} + +\item +\hypertarget{class_spelchk_camera_a1aee726b5d02ce0dfd94ab332a5bf2ae}{float {\bfseries \-\_\-x\-Head\-Start}}\label{class_spelchk_camera_a1aee726b5d02ce0dfd94ab332a5bf2ae} + +\item +\hypertarget{class_spelchk_camera_a15769e148b33d8a1ec1f66cb31113b5d}{float {\bfseries \-\_\-y\-Head\-Start}}\label{class_spelchk_camera_a15769e148b33d8a1ec1f66cb31113b5d} + +\item +\hypertarget{class_spelchk_camera_a2de115edea646f121f23948bd11acfc7}{float {\bfseries \-\_\-z\-Head\-Start}}\label{class_spelchk_camera_a2de115edea646f121f23948bd11acfc7} + +\item +\hypertarget{class_spelchk_camera_a81a21a91a20e88cdf22acf708049b514}{G\-Lfloat {\bfseries \-\_\-x\-Head\-Angle}}\label{class_spelchk_camera_a81a21a91a20e88cdf22acf708049b514} + +\item +\hypertarget{class_spelchk_camera_aa1aac3ac2dc8d81aa9c36808811748d2}{G\-Lfloat {\bfseries \-\_\-y\-Head\-Angle}}\label{class_spelchk_camera_aa1aac3ac2dc8d81aa9c36808811748d2} + +\item +\hypertarget{class_spelchk_camera_a53127a6e46ffee300cba7240768ecc84}{G\-Lfloat {\bfseries \-\_\-z\-Head\-Angle}}\label{class_spelchk_camera_a53127a6e46ffee300cba7240768ecc84} + +\item +\hypertarget{class_spelchk_camera_ab55d117dbbe81571f7647c99a8254c96}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries \-\_\-initial\-Translation\-Vector}}\label{class_spelchk_camera_ab55d117dbbe81571f7647c99a8254c96} + +\item +\hypertarget{class_spelchk_camera_ae6c14466dbc61908c0362d5d23a2e4d7}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries \-\_\-translation\-Vector}}\label{class_spelchk_camera_ae6c14466dbc61908c0362d5d23a2e4d7} + +\item +\hypertarget{class_spelchk_camera_a22330eebe446d1b1f2df252299af1bec}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries \-\_\-old\-Translation\-Vector}}\label{class_spelchk_camera_a22330eebe446d1b1f2df252299af1bec} + +\item +\hypertarget{class_spelchk_camera_a97affea96b6d50eb2f918e7a657211fa}{\hyperlink{class_angel_1_1mat4}{mat4} {\bfseries \-\_\-model\-View\-Matrix}}\label{class_spelchk_camera_a97affea96b6d50eb2f918e7a657211fa} + +\item +\hypertarget{class_spelchk_camera_a4d0112ca90bced7facf868165b109f2c}{int {\bfseries \-\_\-inbound\-Head\-Data}}\label{class_spelchk_camera_a4d0112ca90bced7facf868165b109f2c} + +\item +\hypertarget{class_spelchk_camera_a92d895ed8ba20382bcf9000acb8f62c4}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries \-\_\-initial\-Head\-Position}}\label{class_spelchk_camera_a92d895ed8ba20382bcf9000acb8f62c4} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +Definition at line 17 of file Spelchk\-Camera.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_spelchk_camera_8hpp}{Spelchk\-Camera.\-hpp}\item +\hyperlink{_spelchk_camera_8cpp}{Spelchk\-Camera.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_tiem_spelchk_1_1_lurn2_spiel_nub.tex b/Doxygen/Docs/latex/class_tiem_spelchk_1_1_lurn2_spiel_nub.tex new file mode 100644 index 00000000..a412c325 --- /dev/null +++ b/Doxygen/Docs/latex/class_tiem_spelchk_1_1_lurn2_spiel_nub.tex @@ -0,0 +1,98 @@ +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub}{\section{Tiem\-Spelchk\-:\-:Lurn2\-Spiel\-Nub Class Reference} +\label{class_tiem_spelchk_1_1_lurn2_spiel_nub}\index{Tiem\-Spelchk\-::\-Lurn2\-Spiel\-Nub@{Tiem\-Spelchk\-::\-Lurn2\-Spiel\-Nub}} +} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a590dbbc3cfd3781cc79e63945d6bdce9}{void {\bfseries set\-Callback} (boost\-::function$<$ void(int, double, double, double) $>$ head\-C\-B)}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a590dbbc3cfd3781cc79e63945d6bdce9} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a29b93d8ad5bbcefad6df00b4a23f4fc4}{int {\bfseries Start} ()}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a29b93d8ad5bbcefad6df00b4a23f4fc4} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a7c055489ec5c140e7bfa91a0c0a76f94}{void {\bfseries Shutdown} ()}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a7c055489ec5c140e7bfa91a0c0a76f94} + +\end{DoxyCompactItemize} +\subsection*{Static Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a38db742a870fe48644f795c3e249d6ab}{static void X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E {\bfseries new\-\_\-user} (xn\-::\-User\-Generator \&, Xn\-User\-I\-D, void $\ast$)}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a38db742a870fe48644f795c3e249d6ab} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a9d85ee4de4621c0de0c7133fb15bcaa6}{static void X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E {\bfseries lost\-\_\-user} (xn\-::\-User\-Generator \&, Xn\-User\-I\-D, void $\ast$)}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a9d85ee4de4621c0de0c7133fb15bcaa6} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a9e8df7c3c86b521fd642e6bd1719b1ad}{static void X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E {\bfseries pose} (xn\-::\-Pose\-Detection\-Capability \&, const Xn\-Char $\ast$, Xn\-User\-I\-D, void $\ast$)}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a9e8df7c3c86b521fd642e6bd1719b1ad} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_aeb00f8d55630f3f7d2da36d04302a174}{static void X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E {\bfseries cal\-\_\-start} (xn\-::\-Skeleton\-Capability \&, Xn\-User\-I\-D, void $\ast$)}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_aeb00f8d55630f3f7d2da36d04302a174} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a41dd33b54013b3974119d7a0da893d8a}{static void X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E {\bfseries cal\-\_\-complete} (xn\-::\-Skeleton\-Capability \&, Xn\-User\-I\-D, Xn\-Calibration\-Status, void $\ast$)}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a41dd33b54013b3974119d7a0da893d8a} + +\end{DoxyCompactItemize} +\subsection*{Private Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a28fa0e11dc89f2202890ec873a74d23f}{void {\bfseries F\-U\-N\-K\-M\-A\-S\-T\-E\-R\-\_\-thread\-\_\-func} ()}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a28fa0e11dc89f2202890ec873a74d23f} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_aa28206499ebeb98e2db24db9813232f7}{void X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E {\bfseries User\-\_\-\-New\-User} (xn\-::\-User\-Generator \&, Xn\-User\-I\-D n\-Id, void $\ast$)}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_aa28206499ebeb98e2db24db9813232f7} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a040124fb9e20cfab39c45d334e6c5b1c}{void X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E {\bfseries User\-\_\-\-Lost\-User} (xn\-::\-User\-Generator \&, Xn\-User\-I\-D n\-Id, void $\ast$)}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a040124fb9e20cfab39c45d334e6c5b1c} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a5bc3222dbbbee803b2b77afbdbd88acc}{void X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E {\bfseries User\-Pose\-\_\-\-Pose\-Detected} (xn\-::\-Pose\-Detection\-Capability \&, const Xn\-Char $\ast$str\-Pose, Xn\-User\-I\-D n\-Id, void $\ast$)}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a5bc3222dbbbee803b2b77afbdbd88acc} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_aaf9264a46a4b2c23587fc67569339992}{void X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E {\bfseries User\-Calibration\-\_\-\-Calibration\-Start} (xn\-::\-Skeleton\-Capability \&, Xn\-User\-I\-D n\-Id, void $\ast$)}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_aaf9264a46a4b2c23587fc67569339992} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_ad029dba23118fdb5fa2b2cfc74a50305}{void X\-N\-\_\-\-C\-A\-L\-L\-B\-A\-C\-K\-\_\-\-T\-Y\-P\-E {\bfseries User\-Calibration\-\_\-\-Calibration\-Complete} (xn\-::\-Skeleton\-Capability \&, Xn\-User\-I\-D n\-Id, Xn\-Calibration\-Status e\-Status, void $\ast$)}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_ad029dba23118fdb5fa2b2cfc74a50305} + +\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a46cded6cb265dfcd1c73393952ab0529}{boost\-::function$<$ void(int, \\* +double, double, double) $>$ {\bfseries \-\_\-cb}}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a46cded6cb265dfcd1c73393952ab0529} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a6ce714e2ff4d16b836a16ac526b397fe}{boost\-::thread {\bfseries \-\_\-thread}}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a6ce714e2ff4d16b836a16ac526b397fe} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_ab0b7fd2f68507a79f940ece0c7ce2cb6}{bool {\bfseries needs\-To\-Seppuku}}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_ab0b7fd2f68507a79f940ece0c7ce2cb6} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a89dc8acb0e9b63f52de20364f5c49c47}{xn\-::\-Context {\bfseries g\-\_\-\-Context}}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a89dc8acb0e9b63f52de20364f5c49c47} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a2500c966681a65ffcd3d2354848227e5}{xn\-::\-Script\-Node {\bfseries g\-\_\-script\-Node}}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a2500c966681a65ffcd3d2354848227e5} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a7e4f74ecd9de1cfdff8cc2d237ce6e34}{xn\-::\-Depth\-Generator {\bfseries g\-\_\-\-Depth\-Generator}}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a7e4f74ecd9de1cfdff8cc2d237ce6e34} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_ad76a0650fa08d75e692125f3e2e571d0}{xn\-::\-User\-Generator {\bfseries g\-\_\-\-User\-Generator}}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_ad76a0650fa08d75e692125f3e2e571d0} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_a3d0fa17772cdaa4775c6eb3c441f1b17}{Xn\-Bool {\bfseries g\-\_\-b\-Need\-Pose}}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_a3d0fa17772cdaa4775c6eb3c441f1b17} + +\item +\hypertarget{class_tiem_spelchk_1_1_lurn2_spiel_nub_ac2be8464e1436a7f90e2212e31944b7a}{Xn\-Char {\bfseries g\-\_\-str\-Pose} \mbox{[}20\mbox{]}}\label{class_tiem_spelchk_1_1_lurn2_spiel_nub_ac2be8464e1436a7f90e2212e31944b7a} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +Definition at line 56 of file Kinect\-Inator.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_kinect_inator_8hpp}{Kinect\-Inator.\-hpp}\item +\hyperlink{_kinect_inator_8cpp}{Kinect\-Inator.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_timer.tex b/Doxygen/Docs/latex/class_timer.tex new file mode 100644 index 00000000..073a34e8 --- /dev/null +++ b/Doxygen/Docs/latex/class_timer.tex @@ -0,0 +1,126 @@ +\hypertarget{class_timer}{\section{Timer Class Reference} +\label{class_timer}\index{Timer@{Timer}} +} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +unsigned long \hyperlink{class_timer_a303b48cd096028dbcc3d73f735c49b66}{tick} () +\begin{DoxyCompactList}\small\item\em tick is an alias for tock. \end{DoxyCompactList}\item +unsigned long \hyperlink{class_timer_a334900b3056fd3351c299fef28c31d3d}{tock} () +\begin{DoxyCompactList}\small\item\em tock returns the time elapsed since the last tock. \end{DoxyCompactList}\item +unsigned long \hyperlink{class_timer_a855136dd9e8cc3c07278dac9c4613693}{delta} () const +\begin{DoxyCompactList}\small\item\em delta returns the time elapsed between the last tick and the last tock. \end{DoxyCompactList}\item +\hypertarget{class_timer_a86957c3647a68e4d1666b4dc8765a631}{float {\bfseries key\-Frame\-Rate} () const }\label{class_timer_a86957c3647a68e4d1666b4dc8765a631} + +\item +\hypertarget{class_timer_ab49d5d4d56cfff329d3f3f4c74663ae2}{float {\bfseries key\-Frame\-Rate} (float new\-Frame\-Rate)}\label{class_timer_ab49d5d4d56cfff329d3f3f4c74663ae2} + +\item +double \hyperlink{class_timer_a7b3934948b0d2bc11a5e198e619b2576}{scale} () const +\begin{DoxyCompactList}\small\item\em scale returns the relative lateness or eagerness of the \hyperlink{class_timer}{Timer}, Relative to a benchmark or Key Frame Rate (The default is 60\-F\-P\-S, or 16667 msec.) \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_timer_af337d44bb179d24e7a462d05b36319fa}{struct timeval {\bfseries \-\_\-t1}}\label{class_timer_af337d44bb179d24e7a462d05b36319fa} + +\item +\hypertarget{class_timer_a093c39d8ce491d887ea0ae2e8d451030}{struct timeval {\bfseries \-\_\-t2}}\label{class_timer_a093c39d8ce491d887ea0ae2e8d451030} + +\item +\hypertarget{class_timer_a2a80ef1463e87f63e6ccc45a3fbe5ac2}{unsigned long {\bfseries \-\_\-delta}}\label{class_timer_a2a80ef1463e87f63e6ccc45a3fbe5ac2} + +\item +\hypertarget{class_timer_a02c5ec526c6bad4f0f2352325b4ac4f3}{double {\bfseries \-\_\-scale}}\label{class_timer_a02c5ec526c6bad4f0f2352325b4ac4f3} + +\item +\hypertarget{class_timer_af6e96c06b73154cd3a72ff22fb801e9e}{float {\bfseries \-\_\-key\-Frame\-Rate}}\label{class_timer_af6e96c06b73154cd3a72ff22fb801e9e} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +Definition at line 14 of file Timer.\-hpp. + + + +\subsection{Member Function Documentation} +\hypertarget{class_timer_a855136dd9e8cc3c07278dac9c4613693}{\index{Timer@{Timer}!delta@{delta}} +\index{delta@{delta}!Timer@{Timer}} +\subsubsection[{delta}]{\setlength{\rightskip}{0pt plus 5cm}unsigned long Timer\-::delta ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_timer_a855136dd9e8cc3c07278dac9c4613693} + + +delta returns the time elapsed between the last tick and the last tock. + +Does not start a new timer. \begin{DoxyReturn}{Returns} +Time elapsed in Microseconds, or Nanoseconds if \-\_\-\-R\-T was enabled. +\end{DoxyReturn} + + +Definition at line 74 of file Timer.\-cpp. + +\hypertarget{class_timer_a7b3934948b0d2bc11a5e198e619b2576}{\index{Timer@{Timer}!scale@{scale}} +\index{scale@{scale}!Timer@{Timer}} +\subsubsection[{scale}]{\setlength{\rightskip}{0pt plus 5cm}double Timer\-::scale ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +) const}}\label{class_timer_a7b3934948b0d2bc11a5e198e619b2576} + + +scale returns the relative lateness or eagerness of the \hyperlink{class_timer}{Timer}, Relative to a benchmark or Key Frame Rate (The default is 60\-F\-P\-S, or 16667 msec.) + +\begin{DoxyReturn}{Returns} +A non-\/zero float that ranges from (0,1) indicating that the program is rendering faster than 60\-F\-P\-S, or from the range \mbox{[}1,+inf) indicating that the program is rendering slower than 60\-F\-P\-S. +\end{DoxyReturn} + + +Definition at line 87 of file Timer.\-cpp. + +\hypertarget{class_timer_a303b48cd096028dbcc3d73f735c49b66}{\index{Timer@{Timer}!tick@{tick}} +\index{tick@{tick}!Timer@{Timer}} +\subsubsection[{tick}]{\setlength{\rightskip}{0pt plus 5cm}unsigned long Timer\-::tick ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_timer_a303b48cd096028dbcc3d73f735c49b66} + + +tick is an alias for tock. + +Ha, Ha, Ha. \begin{DoxyReturn}{Returns} +An unsigned long corresponding to how much time has passed since the last tick. Microseconds normally, Nanoseconds if \-\_\-\-R\-T was enabled. +\end{DoxyReturn} + + +Definition at line 44 of file Timer.\-cpp. + +\hypertarget{class_timer_a334900b3056fd3351c299fef28c31d3d}{\index{Timer@{Timer}!tock@{tock}} +\index{tock@{tock}!Timer@{Timer}} +\subsubsection[{tock}]{\setlength{\rightskip}{0pt plus 5cm}unsigned long Timer\-::tock ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{class_timer_a334900b3056fd3351c299fef28c31d3d} + + +tock returns the time elapsed since the last tock. + +\begin{DoxyReturn}{Returns} +An unsigned long corresponding to how much time has passed since the last tock. Microseconds normally, Nanoseconds if \-\_\-\-R\-T was enabled. +\end{DoxyReturn} + + +Definition at line 54 of file Timer.\-cpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_timer_8hpp}{Timer.\-hpp}\item +\hyperlink{_timer_8cpp}{Timer.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_trans_cache.tex b/Doxygen/Docs/latex/class_trans_cache.tex new file mode 100644 index 00000000..fb7bfce0 --- /dev/null +++ b/Doxygen/Docs/latex/class_trans_cache.tex @@ -0,0 +1,70 @@ +\hypertarget{class_trans_cache}{\section{Trans\-Cache Class Reference} +\label{class_trans_cache}\index{Trans\-Cache@{Trans\-Cache}} +} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_trans_cache_afbb46369dfa2169eaa30fcbf0038f8b8}{void {\bfseries ptm} (const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \&ptm\-\_\-in, bool postmult=true)}\label{class_trans_cache_afbb46369dfa2169eaa30fcbf0038f8b8} + +\item +\hypertarget{class_trans_cache_a983b90a0f35e2955beb9a619c0c85ec3}{const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \& {\bfseries ptm} (void) const }\label{class_trans_cache_a983b90a0f35e2955beb9a619c0c85ec3} + +\item +\hypertarget{class_trans_cache_a6a1d0e8050840494441f4be6cfdb02eb}{const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \& {\bfseries ctm} (void) const }\label{class_trans_cache_a6a1d0e8050840494441f4be6cfdb02eb} + +\item +\hypertarget{class_trans_cache_a1c24bb0902fa8b1bc9ac306d28a6e079}{const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \& {\bfseries otm} (void) const }\label{class_trans_cache_a1c24bb0902fa8b1bc9ac306d28a6e079} + +\item +\hypertarget{class_trans_cache_af35282cc89f14b468bafd65715a60f31}{void {\bfseries calc\-C\-T\-M} (bool postmult=true)}\label{class_trans_cache_af35282cc89f14b468bafd65715a60f31} + +\end{DoxyCompactItemize} +\subsection*{Public Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_trans_cache_a1550ed069b59ac202af41716783ea452}{\hyperlink{class_trans_mat}{Trans\-Mat} {\bfseries \-\_\-pre\-Offset}}\label{class_trans_cache_a1550ed069b59ac202af41716783ea452} + +\item +\hypertarget{class_trans_cache_a01839c88c48f8e426e0d75a915ba7396}{\hyperlink{class_rot_mat}{Rot\-Mat} {\bfseries \-\_\-pre\-Rotation}}\label{class_trans_cache_a01839c88c48f8e426e0d75a915ba7396} + +\item +\hypertarget{class_trans_cache_acb34dfafde8ec9e0a2f6a4ed497905d4}{\hyperlink{class_scale_mat}{Scale\-Mat} {\bfseries \-\_\-scale}}\label{class_trans_cache_acb34dfafde8ec9e0a2f6a4ed497905d4} + +\item +\hypertarget{class_trans_cache_a7776dac55cc14489c7ec84661131d8f0}{\hyperlink{class_rot_mat}{Rot\-Mat} {\bfseries \-\_\-rotation}}\label{class_trans_cache_a7776dac55cc14489c7ec84661131d8f0} + +\item +\hypertarget{class_trans_cache_a9a67a280d50b47a456d0a07154a56a8d}{\hyperlink{class_trans_mat}{Trans\-Mat} {\bfseries \-\_\-offset}}\label{class_trans_cache_a9a67a280d50b47a456d0a07154a56a8d} + +\item +\hypertarget{class_trans_cache_a40698e1a82ecc629e15ad7149ea6205d}{\hyperlink{class_rot_mat}{Rot\-Mat} {\bfseries \-\_\-orbit}}\label{class_trans_cache_a40698e1a82ecc629e15ad7149ea6205d} + +\item +\hypertarget{class_trans_cache_a28f0d12b519c38de7be4ec640af011e9}{\hyperlink{class_trans_mat}{Trans\-Mat} {\bfseries \-\_\-displacement}}\label{class_trans_cache_a28f0d12b519c38de7be4ec640af011e9} + +\end{DoxyCompactItemize} +\subsection*{Private Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_trans_cache_a3f620418592ae6bedde06d55261bba36}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries \-\_\-ptm}}\label{class_trans_cache_a3f620418592ae6bedde06d55261bba36} + +\item +\hypertarget{class_trans_cache_a5bb6920889e36c616bd1648192ff5136}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries \-\_\-ctm}}\label{class_trans_cache_a5bb6920889e36c616bd1648192ff5136} + +\item +\hypertarget{class_trans_cache_a968b1ec19687e1839f471658c63563a9}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries \-\_\-otm}}\label{class_trans_cache_a968b1ec19687e1839f471658c63563a9} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +Definition at line 14 of file Trans\-Cache.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_trans_cache_8hpp}{Trans\-Cache.\-hpp}\item +\hyperlink{_trans_cache_8cpp}{Trans\-Cache.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_trans_mat.eps b/Doxygen/Docs/latex/class_trans_mat.eps new file mode 100644 index 00000000..c93d71a5 --- /dev/null +++ b/Doxygen/Docs/latex/class_trans_mat.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 384.615385 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 1.300000 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 1 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(TransMat) cw +(Transformation) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (TransMat) 0.000000 0.000000 box + (Transformation) 0.000000 1.000000 box + +% ----- relations ----- + +solid +0 0.000000 0.000000 out +solid +1 0.000000 1.000000 in diff --git a/Doxygen/Docs/latex/class_trans_mat.pdf b/Doxygen/Docs/latex/class_trans_mat.pdf new file mode 100644 index 00000000..abac6fe0 Binary files /dev/null and b/Doxygen/Docs/latex/class_trans_mat.pdf differ diff --git a/Doxygen/Docs/latex/class_trans_mat.tex b/Doxygen/Docs/latex/class_trans_mat.tex new file mode 100644 index 00000000..4f17dd04 --- /dev/null +++ b/Doxygen/Docs/latex/class_trans_mat.tex @@ -0,0 +1,70 @@ +\hypertarget{class_trans_mat}{\section{Trans\-Mat Class Reference} +\label{class_trans_mat}\index{Trans\-Mat@{Trans\-Mat}} +} + + +Translations. + + + + +{\ttfamily \#include $<$Transformation.\-hpp$>$} + +Inheritance diagram for Trans\-Mat\-:\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2.000000cm]{class_trans_mat} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_trans_mat_afc0cc38bba734d8f668995cfbc263963}{const \hyperlink{class_trans_mat}{Trans\-Mat} \& {\bfseries set\-X} (const float x)}\label{class_trans_mat_afc0cc38bba734d8f668995cfbc263963} + +\item +\hypertarget{class_trans_mat_a97b2e285f76f35219389035b2121df69}{const \hyperlink{class_trans_mat}{Trans\-Mat} \& {\bfseries set\-Y} (const float y)}\label{class_trans_mat_a97b2e285f76f35219389035b2121df69} + +\item +\hypertarget{class_trans_mat_a957630c224fd750f0366a6422426ca43}{const \hyperlink{class_trans_mat}{Trans\-Mat} \& {\bfseries set\-Z} (const float z)}\label{class_trans_mat_a957630c224fd750f0366a6422426ca43} + +\item +\hypertarget{class_trans_mat_a4f4f05916524fb03c84a6a8e53769d52}{const \hyperlink{class_trans_mat}{Trans\-Mat} \& {\bfseries set} (const float x, const float y, const float z)}\label{class_trans_mat_a4f4f05916524fb03c84a6a8e53769d52} + +\item +\hypertarget{class_trans_mat_ac0b8a61381b2c7b21cc08d11e1959fd3}{const \hyperlink{class_trans_mat}{Trans\-Mat} \& {\bfseries set} (const \hyperlink{struct_angel_1_1vec3}{Angel\-::vec3} \&arg)}\label{class_trans_mat_ac0b8a61381b2c7b21cc08d11e1959fd3} + +\item +\hypertarget{class_trans_mat_abf67a3f4b41e34e423ebb921dace428f}{const \hyperlink{class_trans_mat}{Trans\-Mat} \& {\bfseries delta} (const float x, const float y, const float z)}\label{class_trans_mat_abf67a3f4b41e34e423ebb921dace428f} + +\item +\hypertarget{class_trans_mat_a4c93fe2c9ff1af5abf1ded66698cd297}{const \hyperlink{class_trans_mat}{Trans\-Mat} \& {\bfseries delta} (const \hyperlink{struct_angel_1_1vec3}{Angel\-::vec3} \&arg)}\label{class_trans_mat_a4c93fe2c9ff1af5abf1ded66698cd297} + +\item +\hypertarget{class_transformation_afcec300424207fc1d20864b73136937e}{const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \& {\bfseries matrix} (void) const }\label{class_transformation_afcec300424207fc1d20864b73136937e} + +\item +\hypertarget{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries operator$\ast$} (const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \&rhs) const }\label{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66} + +\item +\hypertarget{class_transformation_a85b923e0066365ef2e4aec3671396410}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries operator$\ast$} (const \hyperlink{class_transformation}{Transformation} \&rhs) const }\label{class_transformation_a85b923e0066365ef2e4aec3671396410} + +\end{DoxyCompactItemize} +\subsection*{Protected Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries mat}}\label{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Translations. + +Definition at line 54 of file Transformation.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_transformation_8hpp}{Transformation.\-hpp}\item +\hyperlink{_transformation_8cpp}{Transformation.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/class_transformation.eps b/Doxygen/Docs/latex/class_transformation.eps new file mode 100644 index 00000000..8fb9290b --- /dev/null +++ b/Doxygen/Docs/latex/class_transformation.eps @@ -0,0 +1,207 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 128.205128 +%%Pages: 0 +%%BeginSetup +%%EndSetup +%%EndComments + +% ----- variables ----- + +/boxwidth 0 def +/boxheight 40 def +/fontheight 24 def +/marginwidth 10 def +/distx 20 def +/disty 40 def +/boundaspect 3.900000 def % aspect ratio of the BoundingBox (width/height) +/boundx 500 def +/boundy boundx boundaspect div def +/xspacing 0 def +/yspacing 0 def +/rows 2 def +/cols 3 def +/scalefactor 0 def +/boxfont /Times-Roman findfont fontheight scalefont def + +% ----- procedures ----- + +/dotted { [1 4] 0 setdash } def +/dashed { [5] 0 setdash } def +/solid { [] 0 setdash } def + +/max % result = MAX(arg1,arg2) +{ + /a exch def + /b exch def + a b gt {a} {b} ifelse +} def + +/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) +{ + 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max +} def + +/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) +{ + /str exch def + /boxwidth boxwidth str stringwidth pop max def +} def + +/box % draws a box with text `arg1' at grid pos (arg2,arg3) +{ gsave + 2 setlinewidth + newpath + exch xspacing mul xoffset add + exch yspacing mul + moveto + boxwidth 0 rlineto + 0 boxheight rlineto + boxwidth neg 0 rlineto + 0 boxheight neg rlineto + closepath + dup stringwidth pop neg boxwidth add 2 div + boxheight fontheight 2 div sub 2 div + rmoveto show stroke + grestore +} def + +/mark +{ newpath + exch xspacing mul xoffset add boxwidth add + exch yspacing mul + moveto + 0 boxheight 4 div rlineto + boxheight neg 4 div boxheight neg 4 div rlineto + closepath + eofill + stroke +} def + +/arrow +{ newpath + moveto + 3 -8 rlineto + -6 0 rlineto + 3 8 rlineto + closepath + eofill + stroke +} def + +/out % draws an output connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight add + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/in % draws an input connector for the block at (arg1,arg2) +{ + newpath + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul disty 2 div sub + /y exch def + /x exch def + x y moveto + 0 disty 2 div rlineto + stroke + 1 eq { x y disty 2 div add arrow } if +} def + +/hedge +{ + exch xspacing mul xoffset add boxwidth 2 div add + exch yspacing mul boxheight 2 div sub + /y exch def + /x exch def + newpath + x y moveto + boxwidth 2 div distx add 0 rlineto + stroke + 1 eq + { newpath x boxwidth 2 div distx add add y moveto + -8 3 rlineto + 0 -6 rlineto + 8 3 rlineto + closepath + eofill + stroke + } if +} def + +/vedge +{ + /ye exch def + /ys exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add dup + ys yspacing mul boxheight 2 div sub + moveto + ye yspacing mul boxheight 2 div sub + lineto + stroke +} def + +/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' +{ + /ys exch def + /xe exch def + /xs exch def + newpath + xs xspacing mul xoffset add boxwidth 2 div add + ys yspacing mul disty 2 div sub + moveto + xspacing xe xs sub mul 0 + rlineto + stroke +} def + +% ----- main ------ + +boxfont setfont +1 boundaspect scale +(Transformation) cw +(RotMat) cw +(ScaleMat) cw +(TransMat) cw +/boxwidth boxwidth marginwidth 2 mul add def +/xspacing boxwidth distx add def +/yspacing boxheight disty add def +/scalefactor + boxwidth cols mul distx cols 1 sub mul add + boxheight rows mul disty rows 1 sub mul add boundaspect mul + max def +boundx scalefactor div boundy scalefactor div scale + +% ----- classes ----- + + (Transformation) 1.000000 1.000000 box + (RotMat) 0.000000 0.000000 box + (ScaleMat) 1.000000 0.000000 box + (TransMat) 2.000000 0.000000 box + +% ----- relations ----- + +solid +1 1.000000 0.250000 out +solid +0.000000 2.000000 1.000000 conn +solid +0 0.000000 0.750000 in +solid +0 1.000000 0.750000 in +solid +0 2.000000 0.750000 in diff --git a/Doxygen/Docs/latex/class_transformation.pdf b/Doxygen/Docs/latex/class_transformation.pdf new file mode 100644 index 00000000..1a8d3045 Binary files /dev/null and b/Doxygen/Docs/latex/class_transformation.pdf differ diff --git a/Doxygen/Docs/latex/class_transformation.tex b/Doxygen/Docs/latex/class_transformation.tex new file mode 100644 index 00000000..34221876 --- /dev/null +++ b/Doxygen/Docs/latex/class_transformation.tex @@ -0,0 +1,40 @@ +\hypertarget{class_transformation}{\section{Transformation Class Reference} +\label{class_transformation}\index{Transformation@{Transformation}} +} +Inheritance diagram for Transformation\-:\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2.000000cm]{class_transformation} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_transformation_afcec300424207fc1d20864b73136937e}{const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \& {\bfseries matrix} (void) const }\label{class_transformation_afcec300424207fc1d20864b73136937e} + +\item +\hypertarget{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries operator$\ast$} (const \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} \&rhs) const }\label{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66} + +\item +\hypertarget{class_transformation_a85b923e0066365ef2e4aec3671396410}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries operator$\ast$} (const \hyperlink{class_transformation}{Transformation} \&rhs) const }\label{class_transformation_a85b923e0066365ef2e4aec3671396410} + +\end{DoxyCompactItemize} +\subsection*{Protected Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834}{\hyperlink{class_angel_1_1mat4}{Angel\-::mat4} {\bfseries mat}}\label{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +Definition at line 16 of file Transformation.\-hpp. + + + +The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{_transformation_8hpp}{Transformation.\-hpp}\item +\hyperlink{_transformation_8cpp}{Transformation.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/dir_68267d1309a1af8e8297ef4c3efbcdba.tex b/Doxygen/Docs/latex/dir_68267d1309a1af8e8297ef4c3efbcdba.tex new file mode 100644 index 00000000..43e0eb87 --- /dev/null +++ b/Doxygen/Docs/latex/dir_68267d1309a1af8e8297ef4c3efbcdba.tex @@ -0,0 +1,14 @@ +\hypertarget{dir_68267d1309a1af8e8297ef4c3efbcdba}{\section{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/ Directory Reference} +\label{dir_68267d1309a1af8e8297ef4c3efbcdba}\index{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/ Directory Reference@{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/ Directory Reference}} +} +\subsection*{Directories} +\begin{DoxyCompactItemize} +\item +directory \hyperlink{dir_c773cd679a84e10ba93793c9e581b8a0}{Binaries} +\item +directory \hyperlink{dir_afec2d0f263cd02a2f4d5f4df058549c}{Classes} +\item +directory \hyperlink{dir_ba210d1fa67db7bee1bb22e0a3c11d9f}{Common} +\item +directory \hyperlink{dir_b0856f6b0d80ccb263b2f415c91f9e17}{include} +\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/dir_afec2d0f263cd02a2f4d5f4df058549c.tex b/Doxygen/Docs/latex/dir_afec2d0f263cd02a2f4d5f4df058549c.tex new file mode 100644 index 00000000..01e70b31 --- /dev/null +++ b/Doxygen/Docs/latex/dir_afec2d0f263cd02a2f4d5f4df058549c.tex @@ -0,0 +1,38 @@ +\hypertarget{dir_afec2d0f263cd02a2f4d5f4df058549c}{\section{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/\-Classes/ Directory Reference} +\label{dir_afec2d0f263cd02a2f4d5f4df058549c}\index{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/\-Classes/ Directory Reference@{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/\-Classes/ Directory Reference}} +} +\subsection*{Files} +\begin{DoxyCompactItemize} +\item +file \hyperlink{_camera_8cpp}{Camera.\-cpp} +\begin{DoxyCompactList}\small\item\em Implementation for the \hyperlink{class_camera}{Camera} class. \end{DoxyCompactList}\item +file \hyperlink{_cameras_8cpp}{Cameras.\-cpp} +\begin{DoxyCompactList}\small\item\em Implementation for the \hyperlink{class_cameras}{Cameras} class, which is a container for \hyperlink{class_camera}{Camera} objects. \end{DoxyCompactList}\item +file \hyperlink{_engine_8cpp}{Engine.\-cpp} +\begin{DoxyCompactList}\small\item\em Implementation for the \hyperlink{class_engine}{Engine} class. \end{DoxyCompactList}\item +file \hyperlink{_kinect_inator_8cpp}{Kinect\-Inator.\-cpp} +\begin{DoxyCompactList}\small\item\em F\-I\-X\-M\-E\-: Documentation needed from Eric. \end{DoxyCompactList}\item +file \hyperlink{mat_8cpp}{mat.\-cpp} +\begin{DoxyCompactList}\small\item\em Implementation for the mat2, mat3, and mat4 classes. \end{DoxyCompactList}\item +file \hyperlink{_object_8cpp}{Object.\-cpp} +\begin{DoxyCompactList}\small\item\em Implementation for the \hyperlink{class_object}{Object} class. \end{DoxyCompactList}\item +file \hyperlink{_particle_8cpp}{Particle.\-cpp} +\begin{DoxyCompactList}\small\item\em F\-I\-X\-M\-E\-: Needs documentation from N\-V\-V/\-C\-C. \end{DoxyCompactList}\item +file \hyperlink{_particle_system_8cpp}{Particle\-System.\-cpp} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_particle_system}{Particle\-System} implementation. \end{DoxyCompactList}\item +file \hyperlink{_scene_8cpp}{Scene.\-cpp} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_scene}{Scene} graph implementation. \end{DoxyCompactList}\item +file \hyperlink{_screen_8cpp}{Screen.\-cpp} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_screen}{Screen} class implementation. \end{DoxyCompactList}\item +file \hyperlink{_spelchk_camera_8cpp}{Spelchk\-Camera.\-cpp} +\begin{DoxyCompactList}\small\item\em Tiem Spelchk \hyperlink{class_camera}{Camera} Implementation. \end{DoxyCompactList}\item +file \hyperlink{_texture_8cpp}{Texture.\-cpp} +\begin{DoxyCompactList}\small\item\em Texturing Module! \end{DoxyCompactList}\item +file \hyperlink{_timer_8cpp}{Timer.\-cpp} +\begin{DoxyCompactList}\small\item\em Implementation for global \hyperlink{class_timer}{Timer} object. \end{DoxyCompactList}\item +file \hyperlink{_trans_cache_8cpp}{Trans\-Cache.\-cpp} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_trans_cache}{Trans\-Cache} Implementation. \end{DoxyCompactList}\item +file \hyperlink{_transformation_8cpp}{Transformation.\-cpp} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_transformation}{Transformation} Superclass Implementation. \end{DoxyCompactList}\item +file \hyperlink{vec_8cpp}{vec.\-cpp} +\begin{DoxyCompactList}\small\item\em Implementation for the vec2, vec3, and vec4 classes. \end{DoxyCompactList}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/dir_b0856f6b0d80ccb263b2f415c91f9e17.tex b/Doxygen/Docs/latex/dir_b0856f6b0d80ccb263b2f415c91f9e17.tex new file mode 100644 index 00000000..76115c57 --- /dev/null +++ b/Doxygen/Docs/latex/dir_b0856f6b0d80ccb263b2f415c91f9e17.tex @@ -0,0 +1,58 @@ +\hypertarget{dir_b0856f6b0d80ccb263b2f415c91f9e17}{\section{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/include/ Directory Reference} +\label{dir_b0856f6b0d80ccb263b2f415c91f9e17}\index{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/include/ Directory Reference@{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/include/ Directory Reference}} +} +\subsection*{Files} +\begin{DoxyCompactItemize} +\item +file \hyperlink{_camera_8hpp}{Camera.\-hpp} +\begin{DoxyCompactList}\small\item\em Header for the \hyperlink{class_camera}{Camera} class. \end{DoxyCompactList}\item +file \hyperlink{_cameras_8hpp}{Cameras.\-hpp} +\begin{DoxyCompactList}\small\item\em Header for the '\hyperlink{class_cameras}{Cameras}' class, a collection of \hyperlink{class_camera}{Camera} objects. \end{DoxyCompactList}\item +file \hyperlink{_engine_8hpp}{Engine.\-hpp} +\begin{DoxyCompactList}\small\item\em Header for the \hyperlink{class_engine}{Engine} class. \end{DoxyCompactList}\item +file {\bfseries eric\-\_\-rules.\-hpp} +\item +file \hyperlink{globals_8h}{globals.\-h} +\begin{DoxyCompactList}\small\item\em Useful global constants, macros, debugging utilities and preprocessor settings. \end{DoxyCompactList}\item +file \hyperlink{glut__callbacks_8h}{glut\-\_\-callbacks.\-h} +\begin{DoxyCompactList}\small\item\em \hyperlink{glut__callbacks_8h}{glut\-\_\-callbacks.\-h} provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other G\-L\-U\-T callback functions. \end{DoxyCompactList}\item +file \hyperlink{_init_shader_8hpp}{Init\-Shader.\-hpp} +\begin{DoxyCompactList}\small\item\em Provides a wrapper utility for quickly linking against glsl programs. \end{DoxyCompactList}\item +file \hyperlink{_kinect_inator_8hpp}{Kinect\-Inator.\-hpp} +\begin{DoxyCompactList}\small\item\em F\-I\-X\-M\-E\-: Documentation needed from Eric. \end{DoxyCompactList}\item +file \hyperlink{mat_8hpp}{mat.\-hpp} +\begin{DoxyCompactList}\small\item\em Headers for the mat2, mat3, and mat4 classes and related utilities. \end{DoxyCompactList}\item +file \hyperlink{model_8hpp}{model.\-hpp} +\begin{DoxyCompactList}\small\item\em Headers for Functions related to constructing simple geometry. \end{DoxyCompactList}\item +file \hyperlink{model_functions_8hpp}{model\-Functions.\-hpp} +\begin{DoxyCompactList}\small\item\em F\-I\-X\-M\-E\-: Documentation needed from Zach. \end{DoxyCompactList}\item +file \hyperlink{_object_8hpp}{Object.\-hpp} +\begin{DoxyCompactList}\small\item\em Header for the \hyperlink{class_object}{Object} class. \end{DoxyCompactList}\item +file \hyperlink{_obj_loader_8hpp}{Obj\-Loader.\-hpp} +\begin{DoxyCompactList}\small\item\em Headers for functions for reading in geometry from .O\-B\-J files. \end{DoxyCompactList}\item +file \hyperlink{_open_g_l_8h}{Open\-G\-L.\-h} +\begin{DoxyCompactList}\small\item\em Core Open\-G\-L includes needed for basic functionality. \end{DoxyCompactList}\item +file \hyperlink{_particle_8hpp}{Particle.\-hpp} +\begin{DoxyCompactList}\small\item\em F\-I\-X\-M\-E\-: Needs documentation from N\-V\-V/\-C\-C. \end{DoxyCompactList}\item +file \hyperlink{_particle_system_8hpp}{Particle\-System.\-hpp} +\begin{DoxyCompactList}\small\item\em T\-O\-D\-O\-: Documentation from C\-C/\-N\-V\-V. \end{DoxyCompactList}\item +file \hyperlink{platform_8h}{platform.\-h} +\begin{DoxyCompactList}\small\item\em Covertly re-\/defines functions that conflict between Linux and O\-S\-X. \end{DoxyCompactList}\item +file \hyperlink{_scene_8hpp}{Scene.\-hpp} +\begin{DoxyCompactList}\small\item\em Header for the \hyperlink{class_scene}{Scene} class. \end{DoxyCompactList}\item +file \hyperlink{_screen_8hpp}{Screen.\-hpp} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_screen}{Screen} class header file. \end{DoxyCompactList}\item +file \hyperlink{_spelchk_camera_8hpp}{Spelchk\-Camera.\-hpp} +\begin{DoxyCompactList}\small\item\em Team Spelchk \hyperlink{class_camera}{Camera} Header. \end{DoxyCompactList}\item +file \hyperlink{_texture_8hpp}{Texture.\-hpp} +\begin{DoxyCompactList}\small\item\em Texturing Module! \end{DoxyCompactList}\item +file \hyperlink{_timer_8hpp}{Timer.\-hpp} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_timer}{Timer} class header. \end{DoxyCompactList}\item +file \hyperlink{_trans_cache_8hpp}{Trans\-Cache.\-hpp} +\begin{DoxyCompactList}\small\item\em Header for the \char`\"{}\-Transformation Cache\char`\"{} class. \end{DoxyCompactList}\item +file \hyperlink{_transformation_8hpp}{Transformation.\-hpp} +\begin{DoxyCompactList}\small\item\em Headers for \hyperlink{class_transformation}{Transformation}, \hyperlink{class_rot_mat}{Rot\-Mat}, \hyperlink{class_trans_mat}{Trans\-Mat} and \hyperlink{class_scale_mat}{Scale\-Mat}. \end{DoxyCompactList}\item +file \hyperlink{vec_8hpp}{vec.\-hpp} +\begin{DoxyCompactList}\small\item\em Headers for vec2, vec3, and vec4. \end{DoxyCompactList}\item +file \hyperlink{_wii_util_8h}{Wii\-Util.\-h} +\begin{DoxyCompactList}\small\item\em Wii Support Utility Header. \end{DoxyCompactList}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/dir_ba210d1fa67db7bee1bb22e0a3c11d9f.tex b/Doxygen/Docs/latex/dir_ba210d1fa67db7bee1bb22e0a3c11d9f.tex new file mode 100644 index 00000000..07f581df --- /dev/null +++ b/Doxygen/Docs/latex/dir_ba210d1fa67db7bee1bb22e0a3c11d9f.tex @@ -0,0 +1,20 @@ +\hypertarget{dir_ba210d1fa67db7bee1bb22e0a3c11d9f}{\section{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/\-Common/ Directory Reference} +\label{dir_ba210d1fa67db7bee1bb22e0a3c11d9f}\index{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/\-Common/ Directory Reference@{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/\-Common/ Directory Reference}} +} +\subsection*{Files} +\begin{DoxyCompactItemize} +\item +file {\bfseries eric\-\_\-rules.\-cpp} +\item +file \hyperlink{glut__callbacks_8cpp}{glut\-\_\-callbacks.\-cpp} +\begin{DoxyCompactList}\small\item\em glut\-\_\-callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other G\-L\-U\-T callback functions. \end{DoxyCompactList}\item +file \hyperlink{_init_shader_8cpp}{Init\-Shader.\-cpp} +\begin{DoxyCompactList}\small\item\em Provides a wrapper utility for quickly linking against glsl programs. \end{DoxyCompactList}\item +file \hyperlink{model_8cpp}{model.\-cpp} +\begin{DoxyCompactList}\small\item\em Functions related to constructing simple geometry. \end{DoxyCompactList}\item +file \hyperlink{model_functions_8cpp}{model\-Functions.\-cpp} +\begin{DoxyCompactList}\small\item\em F\-I\-X\-M\-E\-: Documentation needed from Zach. \end{DoxyCompactList}\item +file \hyperlink{_obj_loader_8cpp}{Obj\-Loader.\-cpp} +\begin{DoxyCompactList}\small\item\em Implementation for reading in geometry from .O\-B\-J files. \end{DoxyCompactList}\item +file \hyperlink{_wii_util_8cpp}{Wii\-Util.\-cpp} +\begin{DoxyCompactList}\small\item\em Wii Remote Utility Files. \end{DoxyCompactList}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/dir_c773cd679a84e10ba93793c9e581b8a0.tex b/Doxygen/Docs/latex/dir_c773cd679a84e10ba93793c9e581b8a0.tex new file mode 100644 index 00000000..930c4446 --- /dev/null +++ b/Doxygen/Docs/latex/dir_c773cd679a84e10ba93793c9e581b8a0.tex @@ -0,0 +1,22 @@ +\hypertarget{dir_c773cd679a84e10ba93793c9e581b8a0}{\section{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/\-Binaries/ Directory Reference} +\label{dir_c773cd679a84e10ba93793c9e581b8a0}\index{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/\-Binaries/ Directory Reference@{/home/nago/\-Dropbox/\-Spring 2013/\-Graphics I\-I/\-S2/src/\-Binaries/ Directory Reference}} +} +\subsection*{Files} +\begin{DoxyCompactItemize} +\item +file \hyperlink{ds_8cpp}{ds.\-cpp} +\begin{DoxyCompactList}\small\item\em Dual-\/shader demo. \end{DoxyCompactList}\item +file \hyperlink{melt_8cpp}{melt.\-cpp} +\begin{DoxyCompactList}\small\item\em Melting Candle Demo. \end{DoxyCompactList}\item +file \hyperlink{_m_o_n_o_l_i_t_h_8cpp}{M\-O\-N\-O\-L\-I\-T\-H.\-cpp} +\begin{DoxyCompactList}\small\item\em This is a monolith of every component. \end{DoxyCompactList}\item +file \hyperlink{morphlite_8cpp}{morphlite.\-cpp} +\begin{DoxyCompactList}\small\item\em This is a derivative of H\-S\-C's Fall 2012 project. \end{DoxyCompactList}\item +file \hyperlink{part_test_8cpp}{part\-Test.\-cpp} +\begin{DoxyCompactList}\small\item\em This is a derivative of our main project file, fly.\-cpp. \end{DoxyCompactList}\item +file \hyperlink{raytrace1_8cpp}{raytrace1.\-cpp} +\begin{DoxyCompactList}\small\item\em Geometric Raytracing Demo. \end{DoxyCompactList}\item +file \hyperlink{terrain_8cpp}{terrain.\-cpp} +\begin{DoxyCompactList}\small\item\em This is a trimmed version of our Fall 2012 project. \end{DoxyCompactList}\item +file \hyperlink{zach_morph_demo_8cpp}{zach\-Morph\-Demo.\-cpp} +\begin{DoxyCompactList}\small\item\em Zach's Bottle Morphing Demo. \end{DoxyCompactList}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/doxygen.sty b/Doxygen/Docs/latex/doxygen.sty new file mode 100644 index 00000000..82b607be --- /dev/null +++ b/Doxygen/Docs/latex/doxygen.sty @@ -0,0 +1,484 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{doxygen} + +% Packages used by this style file +\RequirePackage{alltt} +\RequirePackage{array} +\RequirePackage{calc} +\RequirePackage{color} +\RequirePackage{fancyhdr} +\RequirePackage{longtable} +\RequirePackage{verbatim} +\RequirePackage{ifthen} +\RequirePackage{xtab} +\RequirePackage{multirow} +\RequirePackage[table]{xcolor} + +% Use helvetica font instead of times roman +\RequirePackage{helvet} +\RequirePackage{sectsty} +\RequirePackage{tocloft} +\providecommand{\rmdefault}{phv} +\providecommand{\bfdefault}{bc} + + +% Setup fancy headings +\pagestyle{fancyplain} +\newcommand{\clearemptydoublepage}{% + \newpage{\pagestyle{empty}\cleardoublepage}% +} +\renewcommand{\chaptermark}[1]{% + \markboth{#1}{}% +} +\renewcommand{\sectionmark}[1]{% + \markright{\thesection\ #1}% +} +\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} +\fancyhead[CE]{\fancyplain{}{}} +\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} +\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} +\fancyhead[CO]{\fancyplain{}{}} +\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} +\fancyfoot[LE]{\fancyplain{}{}} +\fancyfoot[CE]{\fancyplain{}{}} +\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Mar 29 2013 18\-:41\-:20 for Hyper\-Grafx by Doxygen }} +\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Mar 29 2013 18\-:41\-:20 for Hyper\-Grafx by Doxygen }} +\fancyfoot[CO]{\fancyplain{}{}} +\fancyfoot[RO]{\fancyplain{}{}} +%---------- Internal commands used in this style file ---------------- + +\newcommand\tabfill[1]{% + \dimen@\linewidth% + \advance\dimen@\@totalleftmargin% + \advance\dimen@-\dimen\@curtab% + \parbox[t]\dimen@{\raggedright #1\ifhmode\strut\fi}% +} + +\newcommand{\ensurespace}[1]{% + \begingroup + \setlength{\dimen@}{#1}% + \vskip\z@\@plus\dimen@ + \penalty -100\vskip\z@\@plus -\dimen@ + \vskip\dimen@ + \penalty 9999% + \vskip -\dimen@ + \vskip\z@skip % hide the previous |\vskip| from |\addvspace| + \endgroup +} + +% Generic environment used by all paragraph-based environments defined +% below. Note that the command \title{...} needs to be defined inside +% those environments! +\newenvironment{DoxyDesc}[1]{% + \ensurespace{4\baselineskip}% + \begin{list}{}% + {% + \settowidth{\labelwidth}{40pt}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\parsep}{0pt}% + \setlength{\itemsep}{-4pt}% + \renewcommand{\makelabel}{\entrylabel}% + }% + \item[#1]% +}{% + \end{list}% +} + +%---------- Commands used by doxygen LaTeX output generator ---------- + +% Used by
 ... 
+\newenvironment{DoxyPre}{% + \small% + \begin{alltt}% +}{% + \end{alltt}% + \normalsize% +} + +% Used by @code ... @endcode +\newenvironment{DoxyCode}{% + + +\begin{scriptsize}\begin{alltt}% +}{% +\end{alltt}\end{scriptsize}% +} + +% Used by @example, @include, @includelineno and @dontinclude +\newenvironment{DoxyCodeInclude}{% + \DoxyCode% +}{% + \endDoxyCode% +} + +% Used by @verbatim ... @endverbatim +\newenvironment{DoxyVerb}{% + \footnotesize% + \verbatim% +}{% + \endverbatim% + \normalsize% +} + +% Used by @verbinclude +\newenvironment{DoxyVerbInclude}{% + \DoxyVerb% +}{% + \endDoxyVerb% +} + +% Used by numbered lists (using '-#' or
    ...
) +\newenvironment{DoxyEnumerate}{% + \enumerate% +}{% + \endenumerate% +} + +% Used by bullet lists (using '-', @li, @arg, or
    ...
) +\newenvironment{DoxyItemize}{% + \itemize% +}{% + \enditemize% +} + +% Used by description lists (using
...
) +\newenvironment{DoxyDescription}{% + \description% +}{% + \enddescription% +} + +% Used by @image, @dotfile, and @dot ... @enddot +% (only if caption is specified) +\newenvironment{DoxyImage}{% + \begin{figure}[H]% + \begin{center}% +}{% + \end{center}% + \end{figure}% +} + +% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc +% (only if no caption is specified) +\newenvironment{DoxyImageNoCaption}{% +}{% +} + +% Used by @attention +\newenvironment{DoxyAttention}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @author and @authors +\newenvironment{DoxyAuthor}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @date +\newenvironment{DoxyDate}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @invariant +\newenvironment{DoxyInvariant}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @note +\newenvironment{DoxyNote}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @post +\newenvironment{DoxyPostcond}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @pre +\newenvironment{DoxyPrecond}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @copyright +\newenvironment{DoxyCopyright}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @remark +\newenvironment{DoxyRemark}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @return +\newenvironment{DoxyReturn}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @since +\newenvironment{DoxySince}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @see +\newenvironment{DoxySeeAlso}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @version +\newenvironment{DoxyVersion}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @warning +\newenvironment{DoxyWarning}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @internal +\newenvironment{DoxyInternal}[1]{% + \paragraph*{#1}% +}{% +} + +% Used by @par and @paragraph +\newenvironment{DoxyParagraph}[1]{% + \begin{list}{}% + {% + \settowidth{\labelwidth}{40pt}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\parsep}{0pt}% + \setlength{\itemsep}{-4pt}% + \renewcommand{\makelabel}{\entrylabel}% + }% + \item[#1]% +}{% + \end{list}% +} + +% Used by parameter lists +\newenvironment{DoxyParams}[2][]{% + \begin{DoxyDesc}{#2}% + \item[] \hspace{\fill} \vspace{-40pt}% + \settowidth{\labelwidth}{40pt}% + \setlength{\LTleft}{0pt}% + \setlength{\tabcolsep}{0.01\textwidth}% + \ifthenelse{\equal{#1}{}}% + {\begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.815\textwidth}|}}% + {\ifthenelse{\equal{#1}{1}}% + {\begin{longtable}{|>{\centering}p{0.10\textwidth}|% + >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.685\textwidth}|}}% + {\begin{longtable}{|>{\centering}p{0.10\textwidth}|% + >{\centering\hspace{0pt}}p{0.15\textwidth}|% + >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.515\textwidth}|}}% + }\hline% +}{% + \end{longtable}% + \end{DoxyDesc}% +} + +% Used for fields of simple structs +\newenvironment{DoxyFields}[1]{% + \begin{DoxyDesc}{#1}% + \item[] \hspace{\fill} \vspace{-40pt}% + \settowidth{\labelwidth}{40pt}% + \setlength{\LTleft}{0pt}% + \setlength{\tabcolsep}{0.01\textwidth}% + \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.15\textwidth}|% + p{0.635\textwidth}|}% + \hline% +}{% + \end{longtable}% + \end{DoxyDesc}% +} + +% is used for parameters within a detailed function description +\newenvironment{DoxyParamCaption}{% + \renewcommand{\item}[2][]{##1 {\em ##2}}% + }{% +} + +% Used by return value lists +\newenvironment{DoxyRetVals}[1]{% + \begin{DoxyDesc}{#1}% + \begin{description}% + \item[] \hspace{\fill} \vspace{-25pt}% + \setlength{\tabcolsep}{0.01\textwidth}% + \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% + p{0.77\textwidth}|}% + \hline% +}{% + \end{longtable}% + \end{description}% + \end{DoxyDesc}% +} + +% Used by exception lists +\newenvironment{DoxyExceptions}[1]{% + \begin{DoxyDesc}{#1}% + \begin{description}% + \item[] \hspace{\fill} \vspace{-25pt}% + \definecolor{tableShade}{HTML}{F8F8F8}% + \rowcolors{1}{white}{tableShade}% + \arrayrulecolor{gray}% + \setlength{\tabcolsep}{0.01\textwidth}% + \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% + p{0.77\textwidth}|}% + \hline% +}{% + \end{longtable}% + \end{description}% + \end{DoxyDesc}% +} + +% Used by template parameter lists +\newenvironment{DoxyTemplParams}[1]{% + \begin{DoxyDesc}{#1}% + \begin{description}% + \item[] \hspace{\fill} \vspace{-25pt}% + \definecolor{tableShade}{HTML}{F8F8F8}% + \rowcolors{1}{white}{tableShade}% + \arrayrulecolor{gray}% + \setlength{\tabcolsep}{0.01\textwidth}% + \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% + p{0.77\textwidth}|}% + \hline% +}{% + \end{longtable}% + \end{description}% + \end{DoxyDesc}% +} + +\newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} +\newenvironment{DoxyCompactList} +{\begin{list}{}{ + \setlength{\leftmargin}{0.5cm} + \setlength{\itemsep}{0pt} + \setlength{\parsep}{0pt} + \setlength{\topsep}{0pt} + \renewcommand{\makelabel}{\hfill}}} +{\end{list}} +\newenvironment{DoxyCompactItemize} +{ + \begin{itemize} + \setlength{\itemsep}{-3pt} + \setlength{\parsep}{0pt} + \setlength{\topsep}{0pt} + \setlength{\partopsep}{0pt} +} +{\end{itemize}} +\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} +\newlength{\tmplength} +\newenvironment{TabularC}[1] +{ +\setlength{\tmplength} + {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} + \par\begin{xtabular*}{\linewidth} + {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} +} +{\end{xtabular*}\par} +\newcommand{\entrylabel}[1]{ + {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{% + \usefont{OT1}{phv}{bc}{n}\color{darkgray}#1}\vspace{1.5\baselineskip}}}} +\newenvironment{Desc} +{\begin{list}{} + { + \settowidth{\labelwidth}{40pt} + \setlength{\leftmargin}{\labelwidth} + \setlength{\parsep}{0pt} + \setlength{\itemsep}{-4pt} + \renewcommand{\makelabel}{\entrylabel} + } +} +{\end{list}} +\newsavebox{\xrefbox} +\newlength{\xreflength} +\newcommand{\xreflabel}[1]{% + \sbox{\xrefbox}{#1}% + \setlength{\xreflength}{\wd\xrefbox}% + \ifthenelse{\xreflength>\labelwidth}{% + \begin{minipage}{\textwidth}% + \setlength{\parindent}{0pt}% + \hangindent=15pt\bfseries #1\vspace{1.2\itemsep}% + \end{minipage}% + }{% + \parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}% + }}% +\newenvironment{DoxyRefList}{% + \begin{list}{}{% + \setlength{\labelwidth}{10pt}% + \setlength{\leftmargin}{\labelwidth}% + \addtolength{\leftmargin}{\labelsep}% + \renewcommand{\makelabel}{\xreflabel}% + }% + }% +{\end{list}} +\newenvironment{DoxyRefDesc}[1] +{\begin{list}{}{% + \renewcommand\makelabel[1]{\textbf{##1}} + \settowidth\labelwidth{\makelabel{#1}} + \setlength\leftmargin{\labelwidth+\labelsep}}} +{\end{list}} +\newenvironment{Indent} + {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} + \item[]\ignorespaces} + {\unskip\end{list}} +\setlength{\parindent}{0cm} +\setlength{\parskip}{0.2cm} +\addtocounter{secnumdepth}{2} +\usepackage[T1]{fontenc} +\makeatletter +\renewcommand{\paragraph}{\@startsection{paragraph}{4}{0ex}% + {-1.0ex}% + {1.0ex}% + {\usefont{OT1}{phv}{bc}{n}\color{darkgray}}} +\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{0ex}% + {-1.0ex}% + {1.0ex}% + {\usefont{OT1}{phv}{bc}{n}\color{darkgray}}} +\makeatother +\allsectionsfont{\usefont{OT1}{phv}{bc}{n}\selectfont\color{darkgray}} +\stepcounter{secnumdepth} +\stepcounter{tocdepth} +\definecolor{comment}{rgb}{0.5,0.0,0.0} +\definecolor{keyword}{rgb}{0.0,0.5,0.0} +\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} +\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} +\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} +\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} +\definecolor{charliteral}{rgb}{0.0,0.5,0.5} +\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} +\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} +\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} +\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} diff --git a/Doxygen/Docs/latex/ds_8cpp.tex b/Doxygen/Docs/latex/ds_8cpp.tex new file mode 100644 index 00000000..a6fc71c7 --- /dev/null +++ b/Doxygen/Docs/latex/ds_8cpp.tex @@ -0,0 +1,91 @@ +\hypertarget{ds_8cpp}{\section{ds.\-cpp File Reference} +\label{ds_8cpp}\index{ds.\-cpp@{ds.\-cpp}} +} + + +Dual-\/shader demo. + + +{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}platform.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Camera.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Cameras.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Screen.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Object.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Timer.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Scene.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Engine.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Texture.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}model.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Init\-Shader.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}glut\-\_\-callbacks.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}eric\-\_\-rules.\-hpp\char`\"{}}\\* +{\ttfamily \#include $<$sys/types.\-h$>$}\\* +{\ttfamily \#include $<$sys/stat.\-h$>$}\\* +{\ttfamily \#include $<$unistd.\-h$>$}\\* +{\ttfamily \#include $<$cstdio$>$}\\* +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{ds_8cpp_a02fd73d861ef2e4aabb38c0c9ff82947}{void \hyperlink{ds_8cpp_a02fd73d861ef2e4aabb38c0c9ff82947}{init} ()}\label{ds_8cpp_a02fd73d861ef2e4aabb38c0c9ff82947} + +\begin{DoxyCompactList}\small\item\em Initialization\-: load and compile shaders, initialize camera(s), load models. \end{DoxyCompactList}\item +\hypertarget{ds_8cpp_aeb94fbd457627182ceee7e505f432541}{void \hyperlink{ds_8cpp_aeb94fbd457627182ceee7e505f432541}{cleanup} (void)}\label{ds_8cpp_aeb94fbd457627182ceee7e505f432541} + +\begin{DoxyCompactList}\small\item\em Cleans up our scene graph. \end{DoxyCompactList}\item +\hypertarget{ds_8cpp_ad2e97e7b54d0bf35e406b91fbdd2f256}{void \hyperlink{ds_8cpp_ad2e97e7b54d0bf35e406b91fbdd2f256}{draw} (void)}\label{ds_8cpp_ad2e97e7b54d0bf35e406b91fbdd2f256} + +\begin{DoxyCompactList}\small\item\em Implementation of drawing the display with regards to a single viewport. \end{DoxyCompactList}\item +\hypertarget{ds_8cpp_a4ea013001a5fb47853d0fab8f8de35cd}{void \hyperlink{ds_8cpp_a4ea013001a5fb47853d0fab8f8de35cd}{display} (void)}\label{ds_8cpp_a4ea013001a5fb47853d0fab8f8de35cd} + +\begin{DoxyCompactList}\small\item\em Display/\-Render the entire screen. \end{DoxyCompactList}\item +\hypertarget{ds_8cpp_a01131b63acf241e9db91704d89ce15d2}{void \hyperlink{ds_8cpp_a01131b63acf241e9db91704d89ce15d2}{idle} (void)}\label{ds_8cpp_a01131b63acf241e9db91704d89ce15d2} + +\begin{DoxyCompactList}\small\item\em Compute time since last idle, update camera positions, redisplay. \end{DoxyCompactList}\item +int \hyperlink{ds_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}{main} (int argc, char $\ast$$\ast$argv) +\begin{DoxyCompactList}\small\item\em This is a dual-\/shader demo! It looks very simple, but it illustrates quickly and effectively how to use two shaders. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Dual-\/shader demo. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +John Huston, Greg Giannone +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/02-\/20 +\end{DoxyDate} +Work in progress! Based loosely on Ed Angel's tutorials. + +Definition in file \hyperlink{ds_8cpp_source}{ds.\-cpp}. + + + +\subsection{Function Documentation} +\hypertarget{ds_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}{\index{ds.\-cpp@{ds.\-cpp}!main@{main}} +\index{main@{main}!ds.cpp@{ds.\-cpp}} +\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main ( +\begin{DoxyParamCaption} +\item[{int}]{argc, } +\item[{char $\ast$$\ast$}]{argv} +\end{DoxyParamCaption} +)}}\label{ds_8cpp_a3c04138a5bfe5d72780bb7e82a18e627} + + +This is a dual-\/shader demo! It looks very simple, but it illustrates quickly and effectively how to use two shaders. + + +\begin{DoxyParams}{Parameters} +{\em argc} & Not used. \\ +\hline +{\em argv} & Not used. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +E\-X\-I\-T\-\_\-\-S\-U\-C\-C\-E\-S\-S. +\end{DoxyReturn} + + +Definition at line 167 of file ds.\-cpp. + diff --git a/Doxygen/Docs/latex/files.tex b/Doxygen/Docs/latex/files.tex new file mode 100644 index 00000000..8d2bb88d --- /dev/null +++ b/Doxygen/Docs/latex/files.tex @@ -0,0 +1,60 @@ +\section{File List} +Here is a list of all documented files with brief descriptions\-:\begin{DoxyCompactList} +\item\contentsline{section}{\hyperlink{_camera_8cpp}{Camera.\-cpp} \\*Implementation for the \hyperlink{class_camera}{Camera} class }{\pageref{_camera_8cpp}}{} +\item\contentsline{section}{\hyperlink{_camera_8hpp}{Camera.\-hpp} \\*Header for the \hyperlink{class_camera}{Camera} class }{\pageref{_camera_8hpp}}{} +\item\contentsline{section}{\hyperlink{_cameras_8cpp}{Cameras.\-cpp} \\*Implementation for the \hyperlink{class_cameras}{Cameras} class, which is a container for \hyperlink{class_camera}{Camera} objects }{\pageref{_cameras_8cpp}}{} +\item\contentsline{section}{\hyperlink{_cameras_8hpp}{Cameras.\-hpp} \\*Header for the '\hyperlink{class_cameras}{Cameras}' class, a collection of \hyperlink{class_camera}{Camera} objects }{\pageref{_cameras_8hpp}}{} +\item\contentsline{section}{\hyperlink{ds_8cpp}{ds.\-cpp} \\*Dual-\/shader demo }{\pageref{ds_8cpp}}{} +\item\contentsline{section}{\hyperlink{_engine_8cpp}{Engine.\-cpp} \\*Implementation for the \hyperlink{class_engine}{Engine} class }{\pageref{_engine_8cpp}}{} +\item\contentsline{section}{\hyperlink{_engine_8hpp}{Engine.\-hpp} \\*Header for the \hyperlink{class_engine}{Engine} class }{\pageref{_engine_8hpp}}{} +\item\contentsline{section}{{\bfseries eric\-\_\-rules.\-cpp} }{\pageref{eric__rules_8cpp}}{} +\item\contentsline{section}{{\bfseries eric\-\_\-rules.\-hpp} }{\pageref{eric__rules_8hpp}}{} +\item\contentsline{section}{\hyperlink{globals_8h}{globals.\-h} \\*Useful global constants, macros, debugging utilities and preprocessor settings }{\pageref{globals_8h}}{} +\item\contentsline{section}{\hyperlink{glut__callbacks_8cpp}{glut\-\_\-callbacks.\-cpp} \\*Glut\-\_\-callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other G\-L\-U\-T callback functions }{\pageref{glut__callbacks_8cpp}}{} +\item\contentsline{section}{\hyperlink{glut__callbacks_8h}{glut\-\_\-callbacks.\-h} \\*Glut\-\_\-callbacks.\-h provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other G\-L\-U\-T callback functions }{\pageref{glut__callbacks_8h}}{} +\item\contentsline{section}{\hyperlink{_init_shader_8cpp}{Init\-Shader.\-cpp} \\*Provides a wrapper utility for quickly linking against glsl programs }{\pageref{_init_shader_8cpp}}{} +\item\contentsline{section}{\hyperlink{_init_shader_8hpp}{Init\-Shader.\-hpp} \\*Provides a wrapper utility for quickly linking against glsl programs }{\pageref{_init_shader_8hpp}}{} +\item\contentsline{section}{\hyperlink{_kinect_inator_8cpp}{Kinect\-Inator.\-cpp} \\*F\-I\-X\-M\-E\-: Documentation needed from Eric }{\pageref{_kinect_inator_8cpp}}{} +\item\contentsline{section}{\hyperlink{_kinect_inator_8hpp}{Kinect\-Inator.\-hpp} \\*F\-I\-X\-M\-E\-: Documentation needed from Eric }{\pageref{_kinect_inator_8hpp}}{} +\item\contentsline{section}{\hyperlink{mat_8cpp}{mat.\-cpp} \\*Implementation for the mat2, mat3, and mat4 classes }{\pageref{mat_8cpp}}{} +\item\contentsline{section}{\hyperlink{mat_8hpp}{mat.\-hpp} \\*Headers for the mat2, mat3, and mat4 classes and related utilities }{\pageref{mat_8hpp}}{} +\item\contentsline{section}{\hyperlink{melt_8cpp}{melt.\-cpp} \\*Melting Candle Demo }{\pageref{melt_8cpp}}{} +\item\contentsline{section}{\hyperlink{model_8cpp}{model.\-cpp} \\*Functions related to constructing simple geometry }{\pageref{model_8cpp}}{} +\item\contentsline{section}{\hyperlink{model_8hpp}{model.\-hpp} \\*Headers for Functions related to constructing simple geometry }{\pageref{model_8hpp}}{} +\item\contentsline{section}{\hyperlink{model_functions_8cpp}{model\-Functions.\-cpp} \\*F\-I\-X\-M\-E\-: Documentation needed from Zach }{\pageref{model_functions_8cpp}}{} +\item\contentsline{section}{\hyperlink{model_functions_8hpp}{model\-Functions.\-hpp} \\*F\-I\-X\-M\-E\-: Documentation needed from Zach }{\pageref{model_functions_8hpp}}{} +\item\contentsline{section}{\hyperlink{_m_o_n_o_l_i_t_h_8cpp}{M\-O\-N\-O\-L\-I\-T\-H.\-cpp} \\*This is a monolith of every component }{\pageref{_m_o_n_o_l_i_t_h_8cpp}}{} +\item\contentsline{section}{\hyperlink{morphlite_8cpp}{morphlite.\-cpp} \\*This is a derivative of H\-S\-C's Fall 2012 project }{\pageref{morphlite_8cpp}}{} +\item\contentsline{section}{\hyperlink{_object_8cpp}{Object.\-cpp} \\*Implementation for the \hyperlink{class_object}{Object} class }{\pageref{_object_8cpp}}{} +\item\contentsline{section}{\hyperlink{_object_8hpp}{Object.\-hpp} \\*Header for the \hyperlink{class_object}{Object} class }{\pageref{_object_8hpp}}{} +\item\contentsline{section}{\hyperlink{_obj_loader_8cpp}{Obj\-Loader.\-cpp} \\*Implementation for reading in geometry from .O\-B\-J files }{\pageref{_obj_loader_8cpp}}{} +\item\contentsline{section}{\hyperlink{_obj_loader_8hpp}{Obj\-Loader.\-hpp} \\*Headers for functions for reading in geometry from .O\-B\-J files }{\pageref{_obj_loader_8hpp}}{} +\item\contentsline{section}{\hyperlink{_open_g_l_8h}{Open\-G\-L.\-h} \\*Core Open\-G\-L includes needed for basic functionality }{\pageref{_open_g_l_8h}}{} +\item\contentsline{section}{\hyperlink{_particle_8cpp}{Particle.\-cpp} \\*F\-I\-X\-M\-E\-: Needs documentation from N\-V\-V/\-C\-C }{\pageref{_particle_8cpp}}{} +\item\contentsline{section}{\hyperlink{_particle_8hpp}{Particle.\-hpp} \\*F\-I\-X\-M\-E\-: Needs documentation from N\-V\-V/\-C\-C }{\pageref{_particle_8hpp}}{} +\item\contentsline{section}{\hyperlink{_particle_system_8cpp}{Particle\-System.\-cpp} \\*\hyperlink{class_particle_system}{Particle\-System} implementation }{\pageref{_particle_system_8cpp}}{} +\item\contentsline{section}{\hyperlink{_particle_system_8hpp}{Particle\-System.\-hpp} \\*T\-O\-D\-O\-: Documentation from C\-C/\-N\-V\-V }{\pageref{_particle_system_8hpp}}{} +\item\contentsline{section}{\hyperlink{part_test_8cpp}{part\-Test.\-cpp} \\*This is a derivative of our main project file, fly.\-cpp }{\pageref{part_test_8cpp}}{} +\item\contentsline{section}{\hyperlink{platform_8h}{platform.\-h} \\*Covertly re-\/defines functions that conflict between Linux and O\-S\-X }{\pageref{platform_8h}}{} +\item\contentsline{section}{\hyperlink{raytrace1_8cpp}{raytrace1.\-cpp} \\*Geometric Raytracing Demo }{\pageref{raytrace1_8cpp}}{} +\item\contentsline{section}{\hyperlink{_scene_8cpp}{Scene.\-cpp} \\*\hyperlink{class_scene}{Scene} graph implementation }{\pageref{_scene_8cpp}}{} +\item\contentsline{section}{\hyperlink{_scene_8hpp}{Scene.\-hpp} \\*Header for the \hyperlink{class_scene}{Scene} class }{\pageref{_scene_8hpp}}{} +\item\contentsline{section}{\hyperlink{_screen_8cpp}{Screen.\-cpp} \\*\hyperlink{class_screen}{Screen} class implementation }{\pageref{_screen_8cpp}}{} +\item\contentsline{section}{\hyperlink{_screen_8hpp}{Screen.\-hpp} \\*\hyperlink{class_screen}{Screen} class header file }{\pageref{_screen_8hpp}}{} +\item\contentsline{section}{\hyperlink{_spelchk_camera_8cpp}{Spelchk\-Camera.\-cpp} \\*Tiem Spelchk \hyperlink{class_camera}{Camera} Implementation }{\pageref{_spelchk_camera_8cpp}}{} +\item\contentsline{section}{\hyperlink{_spelchk_camera_8hpp}{Spelchk\-Camera.\-hpp} \\*Team Spelchk \hyperlink{class_camera}{Camera} Header }{\pageref{_spelchk_camera_8hpp}}{} +\item\contentsline{section}{\hyperlink{terrain_8cpp}{terrain.\-cpp} \\*This is a trimmed version of our Fall 2012 project }{\pageref{terrain_8cpp}}{} +\item\contentsline{section}{\hyperlink{_texture_8cpp}{Texture.\-cpp} \\*Texturing Module! }{\pageref{_texture_8cpp}}{} +\item\contentsline{section}{\hyperlink{_texture_8hpp}{Texture.\-hpp} \\*Texturing Module! }{\pageref{_texture_8hpp}}{} +\item\contentsline{section}{\hyperlink{_timer_8cpp}{Timer.\-cpp} \\*Implementation for global \hyperlink{class_timer}{Timer} object }{\pageref{_timer_8cpp}}{} +\item\contentsline{section}{\hyperlink{_timer_8hpp}{Timer.\-hpp} \\*\hyperlink{class_timer}{Timer} class header }{\pageref{_timer_8hpp}}{} +\item\contentsline{section}{\hyperlink{_trans_cache_8cpp}{Trans\-Cache.\-cpp} \\*\hyperlink{class_trans_cache}{Trans\-Cache} Implementation }{\pageref{_trans_cache_8cpp}}{} +\item\contentsline{section}{\hyperlink{_trans_cache_8hpp}{Trans\-Cache.\-hpp} \\*Header for the \char`\"{}\-Transformation Cache\char`\"{} class }{\pageref{_trans_cache_8hpp}}{} +\item\contentsline{section}{\hyperlink{_transformation_8cpp}{Transformation.\-cpp} \\*\hyperlink{class_transformation}{Transformation} Superclass Implementation }{\pageref{_transformation_8cpp}}{} +\item\contentsline{section}{\hyperlink{_transformation_8hpp}{Transformation.\-hpp} \\*Headers for \hyperlink{class_transformation}{Transformation}, \hyperlink{class_rot_mat}{Rot\-Mat}, \hyperlink{class_trans_mat}{Trans\-Mat} and \hyperlink{class_scale_mat}{Scale\-Mat} }{\pageref{_transformation_8hpp}}{} +\item\contentsline{section}{\hyperlink{vec_8cpp}{vec.\-cpp} \\*Implementation for the vec2, vec3, and vec4 classes }{\pageref{vec_8cpp}}{} +\item\contentsline{section}{\hyperlink{vec_8hpp}{vec.\-hpp} \\*Headers for vec2, vec3, and vec4 }{\pageref{vec_8hpp}}{} +\item\contentsline{section}{\hyperlink{_wii_util_8cpp}{Wii\-Util.\-cpp} \\*Wii Remote Utility Files }{\pageref{_wii_util_8cpp}}{} +\item\contentsline{section}{\hyperlink{_wii_util_8h}{Wii\-Util.\-h} \\*Wii Support Utility Header }{\pageref{_wii_util_8h}}{} +\item\contentsline{section}{\hyperlink{zach_morph_demo_8cpp}{zach\-Morph\-Demo.\-cpp} \\*Zach's Bottle Morphing Demo }{\pageref{zach_morph_demo_8cpp}}{} +\end{DoxyCompactList} diff --git a/Doxygen/Docs/latex/globals_8h.tex b/Doxygen/Docs/latex/globals_8h.tex new file mode 100644 index 00000000..28edfe99 --- /dev/null +++ b/Doxygen/Docs/latex/globals_8h.tex @@ -0,0 +1,125 @@ +\hypertarget{globals_8h}{\section{globals.\-h File Reference} +\label{globals_8h}\index{globals.\-h@{globals.\-h}} +} + + +Useful global constants, macros, debugging utilities and preprocessor settings. + + +{\ttfamily \#include $<$cmath$>$}\\* +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\#define \hyperlink{globals_8h_a7bf0b4b8b3cf2f13f25573b3e151ed88}{D\-E\-G\-R\-E\-E\-S\-\_\-\-T\-O\-\_\-\-R\-A\-D\-I\-A\-N\-S}~(M\-\_\-\-P\-I/180) +\begin{DoxyCompactList}\small\item\em A constant factor of conversion for Degrees to Radians. \end{DoxyCompactList}\item +\#define \hyperlink{globals_8h_a514396dd60fa0621c83072091fb2a0cd}{S\-Q\-R\-T2}~(1.\-41421356237) +\begin{DoxyCompactList}\small\item\em A constant for the square root of 2. \end{DoxyCompactList}\item +\#define \hyperlink{globals_8h_ae42978afd835c3a1f70d409a1b5f5a39}{S\-Q\-R\-T3}~(1.\-73205080757) +\begin{DoxyCompactList}\small\item\em A constant for the square root of 3. \end{DoxyCompactList}\item +\#define \hyperlink{globals_8h_a7bbc032e1437a7a73f8d3eb2d93d9c6d}{P\-O\-W5}(X)~((X)$\ast$(X)$\ast$(X)$\ast$(X)$\ast$(X)) +\begin{DoxyCompactList}\small\item\em \hyperlink{globals_8h_a7bbc032e1437a7a73f8d3eb2d93d9c6d}{P\-O\-W5(\-X)} returns X$^\wedge$5. \end{DoxyCompactList}\item +\hypertarget{globals_8h_ad72dbcf6d0153db1b8d8a58001feed83}{\#define \hyperlink{globals_8h_ad72dbcf6d0153db1b8d8a58001feed83}{D\-E\-B\-U\-G}~false}\label{globals_8h_ad72dbcf6d0153db1b8d8a58001feed83} + +\begin{DoxyCompactList}\small\item\em D\-E\-B\-U\-G Controls whether or not extra D\-E\-B\-U\-G messages are printed out. \end{DoxyCompactList}\item +\hypertarget{globals_8h_ab5f638ed0890579dbe0522227610af64}{\#define \hyperlink{globals_8h_ab5f638ed0890579dbe0522227610af64}{D\-E\-B\-U\-G\-\_\-\-M\-O\-T\-I\-O\-N}~(false)}\label{globals_8h_ab5f638ed0890579dbe0522227610af64} + +\begin{DoxyCompactList}\small\item\em D\-E\-B\-U\-G\-\_\-\-M\-O\-T\-I\-O\-N controls some additional debug messages for acceleration/velocity. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Variables} +\begin{DoxyCompactItemize} +\item +\hypertarget{globals_8h_ad90a072ea1667bc81e21b726aefbcff1}{const float \hyperlink{globals_8h_ad90a072ea1667bc81e21b726aefbcff1}{D\-I\-V\-I\-D\-E\-\_\-\-B\-Y\-\_\-\-Z\-E\-R\-O\-\_\-\-T\-O\-L\-E\-R\-A\-N\-C\-E} = float( 1.\-0e-\/07 )}\label{globals_8h_ad90a072ea1667bc81e21b726aefbcff1} + +\begin{DoxyCompactList}\small\item\em How close can a number be to zero before it should be considered 'zero'? \end{DoxyCompactList}\item +static const bool \hyperlink{globals_8h_afbd48522ecf2a24bf2adca81f5a0e616}{P\-O\-S\-T\-M\-U\-L\-T} = true +\begin{DoxyCompactList}\small\item\em defines if we are, or are not using a Post-\/\-Multiplication system. \end{DoxyCompactList}\item +static const bool \hyperlink{globals_8h_a6606f2e98acd846ae52f6cd2f7585d22}{P\-R\-E\-M\-U\-L\-T} = false +\begin{DoxyCompactList}\small\item\em defines if we are, or are not using a Pre-\/\-Multiplication system. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Useful global constants, macros, debugging utilities and preprocessor settings. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/13 +\end{DoxyDate} + + +Definition in file \hyperlink{globals_8h_source}{globals.\-h}. + + + +\subsection{Macro Definition Documentation} +\hypertarget{globals_8h_a7bf0b4b8b3cf2f13f25573b3e151ed88}{\index{globals.\-h@{globals.\-h}!D\-E\-G\-R\-E\-E\-S\-\_\-\-T\-O\-\_\-\-R\-A\-D\-I\-A\-N\-S@{D\-E\-G\-R\-E\-E\-S\-\_\-\-T\-O\-\_\-\-R\-A\-D\-I\-A\-N\-S}} +\index{D\-E\-G\-R\-E\-E\-S\-\_\-\-T\-O\-\_\-\-R\-A\-D\-I\-A\-N\-S@{D\-E\-G\-R\-E\-E\-S\-\_\-\-T\-O\-\_\-\-R\-A\-D\-I\-A\-N\-S}!globals.h@{globals.\-h}} +\subsubsection[{D\-E\-G\-R\-E\-E\-S\-\_\-\-T\-O\-\_\-\-R\-A\-D\-I\-A\-N\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-E\-G\-R\-E\-E\-S\-\_\-\-T\-O\-\_\-\-R\-A\-D\-I\-A\-N\-S~(M\-\_\-\-P\-I/180)}}\label{globals_8h_a7bf0b4b8b3cf2f13f25573b3e151ed88} + + +A constant factor of conversion for Degrees to Radians. + + + +Definition at line 14 of file globals.\-h. + +\hypertarget{globals_8h_a7bbc032e1437a7a73f8d3eb2d93d9c6d}{\index{globals.\-h@{globals.\-h}!P\-O\-W5@{P\-O\-W5}} +\index{P\-O\-W5@{P\-O\-W5}!globals.h@{globals.\-h}} +\subsubsection[{P\-O\-W5}]{\setlength{\rightskip}{0pt plus 5cm}\#define P\-O\-W5( +\begin{DoxyParamCaption} +\item[{}]{X} +\end{DoxyParamCaption} +)~((X)$\ast$(X)$\ast$(X)$\ast$(X)$\ast$(X))}}\label{globals_8h_a7bbc032e1437a7a73f8d3eb2d93d9c6d} + + +\hyperlink{globals_8h_a7bbc032e1437a7a73f8d3eb2d93d9c6d}{P\-O\-W5(\-X)} returns X$^\wedge$5. + +It's quicker than pow(x,5)! + +Definition at line 20 of file globals.\-h. + +\hypertarget{globals_8h_a514396dd60fa0621c83072091fb2a0cd}{\index{globals.\-h@{globals.\-h}!S\-Q\-R\-T2@{S\-Q\-R\-T2}} +\index{S\-Q\-R\-T2@{S\-Q\-R\-T2}!globals.h@{globals.\-h}} +\subsubsection[{S\-Q\-R\-T2}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-Q\-R\-T2~(1.\-41421356237)}}\label{globals_8h_a514396dd60fa0621c83072091fb2a0cd} + + +A constant for the square root of 2. + + + +Definition at line 16 of file globals.\-h. + +\hypertarget{globals_8h_ae42978afd835c3a1f70d409a1b5f5a39}{\index{globals.\-h@{globals.\-h}!S\-Q\-R\-T3@{S\-Q\-R\-T3}} +\index{S\-Q\-R\-T3@{S\-Q\-R\-T3}!globals.h@{globals.\-h}} +\subsubsection[{S\-Q\-R\-T3}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-Q\-R\-T3~(1.\-73205080757)}}\label{globals_8h_ae42978afd835c3a1f70d409a1b5f5a39} + + +A constant for the square root of 3. + + + +Definition at line 18 of file globals.\-h. + + + +\subsection{Variable Documentation} +\hypertarget{globals_8h_afbd48522ecf2a24bf2adca81f5a0e616}{\index{globals.\-h@{globals.\-h}!P\-O\-S\-T\-M\-U\-L\-T@{P\-O\-S\-T\-M\-U\-L\-T}} +\index{P\-O\-S\-T\-M\-U\-L\-T@{P\-O\-S\-T\-M\-U\-L\-T}!globals.h@{globals.\-h}} +\subsubsection[{P\-O\-S\-T\-M\-U\-L\-T}]{\setlength{\rightskip}{0pt plus 5cm}const bool P\-O\-S\-T\-M\-U\-L\-T = true\hspace{0.3cm}{\ttfamily [static]}}}\label{globals_8h_afbd48522ecf2a24bf2adca81f5a0e616} + + +defines if we are, or are not using a Post-\/\-Multiplication system. + + + +Definition at line 43 of file globals.\-h. + +\hypertarget{globals_8h_a6606f2e98acd846ae52f6cd2f7585d22}{\index{globals.\-h@{globals.\-h}!P\-R\-E\-M\-U\-L\-T@{P\-R\-E\-M\-U\-L\-T}} +\index{P\-R\-E\-M\-U\-L\-T@{P\-R\-E\-M\-U\-L\-T}!globals.h@{globals.\-h}} +\subsubsection[{P\-R\-E\-M\-U\-L\-T}]{\setlength{\rightskip}{0pt plus 5cm}const bool P\-R\-E\-M\-U\-L\-T = false\hspace{0.3cm}{\ttfamily [static]}}}\label{globals_8h_a6606f2e98acd846ae52f6cd2f7585d22} + + +defines if we are, or are not using a Pre-\/\-Multiplication system. + + + +Definition at line 45 of file globals.\-h. + diff --git a/Doxygen/Docs/latex/glut__callbacks_8cpp.tex b/Doxygen/Docs/latex/glut__callbacks_8cpp.tex new file mode 100644 index 00000000..db481807 --- /dev/null +++ b/Doxygen/Docs/latex/glut__callbacks_8cpp.tex @@ -0,0 +1,243 @@ +\hypertarget{glut__callbacks_8cpp}{\section{glut\-\_\-callbacks.\-cpp File Reference} +\label{glut__callbacks_8cpp}\index{glut\-\_\-callbacks.\-cpp@{glut\-\_\-callbacks.\-cpp}} +} + + +glut\-\_\-callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other G\-L\-U\-T callback functions. + + +{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Camera.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Scene.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Screen.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Engine.\-hpp\char`\"{}}\\* +{\ttfamily \#include $<$sstream$>$}\\* +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +void \hyperlink{glut__callbacks_8cpp_a254e97178a2df1da3e435a01f778e475}{keylift} (unsigned char key, int x, int y) +\begin{DoxyCompactList}\small\item\em keylift is registered as a G\-L\-U\-T callback for when a user releases a depressed key. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8cpp_aef7ba2f69afb2d954545f64c7fe24b14}{keyboard} (unsigned char key, int x, int y) +\begin{DoxyCompactList}\small\item\em keyboard is a callback registered with G\-L\-U\-T. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8cpp_a6f3a97ed034be467bc035242d2486e00}{keyboard\-\_\-ctrl} (int key, int x, int y) +\begin{DoxyCompactList}\small\item\em keyboard\-\_\-ctrl is registered as a G\-L\-U\-T callback. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8cpp_ac76a5d78172a826cd6ee9512b89a86c0}{mouse} (int button, int state, int x, int y) +\begin{DoxyCompactList}\small\item\em mouse is registered as a G\-L\-U\-T callback. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8cpp_ad373689e6b9dcfe1b99692b43a759d40}{mouseroll} (int x, int y) +\begin{DoxyCompactList}\small\item\em mouseroll is registered as a G\-L\-U\-T callback. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8cpp_af04567427614c77718ed14b8450a3438}{mouselook} (int x, int y) +\begin{DoxyCompactList}\small\item\em mouselook is registered as a G\-L\-U\-T callback. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8cpp_ace248343c050c709b645c42012d68f18}{resize\-Event} (int width, int height) +\begin{DoxyCompactList}\small\item\em resize\-Event is registered as a glut callback for when the screen is resized. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +glut\-\_\-callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other G\-L\-U\-T callback functions. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +John Huston, Nick St.\-Pierre, Chris Compton +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/13 +\end{DoxyDate} + + +Definition in file \hyperlink{glut__callbacks_8cpp_source}{glut\-\_\-callbacks.\-cpp}. + + + +\subsection{Function Documentation} +\hypertarget{glut__callbacks_8cpp_aef7ba2f69afb2d954545f64c7fe24b14}{\index{glut\-\_\-callbacks.\-cpp@{glut\-\_\-callbacks.\-cpp}!keyboard@{keyboard}} +\index{keyboard@{keyboard}!glut_callbacks.cpp@{glut\-\_\-callbacks.\-cpp}} +\subsubsection[{keyboard}]{\setlength{\rightskip}{0pt plus 5cm}void keyboard ( +\begin{DoxyParamCaption} +\item[{unsigned char}]{key, } +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8cpp_aef7ba2f69afb2d954545f64c7fe24b14} + + +keyboard is a callback registered with G\-L\-U\-T. + +It handles (surprise!) keyboard input. + + +\begin{DoxyParams}{Parameters} +{\em key} & The key pressed by the user. \\ +\hline +{\em x} & The x coordinate of the mouse when the key was pressed. \\ +\hline +{\em y} & The y coordinate of the mouse when the key was pressed. \\ +\hline +\end{DoxyParams} + + +Definition at line 66 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8cpp_a6f3a97ed034be467bc035242d2486e00}{\index{glut\-\_\-callbacks.\-cpp@{glut\-\_\-callbacks.\-cpp}!keyboard\-\_\-ctrl@{keyboard\-\_\-ctrl}} +\index{keyboard\-\_\-ctrl@{keyboard\-\_\-ctrl}!glut_callbacks.cpp@{glut\-\_\-callbacks.\-cpp}} +\subsubsection[{keyboard\-\_\-ctrl}]{\setlength{\rightskip}{0pt plus 5cm}void keyboard\-\_\-ctrl ( +\begin{DoxyParamCaption} +\item[{int}]{key, } +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8cpp_a6f3a97ed034be467bc035242d2486e00} + + +keyboard\-\_\-ctrl is registered as a G\-L\-U\-T callback. + +It is responsible for catching when special keys are pressed. + + +\begin{DoxyParams}{Parameters} +{\em key} & The key pressed. \\ +\hline +{\em x} & The x coordinate of the mouse when the key was pressed. \\ +\hline +{\em y} & The y coordinate of the mouse when the key was pressed. \\ +\hline +\end{DoxyParams} + + +Definition at line 172 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8cpp_a254e97178a2df1da3e435a01f778e475}{\index{glut\-\_\-callbacks.\-cpp@{glut\-\_\-callbacks.\-cpp}!keylift@{keylift}} +\index{keylift@{keylift}!glut_callbacks.cpp@{glut\-\_\-callbacks.\-cpp}} +\subsubsection[{keylift}]{\setlength{\rightskip}{0pt plus 5cm}void keylift ( +\begin{DoxyParamCaption} +\item[{unsigned char}]{key, } +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8cpp_a254e97178a2df1da3e435a01f778e475} + + +keylift is registered as a G\-L\-U\-T callback for when a user releases a depressed key. + + +\begin{DoxyParams}{Parameters} +{\em key} & The key that was lifted. \\ +\hline +{\em x} & The x coordinate of the mouse at the time the key was released. \\ +\hline +{\em y} & The y coordinate of the mouse at the time the key was released. \\ +\hline +\end{DoxyParams} + + +Definition at line 29 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8cpp_ac76a5d78172a826cd6ee9512b89a86c0}{\index{glut\-\_\-callbacks.\-cpp@{glut\-\_\-callbacks.\-cpp}!mouse@{mouse}} +\index{mouse@{mouse}!glut_callbacks.cpp@{glut\-\_\-callbacks.\-cpp}} +\subsubsection[{mouse}]{\setlength{\rightskip}{0pt plus 5cm}void mouse ( +\begin{DoxyParamCaption} +\item[{int}]{button, } +\item[{int}]{state, } +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8cpp_ac76a5d78172a826cd6ee9512b89a86c0} + + +mouse is registered as a G\-L\-U\-T callback. + +It handles input from, primarily, the scrollwheel. + + +\begin{DoxyParams}{Parameters} +{\em button} & The mouse button being pressed. \\ +\hline +{\em state} & the state of the aforementioned mouse button. \\ +\hline +{\em x} & the x coordinate of the mouse. \\ +\hline +{\em y} & the y coordinate of the mouse. \\ +\hline +\end{DoxyParams} + + +Definition at line 224 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8cpp_af04567427614c77718ed14b8450a3438}{\index{glut\-\_\-callbacks.\-cpp@{glut\-\_\-callbacks.\-cpp}!mouselook@{mouselook}} +\index{mouselook@{mouselook}!glut_callbacks.cpp@{glut\-\_\-callbacks.\-cpp}} +\subsubsection[{mouselook}]{\setlength{\rightskip}{0pt plus 5cm}void mouselook ( +\begin{DoxyParamCaption} +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8cpp_af04567427614c77718ed14b8450a3438} + + +mouselook is registered as a G\-L\-U\-T callback. + +mouselook implements F\-P\-S-\/like controls where the camera moves proportional to the direction of the mouse. + + +\begin{DoxyParams}{Parameters} +{\em x} & the x coordinate of the mouse pointer. \\ +\hline +{\em y} & the y coordinate of the mouse pointer. \\ +\hline +\end{DoxyParams} + + +Definition at line 270 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8cpp_ad373689e6b9dcfe1b99692b43a759d40}{\index{glut\-\_\-callbacks.\-cpp@{glut\-\_\-callbacks.\-cpp}!mouseroll@{mouseroll}} +\index{mouseroll@{mouseroll}!glut_callbacks.cpp@{glut\-\_\-callbacks.\-cpp}} +\subsubsection[{mouseroll}]{\setlength{\rightskip}{0pt plus 5cm}void mouseroll ( +\begin{DoxyParamCaption} +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8cpp_ad373689e6b9dcfe1b99692b43a759d40} + + +mouseroll is registered as a G\-L\-U\-T callback. + +mouseroll is called when the mouse is moved while a button is depressed. It is used here to implement barrel-\/rolls while left-\/clicking. + + +\begin{DoxyParams}{Parameters} +{\em x} & the x coordinate of the mouse pointer. \\ +\hline +{\em y} & the y coordinate of the mouse pointer. \\ +\hline +\end{DoxyParams} + + +Definition at line 250 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8cpp_ace248343c050c709b645c42012d68f18}{\index{glut\-\_\-callbacks.\-cpp@{glut\-\_\-callbacks.\-cpp}!resize\-Event@{resize\-Event}} +\index{resize\-Event@{resize\-Event}!glut_callbacks.cpp@{glut\-\_\-callbacks.\-cpp}} +\subsubsection[{resize\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void resize\-Event ( +\begin{DoxyParamCaption} +\item[{int}]{width, } +\item[{int}]{height} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8cpp_ace248343c050c709b645c42012d68f18} + + +resize\-Event is registered as a glut callback for when the screen is resized. + +It instructs the screen object of the new size, which informs all of the children cameras to recompute their aspect ratios, viewport positions, and so on. + +We also warp the pointer to the center of the screen, for compatibility with mouselook( void ). + + +\begin{DoxyParams}{Parameters} +{\em width} & The new width of the window. \\ +\hline +{\em height} & The new height of the window.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 304 of file glut\-\_\-callbacks.\-cpp. + diff --git a/Doxygen/Docs/latex/glut__callbacks_8h.tex b/Doxygen/Docs/latex/glut__callbacks_8h.tex new file mode 100644 index 00000000..3f8a0c91 --- /dev/null +++ b/Doxygen/Docs/latex/glut__callbacks_8h.tex @@ -0,0 +1,237 @@ +\hypertarget{glut__callbacks_8h}{\section{glut\-\_\-callbacks.\-h File Reference} +\label{glut__callbacks_8h}\index{glut\-\_\-callbacks.\-h@{glut\-\_\-callbacks.\-h}} +} + + +\hyperlink{glut__callbacks_8h}{glut\-\_\-callbacks.\-h} provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other G\-L\-U\-T callback functions. + + +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +void \hyperlink{glut__callbacks_8h_a254e97178a2df1da3e435a01f778e475}{keylift} (unsigned char key, int x, int y) +\begin{DoxyCompactList}\small\item\em keylift is registered as a G\-L\-U\-T callback for when a user releases a depressed key. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8h_aef7ba2f69afb2d954545f64c7fe24b14}{keyboard} (unsigned char key, int x, int y) +\begin{DoxyCompactList}\small\item\em keyboard is a callback registered with G\-L\-U\-T. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8h_a6f3a97ed034be467bc035242d2486e00}{keyboard\-\_\-ctrl} (int key, int x, int y) +\begin{DoxyCompactList}\small\item\em keyboard\-\_\-ctrl is registered as a G\-L\-U\-T callback. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8h_ac76a5d78172a826cd6ee9512b89a86c0}{mouse} (int button, int state, int x, int y) +\begin{DoxyCompactList}\small\item\em mouse is registered as a G\-L\-U\-T callback. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8h_ad373689e6b9dcfe1b99692b43a759d40}{mouseroll} (int x, int y) +\begin{DoxyCompactList}\small\item\em mouseroll is registered as a G\-L\-U\-T callback. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8h_af04567427614c77718ed14b8450a3438}{mouselook} (int x, int y) +\begin{DoxyCompactList}\small\item\em mouselook is registered as a G\-L\-U\-T callback. \end{DoxyCompactList}\item +void \hyperlink{glut__callbacks_8h_ace248343c050c709b645c42012d68f18}{resize\-Event} (int width, int height) +\begin{DoxyCompactList}\small\item\em resize\-Event is registered as a glut callback for when the screen is resized. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +\hyperlink{glut__callbacks_8h}{glut\-\_\-callbacks.\-h} provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other G\-L\-U\-T callback functions. \begin{DoxyAuthor}{Author} +John Huston +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +John Huston, Nick St.\-Pierre, Chris Compton +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/13 +\end{DoxyDate} + + +Definition in file \hyperlink{glut__callbacks_8h_source}{glut\-\_\-callbacks.\-h}. + + + +\subsection{Function Documentation} +\hypertarget{glut__callbacks_8h_aef7ba2f69afb2d954545f64c7fe24b14}{\index{glut\-\_\-callbacks.\-h@{glut\-\_\-callbacks.\-h}!keyboard@{keyboard}} +\index{keyboard@{keyboard}!glut_callbacks.h@{glut\-\_\-callbacks.\-h}} +\subsubsection[{keyboard}]{\setlength{\rightskip}{0pt plus 5cm}void keyboard ( +\begin{DoxyParamCaption} +\item[{unsigned char}]{key, } +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8h_aef7ba2f69afb2d954545f64c7fe24b14} + + +keyboard is a callback registered with G\-L\-U\-T. + +It handles (surprise!) keyboard input. + + +\begin{DoxyParams}{Parameters} +{\em key} & The key pressed by the user. \\ +\hline +{\em x} & The x coordinate of the mouse when the key was pressed. \\ +\hline +{\em y} & The y coordinate of the mouse when the key was pressed. \\ +\hline +\end{DoxyParams} + + +Definition at line 66 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8h_a6f3a97ed034be467bc035242d2486e00}{\index{glut\-\_\-callbacks.\-h@{glut\-\_\-callbacks.\-h}!keyboard\-\_\-ctrl@{keyboard\-\_\-ctrl}} +\index{keyboard\-\_\-ctrl@{keyboard\-\_\-ctrl}!glut_callbacks.h@{glut\-\_\-callbacks.\-h}} +\subsubsection[{keyboard\-\_\-ctrl}]{\setlength{\rightskip}{0pt plus 5cm}void keyboard\-\_\-ctrl ( +\begin{DoxyParamCaption} +\item[{int}]{key, } +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8h_a6f3a97ed034be467bc035242d2486e00} + + +keyboard\-\_\-ctrl is registered as a G\-L\-U\-T callback. + +It is responsible for catching when special keys are pressed. + + +\begin{DoxyParams}{Parameters} +{\em key} & The key pressed. \\ +\hline +{\em x} & The x coordinate of the mouse when the key was pressed. \\ +\hline +{\em y} & The y coordinate of the mouse when the key was pressed. \\ +\hline +\end{DoxyParams} + + +Definition at line 172 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8h_a254e97178a2df1da3e435a01f778e475}{\index{glut\-\_\-callbacks.\-h@{glut\-\_\-callbacks.\-h}!keylift@{keylift}} +\index{keylift@{keylift}!glut_callbacks.h@{glut\-\_\-callbacks.\-h}} +\subsubsection[{keylift}]{\setlength{\rightskip}{0pt plus 5cm}void keylift ( +\begin{DoxyParamCaption} +\item[{unsigned char}]{key, } +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8h_a254e97178a2df1da3e435a01f778e475} + + +keylift is registered as a G\-L\-U\-T callback for when a user releases a depressed key. + + +\begin{DoxyParams}{Parameters} +{\em key} & The key that was lifted. \\ +\hline +{\em x} & The x coordinate of the mouse at the time the key was released. \\ +\hline +{\em y} & The y coordinate of the mouse at the time the key was released. \\ +\hline +\end{DoxyParams} + + +Definition at line 29 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8h_ac76a5d78172a826cd6ee9512b89a86c0}{\index{glut\-\_\-callbacks.\-h@{glut\-\_\-callbacks.\-h}!mouse@{mouse}} +\index{mouse@{mouse}!glut_callbacks.h@{glut\-\_\-callbacks.\-h}} +\subsubsection[{mouse}]{\setlength{\rightskip}{0pt plus 5cm}void mouse ( +\begin{DoxyParamCaption} +\item[{int}]{button, } +\item[{int}]{state, } +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8h_ac76a5d78172a826cd6ee9512b89a86c0} + + +mouse is registered as a G\-L\-U\-T callback. + +It handles input from, primarily, the scrollwheel. + + +\begin{DoxyParams}{Parameters} +{\em button} & The mouse button being pressed. \\ +\hline +{\em state} & the state of the aforementioned mouse button. \\ +\hline +{\em x} & the x coordinate of the mouse. \\ +\hline +{\em y} & the y coordinate of the mouse. \\ +\hline +\end{DoxyParams} + + +Definition at line 224 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8h_af04567427614c77718ed14b8450a3438}{\index{glut\-\_\-callbacks.\-h@{glut\-\_\-callbacks.\-h}!mouselook@{mouselook}} +\index{mouselook@{mouselook}!glut_callbacks.h@{glut\-\_\-callbacks.\-h}} +\subsubsection[{mouselook}]{\setlength{\rightskip}{0pt plus 5cm}void mouselook ( +\begin{DoxyParamCaption} +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8h_af04567427614c77718ed14b8450a3438} + + +mouselook is registered as a G\-L\-U\-T callback. + +mouselook implements F\-P\-S-\/like controls where the camera moves proportional to the direction of the mouse. + + +\begin{DoxyParams}{Parameters} +{\em x} & the x coordinate of the mouse pointer. \\ +\hline +{\em y} & the y coordinate of the mouse pointer. \\ +\hline +\end{DoxyParams} + + +Definition at line 270 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8h_ad373689e6b9dcfe1b99692b43a759d40}{\index{glut\-\_\-callbacks.\-h@{glut\-\_\-callbacks.\-h}!mouseroll@{mouseroll}} +\index{mouseroll@{mouseroll}!glut_callbacks.h@{glut\-\_\-callbacks.\-h}} +\subsubsection[{mouseroll}]{\setlength{\rightskip}{0pt plus 5cm}void mouseroll ( +\begin{DoxyParamCaption} +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8h_ad373689e6b9dcfe1b99692b43a759d40} + + +mouseroll is registered as a G\-L\-U\-T callback. + +mouseroll is called when the mouse is moved while a button is depressed. It is used here to implement barrel-\/rolls while left-\/clicking. + + +\begin{DoxyParams}{Parameters} +{\em x} & the x coordinate of the mouse pointer. \\ +\hline +{\em y} & the y coordinate of the mouse pointer. \\ +\hline +\end{DoxyParams} + + +Definition at line 250 of file glut\-\_\-callbacks.\-cpp. + +\hypertarget{glut__callbacks_8h_ace248343c050c709b645c42012d68f18}{\index{glut\-\_\-callbacks.\-h@{glut\-\_\-callbacks.\-h}!resize\-Event@{resize\-Event}} +\index{resize\-Event@{resize\-Event}!glut_callbacks.h@{glut\-\_\-callbacks.\-h}} +\subsubsection[{resize\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void resize\-Event ( +\begin{DoxyParamCaption} +\item[{int}]{width, } +\item[{int}]{height} +\end{DoxyParamCaption} +)}}\label{glut__callbacks_8h_ace248343c050c709b645c42012d68f18} + + +resize\-Event is registered as a glut callback for when the screen is resized. + +It instructs the screen object of the new size, which informs all of the children cameras to recompute their aspect ratios, viewport positions, and so on. + +We also warp the pointer to the center of the screen, for compatibility with mouselook( void ). + + +\begin{DoxyParams}{Parameters} +{\em width} & The new width of the window. \\ +\hline +{\em height} & The new height of the window.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 304 of file glut\-\_\-callbacks.\-cpp. + diff --git a/Doxygen/Docs/latex/hierarchy.tex b/Doxygen/Docs/latex/hierarchy.tex new file mode 100644 index 00000000..00e7207e --- /dev/null +++ b/Doxygen/Docs/latex/hierarchy.tex @@ -0,0 +1,33 @@ +\section{Class Hierarchy} +This inheritance list is sorted roughly, but not completely, alphabetically\-:\begin{DoxyCompactList} +\item \contentsline{section}{Engine}{\pageref{class_engine}}{} +\item \contentsline{section}{Tiem\-Spelchk\-:\-:Lurn2\-Spiel\-Nub}{\pageref{class_tiem_spelchk_1_1_lurn2_spiel_nub}}{} +\item \contentsline{section}{Angel\-:\-:mat2}{\pageref{class_angel_1_1mat2}}{} +\item \contentsline{section}{Angel\-:\-:mat3}{\pageref{class_angel_1_1mat3}}{} +\item \contentsline{section}{Angel\-:\-:mat4}{\pageref{class_angel_1_1mat4}}{} +\item \contentsline{section}{Particle}{\pageref{class_particle}}{} +\item \contentsline{section}{Scene}{\pageref{class_scene}}{} +\begin{DoxyCompactList} +\item \contentsline{section}{Cameras}{\pageref{class_cameras}}{} +\item \contentsline{section}{Object}{\pageref{class_object}}{} +\begin{DoxyCompactList} +\item \contentsline{section}{Camera}{\pageref{class_camera}}{} +\item \contentsline{section}{Particle\-System}{\pageref{class_particle_system}}{} +\end{DoxyCompactList} +\end{DoxyCompactList} +\item \contentsline{section}{Screen}{\pageref{class_screen}}{} +\item \contentsline{section}{Spelchk\-Camera}{\pageref{class_spelchk_camera}}{} +\item \contentsline{section}{Texture}{\pageref{class_texture}}{} +\item \contentsline{section}{Timer}{\pageref{class_timer}}{} +\item \contentsline{section}{Trans\-Cache}{\pageref{class_trans_cache}}{} +\item \contentsline{section}{Transformation}{\pageref{class_transformation}}{} +\begin{DoxyCompactList} +\item \contentsline{section}{Rot\-Mat}{\pageref{class_rot_mat}}{} +\item \contentsline{section}{Scale\-Mat}{\pageref{class_scale_mat}}{} +\item \contentsline{section}{Trans\-Mat}{\pageref{class_trans_mat}}{} +\end{DoxyCompactList} +\item \contentsline{section}{Angel\-:\-:vec2}{\pageref{struct_angel_1_1vec2}}{} +\item \contentsline{section}{Angel\-:\-:vec3}{\pageref{struct_angel_1_1vec3}}{} +\item \contentsline{section}{Angel\-:\-:vec4}{\pageref{struct_angel_1_1vec4}}{} +\item \contentsline{section}{Wii\-Poll\-Data}{\pageref{struct_wii_poll_data}}{} +\end{DoxyCompactList} diff --git a/Doxygen/Docs/latex/mat_8cpp.tex b/Doxygen/Docs/latex/mat_8cpp.tex new file mode 100644 index 00000000..b390d6f0 --- /dev/null +++ b/Doxygen/Docs/latex/mat_8cpp.tex @@ -0,0 +1,116 @@ +\hypertarget{mat_8cpp}{\section{mat.\-cpp File Reference} +\label{mat_8cpp}\index{mat.\-cpp@{mat.\-cpp}} +} + + +Implementation for the mat2, mat3, and mat4 classes. + + +{\ttfamily \#include \char`\"{}platform.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}mat.\-hpp\char`\"{}}\\* +{\ttfamily \#include $<$cmath$>$}\\* +{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\* +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{namespace_angel_ad98858d30ccb39de45a34e4693fd9ef5}{mat2 {\bfseries Angel\-::operator$\ast$} (const G\-Lfloat s, const mat2 \&m)}\label{namespace_angel_ad98858d30ccb39de45a34e4693fd9ef5} + +\item +\hypertarget{namespace_angel_ac414aafc0c30f61e35042b50146b5340}{std\-::ostream \& {\bfseries Angel\-::operator$<$$<$} (std\-::ostream \&os, const mat2 \&m)}\label{namespace_angel_ac414aafc0c30f61e35042b50146b5340} + +\item +\hypertarget{namespace_angel_aa5aed3e76e6cd1d2de93503630d13132}{std\-::istream \& {\bfseries Angel\-::operator$>$$>$} (std\-::istream \&is, mat2 \&m)}\label{namespace_angel_aa5aed3e76e6cd1d2de93503630d13132} + +\item +\hypertarget{namespace_angel_a14b1d7bed352f45380d7fc26e2553627}{mat2 {\bfseries Angel\-::matrix\-Comp\-Mult} (const mat2 \&A, const mat2 \&B)}\label{namespace_angel_a14b1d7bed352f45380d7fc26e2553627} + +\item +\hypertarget{namespace_angel_a13237552df8019e7c7c041491185a5b7}{mat2 {\bfseries Angel\-::transpose} (const mat2 \&A)}\label{namespace_angel_a13237552df8019e7c7c041491185a5b7} + +\item +\hypertarget{namespace_angel_a14d8b4ab9eeb4075155867871c6d60f6}{mat3 {\bfseries Angel\-::operator$\ast$} (const G\-Lfloat s, const mat3 \&m)}\label{namespace_angel_a14d8b4ab9eeb4075155867871c6d60f6} + +\item +\hypertarget{namespace_angel_aebfe9ee1ffa4286f7697c7323ea83dd0}{std\-::ostream \& {\bfseries Angel\-::operator$<$$<$} (std\-::ostream \&os, const mat3 \&m)}\label{namespace_angel_aebfe9ee1ffa4286f7697c7323ea83dd0} + +\item +\hypertarget{namespace_angel_a0f2b9ea30d90fee6f42c49adc31afbd5}{std\-::istream \& {\bfseries Angel\-::operator$>$$>$} (std\-::istream \&is, mat3 \&m)}\label{namespace_angel_a0f2b9ea30d90fee6f42c49adc31afbd5} + +\item +\hypertarget{namespace_angel_a9eeab51adba3f19cca17e5007844f2a1}{mat3 {\bfseries Angel\-::matrix\-Comp\-Mult} (const mat3 \&A, const mat3 \&B)}\label{namespace_angel_a9eeab51adba3f19cca17e5007844f2a1} + +\item +\hypertarget{namespace_angel_abea2dfb557c756bfb69c596852e6b096}{mat3 {\bfseries Angel\-::transpose} (const mat3 \&A)}\label{namespace_angel_abea2dfb557c756bfb69c596852e6b096} + +\item +\hypertarget{namespace_angel_acc567058b4586de296af2ce0ad767b18}{mat4 {\bfseries Angel\-::operator$\ast$} (const G\-Lfloat s, const mat4 \&m)}\label{namespace_angel_acc567058b4586de296af2ce0ad767b18} + +\item +\hypertarget{namespace_angel_a8f927d4bf85202f4e96a1a4a9733da27}{vec4 {\bfseries Angel\-::operator$\ast$} (const vec4 \&v, const mat4 \&\-\_\-m)}\label{namespace_angel_a8f927d4bf85202f4e96a1a4a9733da27} + +\item +\hypertarget{namespace_angel_a694f07e56f9b1501ade53204f63f9eaa}{std\-::ostream \& {\bfseries Angel\-::operator$<$$<$} (std\-::ostream \&os, const mat4 \&m)}\label{namespace_angel_a694f07e56f9b1501ade53204f63f9eaa} + +\item +\hypertarget{namespace_angel_a23656ccbbf90b1935a4072ef3ca248e0}{std\-::istream \& {\bfseries Angel\-::operator$>$$>$} (std\-::istream \&is, mat4 \&m)}\label{namespace_angel_a23656ccbbf90b1935a4072ef3ca248e0} + +\item +\hypertarget{namespace_angel_a3cc32f2aec8c1c7e609c31183eebf2e6}{mat4 {\bfseries Angel\-::matrix\-Comp\-Mult} (const mat4 \&A, const mat4 \&B)}\label{namespace_angel_a3cc32f2aec8c1c7e609c31183eebf2e6} + +\item +\hypertarget{namespace_angel_a1a4a07580fa9c63f32cca223177496dd}{mat4 {\bfseries Angel\-::transpose} (const mat4 \&A)}\label{namespace_angel_a1a4a07580fa9c63f32cca223177496dd} + +\item +\hypertarget{namespace_angel_a96a871db89bb8218473c75b8070d2a04}{mat4 {\bfseries Angel\-::\-Rotate\-X} (const G\-Lfloat theta)}\label{namespace_angel_a96a871db89bb8218473c75b8070d2a04} + +\item +\hypertarget{namespace_angel_aa8ddbf81e6fa21bd53c5d5ce840a7403}{mat4 {\bfseries Angel\-::\-Rotate\-Y} (const G\-Lfloat theta)}\label{namespace_angel_aa8ddbf81e6fa21bd53c5d5ce840a7403} + +\item +\hypertarget{namespace_angel_a564ee33689e28c95aedcc5a77aed1d33}{mat4 {\bfseries Angel\-::\-Rotate\-Z} (const G\-Lfloat theta)}\label{namespace_angel_a564ee33689e28c95aedcc5a77aed1d33} + +\item +\hypertarget{namespace_angel_a4dabf5bcf7d7332f54e66178feab9c16}{mat4 {\bfseries Angel\-::\-Translate} (const G\-Lfloat x, const G\-Lfloat y, const G\-Lfloat z)}\label{namespace_angel_a4dabf5bcf7d7332f54e66178feab9c16} + +\item +\hypertarget{namespace_angel_ae9591a5b2e2e59fa0534460a16520a42}{mat4 {\bfseries Angel\-::\-Translate} (const vec3 \&v)}\label{namespace_angel_ae9591a5b2e2e59fa0534460a16520a42} + +\item +\hypertarget{namespace_angel_af51ee9500415015b6ba400cea2ab757f}{mat4 {\bfseries Angel\-::\-Translate} (const vec4 \&v)}\label{namespace_angel_af51ee9500415015b6ba400cea2ab757f} + +\item +\hypertarget{namespace_angel_a6ca60025898ba656cd588541df87f310}{mat4 {\bfseries Angel\-::\-Scale} (const G\-Lfloat x, const G\-Lfloat y, const G\-Lfloat z)}\label{namespace_angel_a6ca60025898ba656cd588541df87f310} + +\item +\hypertarget{namespace_angel_a57bd024e120ad05fe0c00081286eeb18}{mat4 {\bfseries Angel\-::\-Scale} (const vec3 \&v)}\label{namespace_angel_a57bd024e120ad05fe0c00081286eeb18} + +\item +\hypertarget{namespace_angel_a65a39c6b9bbbce0463d958e58cdf8a3c}{mat4 {\bfseries Angel\-::\-Ortho} (const G\-Lfloat left, const G\-Lfloat right, const G\-Lfloat bottom, const G\-Lfloat top, const G\-Lfloat z\-Near, const G\-Lfloat z\-Far)}\label{namespace_angel_a65a39c6b9bbbce0463d958e58cdf8a3c} + +\item +\hypertarget{namespace_angel_a8db02bcc2094985f2a168ab3f0dce68e}{mat4 {\bfseries Angel\-::\-Ortho2\-D} (const G\-Lfloat left, const G\-Lfloat right, const G\-Lfloat bottom, const G\-Lfloat top)}\label{namespace_angel_a8db02bcc2094985f2a168ab3f0dce68e} + +\item +\hypertarget{namespace_angel_a5775b27ec156cd2166a59bf038dc8efc}{mat4 {\bfseries Angel\-::\-Frustum} (const G\-Lfloat left, const G\-Lfloat right, const G\-Lfloat bottom, const G\-Lfloat top, const G\-Lfloat z\-Near, const G\-Lfloat z\-Far)}\label{namespace_angel_a5775b27ec156cd2166a59bf038dc8efc} + +\item +\hypertarget{namespace_angel_ad20afa7adfcc4d26d4be0c322548549a}{mat4 {\bfseries Angel\-::\-Perspective} (const G\-Lfloat fovy, const G\-Lfloat aspect, const G\-Lfloat z\-Near, const G\-Lfloat z\-Far)}\label{namespace_angel_ad20afa7adfcc4d26d4be0c322548549a} + +\item +\hypertarget{namespace_angel_aee52b8fa583cbbe460e2e80c05b59f8b}{mat4 {\bfseries Angel\-::\-Look\-At} (const vec4 \&eye, const vec4 \&at, const vec4 \&up)}\label{namespace_angel_aee52b8fa583cbbe460e2e80c05b59f8b} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Implementation for the mat2, mat3, and mat4 classes. \begin{DoxyAuthor}{Author} +Ed Angel +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2012-\/12-\/04 +\end{DoxyDate} +Modified heavily from code available from Ed Angel's website, \href{http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/}{\tt http\-://www.\-cs.\-unm.\-edu/$\sim$angel/\-B\-O\-O\-K/\-I\-N\-T\-E\-R\-A\-C\-T\-I\-V\-E\-\_\-\-C\-O\-M\-P\-U\-T\-E\-R\-\_\-\-G\-R\-A\-P\-H\-I\-C\-S/\-S\-I\-X\-T\-H\-\_\-\-E\-D\-I\-T\-I\-O\-N/} Published from his book, Interactive Computer Graphics A Top-\/\-Down Approach with Open\-G\-L, Sixth Edition Addison-\/\-Wesley 2012 + +Definition in file \hyperlink{mat_8cpp_source}{mat.\-cpp}. + diff --git a/Doxygen/Docs/latex/mat_8hpp.tex b/Doxygen/Docs/latex/mat_8hpp.tex new file mode 100644 index 00000000..3c3e163e --- /dev/null +++ b/Doxygen/Docs/latex/mat_8hpp.tex @@ -0,0 +1,120 @@ +\hypertarget{mat_8hpp}{\section{mat.\-hpp File Reference} +\label{mat_8hpp}\index{mat.\-hpp@{mat.\-hpp}} +} + + +Headers for the mat2, mat3, and mat4 classes and related utilities. + + +{\ttfamily \#include $<$cstdio$>$}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +\subsection*{Classes} +\begin{DoxyCompactItemize} +\item +class \hyperlink{class_angel_1_1mat2}{Angel\-::mat2} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_angel_1_1mat2}{mat2} -\/ 2\-D square matrix. \end{DoxyCompactList}\item +class \hyperlink{class_angel_1_1mat3}{Angel\-::mat3} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_angel_1_1mat3}{mat3} -\/ 3\-D square matrix. \end{DoxyCompactList}\item +class \hyperlink{class_angel_1_1mat4}{Angel\-::mat4} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_angel_1_1mat4}{mat4} -\/ 4\-D square matrix. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\#define {\bfseries E\-R\-R\-O\-R}(str) +\end{DoxyCompactItemize} +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{namespace_angel_a14b1d7bed352f45380d7fc26e2553627}{mat2 {\bfseries Angel\-::matrix\-Comp\-Mult} (const mat2 \&A, const mat2 \&B)}\label{namespace_angel_a14b1d7bed352f45380d7fc26e2553627} + +\item +\hypertarget{namespace_angel_a13237552df8019e7c7c041491185a5b7}{mat2 {\bfseries Angel\-::transpose} (const mat2 \&A)}\label{namespace_angel_a13237552df8019e7c7c041491185a5b7} + +\item +\hypertarget{namespace_angel_a9eeab51adba3f19cca17e5007844f2a1}{mat3 {\bfseries Angel\-::matrix\-Comp\-Mult} (const mat3 \&A, const mat3 \&B)}\label{namespace_angel_a9eeab51adba3f19cca17e5007844f2a1} + +\item +\hypertarget{namespace_angel_abea2dfb557c756bfb69c596852e6b096}{mat3 {\bfseries Angel\-::transpose} (const mat3 \&A)}\label{namespace_angel_abea2dfb557c756bfb69c596852e6b096} + +\item +\hypertarget{namespace_angel_a3cc32f2aec8c1c7e609c31183eebf2e6}{mat4 {\bfseries Angel\-::matrix\-Comp\-Mult} (const mat4 \&A, const mat4 \&B)}\label{namespace_angel_a3cc32f2aec8c1c7e609c31183eebf2e6} + +\item +\hypertarget{namespace_angel_a1a4a07580fa9c63f32cca223177496dd}{mat4 {\bfseries Angel\-::transpose} (const mat4 \&A)}\label{namespace_angel_a1a4a07580fa9c63f32cca223177496dd} + +\item +\hypertarget{namespace_angel_a96a871db89bb8218473c75b8070d2a04}{mat4 {\bfseries Angel\-::\-Rotate\-X} (const G\-Lfloat theta)}\label{namespace_angel_a96a871db89bb8218473c75b8070d2a04} + +\item +\hypertarget{namespace_angel_aa8ddbf81e6fa21bd53c5d5ce840a7403}{mat4 {\bfseries Angel\-::\-Rotate\-Y} (const G\-Lfloat theta)}\label{namespace_angel_aa8ddbf81e6fa21bd53c5d5ce840a7403} + +\item +\hypertarget{namespace_angel_a564ee33689e28c95aedcc5a77aed1d33}{mat4 {\bfseries Angel\-::\-Rotate\-Z} (const G\-Lfloat theta)}\label{namespace_angel_a564ee33689e28c95aedcc5a77aed1d33} + +\item +\hypertarget{namespace_angel_a4dabf5bcf7d7332f54e66178feab9c16}{mat4 {\bfseries Angel\-::\-Translate} (const G\-Lfloat x, const G\-Lfloat y, const G\-Lfloat z)}\label{namespace_angel_a4dabf5bcf7d7332f54e66178feab9c16} + +\item +\hypertarget{namespace_angel_ae9591a5b2e2e59fa0534460a16520a42}{mat4 {\bfseries Angel\-::\-Translate} (const vec3 \&v)}\label{namespace_angel_ae9591a5b2e2e59fa0534460a16520a42} + +\item +\hypertarget{namespace_angel_af51ee9500415015b6ba400cea2ab757f}{mat4 {\bfseries Angel\-::\-Translate} (const vec4 \&v)}\label{namespace_angel_af51ee9500415015b6ba400cea2ab757f} + +\item +\hypertarget{namespace_angel_a6ca60025898ba656cd588541df87f310}{mat4 {\bfseries Angel\-::\-Scale} (const G\-Lfloat x, const G\-Lfloat y, const G\-Lfloat z)}\label{namespace_angel_a6ca60025898ba656cd588541df87f310} + +\item +\hypertarget{namespace_angel_a57bd024e120ad05fe0c00081286eeb18}{mat4 {\bfseries Angel\-::\-Scale} (const vec3 \&v)}\label{namespace_angel_a57bd024e120ad05fe0c00081286eeb18} + +\item +\hypertarget{namespace_angel_a65a39c6b9bbbce0463d958e58cdf8a3c}{mat4 {\bfseries Angel\-::\-Ortho} (const G\-Lfloat left, const G\-Lfloat right, const G\-Lfloat bottom, const G\-Lfloat top, const G\-Lfloat z\-Near, const G\-Lfloat z\-Far)}\label{namespace_angel_a65a39c6b9bbbce0463d958e58cdf8a3c} + +\item +\hypertarget{namespace_angel_a8db02bcc2094985f2a168ab3f0dce68e}{mat4 {\bfseries Angel\-::\-Ortho2\-D} (const G\-Lfloat left, const G\-Lfloat right, const G\-Lfloat bottom, const G\-Lfloat top)}\label{namespace_angel_a8db02bcc2094985f2a168ab3f0dce68e} + +\item +\hypertarget{namespace_angel_a5775b27ec156cd2166a59bf038dc8efc}{mat4 {\bfseries Angel\-::\-Frustum} (const G\-Lfloat left, const G\-Lfloat right, const G\-Lfloat bottom, const G\-Lfloat top, const G\-Lfloat z\-Near, const G\-Lfloat z\-Far)}\label{namespace_angel_a5775b27ec156cd2166a59bf038dc8efc} + +\item +\hypertarget{namespace_angel_ad20afa7adfcc4d26d4be0c322548549a}{mat4 {\bfseries Angel\-::\-Perspective} (const G\-Lfloat fovy, const G\-Lfloat aspect, const G\-Lfloat z\-Near, const G\-Lfloat z\-Far)}\label{namespace_angel_ad20afa7adfcc4d26d4be0c322548549a} + +\item +\hypertarget{namespace_angel_aee52b8fa583cbbe460e2e80c05b59f8b}{mat4 {\bfseries Angel\-::\-Look\-At} (const vec4 \&eye, const vec4 \&at, const vec4 \&up)}\label{namespace_angel_aee52b8fa583cbbe460e2e80c05b59f8b} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Headers for the mat2, mat3, and mat4 classes and related utilities. \begin{DoxyAuthor}{Author} +Ed Angel +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +Ed Angel, John Huston +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2012-\/12-\/04 +\end{DoxyDate} +Modified from code available from Ed Angel's website, \href{http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/}{\tt http\-://www.\-cs.\-unm.\-edu/$\sim$angel/\-B\-O\-O\-K/\-I\-N\-T\-E\-R\-A\-C\-T\-I\-V\-E\-\_\-\-C\-O\-M\-P\-U\-T\-E\-R\-\_\-\-G\-R\-A\-P\-H\-I\-C\-S/\-S\-I\-X\-T\-H\-\_\-\-E\-D\-I\-T\-I\-O\-N/} Published from his book, Interactive Computer Graphics A Top-\/\-Down Approach with Open\-G\-L, Sixth Edition Addison-\/\-Wesley 2012 + +Definition in file \hyperlink{mat_8hpp_source}{mat.\-hpp}. + + + +\subsection{Macro Definition Documentation} +\hypertarget{mat_8hpp_a39b3cc118c8339855e5578335a0b2417}{\index{mat.\-hpp@{mat.\-hpp}!E\-R\-R\-O\-R@{E\-R\-R\-O\-R}} +\index{E\-R\-R\-O\-R@{E\-R\-R\-O\-R}!mat.hpp@{mat.\-hpp}} +\subsubsection[{E\-R\-R\-O\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define E\-R\-R\-O\-R( +\begin{DoxyParamCaption} +\item[{}]{str} +\end{DoxyParamCaption} +)}}\label{mat_8hpp_a39b3cc118c8339855e5578335a0b2417} +{\bfseries Value\-:} +\begin{DoxyCode} +\textcolor{keywordflow}{do} \{ \(\backslash\) + std::cerr << \textcolor{stringliteral}{"["} \_\_FILE\_\_ \textcolor{stringliteral}{":"} << \_\_LINE\_\_ << \textcolor{stringliteral}{"] "} \(\backslash\) + << str << std::endl; \} \textcolor{keywordflow}{while}(0) +\end{DoxyCode} + + +Definition at line 206 of file mat.\-hpp. + diff --git a/Doxygen/Docs/latex/model_8cpp.tex b/Doxygen/Docs/latex/model_8cpp.tex new file mode 100644 index 00000000..0c2f64ca --- /dev/null +++ b/Doxygen/Docs/latex/model_8cpp.tex @@ -0,0 +1,593 @@ +\hypertarget{model_8cpp}{\section{model.\-cpp File Reference} +\label{model_8cpp}\index{model.\-cpp@{model.\-cpp}} +} + + +Functions related to constructing simple geometry. + + +{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Object.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Timer.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include $<$cmath$>$}\\* +{\ttfamily \#include $<$iostream$>$}\\* +{\ttfamily \#include $<$fstream$>$}\\* +{\ttfamily \#include $<$sstream$>$}\\* +{\ttfamily \#include $<$vector$>$}\\* +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\#define \hyperlink{model_8cpp_a876c92757e616a414576f3183cb49b17}{Q\-U\-A\-D}(A, B, C, D) +\begin{DoxyCompactList}\small\item\em A macro to help quickly call \hyperlink{model_8cpp_a787f4c226d43da564315b1b8aefac6cc}{quad()} with correct parameters. \end{DoxyCompactList}\item +\hypertarget{model_8cpp_a3ad4ef4bd3a5cf6b3327c8c935ee78e8}{\#define \hyperlink{model_8cpp_a3ad4ef4bd3a5cf6b3327c8c935ee78e8}{O\-F\-F\-S\-E\-T\-\_\-\-A\-T}(X, Z)~((X)$\ast$S+(Z))}\label{model_8cpp_a3ad4ef4bd3a5cf6b3327c8c935ee78e8} + +\begin{DoxyCompactList}\small\item\em Gives the one-\/dimensional index offset for a buffer given the terrain's X,Z coordinates. \end{DoxyCompactList}\item +\hypertarget{model_8cpp_a1c8dfc5517ca1ada9923877cfc0783e4}{\#define \hyperlink{model_8cpp_a1c8dfc5517ca1ada9923877cfc0783e4}{V\-E\-R\-T\-E\-X\-\_\-\-A\-T}(X, Z)~(vec.\-at(\hyperlink{model_8cpp_a3ad4ef4bd3a5cf6b3327c8c935ee78e8}{O\-F\-F\-S\-E\-T\-\_\-\-A\-T}(X,Z)))}\label{model_8cpp_a1c8dfc5517ca1ada9923877cfc0783e4} + +\begin{DoxyCompactList}\small\item\em Gives the vertex for the terrain data at (X,Z). \end{DoxyCompactList}\item +\hypertarget{model_8cpp_ad66b9c54b345ca798421773a162babe4}{\#define \hyperlink{model_8cpp_ad66b9c54b345ca798421773a162babe4}{H\-E\-I\-G\-H\-T\-\_\-\-A\-T}(X, Z)~(\hyperlink{model_8cpp_a1c8dfc5517ca1ada9923877cfc0783e4}{V\-E\-R\-T\-E\-X\-\_\-\-A\-T}(X,Z).y)}\label{model_8cpp_ad66b9c54b345ca798421773a162babe4} + +\begin{DoxyCompactList}\small\item\em Returns the height as a float for these terrain coordinates. \end{DoxyCompactList}\item +\hypertarget{model_8cpp_aada0e82137280db20b9a7bbb864a8049}{\#define \hyperlink{model_8cpp_aada0e82137280db20b9a7bbb864a8049}{C\-O\-L\-O\-R\-\_\-\-A\-T}(X, Z)~(col.\-at(\hyperlink{model_8cpp_a3ad4ef4bd3a5cf6b3327c8c935ee78e8}{O\-F\-F\-S\-E\-T\-\_\-\-A\-T}(X,Z)))}\label{model_8cpp_aada0e82137280db20b9a7bbb864a8049} + +\begin{DoxyCompactList}\small\item\em Returns the color vector for the terrain data at (X,Z). \end{DoxyCompactList}\item +\hypertarget{model_8cpp_a4535f7729a3c0127c4bb32caa100d2cf}{\#define \hyperlink{model_8cpp_a4535f7729a3c0127c4bb32caa100d2cf}{T\-E\-X\-\_\-\-U\-V\-\_\-\-A\-T}(X, Z)~(txy.\-at(\hyperlink{model_8cpp_a3ad4ef4bd3a5cf6b3327c8c935ee78e8}{O\-F\-F\-S\-E\-T\-\_\-\-A\-T}(X,Z)))}\label{model_8cpp_a4535f7729a3c0127c4bb32caa100d2cf} + +\begin{DoxyCompactList}\small\item\em Returns the \hyperlink{class_texture}{Texture} U\-V (vec2) for the terrain at (X,Z). \end{DoxyCompactList}\item +\hypertarget{model_8cpp_a6087c247abe3d7f3a87c6121a25f3bb9}{\#define \hyperlink{model_8cpp_a6087c247abe3d7f3a87c6121a25f3bb9}{N\-O\-R\-M\-A\-L\-\_\-\-A\-T}(X, Z)~(nor.\-at(\hyperlink{model_8cpp_a3ad4ef4bd3a5cf6b3327c8c935ee78e8}{O\-F\-F\-S\-E\-T\-\_\-\-A\-T}(X,Z)))}\label{model_8cpp_a6087c247abe3d7f3a87c6121a25f3bb9} + +\begin{DoxyCompactList}\small\item\em Returns the Normal vec3 for the terrain at (X,Z). \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +void \hyperlink{model_8cpp_ac902b9394c319b5d0ffa1a0071f6e504}{create\-Point} (\hyperlink{class_object}{Object} $\ast$obj, \hyperlink{struct_angel_1_1vec4}{Point4} const \&the\-\_\-point, \hyperlink{struct_angel_1_1vec4}{Color4} const \&the\-\_\-color, \hyperlink{struct_angel_1_1vec3}{vec3} const \&the\-\_\-normal) +\begin{DoxyCompactList}\small\item\em Adds another vertex to the specified object. \end{DoxyCompactList}\item +void \hyperlink{model_8cpp_a133b051eb2aaf6c9d8dee920155a19c1}{triangle} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, const int color) +\begin{DoxyCompactList}\small\item\em Creates a triangle primitive from three spatial coordinates. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec4}{Point4} \hyperlink{model_8cpp_a91cf20a293963e386f47242761f62e4e}{unit} (const \hyperlink{struct_angel_1_1vec4}{Point4} \&p) +\begin{DoxyCompactList}\small\item\em Ed Angel utility function\-: Used to normalize a vector. \end{DoxyCompactList}\item +void \hyperlink{model_8cpp_aa897b7167b0e40599c4735cf0ac0d24c}{divide\-Triangle} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, int times\-To\-Recurse, int color) +\begin{DoxyCompactList}\small\item\em Used in building the Sierpinski gasket\-: Takes the coordinate for a triangle and splits it into several smaller triangles. \end{DoxyCompactList}\item +void \hyperlink{model_8cpp_a9329f4c58e0cbb25cadc1238698efedb}{tetra} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, const \hyperlink{struct_angel_1_1vec4}{Point4} \&d) +\begin{DoxyCompactList}\small\item\em Creates a tetrahedron using four triangles. \end{DoxyCompactList}\item +void \hyperlink{model_8cpp_a91ce6a85aa63ffb60c564014e4d060b1}{sierpinski\-Pyramid} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, const \hyperlink{struct_angel_1_1vec4}{Point4} \&d, int count) +\begin{DoxyCompactList}\small\item\em Forms a Sierpinski Pyramid object given four 4\-D \-\_\-vertices in space. \end{DoxyCompactList}\item +void \hyperlink{model_8cpp_abaad50597737c633264748efecf95c14}{recursive\-Model\-Gen} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, const \hyperlink{struct_angel_1_1vec4}{Point4} \&d, int times\-To\-Recurse, int color) +\begin{DoxyCompactList}\small\item\em Given a quadrilateral, splits it up into smaller quadrilaterals. \end{DoxyCompactList}\item +void \hyperlink{model_8cpp_a152e6c0e91107b949df03ca399251fd8}{sphere} (\hyperlink{class_object}{Object} $\ast$obj) +\begin{DoxyCompactList}\small\item\em Creates a white sphere. \end{DoxyCompactList}\item +void \hyperlink{model_8cpp_a787f4c226d43da564315b1b8aefac6cc}{quad} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, const \hyperlink{struct_angel_1_1vec4}{Point4} \&d, const \hyperlink{struct_angel_1_1vec4}{Color4} \&A, const \hyperlink{struct_angel_1_1vec4}{Color4} \&B, const \hyperlink{struct_angel_1_1vec4}{Color4} \&C, const \hyperlink{struct_angel_1_1vec4}{Color4} \&D) +\begin{DoxyCompactList}\small\item\em Create a quadrilateral from four \-\_\-vertices and four \-\_\-colors. \end{DoxyCompactList}\item +void \hyperlink{model_8cpp_a88b94550b90fbfab004aabc334260615}{cube} (\hyperlink{class_object}{Object} $\ast$obj, const G\-Lfloat \&size, const \hyperlink{struct_angel_1_1vec4}{Color4} colors\mbox{[}8\mbox{]}) +\begin{DoxyCompactList}\small\item\em Create a cube of a given size fixed at the origin, using the eight \-\_\-colors specified. \end{DoxyCompactList}\item +void \hyperlink{model_8cpp_a9aeb9d305a36f39f25137645d75eaa95}{color\-Cube} (\hyperlink{class_object}{Object} $\ast$obj, G\-Lfloat size) +\begin{DoxyCompactList}\small\item\em Creates a cube of a given size fixed at the origin, using all eight primary \-\_\-colors. \end{DoxyCompactList}\item +float \hyperlink{model_8cpp_a476a380b7a6a48dc7d762716b041def8}{rand\-Float} (void) +\begin{DoxyCompactList}\small\item\em Return a randomized float value! \end{DoxyCompactList}\item +double \hyperlink{model_8cpp_a1c53f4777590deb64c28e8ebb64a321d}{jitter} (double H) +\begin{DoxyCompactList}\small\item\em Returns a random float between \mbox{[}-\/\-H,H\mbox{]}. \end{DoxyCompactList}\item +\hyperlink{struct_angel_1_1vec3}{vec3} \hyperlink{model_8cpp_a63c9b090c6711fd0199e748c064b33e9}{calc\-Normal} (\hyperlink{struct_angel_1_1vec4}{Point4} \&a, \hyperlink{struct_angel_1_1vec4}{Point4} \&b, \hyperlink{struct_angel_1_1vec4}{Point4} \&c) +\begin{DoxyCompactList}\small\item\em Calculate the vector normal to the triangle formed by three \-\_\-vertices. \end{DoxyCompactList}\item +double \hyperlink{model_8cpp_a578108fa151d2df77af6ae4585c4bccc}{land\-Gen} (\hyperlink{class_object}{Object} $\ast$obj, int N, float H) +\begin{DoxyCompactList}\small\item\em Use the diamond-\/square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc. \end{DoxyCompactList}\item +void \hyperlink{model_8cpp_ad759245db436eebefc9a921e882bca3b}{make\-Agua} (\hyperlink{class_object}{Object} $\ast$land\-\_\-obj, \hyperlink{class_object}{Object} $\ast$agua\-\_\-obj) +\begin{DoxyCompactList}\small\item\em Adds a blue quadrilateral to an already-\/generated terrain object to create the appearance of water. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Functions related to constructing simple geometry. \begin{DoxyAuthor}{Authors} +Ed Angel, John Huston, Chris Compton, Nick St.\-Pierre +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/14 +\end{DoxyDate} + + +Definition in file \hyperlink{model_8cpp_source}{model.\-cpp}. + + + +\subsection{Macro Definition Documentation} +\hypertarget{model_8cpp_a876c92757e616a414576f3183cb49b17}{\index{model.\-cpp@{model.\-cpp}!Q\-U\-A\-D@{Q\-U\-A\-D}} +\index{Q\-U\-A\-D@{Q\-U\-A\-D}!model.cpp@{model.\-cpp}} +\subsubsection[{Q\-U\-A\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define Q\-U\-A\-D( +\begin{DoxyParamCaption} +\item[{}]{A, } +\item[{}]{B, } +\item[{}]{C, } +\item[{}]{D} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a876c92757e616a414576f3183cb49b17} +{\bfseries Value\-:} +\begin{DoxyCode} +\hyperlink{model_8cpp_a787f4c226d43da564315b1b8aefac6cc}{quad}( obj, vertices[A], vertices[B], vertices[C], vertices[D], \(\backslash\) + colors[A], colors[B], colors[C], colors[D] ); +\end{DoxyCode} + + +A macro to help quickly call \hyperlink{model_8cpp_a787f4c226d43da564315b1b8aefac6cc}{quad()} with correct parameters. + +\begin{DoxySeeAlso}{See Also} +\hyperlink{model_8cpp_a787f4c226d43da564315b1b8aefac6cc}{quad()}. +\end{DoxySeeAlso} + + +Definition at line 263 of file model.\-cpp. + + + +\subsection{Function Documentation} +\hypertarget{model_8cpp_a63c9b090c6711fd0199e748c064b33e9}{\index{model.\-cpp@{model.\-cpp}!calc\-Normal@{calc\-Normal}} +\index{calc\-Normal@{calc\-Normal}!model.cpp@{model.\-cpp}} +\subsubsection[{calc\-Normal}]{\setlength{\rightskip}{0pt plus 5cm}{\bf vec3} calc\-Normal ( +\begin{DoxyParamCaption} +\item[{{\bf Point4} \&}]{a, } +\item[{{\bf Point4} \&}]{b, } +\item[{{\bf Point4} \&}]{c} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a63c9b090c6711fd0199e748c064b33e9} + + +Calculate the vector normal to the triangle formed by three \-\_\-vertices. + + +\begin{DoxyParams}{Parameters} +{\em a} & First vertex. \\ +\hline +{\em b} & Second vertex. \\ +\hline +{\em c} & Third vertex.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +The vector normal to the plane formed by the triangle a,b,c. +\end{DoxyReturn} + + +Definition at line 347 of file model.\-cpp. + +\hypertarget{model_8cpp_a9aeb9d305a36f39f25137645d75eaa95}{\index{model.\-cpp@{model.\-cpp}!color\-Cube@{color\-Cube}} +\index{color\-Cube@{color\-Cube}!model.cpp@{model.\-cpp}} +\subsubsection[{color\-Cube}]{\setlength{\rightskip}{0pt plus 5cm}void color\-Cube ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{G\-Lfloat}]{size} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a9aeb9d305a36f39f25137645d75eaa95} + + +Creates a cube of a given size fixed at the origin, using all eight primary \-\_\-colors. + +Creates a cube of a given size fixed at the origin, using all eight primary colors. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em size} & The size of the cube to create. \\ +\hline +\end{DoxyParams} + + +Definition at line 305 of file model.\-cpp. + +\hypertarget{model_8cpp_ac902b9394c319b5d0ffa1a0071f6e504}{\index{model.\-cpp@{model.\-cpp}!create\-Point@{create\-Point}} +\index{create\-Point@{create\-Point}!model.cpp@{model.\-cpp}} +\subsubsection[{create\-Point}]{\setlength{\rightskip}{0pt plus 5cm}void create\-Point ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{{\bf Point4} const \&}]{the\-\_\-point, } +\item[{{\bf Color4} const \&}]{the\-\_\-color, } +\item[{{\bf vec3} const \&}]{the\-\_\-normal} +\end{DoxyParamCaption} +)}}\label{model_8cpp_ac902b9394c319b5d0ffa1a0071f6e504} + + +Adds another vertex to the specified object. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the vertex to. \\ +\hline +{\em the\-\_\-point} & The 4d spatial coordinate of the vertex. \\ +\hline +{\em the\-\_\-color} & The vec4 specifying the R\-G\-B\-A color value of the vertex. \\ +\hline +{\em the\-\_\-normal} & The vec3 that specifies the normal for this vertex. \\ +\hline +\end{DoxyParams} + + +Definition at line 37 of file model.\-cpp. + +\hypertarget{model_8cpp_a88b94550b90fbfab004aabc334260615}{\index{model.\-cpp@{model.\-cpp}!cube@{cube}} +\index{cube@{cube}!model.cpp@{model.\-cpp}} +\subsubsection[{cube}]{\setlength{\rightskip}{0pt plus 5cm}void cube ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const G\-Lfloat \&}]{size, } +\item[{const {\bf Color4}}]{colors\mbox{[}8\mbox{]}} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a88b94550b90fbfab004aabc334260615} + + +Create a cube of a given size fixed at the origin, using the eight \-\_\-colors specified. + +Create a cube of a given size fixed at the origin, using the eight colors specified. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em size} & The size of the cube to create. \\ +\hline +{\em colors} & An array of eight \-\_\-colors for the vertices. \\ +\hline +\end{DoxyParams} + + +Definition at line 275 of file model.\-cpp. + +\hypertarget{model_8cpp_aa897b7167b0e40599c4735cf0ac0d24c}{\index{model.\-cpp@{model.\-cpp}!divide\-Triangle@{divide\-Triangle}} +\index{divide\-Triangle@{divide\-Triangle}!model.cpp@{model.\-cpp}} +\subsubsection[{divide\-Triangle}]{\setlength{\rightskip}{0pt plus 5cm}void divide\-Triangle ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{int}]{times\-To\-Recurse, } +\item[{int}]{color} +\end{DoxyParamCaption} +)}}\label{model_8cpp_aa897b7167b0e40599c4735cf0ac0d24c} + + +Used in building the Sierpinski gasket\-: Takes the coordinate for a triangle and splits it into several smaller triangles. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the triangles to. \\ +\hline +{\em a} & The first spatial coordinate for the triangle. \\ +\hline +{\em b} & The second spatial coordinate for the triangle. \\ +\hline +{\em c} & The third spatial coordinate for the triangle. \\ +\hline +{\em times\-To\-Recurse} & The number of times to subdivide. \\ +\hline +{\em color} & An index for the color to use for the triangle\-: \{ Red, Green, Blue, Yellow, Pink, White \} \\ +\hline +\end{DoxyParams} + + +Definition at line 118 of file model.\-cpp. + +\hypertarget{model_8cpp_a1c53f4777590deb64c28e8ebb64a321d}{\index{model.\-cpp@{model.\-cpp}!jitter@{jitter}} +\index{jitter@{jitter}!model.cpp@{model.\-cpp}} +\subsubsection[{jitter}]{\setlength{\rightskip}{0pt plus 5cm}double jitter ( +\begin{DoxyParamCaption} +\item[{double}]{H} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a1c53f4777590deb64c28e8ebb64a321d} + + +Returns a random float between \mbox{[}-\/\-H,H\mbox{]}. + + +\begin{DoxyParams}{Parameters} +{\em H} & The range for the random float. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +a random float between \mbox{[}-\/\-H,H\mbox{]}. +\end{DoxyReturn} + + +Definition at line 335 of file model.\-cpp. + +\hypertarget{model_8cpp_a578108fa151d2df77af6ae4585c4bccc}{\index{model.\-cpp@{model.\-cpp}!land\-Gen@{land\-Gen}} +\index{land\-Gen@{land\-Gen}!model.cpp@{model.\-cpp}} +\subsubsection[{land\-Gen}]{\setlength{\rightskip}{0pt plus 5cm}double land\-Gen ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{int}]{N, } +\item[{float}]{H} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a578108fa151d2df77af6ae4585c4bccc} + + +Use the diamond-\/square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em N} & The size of the terrain\-: Will be n$^\wedge$2 x n$^\wedge$2 evenly spaced vertices. \\ +\hline +{\em H} & The height 'randomness' factor.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +The maximum height actually achieved in this terrain generation. +\end{DoxyReturn} + + +Definition at line 397 of file model.\-cpp. + +\hypertarget{model_8cpp_ad759245db436eebefc9a921e882bca3b}{\index{model.\-cpp@{model.\-cpp}!make\-Agua@{make\-Agua}} +\index{make\-Agua@{make\-Agua}!model.cpp@{model.\-cpp}} +\subsubsection[{make\-Agua}]{\setlength{\rightskip}{0pt plus 5cm}void make\-Agua ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{land\-\_\-obj, } +\item[{{\bf Object} $\ast$}]{agua\-\_\-obj} +\end{DoxyParamCaption} +)}}\label{model_8cpp_ad759245db436eebefc9a921e882bca3b} + + +Adds a blue quadrilateral to an already-\/generated terrain object to create the appearance of water. + + +\begin{DoxyParams}{Parameters} +{\em land\-\_\-obj} & \\ +\hline +{\em agua\-\_\-obj} & \\ +\hline +\end{DoxyParams} +What should the water's height be? + +Definition at line 558 of file model.\-cpp. + +\hypertarget{model_8cpp_a787f4c226d43da564315b1b8aefac6cc}{\index{model.\-cpp@{model.\-cpp}!quad@{quad}} +\index{quad@{quad}!model.cpp@{model.\-cpp}} +\subsubsection[{quad}]{\setlength{\rightskip}{0pt plus 5cm}void quad ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{const {\bf Point4} \&}]{d, } +\item[{const {\bf Color4} \&}]{A, } +\item[{const {\bf Color4} \&}]{B, } +\item[{const {\bf Color4} \&}]{C, } +\item[{const {\bf Color4} \&}]{D} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a787f4c226d43da564315b1b8aefac6cc} + + +Create a quadrilateral from four \-\_\-vertices and four \-\_\-colors. + +Create a quadrilateral from four points and four colors. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em a} & The first spatial point. \\ +\hline +{\em b} & The second spatial point. \\ +\hline +{\em c} & The third spatial point. \\ +\hline +{\em d} & The fourth spatial point. \\ +\hline +{\em A} & The color of the first point. \\ +\hline +{\em B} & The color of the second point. \\ +\hline +{\em C} & The color of the third point. \\ +\hline +{\em D} & The color of the fourth point. \\ +\hline +\end{DoxyParams} + + +Definition at line 237 of file model.\-cpp. + +\hypertarget{model_8cpp_a476a380b7a6a48dc7d762716b041def8}{\index{model.\-cpp@{model.\-cpp}!rand\-Float@{rand\-Float}} +\index{rand\-Float@{rand\-Float}!model.cpp@{model.\-cpp}} +\subsubsection[{rand\-Float}]{\setlength{\rightskip}{0pt plus 5cm}float rand\-Float ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a476a380b7a6a48dc7d762716b041def8} + + +Return a randomized float value! + +\begin{DoxyReturn}{Returns} +A random float, just for you! +\end{DoxyReturn} + + +Definition at line 326 of file model.\-cpp. + +\hypertarget{model_8cpp_abaad50597737c633264748efecf95c14}{\index{model.\-cpp@{model.\-cpp}!recursive\-Model\-Gen@{recursive\-Model\-Gen}} +\index{recursive\-Model\-Gen@{recursive\-Model\-Gen}!model.cpp@{model.\-cpp}} +\subsubsection[{recursive\-Model\-Gen}]{\setlength{\rightskip}{0pt plus 5cm}void recursive\-Model\-Gen ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{const {\bf Point4} \&}]{d, } +\item[{int}]{times\-To\-Recurse, } +\item[{int}]{color} +\end{DoxyParamCaption} +)}}\label{model_8cpp_abaad50597737c633264748efecf95c14} + + +Given a quadrilateral, splits it up into smaller quadrilaterals. + +Used in the generation of spheres! F\-I\-X\-M\-E\-: Nick St.\-Pierre (Documentation!) + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em a} & The first spatial coordinate. \\ +\hline +{\em b} & The second spatial coordinate. \\ +\hline +{\em c} & The third spatial coordinate. \\ +\hline +{\em d} & The fourth spatial coordinate. \\ +\hline +{\em times\-To\-Recurse} & The number of subdivisions to make. \\ +\hline +{\em color} & An index for the color to use for the triangle\-: \{ Red, Green, Blue, Yellow, Pink, White \} \\ +\hline +\end{DoxyParams} + + +Definition at line 195 of file model.\-cpp. + +\hypertarget{model_8cpp_a91ce6a85aa63ffb60c564014e4d060b1}{\index{model.\-cpp@{model.\-cpp}!sierpinski\-Pyramid@{sierpinski\-Pyramid}} +\index{sierpinski\-Pyramid@{sierpinski\-Pyramid}!model.cpp@{model.\-cpp}} +\subsubsection[{sierpinski\-Pyramid}]{\setlength{\rightskip}{0pt plus 5cm}void sierpinski\-Pyramid ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{const {\bf Point4} \&}]{d, } +\item[{int}]{count} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a91ce6a85aa63ffb60c564014e4d060b1} + + +Forms a Sierpinski Pyramid object given four 4\-D \-\_\-vertices in space. + +Forms a Sierpinski Pyramid object given four 4\-D points in space. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em a} & The first coordinate. \\ +\hline +{\em b} & The second coordinate. \\ +\hline +{\em c} & The third coordinate. \\ +\hline +{\em d} & The fourth coordinate. \\ +\hline +{\em count} & The number of recursions to perform to construct the gasket. \\ +\hline +\end{DoxyParams} + + +Definition at line 163 of file model.\-cpp. + +\hypertarget{model_8cpp_a152e6c0e91107b949df03ca399251fd8}{\index{model.\-cpp@{model.\-cpp}!sphere@{sphere}} +\index{sphere@{sphere}!model.cpp@{model.\-cpp}} +\subsubsection[{sphere}]{\setlength{\rightskip}{0pt plus 5cm}void sphere ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a152e6c0e91107b949df03ca399251fd8} + + +Creates a white sphere. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +\end{DoxyParams} + + +Definition at line 210 of file model.\-cpp. + +\hypertarget{model_8cpp_a9329f4c58e0cbb25cadc1238698efedb}{\index{model.\-cpp@{model.\-cpp}!tetra@{tetra}} +\index{tetra@{tetra}!model.cpp@{model.\-cpp}} +\subsubsection[{tetra}]{\setlength{\rightskip}{0pt plus 5cm}void tetra ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{const {\bf Point4} \&}]{d} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a9329f4c58e0cbb25cadc1238698efedb} + + +Creates a tetrahedron using four triangles. + +(12 vertices.) + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the Tetrahedron to/ \\ +\hline +{\em a} & The first spatial coordinate for the tetrahedron. \\ +\hline +{\em b} & The second spatial coordinate for the tetrahedron. \\ +\hline +{\em c} & The third spatial coordinate for the tetrahedron. \\ +\hline +{\em d} & The fourth spatial coordinate for the tetrahedron. \\ +\hline +\end{DoxyParams} + + +Definition at line 144 of file model.\-cpp. + +\hypertarget{model_8cpp_a133b051eb2aaf6c9d8dee920155a19c1}{\index{model.\-cpp@{model.\-cpp}!triangle@{triangle}} +\index{triangle@{triangle}!model.cpp@{model.\-cpp}} +\subsubsection[{triangle}]{\setlength{\rightskip}{0pt plus 5cm}void triangle ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{const int}]{color} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a133b051eb2aaf6c9d8dee920155a19c1} + + +Creates a triangle primitive from three spatial coordinates. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the triangle to. \\ +\hline +{\em a} & The location of the first vertex. \\ +\hline +{\em b} & The location of the second vertex. \\ +\hline +{\em c} & The location of the third vertex. \\ +\hline +{\em color} & An index for the color to use for the triangle\-: \{ Red, Green, Blue, Yellow, Pink, White \} \\ +\hline +\end{DoxyParams} + + +Definition at line 56 of file model.\-cpp. + +\hypertarget{model_8cpp_a91cf20a293963e386f47242761f62e4e}{\index{model.\-cpp@{model.\-cpp}!unit@{unit}} +\index{unit@{unit}!model.cpp@{model.\-cpp}} +\subsubsection[{unit}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point4} unit ( +\begin{DoxyParamCaption} +\item[{const {\bf Point4} \&}]{p} +\end{DoxyParamCaption} +)}}\label{model_8cpp_a91cf20a293963e386f47242761f62e4e} + + +Ed Angel utility function\-: Used to normalize a vector. + +T\-O\-D\-O\-: Is this a redundant version of Angel\-::normalize? + + +\begin{DoxyParams}{Parameters} +{\em p} & \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} + +\end{DoxyReturn} + + +Definition at line 88 of file model.\-cpp. + diff --git a/Doxygen/Docs/latex/model_8hpp.tex b/Doxygen/Docs/latex/model_8hpp.tex new file mode 100644 index 00000000..eb144dcc --- /dev/null +++ b/Doxygen/Docs/latex/model_8hpp.tex @@ -0,0 +1,483 @@ +\hypertarget{model_8hpp}{\section{model.\-hpp File Reference} +\label{model_8hpp}\index{model.\-hpp@{model.\-hpp}} +} + + +Headers for Functions related to constructing simple geometry. + + +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Object.\-hpp\char`\"{}}\\* +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +void \hyperlink{model_8hpp_ac902b9394c319b5d0ffa1a0071f6e504}{create\-Point} (\hyperlink{class_object}{Object} $\ast$obj, \hyperlink{struct_angel_1_1vec4}{Point4} const \&the\-\_\-point, \hyperlink{struct_angel_1_1vec4}{Color4} const \&the\-\_\-color, \hyperlink{struct_angel_1_1vec3}{vec3} const \&the\-\_\-normal) +\begin{DoxyCompactList}\small\item\em Adds another vertex to the specified object. \end{DoxyCompactList}\item +void \hyperlink{model_8hpp_a133b051eb2aaf6c9d8dee920155a19c1}{triangle} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, const int color) +\begin{DoxyCompactList}\small\item\em Creates a triangle primitive from three spatial coordinates. \end{DoxyCompactList}\item +void \hyperlink{model_8hpp_aa897b7167b0e40599c4735cf0ac0d24c}{divide\-Triangle} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, int times\-To\-Recurse, int color) +\begin{DoxyCompactList}\small\item\em Used in building the Sierpinski gasket\-: Takes the coordinate for a triangle and splits it into several smaller triangles. \end{DoxyCompactList}\item +void \hyperlink{model_8hpp_a9329f4c58e0cbb25cadc1238698efedb}{tetra} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, const \hyperlink{struct_angel_1_1vec4}{Point4} \&d) +\begin{DoxyCompactList}\small\item\em Creates a tetrahedron using four triangles. \end{DoxyCompactList}\item +void \hyperlink{model_8hpp_a91ce6a85aa63ffb60c564014e4d060b1}{sierpinski\-Pyramid} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, const \hyperlink{struct_angel_1_1vec4}{Point4} \&d, int count) +\begin{DoxyCompactList}\small\item\em Forms a Sierpinski Pyramid object given four 4\-D points in space. \end{DoxyCompactList}\item +void \hyperlink{model_8hpp_abaad50597737c633264748efecf95c14}{recursive\-Model\-Gen} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, const \hyperlink{struct_angel_1_1vec4}{Point4} \&d, int times\-To\-Recurse, int color) +\begin{DoxyCompactList}\small\item\em Given a quadrilateral, splits it up into smaller quadrilaterals. \end{DoxyCompactList}\item +void \hyperlink{model_8hpp_a152e6c0e91107b949df03ca399251fd8}{sphere} (\hyperlink{class_object}{Object} $\ast$obj) +\begin{DoxyCompactList}\small\item\em Creates a white sphere. \end{DoxyCompactList}\item +void \hyperlink{model_8hpp_a787f4c226d43da564315b1b8aefac6cc}{quad} (\hyperlink{class_object}{Object} $\ast$obj, const \hyperlink{struct_angel_1_1vec4}{Point4} \&a, const \hyperlink{struct_angel_1_1vec4}{Point4} \&b, const \hyperlink{struct_angel_1_1vec4}{Point4} \&c, const \hyperlink{struct_angel_1_1vec4}{Point4} \&d, const \hyperlink{struct_angel_1_1vec4}{Color4} \&A, const \hyperlink{struct_angel_1_1vec4}{Color4} \&B, const \hyperlink{struct_angel_1_1vec4}{Color4} \&C, const \hyperlink{struct_angel_1_1vec4}{Color4} \&D) +\begin{DoxyCompactList}\small\item\em Create a quadrilateral from four points and four colors. \end{DoxyCompactList}\item +void \hyperlink{model_8hpp_a88b94550b90fbfab004aabc334260615}{cube} (\hyperlink{class_object}{Object} $\ast$obj, const G\-Lfloat \&size, const \hyperlink{struct_angel_1_1vec4}{Color4} colors\mbox{[}8\mbox{]}) +\begin{DoxyCompactList}\small\item\em Create a cube of a given size fixed at the origin, using the eight colors specified. \end{DoxyCompactList}\item +void \hyperlink{model_8hpp_a9aeb9d305a36f39f25137645d75eaa95}{color\-Cube} (\hyperlink{class_object}{Object} $\ast$obj, G\-Lfloat size) +\begin{DoxyCompactList}\small\item\em Creates a cube of a given size fixed at the origin, using all eight primary colors. \end{DoxyCompactList}\item +double \hyperlink{model_8hpp_a578108fa151d2df77af6ae4585c4bccc}{land\-Gen} (\hyperlink{class_object}{Object} $\ast$obj, int N, float H) +\begin{DoxyCompactList}\small\item\em Use the diamond-\/square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc. \end{DoxyCompactList}\item +void \hyperlink{model_8hpp_ad759245db436eebefc9a921e882bca3b}{make\-Agua} (\hyperlink{class_object}{Object} $\ast$land\-\_\-obj, \hyperlink{class_object}{Object} $\ast$agua\-\_\-obj) +\begin{DoxyCompactList}\small\item\em Adds a blue quadrilateral to an already-\/generated terrain object to create the appearance of water. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Headers for Functions related to constructing simple geometry. \begin{DoxyAuthor}{Authors} +Ed Angel, John Huston, Chris Compton, Nick St.\-Pierre +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/14 +\end{DoxyDate} + + +Definition in file \hyperlink{model_8hpp_source}{model.\-hpp}. + + + +\subsection{Function Documentation} +\hypertarget{model_8hpp_a9aeb9d305a36f39f25137645d75eaa95}{\index{model.\-hpp@{model.\-hpp}!color\-Cube@{color\-Cube}} +\index{color\-Cube@{color\-Cube}!model.hpp@{model.\-hpp}} +\subsubsection[{color\-Cube}]{\setlength{\rightskip}{0pt plus 5cm}void color\-Cube ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{G\-Lfloat}]{size} +\end{DoxyParamCaption} +)}}\label{model_8hpp_a9aeb9d305a36f39f25137645d75eaa95} + + +Creates a cube of a given size fixed at the origin, using all eight primary colors. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em size} & The size of the cube to create.\\ +\hline +\end{DoxyParams} +Creates a cube of a given size fixed at the origin, using all eight primary colors. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em size} & The size of the cube to create. \\ +\hline +\end{DoxyParams} + + +Definition at line 305 of file model.\-cpp. + +\hypertarget{model_8hpp_ac902b9394c319b5d0ffa1a0071f6e504}{\index{model.\-hpp@{model.\-hpp}!create\-Point@{create\-Point}} +\index{create\-Point@{create\-Point}!model.hpp@{model.\-hpp}} +\subsubsection[{create\-Point}]{\setlength{\rightskip}{0pt plus 5cm}void create\-Point ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{{\bf Point4} const \&}]{the\-\_\-point, } +\item[{{\bf Color4} const \&}]{the\-\_\-color, } +\item[{{\bf vec3} const \&}]{the\-\_\-normal} +\end{DoxyParamCaption} +)}}\label{model_8hpp_ac902b9394c319b5d0ffa1a0071f6e504} + + +Adds another vertex to the specified object. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the vertex to. \\ +\hline +{\em the\-\_\-point} & The 4d spatial coordinate of the vertex. \\ +\hline +{\em the\-\_\-color} & The vec4 specifying the R\-G\-B\-A color value of the vertex. \\ +\hline +{\em the\-\_\-normal} & The vec3 that specifies the normal for this vertex. \\ +\hline +\end{DoxyParams} + + +Definition at line 37 of file model.\-cpp. + +\hypertarget{model_8hpp_a88b94550b90fbfab004aabc334260615}{\index{model.\-hpp@{model.\-hpp}!cube@{cube}} +\index{cube@{cube}!model.hpp@{model.\-hpp}} +\subsubsection[{cube}]{\setlength{\rightskip}{0pt plus 5cm}void cube ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const G\-Lfloat \&}]{size, } +\item[{const {\bf Color4}}]{colors\mbox{[}8\mbox{]}} +\end{DoxyParamCaption} +)}}\label{model_8hpp_a88b94550b90fbfab004aabc334260615} + + +Create a cube of a given size fixed at the origin, using the eight colors specified. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em size} & The size of the cube to create. \\ +\hline +{\em colors} & An array of eight colors for the vertices.\\ +\hline +\end{DoxyParams} +Create a cube of a given size fixed at the origin, using the eight colors specified. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em size} & The size of the cube to create. \\ +\hline +{\em colors} & An array of eight \-\_\-colors for the vertices. \\ +\hline +\end{DoxyParams} + + +Definition at line 275 of file model.\-cpp. + +\hypertarget{model_8hpp_aa897b7167b0e40599c4735cf0ac0d24c}{\index{model.\-hpp@{model.\-hpp}!divide\-Triangle@{divide\-Triangle}} +\index{divide\-Triangle@{divide\-Triangle}!model.hpp@{model.\-hpp}} +\subsubsection[{divide\-Triangle}]{\setlength{\rightskip}{0pt plus 5cm}void divide\-Triangle ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{int}]{times\-To\-Recurse, } +\item[{int}]{color} +\end{DoxyParamCaption} +)}}\label{model_8hpp_aa897b7167b0e40599c4735cf0ac0d24c} + + +Used in building the Sierpinski gasket\-: Takes the coordinate for a triangle and splits it into several smaller triangles. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the triangles to. \\ +\hline +{\em a} & The first spatial coordinate for the triangle. \\ +\hline +{\em b} & The second spatial coordinate for the triangle. \\ +\hline +{\em c} & The third spatial coordinate for the triangle. \\ +\hline +{\em times\-To\-Recurse} & The number of times to subdivide. \\ +\hline +{\em color} & An index for the color to use for the triangle\-: \{ Red, Green, Blue, Yellow, Pink, White \} \\ +\hline +\end{DoxyParams} + + +Definition at line 118 of file model.\-cpp. + +\hypertarget{model_8hpp_a578108fa151d2df77af6ae4585c4bccc}{\index{model.\-hpp@{model.\-hpp}!land\-Gen@{land\-Gen}} +\index{land\-Gen@{land\-Gen}!model.hpp@{model.\-hpp}} +\subsubsection[{land\-Gen}]{\setlength{\rightskip}{0pt plus 5cm}double land\-Gen ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{int}]{N, } +\item[{float}]{H} +\end{DoxyParamCaption} +)}}\label{model_8hpp_a578108fa151d2df77af6ae4585c4bccc} + + +Use the diamond-\/square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em N} & The size of the terrain\-: Will be n$^\wedge$2 x n$^\wedge$2 evenly spaced vertices. \\ +\hline +{\em H} & The height 'randomness' factor.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +The maximum height actually achieved in this terrain generation. +\end{DoxyReturn} + + +Definition at line 397 of file model.\-cpp. + +\hypertarget{model_8hpp_ad759245db436eebefc9a921e882bca3b}{\index{model.\-hpp@{model.\-hpp}!make\-Agua@{make\-Agua}} +\index{make\-Agua@{make\-Agua}!model.hpp@{model.\-hpp}} +\subsubsection[{make\-Agua}]{\setlength{\rightskip}{0pt plus 5cm}void make\-Agua ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{land\-\_\-obj, } +\item[{{\bf Object} $\ast$}]{agua\-\_\-obj} +\end{DoxyParamCaption} +)}}\label{model_8hpp_ad759245db436eebefc9a921e882bca3b} + + +Adds a blue quadrilateral to an already-\/generated terrain object to create the appearance of water. + + +\begin{DoxyParams}{Parameters} +{\em land\-\_\-obj} & \\ +\hline +{\em agua\-\_\-obj} & \\ +\hline +\end{DoxyParams} +What should the water's height be? + +Definition at line 558 of file model.\-cpp. + +\hypertarget{model_8hpp_a787f4c226d43da564315b1b8aefac6cc}{\index{model.\-hpp@{model.\-hpp}!quad@{quad}} +\index{quad@{quad}!model.hpp@{model.\-hpp}} +\subsubsection[{quad}]{\setlength{\rightskip}{0pt plus 5cm}void quad ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{const {\bf Point4} \&}]{d, } +\item[{const {\bf Color4} \&}]{A, } +\item[{const {\bf Color4} \&}]{B, } +\item[{const {\bf Color4} \&}]{C, } +\item[{const {\bf Color4} \&}]{D} +\end{DoxyParamCaption} +)}}\label{model_8hpp_a787f4c226d43da564315b1b8aefac6cc} + + +Create a quadrilateral from four points and four colors. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em a} & The first spatial point. \\ +\hline +{\em b} & The second spatial point. \\ +\hline +{\em c} & The third spatial point. \\ +\hline +{\em d} & The fourth spatial point. \\ +\hline +{\em A} & The color of the first point. \\ +\hline +{\em B} & The color of the second point. \\ +\hline +{\em C} & The color of the third point. \\ +\hline +{\em D} & The color of the fourth point.\\ +\hline +\end{DoxyParams} +Create a quadrilateral from four points and four colors. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em a} & The first spatial point. \\ +\hline +{\em b} & The second spatial point. \\ +\hline +{\em c} & The third spatial point. \\ +\hline +{\em d} & The fourth spatial point. \\ +\hline +{\em A} & The color of the first point. \\ +\hline +{\em B} & The color of the second point. \\ +\hline +{\em C} & The color of the third point. \\ +\hline +{\em D} & The color of the fourth point. \\ +\hline +\end{DoxyParams} + + +Definition at line 237 of file model.\-cpp. + +\hypertarget{model_8hpp_abaad50597737c633264748efecf95c14}{\index{model.\-hpp@{model.\-hpp}!recursive\-Model\-Gen@{recursive\-Model\-Gen}} +\index{recursive\-Model\-Gen@{recursive\-Model\-Gen}!model.hpp@{model.\-hpp}} +\subsubsection[{recursive\-Model\-Gen}]{\setlength{\rightskip}{0pt plus 5cm}void recursive\-Model\-Gen ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{const {\bf Point4} \&}]{d, } +\item[{int}]{times\-To\-Recurse, } +\item[{int}]{color} +\end{DoxyParamCaption} +)}}\label{model_8hpp_abaad50597737c633264748efecf95c14} + + +Given a quadrilateral, splits it up into smaller quadrilaterals. + +Used in the generation of spheres! F\-I\-X\-M\-E\-: Nick St.\-Pierre (Documentation!) + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em a} & The first spatial coordinate. \\ +\hline +{\em b} & The second spatial coordinate. \\ +\hline +{\em c} & The third spatial coordinate. \\ +\hline +{\em d} & The fourth spatial coordinate. \\ +\hline +{\em times\-To\-Recurse} & The number of subdivisions to make. \\ +\hline +{\em color} & An index for the color to use for the triangle\-: \{ Red, Green, Blue, Yellow, Pink, White \} \\ +\hline +\end{DoxyParams} + + +Definition at line 195 of file model.\-cpp. + +\hypertarget{model_8hpp_a91ce6a85aa63ffb60c564014e4d060b1}{\index{model.\-hpp@{model.\-hpp}!sierpinski\-Pyramid@{sierpinski\-Pyramid}} +\index{sierpinski\-Pyramid@{sierpinski\-Pyramid}!model.hpp@{model.\-hpp}} +\subsubsection[{sierpinski\-Pyramid}]{\setlength{\rightskip}{0pt plus 5cm}void sierpinski\-Pyramid ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{const {\bf Point4} \&}]{d, } +\item[{int}]{count} +\end{DoxyParamCaption} +)}}\label{model_8hpp_a91ce6a85aa63ffb60c564014e4d060b1} + + +Forms a Sierpinski Pyramid object given four 4\-D points in space. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em a} & The first coordinate. \\ +\hline +{\em b} & The second coordinate. \\ +\hline +{\em c} & The third coordinate. \\ +\hline +{\em d} & The fourth coordinate. \\ +\hline +{\em count} & The number of recursions to perform to construct the gasket.\\ +\hline +\end{DoxyParams} +Forms a Sierpinski Pyramid object given four 4\-D points in space. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +{\em a} & The first coordinate. \\ +\hline +{\em b} & The second coordinate. \\ +\hline +{\em c} & The third coordinate. \\ +\hline +{\em d} & The fourth coordinate. \\ +\hline +{\em count} & The number of recursions to perform to construct the gasket. \\ +\hline +\end{DoxyParams} + + +Definition at line 163 of file model.\-cpp. + +\hypertarget{model_8hpp_a152e6c0e91107b949df03ca399251fd8}{\index{model.\-hpp@{model.\-hpp}!sphere@{sphere}} +\index{sphere@{sphere}!model.hpp@{model.\-hpp}} +\subsubsection[{sphere}]{\setlength{\rightskip}{0pt plus 5cm}void sphere ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj} +\end{DoxyParamCaption} +)}}\label{model_8hpp_a152e6c0e91107b949df03ca399251fd8} + + +Creates a white sphere. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the geometry to. \\ +\hline +\end{DoxyParams} + + +Definition at line 210 of file model.\-cpp. + +\hypertarget{model_8hpp_a9329f4c58e0cbb25cadc1238698efedb}{\index{model.\-hpp@{model.\-hpp}!tetra@{tetra}} +\index{tetra@{tetra}!model.hpp@{model.\-hpp}} +\subsubsection[{tetra}]{\setlength{\rightskip}{0pt plus 5cm}void tetra ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{const {\bf Point4} \&}]{d} +\end{DoxyParamCaption} +)}}\label{model_8hpp_a9329f4c58e0cbb25cadc1238698efedb} + + +Creates a tetrahedron using four triangles. + +(12 vertices.) + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the Tetrahedron to/ \\ +\hline +{\em a} & The first spatial coordinate for the tetrahedron. \\ +\hline +{\em b} & The second spatial coordinate for the tetrahedron. \\ +\hline +{\em c} & The third spatial coordinate for the tetrahedron. \\ +\hline +{\em d} & The fourth spatial coordinate for the tetrahedron. \\ +\hline +\end{DoxyParams} + + +Definition at line 144 of file model.\-cpp. + +\hypertarget{model_8hpp_a133b051eb2aaf6c9d8dee920155a19c1}{\index{model.\-hpp@{model.\-hpp}!triangle@{triangle}} +\index{triangle@{triangle}!model.hpp@{model.\-hpp}} +\subsubsection[{triangle}]{\setlength{\rightskip}{0pt plus 5cm}void triangle ( +\begin{DoxyParamCaption} +\item[{{\bf Object} $\ast$}]{obj, } +\item[{const {\bf Point4} \&}]{a, } +\item[{const {\bf Point4} \&}]{b, } +\item[{const {\bf Point4} \&}]{c, } +\item[{const int}]{color} +\end{DoxyParamCaption} +)}}\label{model_8hpp_a133b051eb2aaf6c9d8dee920155a19c1} + + +Creates a triangle primitive from three spatial coordinates. + + +\begin{DoxyParams}{Parameters} +{\em obj} & The object to add the triangle to. \\ +\hline +{\em a} & The location of the first vertex. \\ +\hline +{\em b} & The location of the second vertex. \\ +\hline +{\em c} & The location of the third vertex. \\ +\hline +{\em color} & An index for the color to use for the triangle\-: \{ Red, Green, Blue, Yellow, Pink, White \} \\ +\hline +\end{DoxyParams} + + +Definition at line 56 of file model.\-cpp. + diff --git a/Doxygen/Docs/latex/model_functions_8cpp.tex b/Doxygen/Docs/latex/model_functions_8cpp.tex new file mode 100644 index 00000000..a7a6fc97 --- /dev/null +++ b/Doxygen/Docs/latex/model_functions_8cpp.tex @@ -0,0 +1,36 @@ +\hypertarget{model_functions_8cpp}{\section{model\-Functions.\-cpp File Reference} +\label{model_functions_8cpp}\index{model\-Functions.\-cpp@{model\-Functions.\-cpp}} +} + + +F\-I\-X\-M\-E\-: Documentation needed from Zach. + + +{\ttfamily \#include $<$vector$>$}\\* +{\ttfamily \#include \char`\"{}model\-Functions.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Object.\-hpp\char`\"{}}\\* +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{model_functions_8cpp_a73f8d076cd88574e6e934ef593052205}{float {\bfseries three\-Dimensional\-Distance} (\hyperlink{struct_angel_1_1vec4}{vec4} points1, \hyperlink{struct_angel_1_1vec4}{vec4} points2)}\label{model_functions_8cpp_a73f8d076cd88574e6e934ef593052205} + +\item +\hypertarget{model_functions_8cpp_a3344feaa135e3129eecc65749dfa1e88}{int {\bfseries find\-Triangle\-With\-Minimum\-Distance} (\hyperlink{class_object}{Object} $\ast$larger\-Model, \hyperlink{class_object}{Object} $\ast$smaller\-Model, int index)}\label{model_functions_8cpp_a3344feaa135e3129eecc65749dfa1e88} + +\item +\hypertarget{model_functions_8cpp_a6a10d71454bc88fdf056a6077870cf64}{void {\bfseries make\-Models\-Same\-Size} (\hyperlink{class_object}{Object} $\ast$model1, \hyperlink{class_object}{Object} $\ast$model2)}\label{model_functions_8cpp_a6a10d71454bc88fdf056a6077870cf64} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +F\-I\-X\-M\-E\-: Documentation needed from Zach. \begin{DoxyDate}{Date} +2013-\/03-\/15 +\end{DoxyDate} +\begin{DoxyAuthor}{Author} +Zach Maybury +\end{DoxyAuthor} +Functions related to morphing. + +Definition in file \hyperlink{model_functions_8cpp_source}{model\-Functions.\-cpp}. + diff --git a/Doxygen/Docs/latex/model_functions_8hpp.tex b/Doxygen/Docs/latex/model_functions_8hpp.tex new file mode 100644 index 00000000..d9d34b67 --- /dev/null +++ b/Doxygen/Docs/latex/model_functions_8hpp.tex @@ -0,0 +1,40 @@ +\hypertarget{model_functions_8hpp}{\section{model\-Functions.\-hpp File Reference} +\label{model_functions_8hpp}\index{model\-Functions.\-hpp@{model\-Functions.\-hpp}} +} + + +F\-I\-X\-M\-E\-: Documentation needed from Zach. + + +{\ttfamily \#include $<$vector$>$}\\* +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include $<$cmath$>$}\\* +{\ttfamily \#include \char`\"{}platform.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}mat.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Scene.\-hpp\char`\"{}}\\* +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{model_functions_8hpp_a6a10d71454bc88fdf056a6077870cf64}{void {\bfseries make\-Models\-Same\-Size} (\hyperlink{class_object}{Object} $\ast$model1, \hyperlink{class_object}{Object} $\ast$model2)}\label{model_functions_8hpp_a6a10d71454bc88fdf056a6077870cf64} + +\item +\hypertarget{model_functions_8hpp_a3344feaa135e3129eecc65749dfa1e88}{int {\bfseries find\-Triangle\-With\-Minimum\-Distance} (\hyperlink{class_object}{Object} $\ast$larger\-Model, \hyperlink{class_object}{Object} $\ast$smaller\-Model, int index)}\label{model_functions_8hpp_a3344feaa135e3129eecc65749dfa1e88} + +\item +\hypertarget{model_functions_8hpp_a73f8d076cd88574e6e934ef593052205}{float {\bfseries three\-Dimensional\-Distance} (\hyperlink{struct_angel_1_1vec4}{vec4} points1, \hyperlink{struct_angel_1_1vec4}{vec4} points2)}\label{model_functions_8hpp_a73f8d076cd88574e6e934ef593052205} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +F\-I\-X\-M\-E\-: Documentation needed from Zach. \begin{DoxyDate}{Date} +2013-\/03-\/15 +\end{DoxyDate} +\begin{DoxyAuthor}{Author} +Zach Maybury +\end{DoxyAuthor} +Headers for functions related to morphing. + +Definition in file \hyperlink{model_functions_8hpp_source}{model\-Functions.\-hpp}. + diff --git a/Doxygen/Docs/latex/morphlite_8cpp.tex b/Doxygen/Docs/latex/morphlite_8cpp.tex new file mode 100644 index 00000000..9536f9ca --- /dev/null +++ b/Doxygen/Docs/latex/morphlite_8cpp.tex @@ -0,0 +1,104 @@ +\hypertarget{morphlite_8cpp}{\section{morphlite.\-cpp File Reference} +\label{morphlite_8cpp}\index{morphlite.\-cpp@{morphlite.\-cpp}} +} + + +This is a derivative of H\-S\-C's Fall 2012 project. + + +{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}platform.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Camera.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Cameras.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Screen.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Object.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Timer.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Scene.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Engine.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}model.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Init\-Shader.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}glut\-\_\-callbacks.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Obj\-Loader.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}eric\-\_\-rules.\-hpp\char`\"{}}\\* +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{morphlite_8cpp_a02fd73d861ef2e4aabb38c0c9ff82947}{void \hyperlink{morphlite_8cpp_a02fd73d861ef2e4aabb38c0c9ff82947}{init} ()}\label{morphlite_8cpp_a02fd73d861ef2e4aabb38c0c9ff82947} + +\begin{DoxyCompactList}\small\item\em Initialization\-: load and compile shaders, initialize camera(s), load models. \end{DoxyCompactList}\item +\hypertarget{morphlite_8cpp_aeb94fbd457627182ceee7e505f432541}{void \hyperlink{morphlite_8cpp_aeb94fbd457627182ceee7e505f432541}{cleanup} (void)}\label{morphlite_8cpp_aeb94fbd457627182ceee7e505f432541} + +\begin{DoxyCompactList}\small\item\em Cleans up our scene graph. \end{DoxyCompactList}\item +\hypertarget{morphlite_8cpp_ad2e97e7b54d0bf35e406b91fbdd2f256}{void \hyperlink{morphlite_8cpp_ad2e97e7b54d0bf35e406b91fbdd2f256}{draw} (void)}\label{morphlite_8cpp_ad2e97e7b54d0bf35e406b91fbdd2f256} + +\begin{DoxyCompactList}\small\item\em Implementation of drawing the display with regards to a single viewport. \end{DoxyCompactList}\item +\hypertarget{morphlite_8cpp_a4ea013001a5fb47853d0fab8f8de35cd}{void \hyperlink{morphlite_8cpp_a4ea013001a5fb47853d0fab8f8de35cd}{display} (void)}\label{morphlite_8cpp_a4ea013001a5fb47853d0fab8f8de35cd} + +\begin{DoxyCompactList}\small\item\em Display/\-Render the entire screen. \end{DoxyCompactList}\item +void \hyperlink{morphlite_8cpp_a01131b63acf241e9db91704d89ce15d2}{idle} (void) +\begin{DoxyCompactList}\small\item\em Compute time since last idle, update camera positions, redisplay. \end{DoxyCompactList}\item +int \hyperlink{morphlite_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}{main} (int argc, char $\ast$$\ast$argv) +\begin{DoxyCompactList}\small\item\em This is a bottle morphing demo! It illustrates simply how to do a simple linear interpolation morph. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +This is a derivative of H\-S\-C's Fall 2012 project. \begin{DoxyAuthor}{Author} +Nicholas St.\-Pierre +\end{DoxyAuthor} +\begin{DoxyAuthor}{Authors} +John Huston, Nicholas Ver\-Voort, Chris Compton +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2012-\/12-\/06 +\end{DoxyDate} +This is a tech demo for morphing two objects back and forth. Original engine based on Ed Angel's book code. This file features a severely reduced linecount for demo purposes. \begin{DoxySeeAlso}{See Also} +\hyperlink{terrain_8cpp}{terrain.\-cpp} for a fully-\/featured example. +\end{DoxySeeAlso} + + +Definition in file \hyperlink{morphlite_8cpp_source}{morphlite.\-cpp}. + + + +\subsection{Function Documentation} +\hypertarget{morphlite_8cpp_a01131b63acf241e9db91704d89ce15d2}{\index{morphlite.\-cpp@{morphlite.\-cpp}!idle@{idle}} +\index{idle@{idle}!morphlite.cpp@{morphlite.\-cpp}} +\subsubsection[{idle}]{\setlength{\rightskip}{0pt plus 5cm}void idle ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{morphlite_8cpp_a01131b63acf241e9db91704d89ce15d2} + + +Compute time since last idle, update camera positions, redisplay. + +Apply new animations. + +Definition at line 128 of file morphlite.\-cpp. + +\hypertarget{morphlite_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}{\index{morphlite.\-cpp@{morphlite.\-cpp}!main@{main}} +\index{main@{main}!morphlite.cpp@{morphlite.\-cpp}} +\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main ( +\begin{DoxyParamCaption} +\item[{int}]{argc, } +\item[{char $\ast$$\ast$}]{argv} +\end{DoxyParamCaption} +)}}\label{morphlite_8cpp_a3c04138a5bfe5d72780bb7e82a18e627} + + +This is a bottle morphing demo! It illustrates simply how to do a simple linear interpolation morph. + + +\begin{DoxyParams}{Parameters} +{\em argc} & Not used. \\ +\hline +{\em argv} & Not used. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +E\-X\-I\-T\-\_\-\-S\-U\-C\-C\-E\-S\-S. +\end{DoxyReturn} + + +Definition at line 166 of file morphlite.\-cpp. + diff --git a/Doxygen/Docs/latex/platform_8h.tex b/Doxygen/Docs/latex/platform_8h.tex new file mode 100644 index 00000000..f0eafb0f --- /dev/null +++ b/Doxygen/Docs/latex/platform_8h.tex @@ -0,0 +1,47 @@ +\hypertarget{platform_8h}{\section{platform.\-h File Reference} +\label{platform_8h}\index{platform.\-h@{platform.\-h}} +} + + +Covertly re-\/defines functions that conflict between Linux and O\-S\-X. + + +{\ttfamily \#include \char`\"{}Open\-G\-L.\-h\char`\"{}}\\* +\subsection*{Macros} +\begin{DoxyCompactItemize} +\item +\#define \hyperlink{platform_8h_a42a67a317dc24490016ce3f13b839acf}{G\-L\-E\-W\-\_\-\-I\-N\-I\-T}() +\begin{DoxyCompactList}\small\item\em A macro defined to initialize G\-L\-E\-W on Linux, but do nothing on Apple O\-S\-X. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Covertly re-\/defines functions that conflict between Linux and O\-S\-X. \begin{DoxyAuthor}{Author} +John Huston, Chris Compton +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/15 +\end{DoxyDate} + + +Definition in file \hyperlink{platform_8h_source}{platform.\-h}. + + + +\subsection{Macro Definition Documentation} +\hypertarget{platform_8h_a42a67a317dc24490016ce3f13b839acf}{\index{platform.\-h@{platform.\-h}!G\-L\-E\-W\-\_\-\-I\-N\-I\-T@{G\-L\-E\-W\-\_\-\-I\-N\-I\-T}} +\index{G\-L\-E\-W\-\_\-\-I\-N\-I\-T@{G\-L\-E\-W\-\_\-\-I\-N\-I\-T}!platform.h@{platform.\-h}} +\subsubsection[{G\-L\-E\-W\-\_\-\-I\-N\-I\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define G\-L\-E\-W\-\_\-\-I\-N\-I\-T( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{platform_8h_a42a67a317dc24490016ce3f13b839acf} +{\bfseries Value\-:} +\begin{DoxyCode} +glewExperimental = GL\_FALSE; \(\backslash\) + GLenum rc = glewInit(); \(\backslash\) + if (rc) fprintf( stderr, "%s\(\backslash\)n", glewGetErrorString(rc) ); +\end{DoxyCode} + + +A macro defined to initialize G\-L\-E\-W on Linux, but do nothing on Apple O\-S\-X. + diff --git a/Doxygen/Docs/latex/raytrace1_8cpp.tex b/Doxygen/Docs/latex/raytrace1_8cpp.tex new file mode 100644 index 00000000..e2a9030a --- /dev/null +++ b/Doxygen/Docs/latex/raytrace1_8cpp.tex @@ -0,0 +1,328 @@ +\hypertarget{raytrace1_8cpp}{\section{raytrace1.\-cpp File Reference} +\label{raytrace1_8cpp}\index{raytrace1.\-cpp@{raytrace1.\-cpp}} +} + + +Geometric Raytracing Demo. + + +{\ttfamily \#include $<$cmath$>$}\\* +{\ttfamily \#include $<$iostream$>$}\\* +{\ttfamily \#include $<$cstdio$>$}\\* +{\ttfamily \#include $<$S\-O\-I\-L/\-S\-O\-I\-L.\-h$>$}\\* +{\ttfamily \#include $<$cstring$>$}\\* +{\ttfamily \#include \char`\"{}Spelchk\-Camera.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Init\-Shader.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}eric\-\_\-rules.\-hpp\char`\"{}}\\* +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{raytrace1_8cpp_a01131b63acf241e9db91704d89ce15d2}{void \hyperlink{raytrace1_8cpp_a01131b63acf241e9db91704d89ce15d2}{idle} (void)}\label{raytrace1_8cpp_a01131b63acf241e9db91704d89ce15d2} + +\begin{DoxyCompactList}\small\item\em Redraw the scene. \end{DoxyCompactList}\item +void \hyperlink{raytrace1_8cpp_a6819355374dd277347abd7c4235f0cd7}{reshape} (int width, int height) +\begin{DoxyCompactList}\small\item\em \hyperlink{class_screen}{Screen} resize handler. \end{DoxyCompactList}\item +void \hyperlink{raytrace1_8cpp_a7aca3c77669b8c403f580a99c6485016}{customkeyboard} (unsigned char key, int x, int y) +\begin{DoxyCompactList}\small\item\em Keyboard Conrol Handler. \end{DoxyCompactList}\item +void \hyperlink{raytrace1_8cpp_a3942aa773dadccfa1bc0cc8ce3d3db1e}{custommouse} (int button, int state, int x, int y) +\begin{DoxyCompactList}\small\item\em Mouse click handler. \end{DoxyCompactList}\item +void \hyperlink{raytrace1_8cpp_a45a7d7c86c97ca6a2d4d32ce2d263f67}{motion} (int x, int y) +\begin{DoxyCompactList}\small\item\em Handle mouse and camera movement. \end{DoxyCompactList}\item +\hypertarget{raytrace1_8cpp_a4ea013001a5fb47853d0fab8f8de35cd}{void \hyperlink{raytrace1_8cpp_a4ea013001a5fb47853d0fab8f8de35cd}{display} (void)}\label{raytrace1_8cpp_a4ea013001a5fb47853d0fab8f8de35cd} + +\begin{DoxyCompactList}\small\item\em Handle the re-\/display of the scene. \end{DoxyCompactList}\item +\hypertarget{raytrace1_8cpp_a2858154e2009b0e6e616f313177762bc}{void \hyperlink{raytrace1_8cpp_a2858154e2009b0e6e616f313177762bc}{init} (void)}\label{raytrace1_8cpp_a2858154e2009b0e6e616f313177762bc} + +\begin{DoxyCompactList}\small\item\em Initialization of objects and Open\-G\-L state. \end{DoxyCompactList}\item +int \hyperlink{raytrace1_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}{main} (int argc, char $\ast$$\ast$argv) +\begin{DoxyCompactList}\small\item\em Simple raytracer demo by Hoanh Nguyen. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Variables} +\begin{DoxyCompactItemize} +\item +\hypertarget{raytrace1_8cpp_a27d8510c93324412d38a888eddee2852}{G\-Luint \hyperlink{raytrace1_8cpp_a27d8510c93324412d38a888eddee2852}{program}}\label{raytrace1_8cpp_a27d8510c93324412d38a888eddee2852} + +\begin{DoxyCompactList}\small\item\em Global shader object. \end{DoxyCompactList}\item +\hypertarget{raytrace1_8cpp_aa82a2e50ca7f0a7c6c79922cf7ac675d}{G\-Luint \hyperlink{raytrace1_8cpp_aa82a2e50ca7f0a7c6c79922cf7ac675d}{model\-View} = -\/1}\label{raytrace1_8cpp_aa82a2e50ca7f0a7c6c79922cf7ac675d} + +\begin{DoxyCompactList}\small\item\em model-\/view matrix uniform shader variable location \end{DoxyCompactList}\item +\hypertarget{raytrace1_8cpp_ac669817a94c510db37084c9dd9dcfb55}{G\-Luint {\bfseries dethklok}}\label{raytrace1_8cpp_ac669817a94c510db37084c9dd9dcfb55} + +\item +\hypertarget{raytrace1_8cpp_a216a38dca36816a9d3b9ab11920f5898}{G\-Lint {\bfseries v\-Ray\-Position} = -\/1}\label{raytrace1_8cpp_a216a38dca36816a9d3b9ab11920f5898} + +\item +G\-Lint \hyperlink{raytrace1_8cpp_a16874d01f7ca34ada7dddea3042f067f}{u\-Camera\-Position} = -\/1 +\begin{DoxyCompactList}\small\item\em Handle to uniform that will contain the position of the \hyperlink{class_camera}{Camera}. \end{DoxyCompactList}\item +\hyperlink{class_spelchk_camera}{Spelchk\-Camera} \hyperlink{raytrace1_8cpp_a0e46f444cf201063a14a00d1236f0629}{camera} (\hyperlink{struct_angel_1_1vec4}{vec4}(0.\-0, 0.\-0, 0.\-0, 0.\-0)) +\begin{DoxyCompactList}\small\item\em Logical camera object. \end{DoxyCompactList}\item +\hypertarget{raytrace1_8cpp_ac19fb5c188fc806f2dd15bfd6837e06f}{G\-Lint {\bfseries u\-Sphere\-Center\-Points} = -\/1}\label{raytrace1_8cpp_ac19fb5c188fc806f2dd15bfd6837e06f} + +\item +\hypertarget{raytrace1_8cpp_ac922fb8458c34a5ba06bf7504e9f12f4}{G\-Lint {\bfseries u\-Sphere\-Radius} = -\/1}\label{raytrace1_8cpp_ac922fb8458c34a5ba06bf7504e9f12f4} + +\item +\hypertarget{raytrace1_8cpp_ac9ad675235d6dc86104ef8ba4b56ddba}{G\-Lint {\bfseries u\-Sphere\-Colors} = -\/1}\label{raytrace1_8cpp_ac9ad675235d6dc86104ef8ba4b56ddba} + +\item +\hypertarget{raytrace1_8cpp_a34acd21874fb66785b6d2a8681e6ab94}{G\-Lint {\bfseries u\-Num\-Of\-Spheres} = -\/1}\label{raytrace1_8cpp_a34acd21874fb66785b6d2a8681e6ab94} + +\item +G\-Lfloat {\bfseries sphere\-Center\-Points} \mbox{[}$\,$\mbox{]} +\item +\hypertarget{raytrace1_8cpp_aacb8095464f12290818f45bf69b180ed}{G\-Lfloat {\bfseries sphere\-Radius} \mbox{[}$\,$\mbox{]} = \{ 0.\-5, 0.\-6, 0.\-7, 0.\-8 \}}\label{raytrace1_8cpp_aacb8095464f12290818f45bf69b180ed} + +\item +G\-Lfloat {\bfseries sphere\-Colors} \mbox{[}$\,$\mbox{]} +\item +int \hyperlink{raytrace1_8cpp_a9ebc1dbd77788c4bfa27758a6725413f}{screen\-Height} +\begin{DoxyCompactList}\small\item\em current Height of the screen. \end{DoxyCompactList}\item +int \hyperlink{raytrace1_8cpp_ae50cb92a78d9e0a4f4bd718fc02bd294}{screen\-Width} +\begin{DoxyCompactList}\small\item\em current Width of the screen. \end{DoxyCompactList}\item +\hypertarget{raytrace1_8cpp_ab2138cc58a32399a5f3979e283f210a1}{bool \hyperlink{raytrace1_8cpp_ab2138cc58a32399a5f3979e283f210a1}{left\-Down} = false}\label{raytrace1_8cpp_ab2138cc58a32399a5f3979e283f210a1} + +\begin{DoxyCompactList}\small\item\em Is the left mouse button being pressed? \end{DoxyCompactList}\item +\hypertarget{raytrace1_8cpp_ad63f40b37d892985bb56ae99f16145c5}{bool \hyperlink{raytrace1_8cpp_ad63f40b37d892985bb56ae99f16145c5}{right\-Down} = false}\label{raytrace1_8cpp_ad63f40b37d892985bb56ae99f16145c5} + +\begin{DoxyCompactList}\small\item\em Is the right mouse button being pressed? \end{DoxyCompactList}\item +\hypertarget{raytrace1_8cpp_a1e74073d42607e52372bf0707ed490f9}{int \hyperlink{raytrace1_8cpp_a1e74073d42607e52372bf0707ed490f9}{mouse\-Down\-X}}\label{raytrace1_8cpp_a1e74073d42607e52372bf0707ed490f9} + +\begin{DoxyCompactList}\small\item\em Last known x coordinate of the mouse pointer. \end{DoxyCompactList}\item +\hypertarget{raytrace1_8cpp_a86c4394f5079d572ea974f506b282a2d}{int \hyperlink{raytrace1_8cpp_a86c4394f5079d572ea974f506b282a2d}{mouse\-Down\-Y}}\label{raytrace1_8cpp_a86c4394f5079d572ea974f506b282a2d} + +\begin{DoxyCompactList}\small\item\em Last known y coordinate of the mouse pointer. \end{DoxyCompactList}\item +float \hyperlink{raytrace1_8cpp_a450a5ce9d8d2b3bcb3a31d9a87f91a7f}{rotation\-Factor} = 45.\-0 +\begin{DoxyCompactList}\small\item\em Magic constant to adjust the rate of rotation when re-\/orienting the camera. \end{DoxyCompactList}\item +float \hyperlink{raytrace1_8cpp_a4ebc11e7a5ba3738d580c7e764782aff}{translation\-Factor} = 5.\-0 +\begin{DoxyCompactList}\small\item\em Magic constant to adjust the rate of translation when re-\/orienting the camera. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Geometric Raytracing Demo. \begin{DoxyAuthor}{Author} +Hoanh Nguyen +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/03-\/15 +\end{DoxyDate} + + +Definition in file \hyperlink{raytrace1_8cpp_source}{raytrace1.\-cpp}. + + + +\subsection{Function Documentation} +\hypertarget{raytrace1_8cpp_a7aca3c77669b8c403f580a99c6485016}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!customkeyboard@{customkeyboard}} +\index{customkeyboard@{customkeyboard}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{customkeyboard}]{\setlength{\rightskip}{0pt plus 5cm}void customkeyboard ( +\begin{DoxyParamCaption} +\item[{unsigned char}]{key, } +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{raytrace1_8cpp_a7aca3c77669b8c403f580a99c6485016} + + +Keyboard Conrol Handler. + + +\begin{DoxyParams}{Parameters} +{\em key} & The key that was pressed. \\ +\hline +{\em x} & X coordinate of the mouse when a key was pressed. \\ +\hline +{\em y} & Y coordinate of the mouse when a key was pressed. \\ +\hline +\end{DoxyParams} + + +Definition at line 75 of file raytrace1.\-cpp. + +\hypertarget{raytrace1_8cpp_a3942aa773dadccfa1bc0cc8ce3d3db1e}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!custommouse@{custommouse}} +\index{custommouse@{custommouse}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{custommouse}]{\setlength{\rightskip}{0pt plus 5cm}void custommouse ( +\begin{DoxyParamCaption} +\item[{int}]{button, } +\item[{int}]{state, } +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{raytrace1_8cpp_a3942aa773dadccfa1bc0cc8ce3d3db1e} + + +Mouse click handler. + + +\begin{DoxyParams}{Parameters} +{\em button} & The mouse button that was pressed. \\ +\hline +{\em state} & The current state of that button. \\ +\hline +{\em x} & X coordinate of the mouse. \\ +\hline +{\em y} & Y coordinate of the mouse. \\ +\hline +\end{DoxyParams} + + +Definition at line 131 of file raytrace1.\-cpp. + +\hypertarget{raytrace1_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!main@{main}} +\index{main@{main}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main ( +\begin{DoxyParamCaption} +\item[{int}]{argc, } +\item[{char $\ast$$\ast$}]{argv} +\end{DoxyParamCaption} +)}}\label{raytrace1_8cpp_a3c04138a5bfe5d72780bb7e82a18e627} + + +Simple raytracer demo by Hoanh Nguyen. + + +\begin{DoxyParams}{Parameters} +{\em argc} & Not used. \\ +\hline +{\em argv} & Not used. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +0. +\end{DoxyReturn} + + +Definition at line 280 of file raytrace1.\-cpp. + +\hypertarget{raytrace1_8cpp_a45a7d7c86c97ca6a2d4d32ce2d263f67}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!motion@{motion}} +\index{motion@{motion}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{motion}]{\setlength{\rightskip}{0pt plus 5cm}void motion ( +\begin{DoxyParamCaption} +\item[{int}]{x, } +\item[{int}]{y} +\end{DoxyParamCaption} +)}}\label{raytrace1_8cpp_a45a7d7c86c97ca6a2d4d32ce2d263f67} + + +Handle mouse and camera movement. + + +\begin{DoxyParams}{Parameters} +{\em x} & X coordinate of the mouse. \\ +\hline +{\em y} & Y coordinate of the mouse. \\ +\hline +\end{DoxyParams} + + +Definition at line 171 of file raytrace1.\-cpp. + +\hypertarget{raytrace1_8cpp_a6819355374dd277347abd7c4235f0cd7}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!reshape@{reshape}} +\index{reshape@{reshape}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{reshape}]{\setlength{\rightskip}{0pt plus 5cm}void reshape ( +\begin{DoxyParamCaption} +\item[{int}]{width, } +\item[{int}]{height} +\end{DoxyParamCaption} +)}}\label{raytrace1_8cpp_a6819355374dd277347abd7c4235f0cd7} + + +\hyperlink{class_screen}{Screen} resize handler. + + +\begin{DoxyParams}{Parameters} +{\em width} & New screen width. \\ +\hline +{\em height} & New screen height. \\ +\hline +\end{DoxyParams} + + +Definition at line 64 of file raytrace1.\-cpp. + + + +\subsection{Variable Documentation} +\hypertarget{raytrace1_8cpp_a0e46f444cf201063a14a00d1236f0629}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!camera@{camera}} +\index{camera@{camera}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{camera}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Spelchk\-Camera} camera({\bf vec4}(0.\-0, 0.\-0, 0.\-0, 0.\-0))}}\label{raytrace1_8cpp_a0e46f444cf201063a14a00d1236f0629} + + +Logical camera object. + +\hypertarget{raytrace1_8cpp_a450a5ce9d8d2b3bcb3a31d9a87f91a7f}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!rotation\-Factor@{rotation\-Factor}} +\index{rotation\-Factor@{rotation\-Factor}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{rotation\-Factor}]{\setlength{\rightskip}{0pt plus 5cm}float rotation\-Factor = 45.\-0}}\label{raytrace1_8cpp_a450a5ce9d8d2b3bcb3a31d9a87f91a7f} + + +Magic constant to adjust the rate of rotation when re-\/orienting the camera. + + + +Definition at line 162 of file raytrace1.\-cpp. + +\hypertarget{raytrace1_8cpp_a9ebc1dbd77788c4bfa27758a6725413f}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!screen\-Height@{screen\-Height}} +\index{screen\-Height@{screen\-Height}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{screen\-Height}]{\setlength{\rightskip}{0pt plus 5cm}int screen\-Height}}\label{raytrace1_8cpp_a9ebc1dbd77788c4bfa27758a6725413f} + + +current Height of the screen. + + + +Definition at line 55 of file raytrace1.\-cpp. + +\hypertarget{raytrace1_8cpp_ae50cb92a78d9e0a4f4bd718fc02bd294}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!screen\-Width@{screen\-Width}} +\index{screen\-Width@{screen\-Width}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{screen\-Width}]{\setlength{\rightskip}{0pt plus 5cm}int screen\-Width}}\label{raytrace1_8cpp_ae50cb92a78d9e0a4f4bd718fc02bd294} + + +current Width of the screen. + + + +Definition at line 57 of file raytrace1.\-cpp. + +\hypertarget{raytrace1_8cpp_a1b43fb6e961f9006cdde22ffeb51573e}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!sphere\-Center\-Points@{sphere\-Center\-Points}} +\index{sphere\-Center\-Points@{sphere\-Center\-Points}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{sphere\-Center\-Points}]{\setlength{\rightskip}{0pt plus 5cm}G\-Lfloat sphere\-Center\-Points\mbox{[}$\,$\mbox{]}}}\label{raytrace1_8cpp_a1b43fb6e961f9006cdde22ffeb51573e} +{\bfseries Initial value\-:} +\begin{DoxyCode} + \{ -1.0, -1.0, -2.0, 1.0, -1.0, -2.0, -1.0, 1.0, + -2.0, 1.0, 1.0, -2.0 \} +\end{DoxyCode} + + +Definition at line 39 of file raytrace1.\-cpp. + +\hypertarget{raytrace1_8cpp_a0049a4399f161944c46d12e156b1e2c0}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!sphere\-Colors@{sphere\-Colors}} +\index{sphere\-Colors@{sphere\-Colors}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{sphere\-Colors}]{\setlength{\rightskip}{0pt plus 5cm}G\-Lfloat sphere\-Colors\mbox{[}$\,$\mbox{]}}}\label{raytrace1_8cpp_a0049a4399f161944c46d12e156b1e2c0} +{\bfseries Initial value\-:} +\begin{DoxyCode} + \{ 1.0, 0.3, 0.3, 0.3, 1.0, 0.3, 0.3, 0.3, 1.0, 1.0, + 0.3, 0.3 \} +\end{DoxyCode} + + +Definition at line 44 of file raytrace1.\-cpp. + +\hypertarget{raytrace1_8cpp_a4ebc11e7a5ba3738d580c7e764782aff}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!translation\-Factor@{translation\-Factor}} +\index{translation\-Factor@{translation\-Factor}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{translation\-Factor}]{\setlength{\rightskip}{0pt plus 5cm}float translation\-Factor = 5.\-0}}\label{raytrace1_8cpp_a4ebc11e7a5ba3738d580c7e764782aff} + + +Magic constant to adjust the rate of translation when re-\/orienting the camera. + + + +Definition at line 164 of file raytrace1.\-cpp. + +\hypertarget{raytrace1_8cpp_a16874d01f7ca34ada7dddea3042f067f}{\index{raytrace1.\-cpp@{raytrace1.\-cpp}!u\-Camera\-Position@{u\-Camera\-Position}} +\index{u\-Camera\-Position@{u\-Camera\-Position}!raytrace1.cpp@{raytrace1.\-cpp}} +\subsubsection[{u\-Camera\-Position}]{\setlength{\rightskip}{0pt plus 5cm}G\-Lint u\-Camera\-Position = -\/1}}\label{raytrace1_8cpp_a16874d01f7ca34ada7dddea3042f067f} + + +Handle to uniform that will contain the position of the \hyperlink{class_camera}{Camera}. + + + +Definition at line 27 of file raytrace1.\-cpp. + diff --git a/Doxygen/Docs/latex/refman.aux b/Doxygen/Docs/latex/refman.aux new file mode 100644 index 00000000..d5a6f822 --- /dev/null +++ b/Doxygen/Docs/latex/refman.aux @@ -0,0 +1,1442 @@ +\relax +\providecommand\hyper@newdestlabel[2]{} +\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument} +\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined +\global\let\oldcontentsline\contentsline +\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} +\global\let\oldnewlabel\newlabel +\gdef\newlabel#1#2{\newlabelxx{#1}#2} +\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} +\AtEndDocument{\ifx\hyper@anchor\@undefined +\let\contentsline\oldcontentsline +\let\newlabel\oldnewlabel +\fi} +\fi} +\global\let\hyper@last\relax +\gdef\HyperFirstAtBeginDocument#1{#1} +\providecommand\HyField@AuxAddToFields[1]{} +\providecommand\HyField@AuxAddToCoFields[2]{} +\@writefile{toc}{\contentsline {chapter}{\numberline {1}Hierarchical Index}{1}{chapter.1}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {1.1}Class Hierarchy}{1}{section.1.1}} +\@writefile{toc}{\contentsline {chapter}{\numberline {2}Class Index}{3}{chapter.2}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {2.1}Class List}{3}{section.2.1}} +\@writefile{toc}{\contentsline {chapter}{\numberline {3}File Index}{5}{chapter.3}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {3.1}File List}{5}{section.3.1}} +\@writefile{toc}{\contentsline {chapter}{\numberline {4}Class Documentation}{7}{chapter.4}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {4.1}Camera Class Reference}{7}{section.4.1}} +\newlabel{class_camera}{{4.1}{7}{Camera Class Reference}{section.4.1}{}} +\newlabel{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{{4.1}{7}{Public Types}{section*.2}{}} +\newlabel{class_object_a6e19bd8516360bff956408cbae33b878}{{4.1}{8}{Public Types}{section*.2}{}} +\newlabel{class_object_a3afa1b9af32b78d81b5de0836c511aeb}{{4.1}{9}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_a35c89a8eb8a5b742a9025331119bfc7c}{{4.1}{9}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_a754f9f36a528f050b25d053ed43015f0}{{4.1}{9}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_ac6ccf69d21c4c902c62829c48ef6cf5b}{{4.1}{9}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_aa104adfbcc2cae4bd68c053cc3dab721}{{4.1}{9}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_a890760dff9df547454112ff84510040c}{{4.1}{9}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_accde5aa6e8d0d582719e94c414c2341c}{{4.1}{9}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_ae3226b31c80c9f276ffdee65101c8fa6}{{4.1}{9}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_ae09449132d3853e179d07d4d6bc0b695}{{4.1}{9}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_aa60771518c07a0edf5aeee5584a571e0}{{4.1}{9}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_af4d40010633d77ff47e75d40e3129894}{{4.1}{9}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_a275903685e300433a5120b5558eb9aa1}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_aea00114a91aeb779b4f03c7bebaa326e}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_a98d3f1b9ebb61c3b21e2a59ed267480a}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_aae9b55b35a69ba78aa2803b4c8a681b7}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_scene_a366b5dec1ecf66a887b4d0dedcd1aa3b}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_scene_a3bd9fa1058f506c04162b9283e97d20e}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_scene_a43fd3c56db5dc940d1724b9573c9a360}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_scene_abdfd15e7987aa261840d5ecc265170df}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_scene_a82759ded1f6f87a91b8d10ed87501958}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_scene_a70fcdad192a4c6ff508125de8af6cf4d}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_scene_ad0ea1a6bcf7815c63988bd937f06eb23}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_scene_ae9b69d8db8a46991017635f22e45baad}{{4.1}{10}{Public Member Functions}{section*.3}{}} +\newlabel{class_object_a8dec70177d147f59ba10c9eba8e9191b}{{4.1}{10}{Public Attributes}{section*.4}{}} +\newlabel{class_object_ad541a7bb180e24f59d752cc6d7f8c7e8}{{4.1}{10}{Public Attributes}{section*.4}{}} +\newlabel{class_object_a9b2fb19d129ad79407f9af0eea05b96c}{{4.1}{10}{Public Attributes}{section*.4}{}} +\newlabel{class_object_a4de4c1e2c4b621efb6f5d1b398ac6835}{{4.1}{10}{Public Attributes}{section*.4}{}} +\newlabel{class_object_a6d6c58ccb93f7a2bd7439d081134aaa0}{{4.1}{10}{Public Attributes}{section*.4}{}} +\newlabel{class_object_a1bb011587e4fa6e69984d5679546b1cb}{{4.1}{10}{Public Attributes}{section*.4}{}} +\newlabel{class_scene_ae8d51ddc196248a7cbd1f3640851dbd4}{{4.1}{10}{Protected Member Functions}{section*.5}{}} +\newlabel{class_object_a29de966ce95d96e19262c4f10f0b4276}{{4.1}{10}{Protected Attributes}{section*.6}{}} +\newlabel{class_object_a2bbbe3a5b33cbcfc4c536b49d470a6b8}{{4.1}{10}{Protected Attributes}{section*.6}{}} +\newlabel{class_object_ac5ca00d03136434b93ae7d00808554c7}{{4.1}{10}{Protected Attributes}{section*.6}{}} +\newlabel{class_object_acfc4dec49d5d273910c3a1af2b3adfcd}{{4.1}{10}{Protected Attributes}{section*.6}{}} +\newlabel{class_object_a6378d0b0eeec23045ae2a5245e42bf13}{{4.1}{10}{Protected Attributes}{section*.6}{}} +\newlabel{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{{4.1}{10}{Protected Attributes}{section*.6}{}} +\newlabel{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{{4.1}{10}{Protected Attributes}{section*.6}{}} +\newlabel{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{{4.1}{10}{Protected Attributes}{section*.6}{}} +\newlabel{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{{4.1}{10}{Protected Attributes}{section*.6}{}} +\newlabel{class_camera_a4d875d29a43bdfed4eac4c76747939d3}{{4.1}{11}{Private Attributes}{section*.8}{}} +\newlabel{class_camera_acbfae99c73c118ca92be9a6ba664b303}{{4.1}{11}{Private Attributes}{section*.8}{}} +\newlabel{class_camera_a83cab43f9ccc3d5f4c7db8543a806745}{{4.1}{11}{Private Attributes}{section*.8}{}} +\newlabel{class_camera_a67c7600162abef1d2cddfce8cc75c33b}{{4.1}{11}{Private Attributes}{section*.8}{}} +\newlabel{class_camera_adb7506be3632abc2d33e77a5783f5be8}{{4.1}{11}{Private Attributes}{section*.8}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.1}Detailed Description}{11}{subsection.4.1.1}} +\gdef \LT@i {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.2}Member Typedef Documentation}{12}{subsection.4.1.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.2.1}Direction}{12}{subsubsection.4.1.2.1}} +\newlabel{class_camera_a94bb7ceb1c7a05e54cf638924f228baf}{{4.1.2.1}{12}{Direction}{subsubsection.4.1.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.2.2}Uniform}{12}{subsubsection.4.1.2.2}} +\newlabel{class_camera_a0ed19c96505cbb70625938d1e883af24}{{4.1.2.2}{12}{Uniform}{subsubsection.4.1.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.2.3}View\discretionary {-}{}{}Type}{12}{subsubsection.4.1.2.3}} +\newlabel{class_camera_a5b2dc5eaed6cbaabee0eea3f2714acd7}{{4.1.2.3}{12}{View\-Type}{subsubsection.4.1.2.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.3}Member Enumeration Documentation}{12}{subsection.4.1.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.3.1}Direction}{12}{subsubsection.4.1.3.1}} +\newlabel{class_camera_a80cb65605322d27ad3b6d973484509ec}{{4.1.3.1}{12}{Direction}{subsubsection.4.1.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.3.2}Uniforms}{12}{subsubsection.4.1.3.2}} +\newlabel{class_camera_a630738fd23098d44c0d15ee28d5649dd}{{4.1.3.2}{12}{Uniforms}{subsubsection.4.1.3.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.3.3}View\discretionary {-}{}{}Type}{12}{subsubsection.4.1.3.3}} +\newlabel{class_camera_aaa256acd50a2fa143d9f8d9456e2802f}{{4.1.3.3}{12}{View\-Type}{subsubsection.4.1.3.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.4}Constructor \& Destructor Documentation}{12}{subsection.4.1.4}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.4.1}Camera}{12}{subsubsection.4.1.4.1}} +\newlabel{class_camera_a16516fa8c830cecef5c8eb43eff12783}{{4.1.4.1}{12}{Camera}{subsubsection.4.1.4.1}{}} +\gdef \LT@ii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@iii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@iv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.4.2}Camera}{13}{subsubsection.4.1.4.2}} +\newlabel{class_camera_a24329612384948d2b64f78094fe84e75}{{4.1.4.2}{13}{Camera}{subsubsection.4.1.4.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.4.3}Camera}{13}{subsubsection.4.1.4.3}} +\newlabel{class_camera_aa131bc7f1bad2cc8baea463714c4485d}{{4.1.4.3}{13}{Camera}{subsubsection.4.1.4.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.4.4}$\sim $\discretionary {-}{}{}Camera}{13}{subsubsection.4.1.4.4}} +\newlabel{class_camera_a06211f202c145b3ec8253f96e1e654a6}{{4.1.4.4}{13}{$\sim $\-Camera}{subsubsection.4.1.4.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.5}Member Function Documentation}{13}{subsection.4.1.5}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.1}accel}{13}{subsubsection.4.1.5.1}} +\newlabel{class_camera_abee6a36602b8044478739cea9221ed41}{{4.1.5.1}{13}{accel}{subsubsection.4.1.5.1}{}} +\gdef \LT@v {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@vi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@vii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.2}adjust\discretionary {-}{}{}Field\discretionary {-}{}{}Of\discretionary {-}{}{}View}{14}{subsubsection.4.1.5.2}} +\newlabel{class_camera_a717f5d58bb0a73f8c5513a3520d98203}{{4.1.5.2}{14}{adjust\-Field\-Of\-View}{subsubsection.4.1.5.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.3}adjust\discretionary {-}{}{}Rotation}{14}{subsubsection.4.1.5.3}} +\newlabel{class_camera_aba32f195cdb5bfcfd05c2ce74315b6c3}{{4.1.5.3}{14}{adjust\-Rotation}{subsubsection.4.1.5.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.4}change\discretionary {-}{}{}Perspective}{14}{subsubsection.4.1.5.4}} +\newlabel{class_camera_a8463a19c9e1e7a1c51cd97051e937230}{{4.1.5.4}{14}{change\-Perspective}{subsubsection.4.1.5.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.5}common\discretionary {-}{}{}Init}{14}{subsubsection.4.1.5.5}} +\newlabel{class_camera_a20243a7e3eb06ab1265118c5fb9cce9b}{{4.1.5.5}{14}{common\-Init}{subsubsection.4.1.5.5}{}} +\gdef \LT@viii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@ix {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@x {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.6}Delete\discretionary {-}{}{}Object}{15}{subsubsection.4.1.5.6}} +\newlabel{class_scene_a8bbe0e5b1bfc71034b18e240e86aa285}{{4.1.5.6}{15}{Delete\-Object}{subsubsection.4.1.5.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.7}d\discretionary {-}{}{}Pos}{15}{subsubsection.4.1.5.7}} +\newlabel{class_camera_a2ac5f89b4f9f012dead66980925143c0}{{4.1.5.7}{15}{d\-Pos}{subsubsection.4.1.5.7}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.8}d\discretionary {-}{}{}Pos}{15}{subsubsection.4.1.5.8}} +\newlabel{class_camera_a928de59670f0b31264307a8a0888b99d}{{4.1.5.8}{15}{d\-Pos}{subsubsection.4.1.5.8}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.9}d\discretionary {-}{}{}Pos}{15}{subsubsection.4.1.5.9}} +\newlabel{class_camera_a4ec2e3d2a66826aedb1ac1eee7da0b96}{{4.1.5.9}{15}{d\-Pos}{subsubsection.4.1.5.9}{}} +\gdef \LT@xii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xiii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xiv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.10}d\discretionary {-}{}{}X}{16}{subsubsection.4.1.5.10}} +\newlabel{class_camera_ac7985a6cb48f4e1e74fda17e5213dd74}{{4.1.5.10}{16}{d\-X}{subsubsection.4.1.5.10}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.11}d\discretionary {-}{}{}Y}{16}{subsubsection.4.1.5.11}} +\newlabel{class_camera_a59570a88e3ff2d277c9e995372fcadfe}{{4.1.5.11}{16}{d\-Y}{subsubsection.4.1.5.11}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.12}d\discretionary {-}{}{}Z}{16}{subsubsection.4.1.5.12}} +\newlabel{class_camera_ab94ed9b3c7e12f484d6bfa5f827b59ff}{{4.1.5.12}{16}{d\-Z}{subsubsection.4.1.5.12}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.13}field\discretionary {-}{}{}Of\discretionary {-}{}{}View}{16}{subsubsection.4.1.5.13}} +\newlabel{class_camera_a36ec0e0e832f789e27d42e7bd4f6d174}{{4.1.5.13}{16}{field\-Of\-View}{subsubsection.4.1.5.13}{}} +\gdef \LT@xv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xvi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.14}field\discretionary {-}{}{}Of\discretionary {-}{}{}View}{17}{subsubsection.4.1.5.14}} +\newlabel{class_camera_a9b3675bf6866a67f8fa802bb4aecba89}{{4.1.5.14}{17}{field\-Of\-View}{subsubsection.4.1.5.14}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.15}Get\discretionary {-}{}{}Position}{17}{subsubsection.4.1.5.15}} +\newlabel{class_object_ae10497fea640753a3cb63f739aacc540}{{4.1.5.15}{17}{Get\-Position}{subsubsection.4.1.5.15}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.16}heave}{17}{subsubsection.4.1.5.16}} +\newlabel{class_camera_a2148d751f104d8e39c9832e2372df2d9}{{4.1.5.16}{17}{heave}{subsubsection.4.1.5.16}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.17}idle}{17}{subsubsection.4.1.5.17}} +\newlabel{class_camera_a9c620bd05c119791c080e479ee71abc2}{{4.1.5.17}{17}{idle}{subsubsection.4.1.5.17}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.18}move}{17}{subsubsection.4.1.5.18}} +\newlabel{class_camera_aaa9706527438bd5bd323dd018bb34fcf}{{4.1.5.18}{17}{move}{subsubsection.4.1.5.18}{}} +\gdef \LT@xvii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xviii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xix {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xx {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.19}pitch}{18}{subsubsection.4.1.5.19}} +\newlabel{class_camera_aac7dbb6201be7f17e014fc6fdf915560}{{4.1.5.19}{18}{pitch}{subsubsection.4.1.5.19}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.20}pos}{18}{subsubsection.4.1.5.20}} +\newlabel{class_camera_a432e03c15d63f8839fe4731016d907a4}{{4.1.5.20}{18}{pos}{subsubsection.4.1.5.20}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.21}pos}{18}{subsubsection.4.1.5.21}} +\newlabel{class_camera_ae9dc2206b71b25cf320a05d148cb8b56}{{4.1.5.21}{18}{pos}{subsubsection.4.1.5.21}{}} +\gdef \LT@xxi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.22}pos}{19}{subsubsection.4.1.5.22}} +\newlabel{class_camera_aec2115038562e514193bb2b67f5da153}{{4.1.5.22}{19}{pos}{subsubsection.4.1.5.22}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.23}pos}{19}{subsubsection.4.1.5.23}} +\newlabel{class_camera_a9982ac5f48fe0af97fefa725080d6da6}{{4.1.5.23}{19}{pos}{subsubsection.4.1.5.23}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.24}refresh\discretionary {-}{}{}Perspective}{19}{subsubsection.4.1.5.24}} +\newlabel{class_camera_a24c5346fc0dfaa93257b6716fe0f2421}{{4.1.5.24}{19}{refresh\-Perspective}{subsubsection.4.1.5.24}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.25}reset\discretionary {-}{}{}Rotation}{19}{subsubsection.4.1.5.25}} +\newlabel{class_camera_a8ec7938c5e25068e5bff25aeb7038af4}{{4.1.5.25}{19}{reset\-Rotation}{subsubsection.4.1.5.25}{}} +\gdef \LT@xxii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xxiii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xxiv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.26}roll}{20}{subsubsection.4.1.5.26}} +\newlabel{class_camera_a1ba0979fe0b2ec58085d5f9721858e5e}{{4.1.5.26}{20}{roll}{subsubsection.4.1.5.26}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.27}send}{20}{subsubsection.4.1.5.27}} +\newlabel{class_camera_a401decef27b59d6485b4ab9762f5b9e6}{{4.1.5.27}{20}{send}{subsubsection.4.1.5.27}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.28}Shader}{20}{subsubsection.4.1.5.28}} +\newlabel{class_object_a3dc857b837e8b77ba8a2727233400a5e}{{4.1.5.28}{20}{Shader}{subsubsection.4.1.5.28}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.29}Shader}{20}{subsubsection.4.1.5.29}} +\newlabel{class_object_aa52c30bca96800cecba55f446e147859}{{4.1.5.29}{20}{Shader}{subsubsection.4.1.5.29}{}} +\gdef \LT@xxv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xxvi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xxvii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.30}stop}{21}{subsubsection.4.1.5.30}} +\newlabel{class_camera_ae7414c6ae83c3c9392ab90e957daf2b9}{{4.1.5.30}{21}{stop}{subsubsection.4.1.5.30}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.31}surge}{21}{subsubsection.4.1.5.31}} +\newlabel{class_camera_abb2251df65445bf8efd3fe0074fb5033}{{4.1.5.31}{21}{surge}{subsubsection.4.1.5.31}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.32}sway}{21}{subsubsection.4.1.5.32}} +\newlabel{class_camera_abbe6fe82ed05e64e35b0c4ed2001b34e}{{4.1.5.32}{21}{sway}{subsubsection.4.1.5.32}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.33}view}{21}{subsubsection.4.1.5.33}} +\newlabel{class_camera_ae845a36306bba6b6e359cbdddce65f7f}{{4.1.5.33}{21}{view}{subsubsection.4.1.5.33}{}} +\gdef \LT@xxviii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xxix {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xxx {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.34}viewport}{22}{subsubsection.4.1.5.34}} +\newlabel{class_camera_adda458a9212825164b52019597f2e9c8}{{4.1.5.34}{22}{viewport}{subsubsection.4.1.5.34}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.35}x}{22}{subsubsection.4.1.5.35}} +\newlabel{class_camera_a14d59ca64bf258adacbed4e0e70ba701}{{4.1.5.35}{22}{x}{subsubsection.4.1.5.35}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.36}x}{22}{subsubsection.4.1.5.36}} +\newlabel{class_camera_ab84abdd525581fbaf0462595d0a087d6}{{4.1.5.36}{22}{x}{subsubsection.4.1.5.36}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.37}y}{22}{subsubsection.4.1.5.37}} +\newlabel{class_camera_a5021b8379a853f306851837178856db0}{{4.1.5.37}{22}{y}{subsubsection.4.1.5.37}{}} +\gdef \LT@xxxi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xxxii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.38}y}{23}{subsubsection.4.1.5.38}} +\newlabel{class_camera_a68d0865ed19510ee41c6477511d70185}{{4.1.5.38}{23}{y}{subsubsection.4.1.5.38}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.39}yaw}{23}{subsubsection.4.1.5.39}} +\newlabel{class_camera_a0ce7d12edbe47d9a8915d8af98d8f524}{{4.1.5.39}{23}{yaw}{subsubsection.4.1.5.39}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.40}z}{23}{subsubsection.4.1.5.40}} +\newlabel{class_camera_a4acfa20291c83f13c98781c0d53cdbd8}{{4.1.5.40}{23}{z}{subsubsection.4.1.5.40}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.5.41}z}{23}{subsubsection.4.1.5.41}} +\newlabel{class_camera_ab1167495c547046c57b1c417e53c39f6}{{4.1.5.41}{23}{z}{subsubsection.4.1.5.41}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.6}Member Data Documentation}{24}{subsection.4.1.6}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.1}\discretionary {-}{}{}\_\discretionary {-}{}{}aspect\discretionary {-}{}{}Ratio}{24}{subsubsection.4.1.6.1}} +\newlabel{class_camera_a42082e8f2d80a13674ce163d8e720bfb}{{4.1.6.1}{24}{\-\_\-aspect\-Ratio}{subsubsection.4.1.6.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.2}\discretionary {-}{}{}\_\discretionary {-}{}{}ctm}{24}{subsubsection.4.1.6.2}} +\newlabel{class_camera_a6c1e31c8470b923f9f872f73597cb95b}{{4.1.6.2}{24}{\-\_\-ctm}{subsubsection.4.1.6.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.3}\discretionary {-}{}{}\_\discretionary {-}{}{}current\discretionary {-}{}{}View}{24}{subsubsection.4.1.6.3}} +\newlabel{class_camera_ac9062d9bb891aa81d163076738451081}{{4.1.6.3}{24}{\-\_\-current\-View}{subsubsection.4.1.6.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.4}\discretionary {-}{}{}\_\discretionary {-}{}{}fovy}{24}{subsubsection.4.1.6.4}} +\newlabel{class_camera_a82542bb76347e2a2bb66b3bb7842945b}{{4.1.6.4}{24}{\-\_\-fovy}{subsubsection.4.1.6.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.5}\discretionary {-}{}{}\_\discretionary {-}{}{}friction\discretionary {-}{}{}Magnitude}{24}{subsubsection.4.1.6.5}} +\newlabel{class_camera_a66fb66da0ccd400c4986dc19276b6716}{{4.1.6.5}{24}{\-\_\-friction\-Magnitude}{subsubsection.4.1.6.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.6}\discretionary {-}{}{}\_\discretionary {-}{}{}motion}{24}{subsubsection.4.1.6.6}} +\newlabel{class_camera_abec7e2becbad5a692a54a69b6a5f6d75}{{4.1.6.6}{24}{\-\_\-motion}{subsubsection.4.1.6.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.7}\discretionary {-}{}{}\_\discretionary {-}{}{}speed}{24}{subsubsection.4.1.6.7}} +\newlabel{class_camera_a21f8eb53e5369018e39add0453ae626d}{{4.1.6.7}{24}{\-\_\-speed}{subsubsection.4.1.6.7}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.8}\discretionary {-}{}{}\_\discretionary {-}{}{}velocity}{24}{subsubsection.4.1.6.8}} +\newlabel{class_camera_aa15577ff9e67c81699ee86d4d20a7ee7}{{4.1.6.8}{24}{\-\_\-velocity}{subsubsection.4.1.6.8}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.9}\discretionary {-}{}{}\_\discretionary {-}{}{}view}{24}{subsubsection.4.1.6.9}} +\newlabel{class_camera_a28f6e710df6db726568cd0f2bbd3643a}{{4.1.6.9}{24}{\-\_\-view}{subsubsection.4.1.6.9}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.10}draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}{25}{subsubsection.4.1.6.10}} +\newlabel{class_object_a82764b385767d989f27d301ab206acb8}{{4.1.6.10}{25}{draw\-\_\-mode}{subsubsection.4.1.6.10}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.11}handles}{25}{subsubsection.4.1.6.11}} +\newlabel{class_object_acd6c7021617ea334915a1525f9519bc5}{{4.1.6.11}{25}{handles}{subsubsection.4.1.6.11}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.12}name}{25}{subsubsection.4.1.6.12}} +\newlabel{class_object_a24457e0a387492c80594aec7681a2277}{{4.1.6.12}{25}{name}{subsubsection.4.1.6.12}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.1.6.13}vao}{25}{subsubsection.4.1.6.13}} +\newlabel{class_object_a66190fee29d03d6478516686cbd01eb8}{{4.1.6.13}{25}{vao}{subsubsection.4.1.6.13}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.2}Cameras Class Reference}{25}{section.4.2}} +\newlabel{class_cameras}{{4.2}{25}{Cameras Class Reference}{section.4.2}{}} +\newlabel{class_scene_a366b5dec1ecf66a887b4d0dedcd1aa3b}{{4.2}{26}{Public Member Functions}{section*.9}{}} +\newlabel{class_scene_a3bd9fa1058f506c04162b9283e97d20e}{{4.2}{26}{Public Member Functions}{section*.9}{}} +\newlabel{class_scene_a43fd3c56db5dc940d1724b9573c9a360}{{4.2}{26}{Public Member Functions}{section*.9}{}} +\newlabel{class_scene_abdfd15e7987aa261840d5ecc265170df}{{4.2}{26}{Public Member Functions}{section*.9}{}} +\newlabel{class_scene_a82759ded1f6f87a91b8d10ed87501958}{{4.2}{26}{Public Member Functions}{section*.9}{}} +\newlabel{class_scene_ad5a91c929b569b9111061eec16b3febf}{{4.2}{26}{Public Member Functions}{section*.9}{}} +\newlabel{class_scene_ae9b69d8db8a46991017635f22e45baad}{{4.2}{26}{Public Member Functions}{section*.9}{}} +\newlabel{class_scene_ae8d51ddc196248a7cbd1f3640851dbd4}{{4.2}{26}{Protected Member Functions}{section*.10}{}} +\newlabel{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{{4.2}{26}{Protected Attributes}{section*.11}{}} +\newlabel{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{{4.2}{26}{Protected Attributes}{section*.11}{}} +\newlabel{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{{4.2}{26}{Protected Attributes}{section*.11}{}} +\newlabel{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{{4.2}{26}{Protected Attributes}{section*.11}{}} +\newlabel{class_cameras_a2c40cd131741e1904fdfb024006258fd}{{4.2}{26}{Private Attributes}{section*.12}{}} +\gdef \LT@xxxiii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.2.1}Detailed Description}{27}{subsection.4.2.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.2.2}Constructor \& Destructor Documentation}{27}{subsection.4.2.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.2.1}Cameras}{27}{subsubsection.4.2.2.1}} +\newlabel{class_cameras_a14342354c24f588c24e004a722849c3d}{{4.2.2.1}{27}{Cameras}{subsubsection.4.2.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.2.2}$\sim $\discretionary {-}{}{}Cameras}{27}{subsubsection.4.2.2.2}} +\newlabel{class_cameras_a7de763b562cce2a06cb120610987cd29}{{4.2.2.2}{27}{$\sim $\-Cameras}{subsubsection.4.2.2.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.2.3}Member Function Documentation}{27}{subsection.4.2.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.1}active}{27}{subsubsection.4.2.3.1}} +\newlabel{class_cameras_a6002cbceb6a93092a1a029af486349a0}{{4.2.3.1}{27}{active}{subsubsection.4.2.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.2}add\discretionary {-}{}{}Camera}{27}{subsubsection.4.2.3.2}} +\newlabel{class_cameras_a436b481bf293ec6dfa09d2f89054c54b}{{4.2.3.2}{27}{add\-Camera}{subsubsection.4.2.3.2}{}} +\gdef \LT@xxxiv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.3}calculate\discretionary {-}{}{}Viewports}{28}{subsubsection.4.2.3.3}} +\newlabel{class_cameras_a9d3b24eec1504127e4942aa0e9412ae7}{{4.2.3.3}{28}{calculate\-Viewports}{subsubsection.4.2.3.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.4}Delete\discretionary {-}{}{}Object}{28}{subsubsection.4.2.3.4}} +\newlabel{class_scene_a8bbe0e5b1bfc71034b18e240e86aa285}{{4.2.3.4}{28}{Delete\-Object}{subsubsection.4.2.3.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.5}idle\discretionary {-}{}{}Motion}{28}{subsubsection.4.2.3.5}} +\newlabel{class_cameras_ac4fee80c5cd473ee4fa2360a95857da7}{{4.2.3.5}{28}{idle\-Motion}{subsubsection.4.2.3.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.6}next}{28}{subsubsection.4.2.3.6}} +\newlabel{class_cameras_a971e1ffd27ff38d58f83996f87700e82}{{4.2.3.6}{28}{next}{subsubsection.4.2.3.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.7}num\discretionary {-}{}{}Cameras}{28}{subsubsection.4.2.3.7}} +\newlabel{class_cameras_acf7e92b5163efeeb88543e605d436a0e}{{4.2.3.7}{28}{num\-Cameras}{subsubsection.4.2.3.7}{}} +\gdef \LT@xxxv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xxxvi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.8}obj2\discretionary {-}{}{}Cam}{29}{subsubsection.4.2.3.8}} +\newlabel{class_cameras_a8a6c7958396c6b0d07380aa762b15fcc}{{4.2.3.8}{29}{obj2\-Cam}{subsubsection.4.2.3.8}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.9}pop\discretionary {-}{}{}Camera}{29}{subsubsection.4.2.3.9}} +\newlabel{class_cameras_a9dee7bf1f2c56176c461fa2617ce4549}{{4.2.3.9}{29}{pop\-Camera}{subsubsection.4.2.3.9}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.10}prev}{29}{subsubsection.4.2.3.10}} +\newlabel{class_cameras_a90eb5a3dda940ed494f592d094580dd8}{{4.2.3.10}{29}{prev}{subsubsection.4.2.3.10}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.11}resize}{29}{subsubsection.4.2.3.11}} +\newlabel{class_cameras_a0d0b08d599d471c0070665006f3bc437}{{4.2.3.11}{29}{resize}{subsubsection.4.2.3.11}{}} +\gdef \LT@xxxvii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xxxviii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.12}Shader}{30}{subsubsection.4.2.3.12}} +\newlabel{class_scene_a7137a7302c21ac4dd44e746bfb6f7cf8}{{4.2.3.12}{30}{Shader}{subsubsection.4.2.3.12}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.13}Shader}{30}{subsubsection.4.2.3.13}} +\newlabel{class_scene_af1e8ba8802f3bf83cebbfcbf3ed7c333}{{4.2.3.13}{30}{Shader}{subsubsection.4.2.3.13}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.2.3.14}view}{30}{subsubsection.4.2.3.14}} +\newlabel{class_cameras_adeb29c1d639fcfbae4c68017bc8ef4d4}{{4.2.3.14}{30}{view}{subsubsection.4.2.3.14}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.3}Engine Class Reference}{30}{section.4.3}} +\newlabel{class_engine}{{4.3}{30}{Engine Class Reference}{section.4.3}{}} +\newlabel{class_engine_a4850643b0f929d8021115cf37d7ab608}{{4.3}{31}{Public Member Functions}{section*.13}{}} +\newlabel{class_engine_afc244649d4b31f59f2ef91754472b281}{{4.3}{31}{Private Attributes}{section*.16}{}} +\newlabel{class_engine_a181e11b6fd26698bc173647ab2471c8c}{{4.3}{31}{Private Attributes}{section*.16}{}} +\newlabel{class_engine_a467d917952b89ef23f7a045e4f87218a}{{4.3}{31}{Private Attributes}{section*.16}{}} +\newlabel{class_engine_ae494a590056c4594f1f3cb39e4d18994}{{4.3}{31}{Static Private Attributes}{section*.17}{}} +\gdef \LT@xxxix {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xl {\LT@entry + {1}{123.71086pt}\LT@entry + {1}{330.44777pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Detailed Description}{32}{subsection.4.3.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Constructor \& Destructor Documentation}{32}{subsection.4.3.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.2.1}Engine}{32}{subsubsection.4.3.2.1}} +\newlabel{class_engine_a9ad87e382195a05d5d310a2fb3e357fd}{{4.3.2.1}{32}{Engine}{subsubsection.4.3.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.2.2}Engine}{32}{subsubsection.4.3.2.2}} +\newlabel{class_engine_a8e027119a62020acddedd0a14fb44033}{{4.3.2.2}{32}{Engine}{subsubsection.4.3.2.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.3}Member Function Documentation}{32}{subsection.4.3.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.3.1}cams}{32}{subsubsection.4.3.3.1}} +\newlabel{class_engine_a2b2c1cd59c9a5c903bf466284012ce4c}{{4.3.3.1}{32}{cams}{subsubsection.4.3.3.1}{}} +\gdef \LT@xli {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xlii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xliii {\LT@entry + {1}{123.71086pt}\LT@entry + {1}{330.44777pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.3.2}flip}{33}{subsubsection.4.3.3.2}} +\newlabel{class_engine_a0e6265ae2700bda2f21abd308430637a}{{4.3.3.2}{33}{flip}{subsubsection.4.3.3.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.3.3}instance}{33}{subsubsection.4.3.3.3}} +\newlabel{class_engine_a6cbf9ec80a4a3bb245355ff70498dba0}{{4.3.3.3}{33}{instance}{subsubsection.4.3.3.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.3.4}main\discretionary {-}{}{}Screen}{33}{subsubsection.4.3.3.4}} +\newlabel{class_engine_ad4429218b5aed162269094c6571a2520}{{4.3.3.4}{33}{main\-Screen}{subsubsection.4.3.3.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.3.5}operator=}{33}{subsubsection.4.3.3.5}} +\newlabel{class_engine_a09761dabaae6f48bd5c612acea76a9bf}{{4.3.3.5}{33}{operator=}{subsubsection.4.3.3.5}{}} +\gdef \LT@xliv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xlv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xlvi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.3.6}opt}{34}{subsubsection.4.3.3.6}} +\newlabel{class_engine_ae3658976c5ab1f0c912d2c7d5747cb67}{{4.3.3.6}{34}{opt}{subsubsection.4.3.3.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.3.7}opt}{34}{subsubsection.4.3.3.7}} +\newlabel{class_engine_a797b0b934a94cd2ea7ab1c11083e425c}{{4.3.3.7}{34}{opt}{subsubsection.4.3.3.7}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.3.8}root\discretionary {-}{}{}Scene}{34}{subsubsection.4.3.3.8}} +\newlabel{class_engine_a782cf288c161986d0ac0eb48cd187c4d}{{4.3.3.8}{34}{root\-Scene}{subsubsection.4.3.3.8}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.3.3.9}set}{34}{subsubsection.4.3.3.9}} +\newlabel{class_engine_a81f16979bc330c46675e4d7ffab5eff9}{{4.3.3.9}{34}{set}{subsubsection.4.3.3.9}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.4}Tiem\discretionary {-}{}{}Spelchk\discretionary {-}{}{}:\discretionary {-}{}{}:Lurn2\discretionary {-}{}{}Spiel\discretionary {-}{}{}Nub Class Reference}{35}{section.4.4}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub}{{4.4}{35}{Tiem\-Spelchk\-:\-:Lurn2\-Spiel\-Nub Class Reference}{section.4.4}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a3a84a37ba97831308f639b9e2bf7d9f8}{{4.4}{35}{Public Member Functions}{section*.18}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a29b93d8ad5bbcefad6df00b4a23f4fc4}{{4.4}{35}{Public Member Functions}{section*.18}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a7c055489ec5c140e7bfa91a0c0a76f94}{{4.4}{35}{Public Member Functions}{section*.18}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a38db742a870fe48644f795c3e249d6ab}{{4.4}{35}{Static Public Member Functions}{section*.19}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a9d85ee4de4621c0de0c7133fb15bcaa6}{{4.4}{35}{Static Public Member Functions}{section*.19}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a9e8df7c3c86b521fd642e6bd1719b1ad}{{4.4}{35}{Static Public Member Functions}{section*.19}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_aeb00f8d55630f3f7d2da36d04302a174}{{4.4}{35}{Static Public Member Functions}{section*.19}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a41dd33b54013b3974119d7a0da893d8a}{{4.4}{35}{Static Public Member Functions}{section*.19}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a28fa0e11dc89f2202890ec873a74d23f}{{4.4}{35}{Private Member Functions}{section*.20}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_aa28206499ebeb98e2db24db9813232f7}{{4.4}{35}{Private Member Functions}{section*.20}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a040124fb9e20cfab39c45d334e6c5b1c}{{4.4}{35}{Private Member Functions}{section*.20}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a5bc3222dbbbee803b2b77afbdbd88acc}{{4.4}{35}{Private Member Functions}{section*.20}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_aaf9264a46a4b2c23587fc67569339992}{{4.4}{35}{Private Member Functions}{section*.20}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_ad029dba23118fdb5fa2b2cfc74a50305}{{4.4}{35}{Private Member Functions}{section*.20}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_ac8198588012a86befbf6e9415911a7b3}{{4.4}{35}{Private Attributes}{section*.21}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a6ce714e2ff4d16b836a16ac526b397fe}{{4.4}{35}{Private Attributes}{section*.21}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_ab0b7fd2f68507a79f940ece0c7ce2cb6}{{4.4}{35}{Private Attributes}{section*.21}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a89dc8acb0e9b63f52de20364f5c49c47}{{4.4}{35}{Private Attributes}{section*.21}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a2500c966681a65ffcd3d2354848227e5}{{4.4}{35}{Private Attributes}{section*.21}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a7e4f74ecd9de1cfdff8cc2d237ce6e34}{{4.4}{35}{Private Attributes}{section*.21}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_ad76a0650fa08d75e692125f3e2e571d0}{{4.4}{35}{Private Attributes}{section*.21}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_a3d0fa17772cdaa4775c6eb3c441f1b17}{{4.4}{35}{Private Attributes}{section*.21}{}} +\newlabel{class_tiem_spelchk_1_1_lurn2_spiel_nub_ac2be8464e1436a7f90e2212e31944b7a}{{4.4}{35}{Private Attributes}{section*.21}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.4.1}Detailed Description}{35}{subsection.4.4.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.5}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:mat2 Class Reference}{36}{section.4.5}} +\newlabel{class_angel_1_1mat2}{{4.5}{36}{Angel\-:\-:mat2 Class Reference}{section.4.5}{}} +\newlabel{class_angel_1_1mat2_ae102b820abff2323c45227b2b8bbf750}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a28913fa178e1d31303701bfb68a18206}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a922505784f3ff68666c32ea610d98579}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a4311450f6bb2b9c0413470c1877718f7}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a9cd43f0d8628af058eb2a8a45823558d}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_ae6f4de77d3e72ce41397fd5accdbbc4e}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a9015e221ffcb42c91a927a8a307ace8b}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a767d5c1e30cf67ddce4d5f917d337bae}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a227fe98f0e64b8c849ddc45d64b31524}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a181da09b6d2e8e687a8a6832b453a053}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_ab07cf1133d24947e4c9c5b329bb97526}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a6ae2926130c3291c6901355c0d7ab9d0}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a0b457bdc16735b356a68baaca2d2037f}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a50fb8a22b3178810f74a0cca7dcb5b42}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_ae473dedc654b83baa25a34f9d5e9061f}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_ad72c91bf3c2d1ea79a0ee67f50b3dda6}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a413f7a4b589ff434f6a4f3a2bf2e3238}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a1964937b0ce62e819edb23c8eeee9ddc}{{4.5}{36}{Public Member Functions}{section*.22}{}} +\newlabel{class_angel_1_1mat2_a93186aa02a28897515079acad73bd0dd}{{4.5}{36}{Friends}{section*.24}{}} +\newlabel{class_angel_1_1mat2_a264412852cfa06a39b477d08b390d8e8}{{4.5}{36}{Friends}{section*.24}{}} +\newlabel{class_angel_1_1mat2_a43f4ce08af11ef35f85de6c785b093a8}{{4.5}{36}{Friends}{section*.24}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.5.1}Detailed Description}{36}{subsection.4.5.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.5.2}Member Function Documentation}{37}{subsection.4.5.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.5.2.1}operator$\ast $}{37}{subsubsection.4.5.2.1}} +\newlabel{class_angel_1_1mat2_a1be53f556f8dd39cc2a95c0168319129}{{4.5.2.1}{37}{operator$\ast $}{subsubsection.4.5.2.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.5.3}Member Data Documentation}{37}{subsection.4.5.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.5.3.1}\discretionary {-}{}{}\_\discretionary {-}{}{}m}{37}{subsubsection.4.5.3.1}} +\newlabel{class_angel_1_1mat2_a04ca47b08412fa9c9ed5067843df53e9}{{4.5.3.1}{37}{\-\_\-m}{subsubsection.4.5.3.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.6}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:mat3 Class Reference}{37}{section.4.6}} +\newlabel{class_angel_1_1mat3}{{4.6}{37}{Angel\-:\-:mat3 Class Reference}{section.4.6}{}} +\newlabel{class_angel_1_1mat3_a169ddab082b2c0da9ab028ec1a1c223c}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a62a888ec4f7f9246960253eea5acfc89}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_adac89ce7cc0b0b566f0dcd66e9746119}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a1315bcb40b29673956e48f7c807a8e6e}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a5548a1da78e29cc9e093414e897e44b0}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a9d05f262d88c02009bdcc24afb0b5f91}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_ab15ce66a9d7c31c47eb954c1fac269dc}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_ad6ad753f499abf25615da51a4acd3451}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a6635568333982f7819539a273e1d5c88}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a74f28d013f4b222a45fd4ca339e04ed0}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_aec8a7afc3f8b30365d30a393048e43e6}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a7f2d2eee7fdca9f2a97bb169153a501d}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a80b42b08d55fbaee1001ee733ed16471}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_add5cf6842bebfce53ba2af6bdd48436f}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_ace9e4a45d3dc4ad3d6d05474159e75f9}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a72b528f838b9a7c25daeda95c2e54431}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a816f9f6ba6cbebea56b0f84432643e4a}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a1d8dde0ed668c30af292f9b53253dec9}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a5b68f66855c70b79a86a3ddc65acda6f}{{4.6}{37}{Public Member Functions}{section*.25}{}} +\newlabel{class_angel_1_1mat3_a937bb5305c6e023812a87d0a329546b0}{{4.6}{37}{Private Attributes}{section*.26}{}} +\newlabel{class_angel_1_1mat3_ad9345c93609b63264fb4a4d48cef9e47}{{4.6}{38}{Friends}{section*.27}{}} +\newlabel{class_angel_1_1mat3_a85d71885cc6797f2553701eb01c52851}{{4.6}{38}{Friends}{section*.27}{}} +\newlabel{class_angel_1_1mat3_aa6ac075e9f3776b3d6eba3e8207ab990}{{4.6}{38}{Friends}{section*.27}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.6.1}Detailed Description}{38}{subsection.4.6.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.7}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:mat4 Class Reference}{38}{section.4.7}} +\newlabel{class_angel_1_1mat4}{{4.7}{38}{Angel\-:\-:mat4 Class Reference}{section.4.7}{}} +\newlabel{class_angel_1_1mat4_ae4dcc751dab1439d187d31187527d7db}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a751177e4ed4083c4935c18e20d99c394}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a4231505378561a211c9c98ef665ed2e4}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_aa1d00cd134d37716c9613435b624bf7d}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_ac78d6efb4a0d639d645acd4f00e8b3b6}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a8458337af4a94968e5840e9851ecfa81}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a4d1df5516693e2a58bef2fb89e1820ad}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_abb4e232fc14fe9a7033a093613ea4b58}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_aabe5c0344339577204843c3fcee0b456}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a7d837bc6b2b7cc9e1d5b76b52d61c784}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a90585682655be2fb6093f8b95756b12c}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_afcec838432820dec7fa3059f5142270d}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_af061ec3446e24ea24e7e0eb981ed4465}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a0f22db6237d4fbb916bf82be7132bd6c}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a36a1eca30d83a2bdbd7d2ec6675ee853}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a0f8c1b50c454341ff26f006a0ff09788}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a820e0c317d1836cd224ff75f676c6f2f}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a93c2295529f8cde832378076837d202e}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a83e8b31ac751f67e31985fc104e1a0e6}{{4.7}{38}{Public Member Functions}{section*.28}{}} +\newlabel{class_angel_1_1mat4_a927716d9eb0e35e6f577beca4a4fc243}{{4.7}{39}{Private Attributes}{section*.29}{}} +\newlabel{class_angel_1_1mat4_aee74ba4512e3c59e8ed73764e4396d59}{{4.7}{39}{Friends}{section*.30}{}} +\newlabel{class_angel_1_1mat4_a43eac2e676368c54279c3babf511fa6b}{{4.7}{39}{Friends}{section*.30}{}} +\newlabel{class_angel_1_1mat4_ac079e857a3c74a1b974e4f4619e16adf}{{4.7}{39}{Friends}{section*.30}{}} +\newlabel{class_angel_1_1mat4_a897b946d3a30dbddc811d486bfa4b61a}{{4.7}{39}{Friends}{section*.30}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.7.1}Detailed Description}{39}{subsection.4.7.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.8}Object Class Reference}{39}{section.4.8}} +\newlabel{class_object}{{4.8}{39}{Object Class Reference}{section.4.8}{}} +\newlabel{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{{4.8}{39}{Public Types}{section*.31}{}} +\newlabel{class_object_a6e19bd8516360bff956408cbae33b878}{{4.8}{39}{Public Types}{section*.31}{}} +\newlabel{class_object_ae6a2969ddca87d2c54b7cb1c131a7d60}{{4.8}{39}{Public Types}{section*.31}{}} +\newlabel{class_object_aacf42e81415f32f1f2a105ce29c7c1b9}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_a3afa1b9af32b78d81b5de0836c511aeb}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_a35c89a8eb8a5b742a9025331119bfc7c}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_a754f9f36a528f050b25d053ed43015f0}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_ac6ccf69d21c4c902c62829c48ef6cf5b}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_aa104adfbcc2cae4bd68c053cc3dab721}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_a890760dff9df547454112ff84510040c}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_accde5aa6e8d0d582719e94c414c2341c}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_a34258ee199342d785c29d18c49d54e71}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_ae3226b31c80c9f276ffdee65101c8fa6}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_ae09449132d3853e179d07d4d6bc0b695}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_aa60771518c07a0edf5aeee5584a571e0}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_af4d40010633d77ff47e75d40e3129894}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_a275903685e300433a5120b5558eb9aa1}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_aea00114a91aeb779b4f03c7bebaa326e}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_a98d3f1b9ebb61c3b21e2a59ed267480a}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_aae9b55b35a69ba78aa2803b4c8a681b7}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_scene_a366b5dec1ecf66a887b4d0dedcd1aa3b}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_scene_a3bd9fa1058f506c04162b9283e97d20e}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_scene_a43fd3c56db5dc940d1724b9573c9a360}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_scene_abdfd15e7987aa261840d5ecc265170df}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_scene_a82759ded1f6f87a91b8d10ed87501958}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_scene_a70fcdad192a4c6ff508125de8af6cf4d}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_scene_ad0ea1a6bcf7815c63988bd937f06eb23}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_scene_ae9b69d8db8a46991017635f22e45baad}{{4.8}{40}{Public Member Functions}{section*.32}{}} +\newlabel{class_object_a8dec70177d147f59ba10c9eba8e9191b}{{4.8}{40}{Public Attributes}{section*.33}{}} +\newlabel{class_object_ad541a7bb180e24f59d752cc6d7f8c7e8}{{4.8}{40}{Public Attributes}{section*.33}{}} +\newlabel{class_object_a9b2fb19d129ad79407f9af0eea05b96c}{{4.8}{40}{Public Attributes}{section*.33}{}} +\newlabel{class_object_a4de4c1e2c4b621efb6f5d1b398ac6835}{{4.8}{40}{Public Attributes}{section*.33}{}} +\newlabel{class_object_a6d6c58ccb93f7a2bd7439d081134aaa0}{{4.8}{40}{Public Attributes}{section*.33}{}} +\newlabel{class_object_a1bb011587e4fa6e69984d5679546b1cb}{{4.8}{40}{Public Attributes}{section*.33}{}} +\newlabel{class_scene_ae8d51ddc196248a7cbd1f3640851dbd4}{{4.8}{40}{Protected Member Functions}{section*.34}{}} +\gdef \LT@xlvii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\newlabel{class_object_a29de966ce95d96e19262c4f10f0b4276}{{4.8}{41}{Protected Attributes}{section*.35}{}} +\newlabel{class_object_a2bbbe3a5b33cbcfc4c536b49d470a6b8}{{4.8}{41}{Protected Attributes}{section*.35}{}} +\newlabel{class_object_ac5ca00d03136434b93ae7d00808554c7}{{4.8}{41}{Protected Attributes}{section*.35}{}} +\newlabel{class_object_acfc4dec49d5d273910c3a1af2b3adfcd}{{4.8}{41}{Protected Attributes}{section*.35}{}} +\newlabel{class_object_a6378d0b0eeec23045ae2a5245e42bf13}{{4.8}{41}{Protected Attributes}{section*.35}{}} +\newlabel{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{{4.8}{41}{Protected Attributes}{section*.35}{}} +\newlabel{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{{4.8}{41}{Protected Attributes}{section*.35}{}} +\newlabel{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{{4.8}{41}{Protected Attributes}{section*.35}{}} +\newlabel{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{{4.8}{41}{Protected Attributes}{section*.35}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.1}Detailed Description}{41}{subsection.4.8.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.2}Member Function Documentation}{41}{subsection.4.8.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.8.2.1}Delete\discretionary {-}{}{}Object}{41}{subsubsection.4.8.2.1}} +\newlabel{class_scene_a8bbe0e5b1bfc71034b18e240e86aa285}{{4.8.2.1}{41}{Delete\-Object}{subsubsection.4.8.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.8.2.2}Get\discretionary {-}{}{}Position}{41}{subsubsection.4.8.2.2}} +\newlabel{class_object_ae10497fea640753a3cb63f739aacc540}{{4.8.2.2}{41}{Get\-Position}{subsubsection.4.8.2.2}{}} +\gdef \LT@xlviii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.8.2.3}Shader}{42}{subsubsection.4.8.2.3}} +\newlabel{class_object_a3dc857b837e8b77ba8a2727233400a5e}{{4.8.2.3}{42}{Shader}{subsubsection.4.8.2.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.8.2.4}Shader}{42}{subsubsection.4.8.2.4}} +\newlabel{class_object_aa52c30bca96800cecba55f446e147859}{{4.8.2.4}{42}{Shader}{subsubsection.4.8.2.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.8.3}Member Data Documentation}{42}{subsection.4.8.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.8.3.1}draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}{42}{subsubsection.4.8.3.1}} +\newlabel{class_object_a82764b385767d989f27d301ab206acb8}{{4.8.3.1}{42}{draw\-\_\-mode}{subsubsection.4.8.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.8.3.2}handles}{42}{subsubsection.4.8.3.2}} +\newlabel{class_object_acd6c7021617ea334915a1525f9519bc5}{{4.8.3.2}{42}{handles}{subsubsection.4.8.3.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.8.3.3}name}{42}{subsubsection.4.8.3.3}} +\newlabel{class_object_a24457e0a387492c80594aec7681a2277}{{4.8.3.3}{42}{name}{subsubsection.4.8.3.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.8.3.4}vao}{42}{subsubsection.4.8.3.4}} +\newlabel{class_object_a66190fee29d03d6478516686cbd01eb8}{{4.8.3.4}{42}{vao}{subsubsection.4.8.3.4}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.9}Particle Class Reference}{43}{section.4.9}} +\newlabel{class_particle}{{4.9}{43}{Particle Class Reference}{section.4.9}{}} +\newlabel{class_object_a79b74057dbc5182b85c9c3ba8480fcf2}{{4.9}{43}{Public Types}{section*.37}{}} +\newlabel{class_object_a6e19bd8516360bff956408cbae33b878}{{4.9}{43}{Public Types}{section*.37}{}} +\newlabel{class_object_ae6a2969ddca87d2c54b7cb1c131a7d60}{{4.9}{43}{Public Types}{section*.37}{}} +\newlabel{class_particle_afcdc6f92de4e525a67617fe9fee6ae5d}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_particle_a686aad22bf7a80a089e117bbc7f4b738}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_particle_aabc36f29b35e0e1e5c6d6fb926bb7bbb}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_particle_a1cdeee73a5eb04f48c0002f7136852ff}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_particle_ac77b501936d44053585151c83b66ba22}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_particle_a3d339beee1c13eb3d1eed69d14715106}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_particle_a8dbaf5f085a47c834c02f0531ccdbae1}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_particle_a2f59e88a58a6c6ea766ab4c94c75c2b3}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_particle_ac0cd12e63886b12d2b99549ecb552838}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_particle_a5a387ad04e530af85dcd64763282d3a0}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_a3afa1b9af32b78d81b5de0836c511aeb}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_a35c89a8eb8a5b742a9025331119bfc7c}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_a754f9f36a528f050b25d053ed43015f0}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_ac6ccf69d21c4c902c62829c48ef6cf5b}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_aa104adfbcc2cae4bd68c053cc3dab721}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_a890760dff9df547454112ff84510040c}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_accde5aa6e8d0d582719e94c414c2341c}{{4.9}{43}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_a34258ee199342d785c29d18c49d54e71}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_ae3226b31c80c9f276ffdee65101c8fa6}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_ae09449132d3853e179d07d4d6bc0b695}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_aa60771518c07a0edf5aeee5584a571e0}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_af4d40010633d77ff47e75d40e3129894}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_a275903685e300433a5120b5558eb9aa1}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_aea00114a91aeb779b4f03c7bebaa326e}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_a98d3f1b9ebb61c3b21e2a59ed267480a}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_aae9b55b35a69ba78aa2803b4c8a681b7}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_scene_a366b5dec1ecf66a887b4d0dedcd1aa3b}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_scene_a3bd9fa1058f506c04162b9283e97d20e}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_scene_a43fd3c56db5dc940d1724b9573c9a360}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_scene_abdfd15e7987aa261840d5ecc265170df}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_scene_a82759ded1f6f87a91b8d10ed87501958}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_scene_a70fcdad192a4c6ff508125de8af6cf4d}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_scene_ad0ea1a6bcf7815c63988bd937f06eb23}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_scene_ae9b69d8db8a46991017635f22e45baad}{{4.9}{44}{Public Member Functions}{section*.38}{}} +\newlabel{class_object_a8dec70177d147f59ba10c9eba8e9191b}{{4.9}{44}{Public Attributes}{section*.39}{}} +\newlabel{class_object_ad541a7bb180e24f59d752cc6d7f8c7e8}{{4.9}{44}{Public Attributes}{section*.39}{}} +\newlabel{class_object_a9b2fb19d129ad79407f9af0eea05b96c}{{4.9}{44}{Public Attributes}{section*.39}{}} +\newlabel{class_object_a4de4c1e2c4b621efb6f5d1b398ac6835}{{4.9}{44}{Public Attributes}{section*.39}{}} +\newlabel{class_object_a6d6c58ccb93f7a2bd7439d081134aaa0}{{4.9}{44}{Public Attributes}{section*.39}{}} +\newlabel{class_object_a1bb011587e4fa6e69984d5679546b1cb}{{4.9}{44}{Public Attributes}{section*.39}{}} +\newlabel{class_scene_ae8d51ddc196248a7cbd1f3640851dbd4}{{4.9}{44}{Protected Member Functions}{section*.40}{}} +\newlabel{class_object_a29de966ce95d96e19262c4f10f0b4276}{{4.9}{44}{Protected Attributes}{section*.41}{}} +\gdef \LT@xlix {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\newlabel{class_object_a2bbbe3a5b33cbcfc4c536b49d470a6b8}{{4.9}{45}{Protected Attributes}{section*.41}{}} +\newlabel{class_object_ac5ca00d03136434b93ae7d00808554c7}{{4.9}{45}{Protected Attributes}{section*.41}{}} +\newlabel{class_object_acfc4dec49d5d273910c3a1af2b3adfcd}{{4.9}{45}{Protected Attributes}{section*.41}{}} +\newlabel{class_object_a6378d0b0eeec23045ae2a5245e42bf13}{{4.9}{45}{Protected Attributes}{section*.41}{}} +\newlabel{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{{4.9}{45}{Protected Attributes}{section*.41}{}} +\newlabel{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{{4.9}{45}{Protected Attributes}{section*.41}{}} +\newlabel{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{{4.9}{45}{Protected Attributes}{section*.41}{}} +\newlabel{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{{4.9}{45}{Protected Attributes}{section*.41}{}} +\newlabel{class_particle_a3d51791a544fb2cbf2e93531b3626132}{{4.9}{45}{Private Attributes}{section*.42}{}} +\newlabel{class_particle_ad18c1ecffb2e5d032732d4cd058bb986}{{4.9}{45}{Private Attributes}{section*.42}{}} +\newlabel{class_particle_a4cd8cbbc5b05126133df8246611339f2}{{4.9}{45}{Private Attributes}{section*.42}{}} +\newlabel{class_particle_a14af67b37c2acfcbaffcc766b660a5f6}{{4.9}{45}{Private Attributes}{section*.42}{}} +\newlabel{class_particle_a3ec1cf194290dd222d3894e30a111db0}{{4.9}{45}{Private Attributes}{section*.42}{}} +\newlabel{class_particle_a08108b2a0a2c0ec96f235510cc9aa0a2}{{4.9}{45}{Private Attributes}{section*.42}{}} +\newlabel{class_particle_a73e6af7e8d30f1cbf570cc93fbe6529e}{{4.9}{45}{Private Attributes}{section*.42}{}} +\newlabel{class_particle_a639147e87ea9fd39b04ac3bafb6ff97b}{{4.9}{45}{Private Attributes}{section*.42}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.9.1}Detailed Description}{45}{subsection.4.9.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.9.2}Member Function Documentation}{45}{subsection.4.9.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.9.2.1}Delete\discretionary {-}{}{}Object}{45}{subsubsection.4.9.2.1}} +\newlabel{class_scene_a8bbe0e5b1bfc71034b18e240e86aa285}{{4.9.2.1}{45}{Delete\-Object}{subsubsection.4.9.2.1}{}} +\gdef \LT@l {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.9.2.2}Get\discretionary {-}{}{}Position}{46}{subsubsection.4.9.2.2}} +\newlabel{class_object_ae10497fea640753a3cb63f739aacc540}{{4.9.2.2}{46}{Get\-Position}{subsubsection.4.9.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.9.2.3}Shader}{46}{subsubsection.4.9.2.3}} +\newlabel{class_object_a3dc857b837e8b77ba8a2727233400a5e}{{4.9.2.3}{46}{Shader}{subsubsection.4.9.2.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.9.2.4}Shader}{46}{subsubsection.4.9.2.4}} +\newlabel{class_object_aa52c30bca96800cecba55f446e147859}{{4.9.2.4}{46}{Shader}{subsubsection.4.9.2.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.9.3}Member Data Documentation}{46}{subsection.4.9.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.9.3.1}draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}{46}{subsubsection.4.9.3.1}} +\newlabel{class_object_a82764b385767d989f27d301ab206acb8}{{4.9.3.1}{46}{draw\-\_\-mode}{subsubsection.4.9.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.9.3.2}handles}{46}{subsubsection.4.9.3.2}} +\newlabel{class_object_acd6c7021617ea334915a1525f9519bc5}{{4.9.3.2}{46}{handles}{subsubsection.4.9.3.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.9.3.3}name}{46}{subsubsection.4.9.3.3}} +\newlabel{class_object_a24457e0a387492c80594aec7681a2277}{{4.9.3.3}{46}{name}{subsubsection.4.9.3.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.9.3.4}vao}{47}{subsubsection.4.9.3.4}} +\newlabel{class_object_a66190fee29d03d6478516686cbd01eb8}{{4.9.3.4}{47}{vao}{subsubsection.4.9.3.4}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.10}Rot\discretionary {-}{}{}Mat Class Reference}{47}{section.4.10}} +\newlabel{class_rot_mat}{{4.10}{47}{Rot\-Mat Class Reference}{section.4.10}{}} +\newlabel{class_rot_mat_abe1e5d870c095d4345d58d5539a3f86a}{{4.10}{47}{Public Member Functions}{section*.43}{}} +\newlabel{class_rot_mat_ad4def0c34e58da1bd9b3a39f6a9fce91}{{4.10}{47}{Public Member Functions}{section*.43}{}} +\newlabel{class_rot_mat_a6823dc0196574a21bddfd166024204f5}{{4.10}{47}{Public Member Functions}{section*.43}{}} +\newlabel{class_rot_mat_a8f93106da83a30fb56482859a39ed2a4}{{4.10}{47}{Public Member Functions}{section*.43}{}} +\newlabel{class_rot_mat_af5ba2e61406934af90e612a037659fb0}{{4.10}{47}{Public Member Functions}{section*.43}{}} +\newlabel{class_transformation_ae6a57a1ee74ca1da1b8aef3d328a8772}{{4.10}{47}{Public Member Functions}{section*.43}{}} +\newlabel{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66}{{4.10}{47}{Public Member Functions}{section*.43}{}} +\newlabel{class_transformation_a85b923e0066365ef2e4aec3671396410}{{4.10}{47}{Public Member Functions}{section*.43}{}} +\newlabel{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834}{{4.10}{47}{Protected Attributes}{section*.44}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.10.1}Detailed Description}{47}{subsection.4.10.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.11}Scale\discretionary {-}{}{}Mat Class Reference}{48}{section.4.11}} +\newlabel{class_scale_mat}{{4.11}{48}{Scale\-Mat Class Reference}{section.4.11}{}} +\newlabel{class_scale_mat_aa72e3e61eddd0e88092e6cc76cc78972}{{4.11}{48}{Public Member Functions}{section*.45}{}} +\newlabel{class_scale_mat_aea523b732204366c105809fc447ff07e}{{4.11}{48}{Public Member Functions}{section*.45}{}} +\newlabel{class_scale_mat_ad259370ba433114d9cdbd9d817552905}{{4.11}{48}{Public Member Functions}{section*.45}{}} +\newlabel{class_scale_mat_af915563091d994e41c309a2bcd31615e}{{4.11}{48}{Public Member Functions}{section*.45}{}} +\newlabel{class_transformation_ae6a57a1ee74ca1da1b8aef3d328a8772}{{4.11}{48}{Public Member Functions}{section*.45}{}} +\newlabel{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66}{{4.11}{48}{Public Member Functions}{section*.45}{}} +\newlabel{class_transformation_a85b923e0066365ef2e4aec3671396410}{{4.11}{48}{Public Member Functions}{section*.45}{}} +\newlabel{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834}{{4.11}{48}{Protected Attributes}{section*.46}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.11.1}Detailed Description}{48}{subsection.4.11.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.12}Scene Class Reference}{48}{section.4.12}} +\newlabel{class_scene}{{4.12}{48}{Scene Class Reference}{section.4.12}{}} +\gdef \LT@li {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\newlabel{class_scene_a366b5dec1ecf66a887b4d0dedcd1aa3b}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_a3bd9fa1058f506c04162b9283e97d20e}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_a43fd3c56db5dc940d1724b9573c9a360}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_abdfd15e7987aa261840d5ecc265170df}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_a82759ded1f6f87a91b8d10ed87501958}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_a70fcdad192a4c6ff508125de8af6cf4d}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_ad0ea1a6bcf7815c63988bd937f06eb23}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_ad5a91c929b569b9111061eec16b3febf}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_ae9b69d8db8a46991017635f22e45baad}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_aa6e6354478dc7df82446b3abf9f91d96}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_a6336263b33b06ce4ace53599ffd8122c}{{4.12}{49}{Public Member Functions}{section*.47}{}} +\newlabel{class_scene_ae8d51ddc196248a7cbd1f3640851dbd4}{{4.12}{49}{Protected Member Functions}{section*.48}{}} +\newlabel{class_scene_acdd0123ca6b2d64d8d447bb485b235fc}{{4.12}{49}{Protected Attributes}{section*.49}{}} +\newlabel{class_scene_a8bd5d86484a12255b26b92b6cbf8d29a}{{4.12}{49}{Protected Attributes}{section*.49}{}} +\newlabel{class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9}{{4.12}{49}{Protected Attributes}{section*.49}{}} +\newlabel{class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724}{{4.12}{49}{Protected Attributes}{section*.49}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.12.1}Detailed Description}{49}{subsection.4.12.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.12.2}Member Function Documentation}{49}{subsection.4.12.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.12.2.1}Delete\discretionary {-}{}{}Object}{49}{subsubsection.4.12.2.1}} +\newlabel{class_scene_a8bbe0e5b1bfc71034b18e240e86aa285}{{4.12.2.1}{49}{Delete\-Object}{subsubsection.4.12.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.12.2.2}Shader}{49}{subsubsection.4.12.2.2}} +\newlabel{class_scene_a7137a7302c21ac4dd44e746bfb6f7cf8}{{4.12.2.2}{49}{Shader}{subsubsection.4.12.2.2}{}} +\gdef \LT@lii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.12.2.3}Shader}{50}{subsubsection.4.12.2.3}} +\newlabel{class_scene_af1e8ba8802f3bf83cebbfcbf3ed7c333}{{4.12.2.3}{50}{Shader}{subsubsection.4.12.2.3}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.13}Screen Class Reference}{50}{section.4.13}} +\newlabel{class_screen}{{4.13}{50}{Screen Class Reference}{section.4.13}{}} +\newlabel{class_screen_ad97151af2e654778bad86043c32fe19f}{{4.13}{50}{Public Member Functions}{section*.50}{}} +\newlabel{class_screen_a7b45282430392ffa8b5891936363f8f8}{{4.13}{50}{Public Member Functions}{section*.50}{}} +\newlabel{class_screen_a478c5176fd4fdc8af48f2bd7e824329d}{{4.13}{50}{Public Member Functions}{section*.50}{}} +\newlabel{class_screen_a5fa4071af08df619e7cb4311bc0efb45}{{4.13}{50}{Public Member Functions}{section*.50}{}} +\newlabel{class_screen_a6f22423a037d9cf406d3ca4dd79b94b5}{{4.13}{50}{Public Member Functions}{section*.50}{}} +\newlabel{class_screen_aa9a4a2e113af54d7164463bef8e78471}{{4.13}{50}{Public Member Functions}{section*.50}{}} +\newlabel{class_screen_ad532ef57bbdb9a1e1540812a02eece23}{{4.13}{50}{Public Member Functions}{section*.50}{}} +\newlabel{class_screen_a00be376c569ac4b71d770f34e297f332}{{4.13}{50}{Public Member Functions}{section*.50}{}} +\newlabel{class_screen_a434f489a1b9d40319f7f6dbbf11db456}{{4.13}{50}{Public Member Functions}{section*.50}{}} +\newlabel{class_screen_a7b574e8ded50718dc1523180102e2f41}{{4.13}{50}{Public Member Functions}{section*.50}{}} +\newlabel{class_screen_a0098c32ec26cba2df8108d7b706986e5}{{4.13}{50}{Public Attributes}{section*.51}{}} +\newlabel{class_screen_a02a1812a3807a9c4db6d4456861a7130}{{4.13}{50}{Private Attributes}{section*.52}{}} +\newlabel{class_screen_a1c82610b27dd93ae998b96d1fe11c792}{{4.13}{50}{Private Attributes}{section*.52}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.13.1}Detailed Description}{51}{subsection.4.13.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.14}Spelchk\discretionary {-}{}{}Camera Class Reference}{51}{section.4.14}} +\newlabel{class_spelchk_camera}{{4.14}{51}{Spelchk\-Camera Class Reference}{section.4.14}{}} +\newlabel{class_spelchk_camera_a1d894472ef9e588ddeb56434e549cd0a}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_a2a9aa83f6e5d3d2371dd00ae162aef30}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_af702dfbd3c3719e4b738440bb2269922}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_a4ad8fbfe69914453580c02406bffc501}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_a1396d6aa2a3e85d9ed8b90c17751da41}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_aa012e2d10f196ae007a8f8b4ac8471c3}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_a24f5fe7d296bcd7ec9d70b25b6a92fe5}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_a95b87c80007941d85d26c43d30fa7f87}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_a29d4ba987d9f3e1c47e1103fcea0ae2b}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_a20436fee96b0d6a1279d10b88e20f520}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_aed5d76d2de23473dec034161efe29275}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_a90aa5e06ba61d44e63535acf2cc3e373}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_afc39db6b4eab85070aa5d7494d0c5198}{{4.14}{51}{Public Member Functions}{section*.53}{}} +\newlabel{class_spelchk_camera_a539230ff6d91932526666d4eee9d6c0d}{{4.14}{51}{Private Member Functions}{section*.54}{}} +\newlabel{class_spelchk_camera_a56626b721de172eed34cd008db1e3cfe}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a7100656d4105997c30736993767a31f9}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a70d9a9d5f6176a0c9d26bd645536085c}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_ae8f0c6ccfef8af60b4e4b7178ed79ddd}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a7c0c8e4ef77ab6235b764099c4178ac9}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_ac63e0cb41beb7ba21b4a93411057fb11}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a91da81606e111b5346b9ff01b8ee51e4}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a5ff79a52200bff0010dec68f6f2fc81f}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a5e346a9b0f4513cd73e8c662d9b68ce8}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a95814c7cdb0c22f786c550f0be15d861}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a151379f37af88e08c6d8cb8e68c803f5}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_ac8c840647d7f35bb118b289793ff5454}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a36003c28aa94824059381841d4f0081f}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a47c24171c6228b32362160990725f52e}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_ad70aebd6b7292aa9ad917e1bc264b5bd}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a96902d7291fd719ae0d5630fc1966cab}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a1a2a01ff4bf6ed7e0aea35baf64c52d3}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a22de39eb2216ae32f2aefbdd06d26670}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_ad681727f16e8864332beb03a8d56f38c}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_aab34b46f554bd49958e22deb1dfcdfc1}{{4.14}{51}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a900decac3d9387e3a90f9a363f171241}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a96a0eaa30df58f418b62dd32a87aacdd}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a6160bf79c12028d38e3a722f47b73689}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a2d4ff9d44d319beae940893c13cd6d23}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a4e29677cebaa80d8559eaa5b97f67a9d}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a6cbc7eb6281d9b5d3e52f9cc368e099e}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_adadeec344d21294df061f66f184c0dda}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_afc4abd0c3662dc3808cb073650547d36}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_aef04e503f7376447684b6594a9cd79eb}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a30c3cde28c3d5c137b784e15d58233c4}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_a733c3b94be2ec8b25c69f124fba72294}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_abf7dde00eb7354162a80b4675b0b1b96}{{4.14}{52}{Private Attributes}{section*.55}{}} +\newlabel{class_spelchk_camera_afa0999e81fc3478d2791fd7febc845bf}{{4.14}{52}{Private Attributes}{section*.55}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.14.1}Detailed Description}{52}{subsection.4.14.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.15}Timer Class Reference}{52}{section.4.15}} +\newlabel{class_timer}{{4.15}{52}{Timer Class Reference}{section.4.15}{}} +\newlabel{class_timer_a384a34d671fa58160f0ea13713645462}{{4.15}{52}{Private Attributes}{section*.57}{}} +\newlabel{class_timer_a22691ac7f27eed709461091c1125d931}{{4.15}{52}{Private Attributes}{section*.57}{}} +\newlabel{class_timer_a2a80ef1463e87f63e6ccc45a3fbe5ac2}{{4.15}{52}{Private Attributes}{section*.57}{}} +\newlabel{class_timer_a02c5ec526c6bad4f0f2352325b4ac4f3}{{4.15}{52}{Private Attributes}{section*.57}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.15.1}Detailed Description}{52}{subsection.4.15.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.15.2}Member Function Documentation}{53}{subsection.4.15.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.15.2.1}Delta}{53}{subsubsection.4.15.2.1}} +\newlabel{class_timer_a4f68da5b62cb1d1b2dd0c8549eb6286d}{{4.15.2.1}{53}{Delta}{subsubsection.4.15.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.15.2.2}Scale}{53}{subsubsection.4.15.2.2}} +\newlabel{class_timer_a25ed035b0da5b177050c922660acf864}{{4.15.2.2}{53}{Scale}{subsubsection.4.15.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.15.2.3}Tick}{53}{subsubsection.4.15.2.3}} +\newlabel{class_timer_a4e69d3c5a312d1b29d1735b2c5bccefb}{{4.15.2.3}{53}{Tick}{subsubsection.4.15.2.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {4.15.2.4}Tock}{53}{subsubsection.4.15.2.4}} +\newlabel{class_timer_a2c58a2e04e1e30926805aa4e82d2a0a5}{{4.15.2.4}{53}{Tock}{subsubsection.4.15.2.4}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4.16}Trans\discretionary {-}{}{}Cache Class Reference}{54}{section.4.16}} +\newlabel{class_trans_cache}{{4.16}{54}{Trans\-Cache Class Reference}{section.4.16}{}} +\newlabel{class_trans_cache_a32a6714d87b953341ec5fa7eeb57c38f}{{4.16}{54}{Public Member Functions}{section*.58}{}} +\newlabel{class_trans_cache_a7b425ff8ded5fb458e21ab4660785038}{{4.16}{54}{Public Member Functions}{section*.58}{}} +\newlabel{class_trans_cache_ac9396813c4f26840c9c5e825d2a56fef}{{4.16}{54}{Public Member Functions}{section*.58}{}} +\newlabel{class_trans_cache_ac1ca33b96c384988bb7a46a250d441bd}{{4.16}{54}{Public Member Functions}{section*.58}{}} +\newlabel{class_trans_cache_ae68bc1c7a2f813ae42e895c4b3914f06}{{4.16}{54}{Public Member Functions}{section*.58}{}} +\newlabel{class_trans_cache_a084f46900c69be0ba49b251edae90919}{{4.16}{54}{Public Attributes}{section*.59}{}} +\newlabel{class_trans_cache_a254b3076891e6161a07834af86c29610}{{4.16}{54}{Public Attributes}{section*.59}{}} +\newlabel{class_trans_cache_a0d9a476e9640885c8b06d23a517cb32d}{{4.16}{54}{Public Attributes}{section*.59}{}} +\newlabel{class_trans_cache_aaf226f57f43c89c20a57ab0103acf581}{{4.16}{54}{Public Attributes}{section*.59}{}} +\newlabel{class_trans_cache_a447c3b57cb43476f866a748bbd7003f1}{{4.16}{54}{Public Attributes}{section*.59}{}} +\newlabel{class_trans_cache_a0dd39219d23e23e0a0038b3a526fdb2b}{{4.16}{54}{Public Attributes}{section*.59}{}} +\newlabel{class_trans_cache_a23570257c2a224ace589c6f22dbfc135}{{4.16}{54}{Public Attributes}{section*.59}{}} +\newlabel{class_trans_cache_af0652a8016db75eea63d9486ca1959ad}{{4.16}{54}{Private Attributes}{section*.60}{}} +\newlabel{class_trans_cache_add771d1088642aca16cea5df82c1b6b0}{{4.16}{54}{Private Attributes}{section*.60}{}} +\newlabel{class_trans_cache_afcebdcb61bebb8d44d40fa2d19d7009d}{{4.16}{54}{Private Attributes}{section*.60}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.16.1}Detailed Description}{54}{subsection.4.16.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.17}Transformation Class Reference}{54}{section.4.17}} +\newlabel{class_transformation}{{4.17}{54}{Transformation Class Reference}{section.4.17}{}} +\newlabel{class_transformation_ae6a57a1ee74ca1da1b8aef3d328a8772}{{4.17}{54}{Public Member Functions}{section*.61}{}} +\newlabel{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66}{{4.17}{54}{Public Member Functions}{section*.61}{}} +\newlabel{class_transformation_a85b923e0066365ef2e4aec3671396410}{{4.17}{54}{Public Member Functions}{section*.61}{}} +\newlabel{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834}{{4.17}{55}{Protected Attributes}{section*.62}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.17.1}Detailed Description}{55}{subsection.4.17.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.18}Trans\discretionary {-}{}{}Mat Class Reference}{55}{section.4.18}} +\newlabel{class_trans_mat}{{4.18}{55}{Trans\-Mat Class Reference}{section.4.18}{}} +\newlabel{class_trans_mat_a0a06e0dbfa09be06f0b8057283904b61}{{4.18}{55}{Public Member Functions}{section*.63}{}} +\newlabel{class_trans_mat_a06c565961177be6b4945899d099eb7bc}{{4.18}{55}{Public Member Functions}{section*.63}{}} +\newlabel{class_trans_mat_a9eaca6a2622a5820ee996409c477a54e}{{4.18}{55}{Public Member Functions}{section*.63}{}} +\newlabel{class_trans_mat_a674c38b07b3f30ca46fdad9b3e699b77}{{4.18}{55}{Public Member Functions}{section*.63}{}} +\newlabel{class_trans_mat_a5d6ab266be86788df753e5457afbe461}{{4.18}{55}{Public Member Functions}{section*.63}{}} +\newlabel{class_trans_mat_acaca3bb158b497ae5924fda662ff324d}{{4.18}{55}{Public Member Functions}{section*.63}{}} +\newlabel{class_trans_mat_a1ba9395450677744c7c86d98f2d094d8}{{4.18}{55}{Public Member Functions}{section*.63}{}} +\newlabel{class_transformation_ae6a57a1ee74ca1da1b8aef3d328a8772}{{4.18}{55}{Public Member Functions}{section*.63}{}} +\newlabel{class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66}{{4.18}{55}{Public Member Functions}{section*.63}{}} +\newlabel{class_transformation_a85b923e0066365ef2e4aec3671396410}{{4.18}{55}{Public Member Functions}{section*.63}{}} +\newlabel{class_transformation_a5f39fb578a1cdf78ca85efbd932d3834}{{4.18}{55}{Protected Attributes}{section*.64}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.18.1}Detailed Description}{55}{subsection.4.18.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.19}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:vec2 Struct Reference}{56}{section.4.19}} +\newlabel{struct_angel_1_1vec2}{{4.19}{56}{Angel\-:\-:vec2 Struct Reference}{section.4.19}{}} +\newlabel{struct_angel_1_1vec2_ab2463ddb6aaaa67251004b90f03530fa}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a8e55cc0bb681ca7a747721cab122d830}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_aa2ec5b81c4b97019486b0595db6f35a1}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a48235bf48a69717c273b72468d355244}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a83725a082bca8ea73a2171bb4596c1bd}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a3b29693925c8026f75572dd13cefee5a}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a93606208e7b65d4bb8004f498b22934f}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a2d3d52e1b4693fdb860c2ef246e0d4d8}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_ac5615b2494e3f8824f9fa127ba122b67}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a3b4a9670b53342b870e3a14c8164c613}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a522a6aaa64c361b86f6c2469cbd8ca92}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_aaa3b17cab0a568002fd965ef65e91653}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_ac48fa24fcdd901ab8748dda3361332f8}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a999ce51805c3c25a9a03039f05ce1492}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a8580b24c22b17ac08ab32841dcf03f45}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a6ea8be1d732aea09b0f3f16f61fa2ef7}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a5c3d2082bcc18734fde3689dbc605104}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_a8989f46bc38bb87bc2f6ea81f66c8545}{{4.19}{56}{Public Member Functions}{section*.65}{}} +\newlabel{struct_angel_1_1vec2_ab99b91871c08bbf76bf4a5e554ccac8f}{{4.19}{56}{Public Attributes}{section*.66}{}} +\newlabel{struct_angel_1_1vec2_a9f0e4c33e7884eca47d771ccfd4ea0bd}{{4.19}{56}{Public Attributes}{section*.66}{}} +\newlabel{struct_angel_1_1vec2_a1f371c4b26f86deb4d296dfff8ff1fc1}{{4.19}{56}{Friends}{section*.67}{}} +\newlabel{struct_angel_1_1vec2_a5533e582fe94db90861caa394494f2cf}{{4.19}{56}{Friends}{section*.67}{}} +\newlabel{struct_angel_1_1vec2_af8cf130207f2cf5866ac13049e956c75}{{4.19}{56}{Friends}{section*.67}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.19.1}Detailed Description}{56}{subsection.4.19.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.20}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:vec3 Struct Reference}{56}{section.4.20}} +\newlabel{struct_angel_1_1vec3}{{4.20}{56}{Angel\-:\-:vec3 Struct Reference}{section.4.20}{}} +\newlabel{struct_angel_1_1vec3_a420358f913d30a659761e3a86026cd59}{{4.20}{56}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_a9970b9133cd349d038456ae7309fbeba}{{4.20}{56}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_a3af0b92e9cb01f0cda2f66c007e196c9}{{4.20}{56}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_a597ff15b14f6bd9e75382525f6da00bd}{{4.20}{56}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_a571e36d7c9542eb3464b8fde016d040d}{{4.20}{56}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_ad78e907775d490a69aa879a34e7dfe5c}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_a5ec954ef19e3d1ceed6ce25ebe32c3ee}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_a320586bc86a5abd0ac991a3e51485ef6}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_a947a9982285c993f79d8ab3afc4da2c8}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_aa2d45d74dee02720c82757f03263e8ae}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_aa6709e55b49d756a9b00e038adc68438}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_ab072ed9282da0217c26b8dae2c6bf978}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_abe9f854bc044ab4461882c635b197102}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_ada518593451bbc8b9529ddd36284402f}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_ab825bec2ce97dc35aa4835758ec51270}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_a54e75f1d64f773d99f0d5e80b031142b}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_ae3ac03ba1ce7c8bbb8dfe07c7e0d06d9}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_a81f4a99d68722e756664907dcb07fb92}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_ab92761f9bc4454117c1dd39a7d87c1b0}{{4.20}{57}{Public Member Functions}{section*.68}{}} +\newlabel{struct_angel_1_1vec3_a758dbe298cc37615770c30a73066253d}{{4.20}{57}{Public Attributes}{section*.69}{}} +\newlabel{struct_angel_1_1vec3_a02608203e694798c3118d5b55a0e0048}{{4.20}{57}{Public Attributes}{section*.69}{}} +\newlabel{struct_angel_1_1vec3_afa2e7231c4170ddedb556ef5f7941cbc}{{4.20}{57}{Public Attributes}{section*.69}{}} +\newlabel{struct_angel_1_1vec3_a1d78982e3d5969f2e9f98a536cfea9f7}{{4.20}{57}{Friends}{section*.70}{}} +\newlabel{struct_angel_1_1vec3_a3e8f4856b29a4320f185f9a9cf0f94bc}{{4.20}{57}{Friends}{section*.70}{}} +\newlabel{struct_angel_1_1vec3_ab705d3337286a4262e84bbbb0b694a56}{{4.20}{57}{Friends}{section*.70}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.20.1}Detailed Description}{57}{subsection.4.20.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.21}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:vec4 Struct Reference}{57}{section.4.21}} +\newlabel{struct_angel_1_1vec4}{{4.21}{57}{Angel\-:\-:vec4 Struct Reference}{section.4.21}{}} +\newlabel{struct_angel_1_1vec4_afa13c9f342969e0ee740abbe3b7b8b4c}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_add0c2aa60bd9a4930c016fe08ffced70}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_a72b386b6ebca67a90f47c12407e064f7}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_a48f563362bfe698603c365cc400bd99a}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_a8ac0995f9bba4d859ec9c46ed8e5d492}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_a1dc1b7daa6d5684466deee1ef8267910}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_acc747bb9541dccb35a7953c91aa93ef9}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_a7fbf327a3af8d45a22f6922993e71a03}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_aa294368ad74207ccaf3d94a01fc48084}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_a6355469f6b5dfd9aad1abdb72c909d22}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_a92c877320dd47ffa15a0de898bd13638}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_add20f4c8f8e43a6efcc83a1aa8e1192a}{{4.21}{57}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_a2110d1ac08fe09e785640e8219af23cf}{{4.21}{58}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_acae5e90e375b8fe265c39d4fabbf134d}{{4.21}{58}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_a2a861fc00ce40f6a6609ef631ddae21a}{{4.21}{58}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_aab6ea06360d12b1e2962d6c4ea4dc639}{{4.21}{58}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_a2035c8e93278408c05404b713346d92d}{{4.21}{58}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_aacad340463007e48c1674689787e6b47}{{4.21}{58}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_a71c7509461ea7152c6785bfbc811ab64}{{4.21}{58}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_abe6702f74ba431df65da55aa0df6de16}{{4.21}{58}{Public Member Functions}{section*.71}{}} +\newlabel{struct_angel_1_1vec4_aaf7881acf82e877f889905a1573d36ad}{{4.21}{58}{Public Attributes}{section*.72}{}} +\newlabel{struct_angel_1_1vec4_a2396916bf1051ee7d6c11e6f2a539308}{{4.21}{58}{Public Attributes}{section*.72}{}} +\newlabel{struct_angel_1_1vec4_ab62654db1d62f75cb4d1bec9e4543797}{{4.21}{58}{Public Attributes}{section*.72}{}} +\newlabel{struct_angel_1_1vec4_a27752dffc3cd1ac7aa2fc72d40a84a48}{{4.21}{58}{Public Attributes}{section*.72}{}} +\newlabel{struct_angel_1_1vec4_a18b1a91dc4c502220d099d6d85e504bc}{{4.21}{58}{Friends}{section*.73}{}} +\newlabel{struct_angel_1_1vec4_afadcf8884205c469256e4be7d96bfa12}{{4.21}{58}{Friends}{section*.73}{}} +\newlabel{struct_angel_1_1vec4_ada396ae1c4ef513c6baf301f20f89bfa}{{4.21}{58}{Friends}{section*.73}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.21.1}Detailed Description}{58}{subsection.4.21.1}} +\@writefile{toc}{\contentsline {section}{\numberline {4.22}wii\discretionary {-}{}{}Poll\discretionary {-}{}{}Data Struct Reference}{58}{section.4.22}} +\newlabel{structwii_poll_data}{{4.22}{58}{wii\-Poll\-Data Struct Reference}{section.4.22}{}} +\newlabel{structwii_poll_data_ad2a9be1946c67bd0da3de42dee26926a}{{4.22}{58}{Public Attributes}{section*.74}{}} +\newlabel{structwii_poll_data_a9d7ad57a394cbae0d84285888a04c4ec}{{4.22}{58}{Public Attributes}{section*.74}{}} +\newlabel{structwii_poll_data_a794e2a15344966d546c3f02f3470a3af}{{4.22}{58}{Public Attributes}{section*.74}{}} +\newlabel{structwii_poll_data_af06c440335fec68bfa22d3601e050d2e}{{4.22}{58}{Public Attributes}{section*.74}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {4.22.1}Detailed Description}{58}{subsection.4.22.1}} +\@writefile{toc}{\contentsline {chapter}{\numberline {5}File Documentation}{59}{chapter.5}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {5.1}Camera.\discretionary {-}{}{}cpp File Reference}{59}{section.5.1}} +\newlabel{_camera_8cpp}{{5.1}{59}{Camera.\-cpp File Reference}{section.5.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.1.1}Detailed Description}{59}{subsection.5.1.1}} +\gdef \LT@liii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.1.2}Macro Definition Documentation}{60}{subsection.5.1.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.1.2.1}R\discretionary {-}{}{}O\discretionary {-}{}{}T\discretionary {-}{}{}A\discretionary {-}{}{}T\discretionary {-}{}{}E\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}S\discretionary {-}{}{}E\discretionary {-}{}{}T}{60}{subsubsection.5.1.2.1}} +\newlabel{_camera_8cpp_a00e96bcc90e768c724477dbd2a3d9291}{{5.1.2.1}{60}{R\-O\-T\-A\-T\-E\-\_\-\-O\-F\-F\-S\-E\-T}{subsubsection.5.1.2.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.2}Camera.\discretionary {-}{}{}hpp File Reference}{60}{section.5.2}} +\newlabel{_camera_8hpp}{{5.2}{60}{Camera.\-hpp File Reference}{section.5.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.2.1}Detailed Description}{60}{subsection.5.2.1}} +\@writefile{toc}{\contentsline {section}{\numberline {5.3}Cameras.\discretionary {-}{}{}cpp File Reference}{61}{section.5.3}} +\newlabel{_cameras_8cpp}{{5.3}{61}{Cameras.\-cpp File Reference}{section.5.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Detailed Description}{61}{subsection.5.3.1}} +\@writefile{toc}{\contentsline {section}{\numberline {5.4}Cameras.\discretionary {-}{}{}hpp File Reference}{61}{section.5.4}} +\newlabel{_cameras_8hpp}{{5.4}{61}{Cameras.\-hpp File Reference}{section.5.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}Detailed Description}{61}{subsection.5.4.1}} +\@writefile{toc}{\contentsline {section}{\numberline {5.5}ds.\discretionary {-}{}{}cpp File Reference}{62}{section.5.5}} +\newlabel{ds_8cpp}{{5.5}{62}{ds.\-cpp File Reference}{section.5.5}{}} +\newlabel{ds_8cpp_a02fd73d861ef2e4aabb38c0c9ff82947}{{5.5}{62}{Functions}{section*.78}{}} +\newlabel{ds_8cpp_aeb94fbd457627182ceee7e505f432541}{{5.5}{62}{Functions}{section*.78}{}} +\newlabel{ds_8cpp_ad2e97e7b54d0bf35e406b91fbdd2f256}{{5.5}{62}{Functions}{section*.78}{}} +\newlabel{ds_8cpp_a4ea013001a5fb47853d0fab8f8de35cd}{{5.5}{62}{Functions}{section*.78}{}} +\newlabel{ds_8cpp_a01131b63acf241e9db91704d89ce15d2}{{5.5}{62}{Functions}{section*.78}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.5.1}Detailed Description}{62}{subsection.5.5.1}} +\gdef \LT@liv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.5.2}Function Documentation}{63}{subsection.5.5.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.5.2.1}main}{63}{subsubsection.5.5.2.1}} +\newlabel{ds_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}{{5.5.2.1}{63}{main}{subsubsection.5.5.2.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.6}Engine.\discretionary {-}{}{}cpp File Reference}{63}{section.5.6}} +\newlabel{_engine_8cpp}{{5.6}{63}{Engine.\-cpp File Reference}{section.5.6}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}Detailed Description}{63}{subsection.5.6.1}} +\@writefile{toc}{\contentsline {section}{\numberline {5.7}Engine.\discretionary {-}{}{}hpp File Reference}{64}{section.5.7}} +\newlabel{_engine_8hpp}{{5.7}{64}{Engine.\-hpp File Reference}{section.5.7}{}} +\newlabel{_engine_8hpp_a35f3ec1606bb0642e48d2e62fea0d6a6}{{5.7}{64}{Typedefs}{section*.80}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}Detailed Description}{64}{subsection.5.7.1}} +\@writefile{toc}{\contentsline {section}{\numberline {5.8}globals.\discretionary {-}{}{}h File Reference}{64}{section.5.8}} +\newlabel{globals_8h}{{5.8}{64}{globals.\-h File Reference}{section.5.8}{}} +\newlabel{globals_8h_ad72dbcf6d0153db1b8d8a58001feed83}{{5.8}{65}{Macros}{section*.81}{}} +\newlabel{globals_8h_ab5f638ed0890579dbe0522227610af64}{{5.8}{65}{Macros}{section*.81}{}} +\newlabel{globals_8h_ad90a072ea1667bc81e21b726aefbcff1}{{5.8}{65}{Variables}{section*.82}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}Detailed Description}{65}{subsection.5.8.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}Macro Definition Documentation}{65}{subsection.5.8.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.2.1}D\discretionary {-}{}{}E\discretionary {-}{}{}G\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}T\discretionary {-}{}{}O\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}I\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}S}{65}{subsubsection.5.8.2.1}} +\newlabel{globals_8h_a7bf0b4b8b3cf2f13f25573b3e151ed88}{{5.8.2.1}{65}{D\-E\-G\-R\-E\-E\-S\-\_\-\-T\-O\-\_\-\-R\-A\-D\-I\-A\-N\-S}{subsubsection.5.8.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.2.2}P\discretionary {-}{}{}O\discretionary {-}{}{}W5}{65}{subsubsection.5.8.2.2}} +\newlabel{globals_8h_a7bbc032e1437a7a73f8d3eb2d93d9c6d}{{5.8.2.2}{65}{P\-O\-W5}{subsubsection.5.8.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.2.3}S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T2}{65}{subsubsection.5.8.2.3}} +\newlabel{globals_8h_a514396dd60fa0621c83072091fb2a0cd}{{5.8.2.3}{65}{S\-Q\-R\-T2}{subsubsection.5.8.2.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.2.4}S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T3}{66}{subsubsection.5.8.2.4}} +\newlabel{globals_8h_ae42978afd835c3a1f70d409a1b5f5a39}{{5.8.2.4}{66}{S\-Q\-R\-T3}{subsubsection.5.8.2.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.3}Variable Documentation}{66}{subsection.5.8.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.3.1}P\discretionary {-}{}{}O\discretionary {-}{}{}S\discretionary {-}{}{}T\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T}{66}{subsubsection.5.8.3.1}} +\newlabel{globals_8h_afbd48522ecf2a24bf2adca81f5a0e616}{{5.8.3.1}{66}{P\-O\-S\-T\-M\-U\-L\-T}{subsubsection.5.8.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.8.3.2}P\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T}{66}{subsubsection.5.8.3.2}} +\newlabel{globals_8h_a6606f2e98acd846ae52f6cd2f7585d22}{{5.8.3.2}{66}{P\-R\-E\-M\-U\-L\-T}{subsubsection.5.8.3.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.9}glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp File Reference}{66}{section.5.9}} +\newlabel{glut__callbacks_8cpp}{{5.9}{66}{glut\-\_\-callbacks.\-cpp File Reference}{section.5.9}{}} +\gdef \LT@lv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lvi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lvii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.9.1}Detailed Description}{67}{subsection.5.9.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.9.2}Function Documentation}{67}{subsection.5.9.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.9.2.1}keyboard}{67}{subsubsection.5.9.2.1}} +\newlabel{glut__callbacks_8cpp_aef7ba2f69afb2d954545f64c7fe24b14}{{5.9.2.1}{67}{keyboard}{subsubsection.5.9.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.9.2.2}keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl}{67}{subsubsection.5.9.2.2}} +\newlabel{glut__callbacks_8cpp_a6f3a97ed034be467bc035242d2486e00}{{5.9.2.2}{67}{keyboard\-\_\-ctrl}{subsubsection.5.9.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.9.2.3}keylift}{67}{subsubsection.5.9.2.3}} +\newlabel{glut__callbacks_8cpp_a254e97178a2df1da3e435a01f778e475}{{5.9.2.3}{67}{keylift}{subsubsection.5.9.2.3}{}} +\gdef \LT@lviii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lix {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lx {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.9.2.4}mouse}{68}{subsubsection.5.9.2.4}} +\newlabel{glut__callbacks_8cpp_ac76a5d78172a826cd6ee9512b89a86c0}{{5.9.2.4}{68}{mouse}{subsubsection.5.9.2.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.9.2.5}mouselook}{68}{subsubsection.5.9.2.5}} +\newlabel{glut__callbacks_8cpp_af04567427614c77718ed14b8450a3438}{{5.9.2.5}{68}{mouselook}{subsubsection.5.9.2.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.9.2.6}mouseroll}{68}{subsubsection.5.9.2.6}} +\newlabel{glut__callbacks_8cpp_ad373689e6b9dcfe1b99692b43a759d40}{{5.9.2.6}{68}{mouseroll}{subsubsection.5.9.2.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.9.2.7}resize\discretionary {-}{}{}Event}{68}{subsubsection.5.9.2.7}} +\newlabel{glut__callbacks_8cpp_ace248343c050c709b645c42012d68f18}{{5.9.2.7}{68}{resize\-Event}{subsubsection.5.9.2.7}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.10}glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h File Reference}{69}{section.5.10}} +\newlabel{glut__callbacks_8h}{{5.10}{69}{glut\-\_\-callbacks.\-h File Reference}{section.5.10}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.10.1}Detailed Description}{69}{subsection.5.10.1}} +\gdef \LT@lxii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxiii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxiv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.10.2}Function Documentation}{70}{subsection.5.10.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.2.1}keyboard}{70}{subsubsection.5.10.2.1}} +\newlabel{glut__callbacks_8h_aef7ba2f69afb2d954545f64c7fe24b14}{{5.10.2.1}{70}{keyboard}{subsubsection.5.10.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.2.2}keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl}{70}{subsubsection.5.10.2.2}} +\newlabel{glut__callbacks_8h_a6f3a97ed034be467bc035242d2486e00}{{5.10.2.2}{70}{keyboard\-\_\-ctrl}{subsubsection.5.10.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.2.3}keylift}{70}{subsubsection.5.10.2.3}} +\newlabel{glut__callbacks_8h_a254e97178a2df1da3e435a01f778e475}{{5.10.2.3}{70}{keylift}{subsubsection.5.10.2.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.2.4}mouse}{70}{subsubsection.5.10.2.4}} +\newlabel{glut__callbacks_8h_ac76a5d78172a826cd6ee9512b89a86c0}{{5.10.2.4}{70}{mouse}{subsubsection.5.10.2.4}{}} +\gdef \LT@lxvi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxvii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxviii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.2.5}mouselook}{71}{subsubsection.5.10.2.5}} +\newlabel{glut__callbacks_8h_af04567427614c77718ed14b8450a3438}{{5.10.2.5}{71}{mouselook}{subsubsection.5.10.2.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.2.6}mouseroll}{71}{subsubsection.5.10.2.6}} +\newlabel{glut__callbacks_8h_ad373689e6b9dcfe1b99692b43a759d40}{{5.10.2.6}{71}{mouseroll}{subsubsection.5.10.2.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.10.2.7}resize\discretionary {-}{}{}Event}{71}{subsubsection.5.10.2.7}} +\newlabel{glut__callbacks_8h_ace248343c050c709b645c42012d68f18}{{5.10.2.7}{71}{resize\-Event}{subsubsection.5.10.2.7}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.11}Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp File Reference}{71}{section.5.11}} +\newlabel{_init_shader_8cpp}{{5.11}{71}{Init\-Shader.\-cpp File Reference}{section.5.11}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.11.1}Detailed Description}{72}{subsection.5.11.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.11.2}Macro Definition Documentation}{72}{subsection.5.11.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.11.2.1}G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}V\discretionary {-}{}{}E\discretionary {-}{}{}R\discretionary {-}{}{}T\discretionary {-}{}{}I\discretionary {-}{}{}C\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}U\discretionary {-}{}{}T\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}E\discretionary {-}{}{}X\discretionary {-}{}{}T}{72}{subsubsection.5.11.2.1}} +\newlabel{_init_shader_8cpp_aa848a95e858e08d3718ccb1ecce0a05a}{{5.11.2.1}{72}{G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-V\-E\-R\-T\-I\-C\-E\-S\-\_\-\-O\-U\-T\-\_\-\-E\-X\-T}{subsubsection.5.11.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.11.2.2}G\discretionary {-}{}{}L\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}S\discretionary {-}{}{}H\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}E\discretionary {-}{}{}R}{72}{subsubsection.5.11.2.2}} +\newlabel{_init_shader_8cpp_a1e0c2d7120ea4f2e30000d134a9dc335}{{5.11.2.2}{72}{G\-L\-\_\-\-G\-E\-O\-M\-E\-T\-R\-Y\-\_\-\-S\-H\-A\-D\-E\-R}{subsubsection.5.11.2.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.12}Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}hpp File Reference}{72}{section.5.12}} +\newlabel{_init_shader_8hpp}{{5.12}{72}{Init\-Shader.\-hpp File Reference}{section.5.12}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.12.1}Detailed Description}{73}{subsection.5.12.1}} +\@writefile{toc}{\contentsline {section}{\numberline {5.13}Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}cpp File Reference}{73}{section.5.13}} +\newlabel{_kinect_inator_8cpp}{{5.13}{73}{Kinect\-Inator.\-cpp File Reference}{section.5.13}{}} +\newlabel{_kinect_inator_8cpp_ad04f37063176106882768375bd165688}{{5.13}{73}{Functions}{section*.89}{}} +\newlabel{_kinect_inator_8cpp_a8ba5423b62998cceb82796c41cd0fa5f}{{5.13}{73}{Functions}{section*.89}{}} +\newlabel{_kinect_inator_8cpp_a82a48d671384d81ae21db20a59e1bd77}{{5.13}{73}{Functions}{section*.89}{}} +\newlabel{namespace_tiem_spelchk_a7c2fa90a51789e3f8c1ed931cd92b176}{{5.13}{73}{Variables}{section*.90}{}} +\newlabel{namespace_tiem_spelchk_a573ac54b7dee7b9c4b5f74bb5b624f93}{{5.13}{73}{Variables}{section*.90}{}} +\newlabel{namespace_tiem_spelchk_ae8ca42e4f66c3bb2d063e8adf9882209}{{5.13}{73}{Variables}{section*.90}{}} +\newlabel{namespace_tiem_spelchk_a8aecdfd3373cb573aceb7f8bfa1b6a01}{{5.13}{73}{Variables}{section*.90}{}} +\newlabel{namespace_tiem_spelchk_aff60759f8c46a07b0bdf3274b6685e87}{{5.13}{74}{Variables}{section*.90}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.13.1}Detailed Description}{74}{subsection.5.13.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.13.2}Macro Definition Documentation}{74}{subsection.5.13.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.13.2.1}C\discretionary {-}{}{}H\discretionary {-}{}{}E\discretionary {-}{}{}C\discretionary {-}{}{}K\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}C}{74}{subsubsection.5.13.2.1}} +\newlabel{_kinect_inator_8cpp_a60ac817a27259ef08534e893bbf50739}{{5.13.2.1}{74}{C\-H\-E\-C\-K\-\_\-\-R\-C}{subsubsection.5.13.2.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.14}Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}hpp File Reference}{74}{section.5.14}} +\newlabel{_kinect_inator_8hpp}{{5.14}{74}{Kinect\-Inator.\-hpp File Reference}{section.5.14}{}} +\newlabel{_kinect_inator_8hpp_ad325d7e7cf672f0e4528ca4d749892fd}{{5.14}{74}{Macros}{section*.92}{}} +\newlabel{_kinect_inator_8hpp_a34f2c6bb9f5eae3dd5a8de1117093ee9}{{5.14}{74}{Macros}{section*.92}{}} +\newlabel{_kinect_inator_8hpp_a5d4347bd3b04b46e63d5448a3fc5ace6}{{5.14}{74}{Macros}{section*.92}{}} +\newlabel{_kinect_inator_8hpp_ae9240abca632df157780cb9c6a06e452}{{5.14}{74}{Macros}{section*.92}{}} +\newlabel{_kinect_inator_8hpp_a1752c24f7978482426e096cf18602f2d}{{5.14}{75}{Functions}{section*.93}{}} +\newlabel{_kinect_inator_8hpp_ab39ca03856a52b67f27ad9b418b6bcc6}{{5.14}{75}{Functions}{section*.93}{}} +\newlabel{_kinect_inator_8hpp_a1a8a54afcffdea07862f5d526d2d8d5e}{{5.14}{75}{Functions}{section*.93}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.14.1}Detailed Description}{75}{subsection.5.14.1}} +\@writefile{toc}{\contentsline {section}{\numberline {5.15}mat.\discretionary {-}{}{}cpp File Reference}{75}{section.5.15}} +\newlabel{mat_8cpp}{{5.15}{75}{mat.\-cpp File Reference}{section.5.15}{}} +\newlabel{namespace_angel_ad98858d30ccb39de45a34e4693fd9ef5}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_ac414aafc0c30f61e35042b50146b5340}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_aa5aed3e76e6cd1d2de93503630d13132}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a14b1d7bed352f45380d7fc26e2553627}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a13237552df8019e7c7c041491185a5b7}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a14d8b4ab9eeb4075155867871c6d60f6}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_aebfe9ee1ffa4286f7697c7323ea83dd0}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a0f2b9ea30d90fee6f42c49adc31afbd5}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a9eeab51adba3f19cca17e5007844f2a1}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_abea2dfb557c756bfb69c596852e6b096}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_acc567058b4586de296af2ce0ad767b18}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a8f927d4bf85202f4e96a1a4a9733da27}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a694f07e56f9b1501ade53204f63f9eaa}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a23656ccbbf90b1935a4072ef3ca248e0}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a3cc32f2aec8c1c7e609c31183eebf2e6}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a1a4a07580fa9c63f32cca223177496dd}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a96a871db89bb8218473c75b8070d2a04}{{5.15}{75}{Functions}{section*.94}{}} +\newlabel{namespace_angel_aa8ddbf81e6fa21bd53c5d5ce840a7403}{{5.15}{76}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a564ee33689e28c95aedcc5a77aed1d33}{{5.15}{76}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a4dabf5bcf7d7332f54e66178feab9c16}{{5.15}{76}{Functions}{section*.94}{}} +\newlabel{namespace_angel_ae9591a5b2e2e59fa0534460a16520a42}{{5.15}{76}{Functions}{section*.94}{}} +\newlabel{namespace_angel_af51ee9500415015b6ba400cea2ab757f}{{5.15}{76}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a6ca60025898ba656cd588541df87f310}{{5.15}{76}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a57bd024e120ad05fe0c00081286eeb18}{{5.15}{76}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a65a39c6b9bbbce0463d958e58cdf8a3c}{{5.15}{76}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a8db02bcc2094985f2a168ab3f0dce68e}{{5.15}{76}{Functions}{section*.94}{}} +\newlabel{namespace_angel_a5775b27ec156cd2166a59bf038dc8efc}{{5.15}{76}{Functions}{section*.94}{}} +\newlabel{namespace_angel_ad20afa7adfcc4d26d4be0c322548549a}{{5.15}{76}{Functions}{section*.94}{}} +\newlabel{namespace_angel_aee52b8fa583cbbe460e2e80c05b59f8b}{{5.15}{76}{Functions}{section*.94}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.15.1}Detailed Description}{76}{subsection.5.15.1}} +\@writefile{toc}{\contentsline {section}{\numberline {5.16}mat.\discretionary {-}{}{}hpp File Reference}{76}{section.5.16}} +\newlabel{mat_8hpp}{{5.16}{76}{mat.\-hpp File Reference}{section.5.16}{}} +\newlabel{namespace_angel_a14b1d7bed352f45380d7fc26e2553627}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a13237552df8019e7c7c041491185a5b7}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a9eeab51adba3f19cca17e5007844f2a1}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_abea2dfb557c756bfb69c596852e6b096}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a3cc32f2aec8c1c7e609c31183eebf2e6}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a1a4a07580fa9c63f32cca223177496dd}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a96a871db89bb8218473c75b8070d2a04}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_aa8ddbf81e6fa21bd53c5d5ce840a7403}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a564ee33689e28c95aedcc5a77aed1d33}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a4dabf5bcf7d7332f54e66178feab9c16}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_ae9591a5b2e2e59fa0534460a16520a42}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_af51ee9500415015b6ba400cea2ab757f}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a6ca60025898ba656cd588541df87f310}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a57bd024e120ad05fe0c00081286eeb18}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a65a39c6b9bbbce0463d958e58cdf8a3c}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a8db02bcc2094985f2a168ab3f0dce68e}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_a5775b27ec156cd2166a59bf038dc8efc}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_ad20afa7adfcc4d26d4be0c322548549a}{{5.16}{77}{Functions}{section*.97}{}} +\newlabel{namespace_angel_aee52b8fa583cbbe460e2e80c05b59f8b}{{5.16}{77}{Functions}{section*.97}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.16.1}Detailed Description}{77}{subsection.5.16.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.16.2}Macro Definition Documentation}{77}{subsection.5.16.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.16.2.1}Error}{77}{subsubsection.5.16.2.1}} +\newlabel{mat_8hpp_a3d2a1a300dfa6254ba95a4abfa0e7575}{{5.16.2.1}{77}{Error}{subsubsection.5.16.2.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.17}model.\discretionary {-}{}{}cpp File Reference}{78}{section.5.17}} +\newlabel{model_8cpp}{{5.17}{78}{model.\-cpp File Reference}{section.5.17}{}} +\newlabel{model_8cpp_a3ad4ef4bd3a5cf6b3327c8c935ee78e8}{{5.17}{78}{Macros}{section*.98}{}} +\newlabel{model_8cpp_a1c8dfc5517ca1ada9923877cfc0783e4}{{5.17}{78}{Macros}{section*.98}{}} +\newlabel{model_8cpp_ad66b9c54b345ca798421773a162babe4}{{5.17}{78}{Macros}{section*.98}{}} +\newlabel{model_8cpp_aada0e82137280db20b9a7bbb864a8049}{{5.17}{78}{Macros}{section*.98}{}} +\newlabel{model_8cpp_a4535f7729a3c0127c4bb32caa100d2cf}{{5.17}{78}{Macros}{section*.98}{}} +\newlabel{model_8cpp_a6087c247abe3d7f3a87c6121a25f3bb9}{{5.17}{78}{Macros}{section*.98}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.17.1}Detailed Description}{79}{subsection.5.17.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.17.2}Macro Definition Documentation}{79}{subsection.5.17.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.2.1}Q\discretionary {-}{}{}U\discretionary {-}{}{}A\discretionary {-}{}{}D}{79}{subsubsection.5.17.2.1}} +\newlabel{model_8cpp_a876c92757e616a414576f3183cb49b17}{{5.17.2.1}{79}{Q\-U\-A\-D}{subsubsection.5.17.2.1}{}} +\gdef \LT@lxix {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxx {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.17.3}Typedef Documentation}{80}{subsection.5.17.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.3.1}color4}{80}{subsubsection.5.17.3.1}} +\newlabel{model_8cpp_a5c48af6a06eb70709fe4ce950c3015e3}{{5.17.3.1}{80}{color4}{subsubsection.5.17.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.3.2}point4}{80}{subsubsection.5.17.3.2}} +\newlabel{model_8cpp_acd96474ea1ee15dc164c05371abfd25b}{{5.17.3.2}{80}{point4}{subsubsection.5.17.3.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.17.4}Function Documentation}{80}{subsection.5.17.4}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.1}calc\discretionary {-}{}{}Normal}{80}{subsubsection.5.17.4.1}} +\newlabel{model_8cpp_a8ba442e2661e9055749548f56cb9f2bc}{{5.17.4.1}{80}{calc\-Normal}{subsubsection.5.17.4.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.2}color\discretionary {-}{}{}Cube}{80}{subsubsection.5.17.4.2}} +\newlabel{model_8cpp_a9aeb9d305a36f39f25137645d75eaa95}{{5.17.4.2}{80}{color\-Cube}{subsubsection.5.17.4.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.3}create\discretionary {-}{}{}Point}{80}{subsubsection.5.17.4.3}} +\newlabel{model_8cpp_aba8f9938a331f36ea0d3a4a3a777b44f}{{5.17.4.3}{80}{create\-Point}{subsubsection.5.17.4.3}{}} +\gdef \LT@lxxii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxiii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxiv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.4}cube}{81}{subsubsection.5.17.4.4}} +\newlabel{model_8cpp_aef25b2740b9cd274d269b8ac69bd7cdd}{{5.17.4.4}{81}{cube}{subsubsection.5.17.4.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.5}divide\discretionary {-}{}{}Triangle}{81}{subsubsection.5.17.4.5}} +\newlabel{model_8cpp_a854158bca43c59081f73298fe6ccd314}{{5.17.4.5}{81}{divide\-Triangle}{subsubsection.5.17.4.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.6}jitter}{81}{subsubsection.5.17.4.6}} +\newlabel{model_8cpp_a1c53f4777590deb64c28e8ebb64a321d}{{5.17.4.6}{81}{jitter}{subsubsection.5.17.4.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.7}land\discretionary {-}{}{}Gen}{81}{subsubsection.5.17.4.7}} +\newlabel{model_8cpp_a578108fa151d2df77af6ae4585c4bccc}{{5.17.4.7}{81}{land\-Gen}{subsubsection.5.17.4.7}{}} +\gdef \LT@lxxvi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxvii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxviii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.8}make\discretionary {-}{}{}Agua}{82}{subsubsection.5.17.4.8}} +\newlabel{model_8cpp_ad759245db436eebefc9a921e882bca3b}{{5.17.4.8}{82}{make\-Agua}{subsubsection.5.17.4.8}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.9}quad}{82}{subsubsection.5.17.4.9}} +\newlabel{model_8cpp_afc0ea166029aab7e030ba43b4633a778}{{5.17.4.9}{82}{quad}{subsubsection.5.17.4.9}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.10}rand\discretionary {-}{}{}Float}{82}{subsubsection.5.17.4.10}} +\newlabel{model_8cpp_a476a380b7a6a48dc7d762716b041def8}{{5.17.4.10}{82}{rand\-Float}{subsubsection.5.17.4.10}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.11}recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen}{82}{subsubsection.5.17.4.11}} +\newlabel{model_8cpp_a0afb276b9c3c6051187d5dbfa5a18e6a}{{5.17.4.11}{82}{recursive\-Model\-Gen}{subsubsection.5.17.4.11}{}} +\gdef \LT@lxxix {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxx {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxxi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.12}sierpinski\discretionary {-}{}{}Pyramid}{83}{subsubsection.5.17.4.12}} +\newlabel{model_8cpp_a9ffe1e1f6d0168397c34286260d36562}{{5.17.4.12}{83}{sierpinski\-Pyramid}{subsubsection.5.17.4.12}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.13}sphere}{83}{subsubsection.5.17.4.13}} +\newlabel{model_8cpp_a152e6c0e91107b949df03ca399251fd8}{{5.17.4.13}{83}{sphere}{subsubsection.5.17.4.13}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.14}tetra}{83}{subsubsection.5.17.4.14}} +\newlabel{model_8cpp_ace1e82de848a81de1a680505d08ebbb4}{{5.17.4.14}{83}{tetra}{subsubsection.5.17.4.14}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.15}triangle}{83}{subsubsection.5.17.4.15}} +\newlabel{model_8cpp_ac0240797ef8ab9bece7689d5fe3e3b01}{{5.17.4.15}{83}{triangle}{subsubsection.5.17.4.15}{}} +\gdef \LT@lxxxii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxxiii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.17.4.16}unit}{84}{subsubsection.5.17.4.16}} +\newlabel{model_8cpp_ab245eec74a0117de8609d4fabd23402b}{{5.17.4.16}{84}{unit}{subsubsection.5.17.4.16}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.18}model.\discretionary {-}{}{}hpp File Reference}{84}{section.5.18}} +\newlabel{model_8hpp}{{5.18}{84}{model.\-hpp File Reference}{section.5.18}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.18.1}Detailed Description}{85}{subsection.5.18.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.18.2}Typedef Documentation}{85}{subsection.5.18.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.2.1}color4}{85}{subsubsection.5.18.2.1}} +\newlabel{model_8hpp_a5c48af6a06eb70709fe4ce950c3015e3}{{5.18.2.1}{85}{color4}{subsubsection.5.18.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.2.2}point4}{85}{subsubsection.5.18.2.2}} +\newlabel{model_8hpp_acd96474ea1ee15dc164c05371abfd25b}{{5.18.2.2}{85}{point4}{subsubsection.5.18.2.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.18.3}Function Documentation}{85}{subsection.5.18.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.1}color\discretionary {-}{}{}Cube}{85}{subsubsection.5.18.3.1}} +\newlabel{model_8hpp_a9aeb9d305a36f39f25137645d75eaa95}{{5.18.3.1}{85}{color\-Cube}{subsubsection.5.18.3.1}{}} +\gdef \LT@lxxxiv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxxv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxxvi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxxvii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@lxxxviii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.2}create\discretionary {-}{}{}Point}{86}{subsubsection.5.18.3.2}} +\newlabel{model_8hpp_aba8f9938a331f36ea0d3a4a3a777b44f}{{5.18.3.2}{86}{create\-Point}{subsubsection.5.18.3.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.3}cube}{86}{subsubsection.5.18.3.3}} +\newlabel{model_8hpp_aef25b2740b9cd274d269b8ac69bd7cdd}{{5.18.3.3}{86}{cube}{subsubsection.5.18.3.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.4}divide\discretionary {-}{}{}Triangle}{86}{subsubsection.5.18.3.4}} +\newlabel{model_8hpp_a854158bca43c59081f73298fe6ccd314}{{5.18.3.4}{86}{divide\-Triangle}{subsubsection.5.18.3.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.5}land\discretionary {-}{}{}Gen}{86}{subsubsection.5.18.3.5}} +\newlabel{model_8hpp_a578108fa151d2df77af6ae4585c4bccc}{{5.18.3.5}{86}{land\-Gen}{subsubsection.5.18.3.5}{}} +\gdef \LT@lxxxix {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xc {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xci {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.6}make\discretionary {-}{}{}Agua}{87}{subsubsection.5.18.3.6}} +\newlabel{model_8hpp_ad759245db436eebefc9a921e882bca3b}{{5.18.3.6}{87}{make\-Agua}{subsubsection.5.18.3.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.7}quad}{87}{subsubsection.5.18.3.7}} +\newlabel{model_8hpp_afc0ea166029aab7e030ba43b4633a778}{{5.18.3.7}{87}{quad}{subsubsection.5.18.3.7}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.8}recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen}{87}{subsubsection.5.18.3.8}} +\newlabel{model_8hpp_a0afb276b9c3c6051187d5dbfa5a18e6a}{{5.18.3.8}{87}{recursive\-Model\-Gen}{subsubsection.5.18.3.8}{}} +\gdef \LT@xcii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xciii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xciv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xcv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.9}sierpinski\discretionary {-}{}{}Pyramid}{88}{subsubsection.5.18.3.9}} +\newlabel{model_8hpp_a9ffe1e1f6d0168397c34286260d36562}{{5.18.3.9}{88}{sierpinski\-Pyramid}{subsubsection.5.18.3.9}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.10}sphere}{88}{subsubsection.5.18.3.10}} +\newlabel{model_8hpp_a152e6c0e91107b949df03ca399251fd8}{{5.18.3.10}{88}{sphere}{subsubsection.5.18.3.10}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.11}tetra}{88}{subsubsection.5.18.3.11}} +\newlabel{model_8hpp_ace1e82de848a81de1a680505d08ebbb4}{{5.18.3.11}{88}{tetra}{subsubsection.5.18.3.11}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.18.3.12}triangle}{88}{subsubsection.5.18.3.12}} +\newlabel{model_8hpp_ac0240797ef8ab9bece7689d5fe3e3b01}{{5.18.3.12}{88}{triangle}{subsubsection.5.18.3.12}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.19}Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}cpp File Reference}{89}{section.5.19}} +\newlabel{_obj_loader_8cpp}{{5.19}{89}{Obj\-Loader.\-cpp File Reference}{section.5.19}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.19.1}Detailed Description}{89}{subsection.5.19.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.19.2}Macro Definition Documentation}{90}{subsection.5.19.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.19.2.1}R\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}D\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}F\discretionary {-}{}{}L\discretionary {-}{}{}O\discretionary {-}{}{}A\discretionary {-}{}{}T}{90}{subsubsection.5.19.2.1}} +\newlabel{_obj_loader_8cpp_a5fc5a76891a19debb9aa8e2557e3d26a}{{5.19.2.1}{90}{R\-A\-N\-D\-\_\-\-F\-L\-O\-A\-T}{subsubsection.5.19.2.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.20}Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}hpp File Reference}{90}{section.5.20}} +\newlabel{_obj_loader_8hpp}{{5.20}{90}{Obj\-Loader.\-hpp File Reference}{section.5.20}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.20.1}Detailed Description}{90}{subsection.5.20.1}} +\@writefile{toc}{\contentsline {section}{\numberline {5.21}terrain.\discretionary {-}{}{}cpp File Reference}{91}{section.5.21}} +\newlabel{terrain_8cpp}{{5.21}{91}{terrain.\-cpp File Reference}{section.5.21}{}} +\newlabel{terrain_8cpp_a5c48af6a06eb70709fe4ce950c3015e3}{{5.21}{91}{Typedefs}{section*.106}{}} +\newlabel{terrain_8cpp_acd96474ea1ee15dc164c05371abfd25b}{{5.21}{91}{Typedefs}{section*.106}{}} +\newlabel{terrain_8cpp_ac3134fe01754f597b75b29b29523cde7}{{5.21}{91}{Functions}{section*.107}{}} +\newlabel{terrain_8cpp_a15a9a530111780e1374765468f99b92e}{{5.21}{91}{Functions}{section*.107}{}} +\newlabel{terrain_8cpp_ab42e9609dfaf48294321a6b821095be9}{{5.21}{91}{Functions}{section*.107}{}} +\newlabel{terrain_8cpp_a01131b63acf241e9db91704d89ce15d2}{{5.21}{91}{Functions}{section*.107}{}} +\newlabel{terrain_8cpp_af6531069cfd120c9bc890b2c187b6917}{{5.21}{91}{Functions}{section*.107}{}} +\newlabel{terrain_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}{{5.21}{91}{Functions}{section*.107}{}} +\newlabel{terrain_8cpp_af584a969caa5b22fa5a7b6a0cc1af88f}{{5.21}{92}{Variables}{section*.108}{}} +\newlabel{terrain_8cpp_abf93e1e5ae2f6baff49c75741529f033}{{5.21}{92}{Variables}{section*.108}{}} +\newlabel{terrain_8cpp_ae1114139c8bdb00ddef13127a2fe5b8b}{{5.21}{92}{Variables}{section*.108}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.21.1}Detailed Description}{92}{subsection.5.21.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.21.2}Function Documentation}{92}{subsection.5.21.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.21.2.1}cleanup}{92}{subsubsection.5.21.2.1}} +\newlabel{terrain_8cpp_aeb94fbd457627182ceee7e505f432541}{{5.21.2.1}{92}{cleanup}{subsubsection.5.21.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.21.2.2}display}{92}{subsubsection.5.21.2.2}} +\newlabel{terrain_8cpp_a4ea013001a5fb47853d0fab8f8de35cd}{{5.21.2.2}{92}{display}{subsubsection.5.21.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.21.2.3}display\discretionary {-}{}{}Viewport}{92}{subsubsection.5.21.2.3}} +\newlabel{terrain_8cpp_af3c12d5391e754508338373c5071b2ed}{{5.21.2.3}{92}{display\-Viewport}{subsubsection.5.21.2.3}{}} +\gdef \LT@xcvi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xcvii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.21.2.4}init}{93}{subsubsection.5.21.2.4}} +\newlabel{terrain_8cpp_a02fd73d861ef2e4aabb38c0c9ff82947}{{5.21.2.4}{93}{init}{subsubsection.5.21.2.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.21.2.5}randomize\discretionary {-}{}{}\_\discretionary {-}{}{}terrain}{93}{subsubsection.5.21.2.5}} +\newlabel{terrain_8cpp_a43d76d6460eea14cbfac57f649c4ccc9}{{5.21.2.5}{93}{randomize\-\_\-terrain}{subsubsection.5.21.2.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.21.2.6}Terrain\discretionary {-}{}{}Generation\discretionary {-}{}{}Animation}{93}{subsubsection.5.21.2.6}} +\newlabel{terrain_8cpp_a19cc2bcd83a4740c8ab847f391229f09}{{5.21.2.6}{93}{Terrain\-Generation\-Animation}{subsubsection.5.21.2.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.21.2.7}wiilook}{93}{subsubsection.5.21.2.7}} +\newlabel{terrain_8cpp_a3db6770b4d2fa9a7566e01c68880d49c}{{5.21.2.7}{93}{wiilook}{subsubsection.5.21.2.7}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.21.3}Variable Documentation}{94}{subsection.5.21.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.21.3.1}terrain\discretionary {-}{}{}Tex}{94}{subsubsection.5.21.3.1}} +\newlabel{terrain_8cpp_abc581addfa7e463bdc14d275fe30f412}{{5.21.3.1}{94}{terrain\-Tex}{subsubsection.5.21.3.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5.22}vec.\discretionary {-}{}{}cpp File Reference}{94}{section.5.22}} +\newlabel{vec_8cpp}{{5.22}{94}{vec.\-cpp File Reference}{section.5.22}{}} +\newlabel{namespace_angel_a0806bd80ed20b66f9317ead8398e3988}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a20d89f3c8a2c47cb8802c7f0a287cf7f}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a723fb3d4b2fad6e37bf95657feddc1ea}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_abaaeeb1b6f0101861ee3cdabdabdff02}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a11b56d6a939f6eee6a4612f3a9b48e9e}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_aa48e50126ca87222e261bfff639a71d1}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a57270299ee4c733736fb4a15ae05fd09}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a0d63e8d66c9f7e1b034ca224437ee5c1}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a591583b8d846d4183049b216cf6ef37e}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_ae89677cec6623b0473ffddbf86911318}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_ae4bf8671fdc5a7904ab33eeec83ff282}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a9e10ec78c60b3624999ecbf164c19104}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_aec2b5d63a94177fd94dbc6394d1e766d}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a9402dd20e1d3a4f0880517d1aac4ef7a}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a29cb0f905618ce5a191c8ec103c4deda}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a9134403ccd5cc5f8d2079bec7cda8042}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a2a121c5c46b2c1098396371c6bea23bf}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a19ed7706220565755a619e5c994957bb}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a9413161a503ca6816a2aa28669f938d7}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_a638274c2524333d10b91fd5a596e6dac}{{5.22}{94}{Functions}{section*.109}{}} +\newlabel{namespace_angel_aef3c2f733aa65cf66728d7dedc2fae6b}{{5.22}{94}{Functions}{section*.109}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.22.1}Detailed Description}{94}{subsection.5.22.1}} +\@writefile{toc}{\contentsline {part}{Index}{95}{subsection.5.22.1}} diff --git a/Doxygen/Docs/latex/refman.idx b/Doxygen/Docs/latex/refman.idx new file mode 100644 index 00000000..6c7c37b9 --- /dev/null +++ b/Doxygen/Docs/latex/refman.idx @@ -0,0 +1,412 @@ +\indexentry{Camera@{Camera}|hyperpage}{7} +\indexentry{Camera@{Camera}!Direction@{Direction}|hyperpage}{12} +\indexentry{Direction@{Direction}!Camera@{Camera}|hyperpage}{12} +\indexentry{Camera@{Camera}!Uniform@{Uniform}|hyperpage}{12} +\indexentry{Uniform@{Uniform}!Camera@{Camera}|hyperpage}{12} +\indexentry{Camera@{Camera}!View\discretionary {-}{}{}Type@{View\discretionary {-}{}{}Type}|hyperpage}{12} +\indexentry{View\discretionary {-}{}{}Type@{View\discretionary {-}{}{}Type}!Camera@{Camera}|hyperpage}{12} +\indexentry{Camera@{Camera}!Direction@{Direction}|hyperpage}{12} +\indexentry{Direction@{Direction}!Camera@{Camera}|hyperpage}{12} +\indexentry{Camera@{Camera}!Uniforms@{Uniforms}|hyperpage}{12} +\indexentry{Uniforms@{Uniforms}!Camera@{Camera}|hyperpage}{12} +\indexentry{Camera@{Camera}!View\discretionary {-}{}{}Type@{View\discretionary {-}{}{}Type}|hyperpage}{12} +\indexentry{View\discretionary {-}{}{}Type@{View\discretionary {-}{}{}Type}!Camera@{Camera}|hyperpage}{12} +\indexentry{Camera@{Camera}!Camera@{Camera}|hyperpage}{12} +\indexentry{Camera@{Camera}!Camera@{Camera}|hyperpage}{12} +\indexentry{Camera@{Camera}!Camera@{Camera}|hyperpage}{13} +\indexentry{Camera@{Camera}!Camera@{Camera}|hyperpage}{13} +\indexentry{Camera@{Camera}!Camera@{Camera}|hyperpage}{13} +\indexentry{Camera@{Camera}!Camera@{Camera}|hyperpage}{13} +\indexentry{Camera@{Camera}!$\sim $\discretionary {-}{}{}Camera@{$\sim $\discretionary {-}{}{}Camera}|hyperpage}{13} +\indexentry{$\sim $\discretionary {-}{}{}Camera@{$\sim $\discretionary {-}{}{}Camera}!Camera@{Camera}|hyperpage}{13} +\indexentry{Camera@{Camera}!accel@{accel}|hyperpage}{13} +\indexentry{accel@{accel}!Camera@{Camera}|hyperpage}{13} +\indexentry{Camera@{Camera}!adjust\discretionary {-}{}{}Field\discretionary {-}{}{}Of\discretionary {-}{}{}View@{adjust\discretionary {-}{}{}Field\discretionary {-}{}{}Of\discretionary {-}{}{}View}|hyperpage}{14} +\indexentry{adjust\discretionary {-}{}{}Field\discretionary {-}{}{}Of\discretionary {-}{}{}View@{adjust\discretionary {-}{}{}Field\discretionary {-}{}{}Of\discretionary {-}{}{}View}!Camera@{Camera}|hyperpage}{14} +\indexentry{Camera@{Camera}!adjust\discretionary {-}{}{}Rotation@{adjust\discretionary {-}{}{}Rotation}|hyperpage}{14} +\indexentry{adjust\discretionary {-}{}{}Rotation@{adjust\discretionary {-}{}{}Rotation}!Camera@{Camera}|hyperpage}{14} +\indexentry{Camera@{Camera}!change\discretionary {-}{}{}Perspective@{change\discretionary {-}{}{}Perspective}|hyperpage}{14} +\indexentry{change\discretionary {-}{}{}Perspective@{change\discretionary {-}{}{}Perspective}!Camera@{Camera}|hyperpage}{14} +\indexentry{Camera@{Camera}!common\discretionary {-}{}{}Init@{common\discretionary {-}{}{}Init}|hyperpage}{14} +\indexentry{common\discretionary {-}{}{}Init@{common\discretionary {-}{}{}Init}!Camera@{Camera}|hyperpage}{14} +\indexentry{Camera@{Camera}!Delete\discretionary {-}{}{}Object@{Delete\discretionary {-}{}{}Object}|hyperpage}{15} +\indexentry{Delete\discretionary {-}{}{}Object@{Delete\discretionary {-}{}{}Object}!Camera@{Camera}|hyperpage}{15} +\indexentry{Camera@{Camera}!d\discretionary {-}{}{}Pos@{d\discretionary {-}{}{}Pos}|hyperpage}{15} +\indexentry{d\discretionary {-}{}{}Pos@{d\discretionary {-}{}{}Pos}!Camera@{Camera}|hyperpage}{15} +\indexentry{Camera@{Camera}!d\discretionary {-}{}{}Pos@{d\discretionary {-}{}{}Pos}|hyperpage}{15} +\indexentry{d\discretionary {-}{}{}Pos@{d\discretionary {-}{}{}Pos}!Camera@{Camera}|hyperpage}{15} +\indexentry{Camera@{Camera}!d\discretionary {-}{}{}Pos@{d\discretionary {-}{}{}Pos}|hyperpage}{15} +\indexentry{d\discretionary {-}{}{}Pos@{d\discretionary {-}{}{}Pos}!Camera@{Camera}|hyperpage}{15} +\indexentry{Camera@{Camera}!d\discretionary {-}{}{}X@{d\discretionary {-}{}{}X}|hyperpage}{16} +\indexentry{d\discretionary {-}{}{}X@{d\discretionary {-}{}{}X}!Camera@{Camera}|hyperpage}{16} +\indexentry{Camera@{Camera}!d\discretionary {-}{}{}Y@{d\discretionary {-}{}{}Y}|hyperpage}{16} +\indexentry{d\discretionary {-}{}{}Y@{d\discretionary {-}{}{}Y}!Camera@{Camera}|hyperpage}{16} +\indexentry{Camera@{Camera}!d\discretionary {-}{}{}Z@{d\discretionary {-}{}{}Z}|hyperpage}{16} +\indexentry{d\discretionary {-}{}{}Z@{d\discretionary {-}{}{}Z}!Camera@{Camera}|hyperpage}{16} +\indexentry{Camera@{Camera}!field\discretionary {-}{}{}Of\discretionary {-}{}{}View@{field\discretionary {-}{}{}Of\discretionary {-}{}{}View}|hyperpage}{16} +\indexentry{field\discretionary {-}{}{}Of\discretionary {-}{}{}View@{field\discretionary {-}{}{}Of\discretionary {-}{}{}View}!Camera@{Camera}|hyperpage}{16} +\indexentry{Camera@{Camera}!field\discretionary {-}{}{}Of\discretionary {-}{}{}View@{field\discretionary {-}{}{}Of\discretionary {-}{}{}View}|hyperpage}{17} +\indexentry{field\discretionary {-}{}{}Of\discretionary {-}{}{}View@{field\discretionary {-}{}{}Of\discretionary {-}{}{}View}!Camera@{Camera}|hyperpage}{17} +\indexentry{Camera@{Camera}!Get\discretionary {-}{}{}Position@{Get\discretionary {-}{}{}Position}|hyperpage}{17} +\indexentry{Get\discretionary {-}{}{}Position@{Get\discretionary {-}{}{}Position}!Camera@{Camera}|hyperpage}{17} +\indexentry{Camera@{Camera}!heave@{heave}|hyperpage}{17} +\indexentry{heave@{heave}!Camera@{Camera}|hyperpage}{17} +\indexentry{Camera@{Camera}!idle@{idle}|hyperpage}{17} +\indexentry{idle@{idle}!Camera@{Camera}|hyperpage}{17} +\indexentry{Camera@{Camera}!move@{move}|hyperpage}{17} +\indexentry{move@{move}!Camera@{Camera}|hyperpage}{17} +\indexentry{Camera@{Camera}!pitch@{pitch}|hyperpage}{18} +\indexentry{pitch@{pitch}!Camera@{Camera}|hyperpage}{18} +\indexentry{Camera@{Camera}!pos@{pos}|hyperpage}{18} +\indexentry{pos@{pos}!Camera@{Camera}|hyperpage}{18} +\indexentry{Camera@{Camera}!pos@{pos}|hyperpage}{18} +\indexentry{pos@{pos}!Camera@{Camera}|hyperpage}{18} +\indexentry{Camera@{Camera}!pos@{pos}|hyperpage}{19} +\indexentry{pos@{pos}!Camera@{Camera}|hyperpage}{19} +\indexentry{Camera@{Camera}!pos@{pos}|hyperpage}{19} +\indexentry{pos@{pos}!Camera@{Camera}|hyperpage}{19} +\indexentry{Camera@{Camera}!refresh\discretionary {-}{}{}Perspective@{refresh\discretionary {-}{}{}Perspective}|hyperpage}{19} +\indexentry{refresh\discretionary {-}{}{}Perspective@{refresh\discretionary {-}{}{}Perspective}!Camera@{Camera}|hyperpage}{19} +\indexentry{Camera@{Camera}!reset\discretionary {-}{}{}Rotation@{reset\discretionary {-}{}{}Rotation}|hyperpage}{19} +\indexentry{reset\discretionary {-}{}{}Rotation@{reset\discretionary {-}{}{}Rotation}!Camera@{Camera}|hyperpage}{19} +\indexentry{Camera@{Camera}!roll@{roll}|hyperpage}{19} +\indexentry{roll@{roll}!Camera@{Camera}|hyperpage}{19} +\indexentry{Camera@{Camera}!send@{send}|hyperpage}{20} +\indexentry{send@{send}!Camera@{Camera}|hyperpage}{20} +\indexentry{Camera@{Camera}!Shader@{Shader}|hyperpage}{20} +\indexentry{Shader@{Shader}!Camera@{Camera}|hyperpage}{20} +\indexentry{Camera@{Camera}!Shader@{Shader}|hyperpage}{20} +\indexentry{Shader@{Shader}!Camera@{Camera}|hyperpage}{20} +\indexentry{Camera@{Camera}!stop@{stop}|hyperpage}{21} +\indexentry{stop@{stop}!Camera@{Camera}|hyperpage}{21} +\indexentry{Camera@{Camera}!surge@{surge}|hyperpage}{21} +\indexentry{surge@{surge}!Camera@{Camera}|hyperpage}{21} +\indexentry{Camera@{Camera}!sway@{sway}|hyperpage}{21} +\indexentry{sway@{sway}!Camera@{Camera}|hyperpage}{21} +\indexentry{Camera@{Camera}!view@{view}|hyperpage}{21} +\indexentry{view@{view}!Camera@{Camera}|hyperpage}{21} +\indexentry{Camera@{Camera}!viewport@{viewport}|hyperpage}{22} +\indexentry{viewport@{viewport}!Camera@{Camera}|hyperpage}{22} +\indexentry{Camera@{Camera}!x@{x}|hyperpage}{22} +\indexentry{x@{x}!Camera@{Camera}|hyperpage}{22} +\indexentry{Camera@{Camera}!x@{x}|hyperpage}{22} +\indexentry{x@{x}!Camera@{Camera}|hyperpage}{22} +\indexentry{Camera@{Camera}!y@{y}|hyperpage}{22} +\indexentry{y@{y}!Camera@{Camera}|hyperpage}{22} +\indexentry{Camera@{Camera}!y@{y}|hyperpage}{23} +\indexentry{y@{y}!Camera@{Camera}|hyperpage}{23} +\indexentry{Camera@{Camera}!yaw@{yaw}|hyperpage}{23} +\indexentry{yaw@{yaw}!Camera@{Camera}|hyperpage}{23} +\indexentry{Camera@{Camera}!z@{z}|hyperpage}{23} +\indexentry{z@{z}!Camera@{Camera}|hyperpage}{23} +\indexentry{Camera@{Camera}!z@{z}|hyperpage}{23} +\indexentry{z@{z}!Camera@{Camera}|hyperpage}{23} +\indexentry{Camera@{Camera}!\discretionary {-}{}{}\_\discretionary {-}{}{}aspect\discretionary {-}{}{}Ratio@{\discretionary {-}{}{}\_\discretionary {-}{}{}aspect\discretionary {-}{}{}Ratio}|hyperpage}{24} +\indexentry{\discretionary {-}{}{}\_\discretionary {-}{}{}aspect\discretionary {-}{}{}Ratio@{\discretionary {-}{}{}\_\discretionary {-}{}{}aspect\discretionary {-}{}{}Ratio}!Camera@{Camera}|hyperpage}{24} +\indexentry{Camera@{Camera}!\discretionary {-}{}{}\_\discretionary {-}{}{}ctm@{\discretionary {-}{}{}\_\discretionary {-}{}{}ctm}|hyperpage}{24} +\indexentry{\discretionary {-}{}{}\_\discretionary {-}{}{}ctm@{\discretionary {-}{}{}\_\discretionary {-}{}{}ctm}!Camera@{Camera}|hyperpage}{24} +\indexentry{Camera@{Camera}!\discretionary {-}{}{}\_\discretionary {-}{}{}current\discretionary {-}{}{}View@{\discretionary {-}{}{}\_\discretionary {-}{}{}current\discretionary {-}{}{}View}|hyperpage}{24} +\indexentry{\discretionary {-}{}{}\_\discretionary {-}{}{}current\discretionary {-}{}{}View@{\discretionary {-}{}{}\_\discretionary {-}{}{}current\discretionary {-}{}{}View}!Camera@{Camera}|hyperpage}{24} +\indexentry{Camera@{Camera}!\discretionary {-}{}{}\_\discretionary {-}{}{}fovy@{\discretionary {-}{}{}\_\discretionary {-}{}{}fovy}|hyperpage}{24} +\indexentry{\discretionary {-}{}{}\_\discretionary {-}{}{}fovy@{\discretionary {-}{}{}\_\discretionary {-}{}{}fovy}!Camera@{Camera}|hyperpage}{24} +\indexentry{Camera@{Camera}!\discretionary {-}{}{}\_\discretionary {-}{}{}friction\discretionary {-}{}{}Magnitude@{\discretionary {-}{}{}\_\discretionary {-}{}{}friction\discretionary {-}{}{}Magnitude}|hyperpage}{24} +\indexentry{\discretionary {-}{}{}\_\discretionary {-}{}{}friction\discretionary {-}{}{}Magnitude@{\discretionary {-}{}{}\_\discretionary {-}{}{}friction\discretionary {-}{}{}Magnitude}!Camera@{Camera}|hyperpage}{24} +\indexentry{Camera@{Camera}!\discretionary {-}{}{}\_\discretionary {-}{}{}motion@{\discretionary {-}{}{}\_\discretionary {-}{}{}motion}|hyperpage}{24} +\indexentry{\discretionary {-}{}{}\_\discretionary {-}{}{}motion@{\discretionary {-}{}{}\_\discretionary {-}{}{}motion}!Camera@{Camera}|hyperpage}{24} +\indexentry{Camera@{Camera}!\discretionary {-}{}{}\_\discretionary {-}{}{}speed@{\discretionary {-}{}{}\_\discretionary {-}{}{}speed}|hyperpage}{24} +\indexentry{\discretionary {-}{}{}\_\discretionary {-}{}{}speed@{\discretionary {-}{}{}\_\discretionary {-}{}{}speed}!Camera@{Camera}|hyperpage}{24} +\indexentry{Camera@{Camera}!\discretionary {-}{}{}\_\discretionary {-}{}{}velocity@{\discretionary {-}{}{}\_\discretionary {-}{}{}velocity}|hyperpage}{24} +\indexentry{\discretionary {-}{}{}\_\discretionary {-}{}{}velocity@{\discretionary {-}{}{}\_\discretionary {-}{}{}velocity}!Camera@{Camera}|hyperpage}{24} +\indexentry{Camera@{Camera}!\discretionary {-}{}{}\_\discretionary {-}{}{}view@{\discretionary {-}{}{}\_\discretionary {-}{}{}view}|hyperpage}{24} +\indexentry{\discretionary {-}{}{}\_\discretionary {-}{}{}view@{\discretionary {-}{}{}\_\discretionary {-}{}{}view}!Camera@{Camera}|hyperpage}{24} +\indexentry{Camera@{Camera}!draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode@{draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}|hyperpage}{24} +\indexentry{draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode@{draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}!Camera@{Camera}|hyperpage}{24} +\indexentry{Camera@{Camera}!handles@{handles}|hyperpage}{25} +\indexentry{handles@{handles}!Camera@{Camera}|hyperpage}{25} +\indexentry{Camera@{Camera}!name@{name}|hyperpage}{25} +\indexentry{name@{name}!Camera@{Camera}|hyperpage}{25} +\indexentry{Camera@{Camera}!vao@{vao}|hyperpage}{25} +\indexentry{vao@{vao}!Camera@{Camera}|hyperpage}{25} +\indexentry{Cameras@{Cameras}|hyperpage}{25} +\indexentry{Cameras@{Cameras}!Cameras@{Cameras}|hyperpage}{27} +\indexentry{Cameras@{Cameras}!Cameras@{Cameras}|hyperpage}{27} +\indexentry{Cameras@{Cameras}!$\sim $\discretionary {-}{}{}Cameras@{$\sim $\discretionary {-}{}{}Cameras}|hyperpage}{27} +\indexentry{$\sim $\discretionary {-}{}{}Cameras@{$\sim $\discretionary {-}{}{}Cameras}!Cameras@{Cameras}|hyperpage}{27} +\indexentry{Cameras@{Cameras}!active@{active}|hyperpage}{27} +\indexentry{active@{active}!Cameras@{Cameras}|hyperpage}{27} +\indexentry{Cameras@{Cameras}!add\discretionary {-}{}{}Camera@{add\discretionary {-}{}{}Camera}|hyperpage}{27} +\indexentry{add\discretionary {-}{}{}Camera@{add\discretionary {-}{}{}Camera}!Cameras@{Cameras}|hyperpage}{27} +\indexentry{Cameras@{Cameras}!calculate\discretionary {-}{}{}Viewports@{calculate\discretionary {-}{}{}Viewports}|hyperpage}{28} +\indexentry{calculate\discretionary {-}{}{}Viewports@{calculate\discretionary {-}{}{}Viewports}!Cameras@{Cameras}|hyperpage}{28} +\indexentry{Cameras@{Cameras}!Delete\discretionary {-}{}{}Object@{Delete\discretionary {-}{}{}Object}|hyperpage}{28} +\indexentry{Delete\discretionary {-}{}{}Object@{Delete\discretionary {-}{}{}Object}!Cameras@{Cameras}|hyperpage}{28} +\indexentry{Cameras@{Cameras}!idle\discretionary {-}{}{}Motion@{idle\discretionary {-}{}{}Motion}|hyperpage}{28} +\indexentry{idle\discretionary {-}{}{}Motion@{idle\discretionary {-}{}{}Motion}!Cameras@{Cameras}|hyperpage}{28} +\indexentry{Cameras@{Cameras}!next@{next}|hyperpage}{28} +\indexentry{next@{next}!Cameras@{Cameras}|hyperpage}{28} +\indexentry{Cameras@{Cameras}!num\discretionary {-}{}{}Cameras@{num\discretionary {-}{}{}Cameras}|hyperpage}{28} +\indexentry{num\discretionary {-}{}{}Cameras@{num\discretionary {-}{}{}Cameras}!Cameras@{Cameras}|hyperpage}{28} +\indexentry{Cameras@{Cameras}!obj2\discretionary {-}{}{}Cam@{obj2\discretionary {-}{}{}Cam}|hyperpage}{29} +\indexentry{obj2\discretionary {-}{}{}Cam@{obj2\discretionary {-}{}{}Cam}!Cameras@{Cameras}|hyperpage}{29} +\indexentry{Cameras@{Cameras}!pop\discretionary {-}{}{}Camera@{pop\discretionary {-}{}{}Camera}|hyperpage}{29} +\indexentry{pop\discretionary {-}{}{}Camera@{pop\discretionary {-}{}{}Camera}!Cameras@{Cameras}|hyperpage}{29} +\indexentry{Cameras@{Cameras}!prev@{prev}|hyperpage}{29} +\indexentry{prev@{prev}!Cameras@{Cameras}|hyperpage}{29} +\indexentry{Cameras@{Cameras}!resize@{resize}|hyperpage}{29} +\indexentry{resize@{resize}!Cameras@{Cameras}|hyperpage}{29} +\indexentry{Cameras@{Cameras}!Shader@{Shader}|hyperpage}{29} +\indexentry{Shader@{Shader}!Cameras@{Cameras}|hyperpage}{29} +\indexentry{Cameras@{Cameras}!Shader@{Shader}|hyperpage}{30} +\indexentry{Shader@{Shader}!Cameras@{Cameras}|hyperpage}{30} +\indexentry{Cameras@{Cameras}!view@{view}|hyperpage}{30} +\indexentry{view@{view}!Cameras@{Cameras}|hyperpage}{30} +\indexentry{Engine@{Engine}|hyperpage}{30} +\indexentry{Engine@{Engine}!Engine@{Engine}|hyperpage}{32} +\indexentry{Engine@{Engine}!Engine@{Engine}|hyperpage}{32} +\indexentry{Engine@{Engine}!Engine@{Engine}|hyperpage}{32} +\indexentry{Engine@{Engine}!Engine@{Engine}|hyperpage}{32} +\indexentry{Engine@{Engine}!cams@{cams}|hyperpage}{32} +\indexentry{cams@{cams}!Engine@{Engine}|hyperpage}{32} +\indexentry{Engine@{Engine}!flip@{flip}|hyperpage}{32} +\indexentry{flip@{flip}!Engine@{Engine}|hyperpage}{32} +\indexentry{Engine@{Engine}!instance@{instance}|hyperpage}{33} +\indexentry{instance@{instance}!Engine@{Engine}|hyperpage}{33} +\indexentry{Engine@{Engine}!main\discretionary {-}{}{}Screen@{main\discretionary {-}{}{}Screen}|hyperpage}{33} +\indexentry{main\discretionary {-}{}{}Screen@{main\discretionary {-}{}{}Screen}!Engine@{Engine}|hyperpage}{33} +\indexentry{Engine@{Engine}!operator=@{operator=}|hyperpage}{33} +\indexentry{operator=@{operator=}!Engine@{Engine}|hyperpage}{33} +\indexentry{Engine@{Engine}!opt@{opt}|hyperpage}{33} +\indexentry{opt@{opt}!Engine@{Engine}|hyperpage}{33} +\indexentry{Engine@{Engine}!opt@{opt}|hyperpage}{34} +\indexentry{opt@{opt}!Engine@{Engine}|hyperpage}{34} +\indexentry{Engine@{Engine}!root\discretionary {-}{}{}Scene@{root\discretionary {-}{}{}Scene}|hyperpage}{34} +\indexentry{root\discretionary {-}{}{}Scene@{root\discretionary {-}{}{}Scene}!Engine@{Engine}|hyperpage}{34} +\indexentry{Engine@{Engine}!set@{set}|hyperpage}{34} +\indexentry{set@{set}!Engine@{Engine}|hyperpage}{34} +\indexentry{Tiem\discretionary {-}{}{}Spelchk\discretionary {-}{}{}::\discretionary {-}{}{}Lurn2\discretionary {-}{}{}Spiel\discretionary {-}{}{}Nub@{Tiem\discretionary {-}{}{}Spelchk\discretionary {-}{}{}::\discretionary {-}{}{}Lurn2\discretionary {-}{}{}Spiel\discretionary {-}{}{}Nub}|hyperpage}{35} +\indexentry{Angel\discretionary {-}{}{}::mat2@{Angel\discretionary {-}{}{}::mat2}|hyperpage}{36} +\indexentry{Angel\discretionary {-}{}{}::mat2@{Angel\discretionary {-}{}{}::mat2}!operator$\ast $@{operator$\ast $}|hyperpage}{37} +\indexentry{operator$\ast $@{operator$\ast $}!Angel::mat2@{Angel\discretionary {-}{}{}::mat2}|hyperpage}{37} +\indexentry{Angel\discretionary {-}{}{}::mat2@{Angel\discretionary {-}{}{}::mat2}!\discretionary {-}{}{}\_\discretionary {-}{}{}m@{\discretionary {-}{}{}\_\discretionary {-}{}{}m}|hyperpage}{37} +\indexentry{\discretionary {-}{}{}\_\discretionary {-}{}{}m@{\discretionary {-}{}{}\_\discretionary {-}{}{}m}!Angel::mat2@{Angel\discretionary {-}{}{}::mat2}|hyperpage}{37} +\indexentry{Angel\discretionary {-}{}{}::mat3@{Angel\discretionary {-}{}{}::mat3}|hyperpage}{37} +\indexentry{Angel\discretionary {-}{}{}::mat4@{Angel\discretionary {-}{}{}::mat4}|hyperpage}{38} +\indexentry{Object@{Object}|hyperpage}{39} +\indexentry{Object@{Object}!Delete\discretionary {-}{}{}Object@{Delete\discretionary {-}{}{}Object}|hyperpage}{41} +\indexentry{Delete\discretionary {-}{}{}Object@{Delete\discretionary {-}{}{}Object}!Object@{Object}|hyperpage}{41} +\indexentry{Object@{Object}!Get\discretionary {-}{}{}Position@{Get\discretionary {-}{}{}Position}|hyperpage}{41} +\indexentry{Get\discretionary {-}{}{}Position@{Get\discretionary {-}{}{}Position}!Object@{Object}|hyperpage}{41} +\indexentry{Object@{Object}!Shader@{Shader}|hyperpage}{42} +\indexentry{Shader@{Shader}!Object@{Object}|hyperpage}{42} +\indexentry{Object@{Object}!Shader@{Shader}|hyperpage}{42} +\indexentry{Shader@{Shader}!Object@{Object}|hyperpage}{42} +\indexentry{Object@{Object}!draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode@{draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}|hyperpage}{42} +\indexentry{draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode@{draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}!Object@{Object}|hyperpage}{42} +\indexentry{Object@{Object}!handles@{handles}|hyperpage}{42} +\indexentry{handles@{handles}!Object@{Object}|hyperpage}{42} +\indexentry{Object@{Object}!name@{name}|hyperpage}{42} +\indexentry{name@{name}!Object@{Object}|hyperpage}{42} +\indexentry{Object@{Object}!vao@{vao}|hyperpage}{42} +\indexentry{vao@{vao}!Object@{Object}|hyperpage}{42} +\indexentry{Particle@{Particle}|hyperpage}{43} +\indexentry{Particle@{Particle}!Delete\discretionary {-}{}{}Object@{Delete\discretionary {-}{}{}Object}|hyperpage}{45} +\indexentry{Delete\discretionary {-}{}{}Object@{Delete\discretionary {-}{}{}Object}!Particle@{Particle}|hyperpage}{45} +\indexentry{Particle@{Particle}!Get\discretionary {-}{}{}Position@{Get\discretionary {-}{}{}Position}|hyperpage}{45} +\indexentry{Get\discretionary {-}{}{}Position@{Get\discretionary {-}{}{}Position}!Particle@{Particle}|hyperpage}{45} +\indexentry{Particle@{Particle}!Shader@{Shader}|hyperpage}{46} +\indexentry{Shader@{Shader}!Particle@{Particle}|hyperpage}{46} +\indexentry{Particle@{Particle}!Shader@{Shader}|hyperpage}{46} +\indexentry{Shader@{Shader}!Particle@{Particle}|hyperpage}{46} +\indexentry{Particle@{Particle}!draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode@{draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}|hyperpage}{46} +\indexentry{draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode@{draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}!Particle@{Particle}|hyperpage}{46} +\indexentry{Particle@{Particle}!handles@{handles}|hyperpage}{46} +\indexentry{handles@{handles}!Particle@{Particle}|hyperpage}{46} +\indexentry{Particle@{Particle}!name@{name}|hyperpage}{46} +\indexentry{name@{name}!Particle@{Particle}|hyperpage}{46} +\indexentry{Particle@{Particle}!vao@{vao}|hyperpage}{46} +\indexentry{vao@{vao}!Particle@{Particle}|hyperpage}{46} +\indexentry{Rot\discretionary {-}{}{}Mat@{Rot\discretionary {-}{}{}Mat}|hyperpage}{47} +\indexentry{Scale\discretionary {-}{}{}Mat@{Scale\discretionary {-}{}{}Mat}|hyperpage}{48} +\indexentry{Scene@{Scene}|hyperpage}{48} +\indexentry{Scene@{Scene}!Delete\discretionary {-}{}{}Object@{Delete\discretionary {-}{}{}Object}|hyperpage}{49} +\indexentry{Delete\discretionary {-}{}{}Object@{Delete\discretionary {-}{}{}Object}!Scene@{Scene}|hyperpage}{49} +\indexentry{Scene@{Scene}!Shader@{Shader}|hyperpage}{49} +\indexentry{Shader@{Shader}!Scene@{Scene}|hyperpage}{49} +\indexentry{Scene@{Scene}!Shader@{Shader}|hyperpage}{50} +\indexentry{Shader@{Shader}!Scene@{Scene}|hyperpage}{50} +\indexentry{Screen@{Screen}|hyperpage}{50} +\indexentry{Spelchk\discretionary {-}{}{}Camera@{Spelchk\discretionary {-}{}{}Camera}|hyperpage}{51} +\indexentry{Timer@{Timer}|hyperpage}{52} +\indexentry{Timer@{Timer}!Delta@{Delta}|hyperpage}{53} +\indexentry{Delta@{Delta}!Timer@{Timer}|hyperpage}{53} +\indexentry{Timer@{Timer}!Scale@{Scale}|hyperpage}{53} +\indexentry{Scale@{Scale}!Timer@{Timer}|hyperpage}{53} +\indexentry{Timer@{Timer}!Tick@{Tick}|hyperpage}{53} +\indexentry{Tick@{Tick}!Timer@{Timer}|hyperpage}{53} +\indexentry{Timer@{Timer}!Tock@{Tock}|hyperpage}{53} +\indexentry{Tock@{Tock}!Timer@{Timer}|hyperpage}{53} +\indexentry{Trans\discretionary {-}{}{}Cache@{Trans\discretionary {-}{}{}Cache}|hyperpage}{54} +\indexentry{Transformation@{Transformation}|hyperpage}{54} +\indexentry{Trans\discretionary {-}{}{}Mat@{Trans\discretionary {-}{}{}Mat}|hyperpage}{55} +\indexentry{Angel\discretionary {-}{}{}::vec2@{Angel\discretionary {-}{}{}::vec2}|hyperpage}{56} +\indexentry{Angel\discretionary {-}{}{}::vec3@{Angel\discretionary {-}{}{}::vec3}|hyperpage}{56} +\indexentry{Angel\discretionary {-}{}{}::vec4@{Angel\discretionary {-}{}{}::vec4}|hyperpage}{57} +\indexentry{wii\discretionary {-}{}{}Poll\discretionary {-}{}{}Data@{wii\discretionary {-}{}{}Poll\discretionary {-}{}{}Data}|hyperpage}{58} +\indexentry{Camera.\discretionary {-}{}{}cpp@{Camera.\discretionary {-}{}{}cpp}|hyperpage}{59} +\indexentry{Camera.\discretionary {-}{}{}cpp@{Camera.\discretionary {-}{}{}cpp}!R\discretionary {-}{}{}O\discretionary {-}{}{}T\discretionary {-}{}{}A\discretionary {-}{}{}T\discretionary {-}{}{}E\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}S\discretionary {-}{}{}E\discretionary {-}{}{}T@{R\discretionary {-}{}{}O\discretionary {-}{}{}T\discretionary {-}{}{}A\discretionary {-}{}{}T\discretionary {-}{}{}E\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}S\discretionary {-}{}{}E\discretionary {-}{}{}T}|hyperpage}{60} +\indexentry{R\discretionary {-}{}{}O\discretionary {-}{}{}T\discretionary {-}{}{}A\discretionary {-}{}{}T\discretionary {-}{}{}E\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}S\discretionary {-}{}{}E\discretionary {-}{}{}T@{R\discretionary {-}{}{}O\discretionary {-}{}{}T\discretionary {-}{}{}A\discretionary {-}{}{}T\discretionary {-}{}{}E\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}S\discretionary {-}{}{}E\discretionary {-}{}{}T}!Camera.cpp@{Camera.\discretionary {-}{}{}cpp}|hyperpage}{60} +\indexentry{Camera.\discretionary {-}{}{}hpp@{Camera.\discretionary {-}{}{}hpp}|hyperpage}{60} +\indexentry{Cameras.\discretionary {-}{}{}cpp@{Cameras.\discretionary {-}{}{}cpp}|hyperpage}{61} +\indexentry{Cameras.\discretionary {-}{}{}hpp@{Cameras.\discretionary {-}{}{}hpp}|hyperpage}{61} +\indexentry{ds.\discretionary {-}{}{}cpp@{ds.\discretionary {-}{}{}cpp}|hyperpage}{62} +\indexentry{ds.\discretionary {-}{}{}cpp@{ds.\discretionary {-}{}{}cpp}!main@{main}|hyperpage}{63} +\indexentry{main@{main}!ds.cpp@{ds.\discretionary {-}{}{}cpp}|hyperpage}{63} +\indexentry{Engine.\discretionary {-}{}{}cpp@{Engine.\discretionary {-}{}{}cpp}|hyperpage}{63} +\indexentry{Engine.\discretionary {-}{}{}hpp@{Engine.\discretionary {-}{}{}hpp}|hyperpage}{64} +\indexentry{globals.\discretionary {-}{}{}h@{globals.\discretionary {-}{}{}h}|hyperpage}{64} +\indexentry{globals.\discretionary {-}{}{}h@{globals.\discretionary {-}{}{}h}!D\discretionary {-}{}{}E\discretionary {-}{}{}G\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}T\discretionary {-}{}{}O\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}I\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}S@{D\discretionary {-}{}{}E\discretionary {-}{}{}G\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}T\discretionary {-}{}{}O\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}I\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}S}|hyperpage}{65} +\indexentry{D\discretionary {-}{}{}E\discretionary {-}{}{}G\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}T\discretionary {-}{}{}O\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}I\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}S@{D\discretionary {-}{}{}E\discretionary {-}{}{}G\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}T\discretionary {-}{}{}O\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}I\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}S}!globals.h@{globals.\discretionary {-}{}{}h}|hyperpage}{65} +\indexentry{globals.\discretionary {-}{}{}h@{globals.\discretionary {-}{}{}h}!P\discretionary {-}{}{}O\discretionary {-}{}{}W5@{P\discretionary {-}{}{}O\discretionary {-}{}{}W5}|hyperpage}{65} +\indexentry{P\discretionary {-}{}{}O\discretionary {-}{}{}W5@{P\discretionary {-}{}{}O\discretionary {-}{}{}W5}!globals.h@{globals.\discretionary {-}{}{}h}|hyperpage}{65} +\indexentry{globals.\discretionary {-}{}{}h@{globals.\discretionary {-}{}{}h}!S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T2@{S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T2}|hyperpage}{65} +\indexentry{S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T2@{S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T2}!globals.h@{globals.\discretionary {-}{}{}h}|hyperpage}{65} +\indexentry{globals.\discretionary {-}{}{}h@{globals.\discretionary {-}{}{}h}!S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T3@{S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T3}|hyperpage}{65} +\indexentry{S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T3@{S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T3}!globals.h@{globals.\discretionary {-}{}{}h}|hyperpage}{65} +\indexentry{globals.\discretionary {-}{}{}h@{globals.\discretionary {-}{}{}h}!P\discretionary {-}{}{}O\discretionary {-}{}{}S\discretionary {-}{}{}T\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T@{P\discretionary {-}{}{}O\discretionary {-}{}{}S\discretionary {-}{}{}T\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T}|hyperpage}{66} +\indexentry{P\discretionary {-}{}{}O\discretionary {-}{}{}S\discretionary {-}{}{}T\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T@{P\discretionary {-}{}{}O\discretionary {-}{}{}S\discretionary {-}{}{}T\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T}!globals.h@{globals.\discretionary {-}{}{}h}|hyperpage}{66} +\indexentry{globals.\discretionary {-}{}{}h@{globals.\discretionary {-}{}{}h}!P\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T@{P\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T}|hyperpage}{66} +\indexentry{P\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T@{P\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T}!globals.h@{globals.\discretionary {-}{}{}h}|hyperpage}{66} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}|hyperpage}{66} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}!keyboard@{keyboard}|hyperpage}{67} +\indexentry{keyboard@{keyboard}!glut_callbacks.cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}|hyperpage}{67} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}!keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl@{keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl}|hyperpage}{67} +\indexentry{keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl@{keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl}!glut_callbacks.cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}|hyperpage}{67} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}!keylift@{keylift}|hyperpage}{67} +\indexentry{keylift@{keylift}!glut_callbacks.cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}|hyperpage}{67} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}!mouse@{mouse}|hyperpage}{68} +\indexentry{mouse@{mouse}!glut_callbacks.cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}|hyperpage}{68} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}!mouselook@{mouselook}|hyperpage}{68} +\indexentry{mouselook@{mouselook}!glut_callbacks.cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}|hyperpage}{68} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}!mouseroll@{mouseroll}|hyperpage}{68} +\indexentry{mouseroll@{mouseroll}!glut_callbacks.cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}|hyperpage}{68} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}!resize\discretionary {-}{}{}Event@{resize\discretionary {-}{}{}Event}|hyperpage}{68} +\indexentry{resize\discretionary {-}{}{}Event@{resize\discretionary {-}{}{}Event}!glut_callbacks.cpp@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}|hyperpage}{68} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}|hyperpage}{69} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}!keyboard@{keyboard}|hyperpage}{70} +\indexentry{keyboard@{keyboard}!glut_callbacks.h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}|hyperpage}{70} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}!keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl@{keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl}|hyperpage}{70} +\indexentry{keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl@{keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl}!glut_callbacks.h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}|hyperpage}{70} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}!keylift@{keylift}|hyperpage}{70} +\indexentry{keylift@{keylift}!glut_callbacks.h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}|hyperpage}{70} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}!mouse@{mouse}|hyperpage}{70} +\indexentry{mouse@{mouse}!glut_callbacks.h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}|hyperpage}{70} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}!mouselook@{mouselook}|hyperpage}{70} +\indexentry{mouselook@{mouselook}!glut_callbacks.h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}|hyperpage}{70} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}!mouseroll@{mouseroll}|hyperpage}{71} +\indexentry{mouseroll@{mouseroll}!glut_callbacks.h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}|hyperpage}{71} +\indexentry{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}!resize\discretionary {-}{}{}Event@{resize\discretionary {-}{}{}Event}|hyperpage}{71} +\indexentry{resize\discretionary {-}{}{}Event@{resize\discretionary {-}{}{}Event}!glut_callbacks.h@{glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}|hyperpage}{71} +\indexentry{Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp@{Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp}|hyperpage}{71} +\indexentry{Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp@{Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp}!G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}V\discretionary {-}{}{}E\discretionary {-}{}{}R\discretionary {-}{}{}T\discretionary {-}{}{}I\discretionary {-}{}{}C\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}U\discretionary {-}{}{}T\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}E\discretionary {-}{}{}X\discretionary {-}{}{}T@{G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}V\discretionary {-}{}{}E\discretionary {-}{}{}R\discretionary {-}{}{}T\discretionary {-}{}{}I\discretionary {-}{}{}C\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}U\discretionary {-}{}{}T\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}E\discretionary {-}{}{}X\discretionary {-}{}{}T}|hyperpage}{72} +\indexentry{G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}V\discretionary {-}{}{}E\discretionary {-}{}{}R\discretionary {-}{}{}T\discretionary {-}{}{}I\discretionary {-}{}{}C\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}U\discretionary {-}{}{}T\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}E\discretionary {-}{}{}X\discretionary {-}{}{}T@{G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}V\discretionary {-}{}{}E\discretionary {-}{}{}R\discretionary {-}{}{}T\discretionary {-}{}{}I\discretionary {-}{}{}C\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}U\discretionary {-}{}{}T\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}E\discretionary {-}{}{}X\discretionary {-}{}{}T}!InitShader.cpp@{Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp}|hyperpage}{72} +\indexentry{Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp@{Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp}!G\discretionary {-}{}{}L\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}S\discretionary {-}{}{}H\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}E\discretionary {-}{}{}R@{G\discretionary {-}{}{}L\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}S\discretionary {-}{}{}H\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}E\discretionary {-}{}{}R}|hyperpage}{72} +\indexentry{G\discretionary {-}{}{}L\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}S\discretionary {-}{}{}H\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}E\discretionary {-}{}{}R@{G\discretionary {-}{}{}L\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}S\discretionary {-}{}{}H\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}E\discretionary {-}{}{}R}!InitShader.cpp@{Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp}|hyperpage}{72} +\indexentry{Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}hpp@{Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}hpp}|hyperpage}{72} +\indexentry{Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}cpp@{Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}cpp}|hyperpage}{73} +\indexentry{Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}cpp@{Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}cpp}!C\discretionary {-}{}{}H\discretionary {-}{}{}E\discretionary {-}{}{}C\discretionary {-}{}{}K\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}C@{C\discretionary {-}{}{}H\discretionary {-}{}{}E\discretionary {-}{}{}C\discretionary {-}{}{}K\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}C}|hyperpage}{74} +\indexentry{C\discretionary {-}{}{}H\discretionary {-}{}{}E\discretionary {-}{}{}C\discretionary {-}{}{}K\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}C@{C\discretionary {-}{}{}H\discretionary {-}{}{}E\discretionary {-}{}{}C\discretionary {-}{}{}K\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}C}!KinectInator.cpp@{Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}cpp}|hyperpage}{74} +\indexentry{Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}hpp@{Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}hpp}|hyperpage}{74} +\indexentry{mat.\discretionary {-}{}{}cpp@{mat.\discretionary {-}{}{}cpp}|hyperpage}{75} +\indexentry{mat.\discretionary {-}{}{}hpp@{mat.\discretionary {-}{}{}hpp}|hyperpage}{76} +\indexentry{mat.\discretionary {-}{}{}hpp@{mat.\discretionary {-}{}{}hpp}!Error@{Error}|hyperpage}{77} +\indexentry{Error@{Error}!mat.hpp@{mat.\discretionary {-}{}{}hpp}|hyperpage}{77} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{78} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!Q\discretionary {-}{}{}U\discretionary {-}{}{}A\discretionary {-}{}{}D@{Q\discretionary {-}{}{}U\discretionary {-}{}{}A\discretionary {-}{}{}D}|hyperpage}{79} +\indexentry{Q\discretionary {-}{}{}U\discretionary {-}{}{}A\discretionary {-}{}{}D@{Q\discretionary {-}{}{}U\discretionary {-}{}{}A\discretionary {-}{}{}D}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{79} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!color4@{color4}|hyperpage}{80} +\indexentry{color4@{color4}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{80} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!point4@{point4}|hyperpage}{80} +\indexentry{point4@{point4}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{80} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!calc\discretionary {-}{}{}Normal@{calc\discretionary {-}{}{}Normal}|hyperpage}{80} +\indexentry{calc\discretionary {-}{}{}Normal@{calc\discretionary {-}{}{}Normal}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{80} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!color\discretionary {-}{}{}Cube@{color\discretionary {-}{}{}Cube}|hyperpage}{80} +\indexentry{color\discretionary {-}{}{}Cube@{color\discretionary {-}{}{}Cube}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{80} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!create\discretionary {-}{}{}Point@{create\discretionary {-}{}{}Point}|hyperpage}{80} +\indexentry{create\discretionary {-}{}{}Point@{create\discretionary {-}{}{}Point}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{80} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!cube@{cube}|hyperpage}{80} +\indexentry{cube@{cube}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{80} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!divide\discretionary {-}{}{}Triangle@{divide\discretionary {-}{}{}Triangle}|hyperpage}{81} +\indexentry{divide\discretionary {-}{}{}Triangle@{divide\discretionary {-}{}{}Triangle}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{81} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!jitter@{jitter}|hyperpage}{81} +\indexentry{jitter@{jitter}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{81} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!land\discretionary {-}{}{}Gen@{land\discretionary {-}{}{}Gen}|hyperpage}{81} +\indexentry{land\discretionary {-}{}{}Gen@{land\discretionary {-}{}{}Gen}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{81} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!make\discretionary {-}{}{}Agua@{make\discretionary {-}{}{}Agua}|hyperpage}{82} +\indexentry{make\discretionary {-}{}{}Agua@{make\discretionary {-}{}{}Agua}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{82} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!quad@{quad}|hyperpage}{82} +\indexentry{quad@{quad}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{82} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!rand\discretionary {-}{}{}Float@{rand\discretionary {-}{}{}Float}|hyperpage}{82} +\indexentry{rand\discretionary {-}{}{}Float@{rand\discretionary {-}{}{}Float}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{82} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen@{recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen}|hyperpage}{82} +\indexentry{recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen@{recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{82} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!sierpinski\discretionary {-}{}{}Pyramid@{sierpinski\discretionary {-}{}{}Pyramid}|hyperpage}{83} +\indexentry{sierpinski\discretionary {-}{}{}Pyramid@{sierpinski\discretionary {-}{}{}Pyramid}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{83} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!sphere@{sphere}|hyperpage}{83} +\indexentry{sphere@{sphere}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{83} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!tetra@{tetra}|hyperpage}{83} +\indexentry{tetra@{tetra}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{83} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!triangle@{triangle}|hyperpage}{83} +\indexentry{triangle@{triangle}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{83} +\indexentry{model.\discretionary {-}{}{}cpp@{model.\discretionary {-}{}{}cpp}!unit@{unit}|hyperpage}{84} +\indexentry{unit@{unit}!model.cpp@{model.\discretionary {-}{}{}cpp}|hyperpage}{84} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{84} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!color4@{color4}|hyperpage}{85} +\indexentry{color4@{color4}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{85} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!point4@{point4}|hyperpage}{85} +\indexentry{point4@{point4}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{85} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!color\discretionary {-}{}{}Cube@{color\discretionary {-}{}{}Cube}|hyperpage}{85} +\indexentry{color\discretionary {-}{}{}Cube@{color\discretionary {-}{}{}Cube}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{85} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!create\discretionary {-}{}{}Point@{create\discretionary {-}{}{}Point}|hyperpage}{86} +\indexentry{create\discretionary {-}{}{}Point@{create\discretionary {-}{}{}Point}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{86} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!cube@{cube}|hyperpage}{86} +\indexentry{cube@{cube}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{86} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!divide\discretionary {-}{}{}Triangle@{divide\discretionary {-}{}{}Triangle}|hyperpage}{86} +\indexentry{divide\discretionary {-}{}{}Triangle@{divide\discretionary {-}{}{}Triangle}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{86} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!land\discretionary {-}{}{}Gen@{land\discretionary {-}{}{}Gen}|hyperpage}{86} +\indexentry{land\discretionary {-}{}{}Gen@{land\discretionary {-}{}{}Gen}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{86} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!make\discretionary {-}{}{}Agua@{make\discretionary {-}{}{}Agua}|hyperpage}{87} +\indexentry{make\discretionary {-}{}{}Agua@{make\discretionary {-}{}{}Agua}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{87} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!quad@{quad}|hyperpage}{87} +\indexentry{quad@{quad}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{87} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen@{recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen}|hyperpage}{87} +\indexentry{recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen@{recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{87} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!sierpinski\discretionary {-}{}{}Pyramid@{sierpinski\discretionary {-}{}{}Pyramid}|hyperpage}{88} +\indexentry{sierpinski\discretionary {-}{}{}Pyramid@{sierpinski\discretionary {-}{}{}Pyramid}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{88} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!sphere@{sphere}|hyperpage}{88} +\indexentry{sphere@{sphere}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{88} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!tetra@{tetra}|hyperpage}{88} +\indexentry{tetra@{tetra}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{88} +\indexentry{model.\discretionary {-}{}{}hpp@{model.\discretionary {-}{}{}hpp}!triangle@{triangle}|hyperpage}{88} +\indexentry{triangle@{triangle}!model.hpp@{model.\discretionary {-}{}{}hpp}|hyperpage}{88} +\indexentry{Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}cpp@{Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}cpp}|hyperpage}{89} +\indexentry{Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}cpp@{Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}cpp}!R\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}D\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}F\discretionary {-}{}{}L\discretionary {-}{}{}O\discretionary {-}{}{}A\discretionary {-}{}{}T@{R\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}D\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}F\discretionary {-}{}{}L\discretionary {-}{}{}O\discretionary {-}{}{}A\discretionary {-}{}{}T}|hyperpage}{90} +\indexentry{R\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}D\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}F\discretionary {-}{}{}L\discretionary {-}{}{}O\discretionary {-}{}{}A\discretionary {-}{}{}T@{R\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}D\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}F\discretionary {-}{}{}L\discretionary {-}{}{}O\discretionary {-}{}{}A\discretionary {-}{}{}T}!ObjLoader.cpp@{Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}cpp}|hyperpage}{90} +\indexentry{Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}hpp@{Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}hpp}|hyperpage}{90} +\indexentry{terrain.\discretionary {-}{}{}cpp@{terrain.\discretionary {-}{}{}cpp}|hyperpage}{91} +\indexentry{terrain.\discretionary {-}{}{}cpp@{terrain.\discretionary {-}{}{}cpp}!cleanup@{cleanup}|hyperpage}{92} +\indexentry{cleanup@{cleanup}!terrain.cpp@{terrain.\discretionary {-}{}{}cpp}|hyperpage}{92} +\indexentry{terrain.\discretionary {-}{}{}cpp@{terrain.\discretionary {-}{}{}cpp}!display@{display}|hyperpage}{92} +\indexentry{display@{display}!terrain.cpp@{terrain.\discretionary {-}{}{}cpp}|hyperpage}{92} +\indexentry{terrain.\discretionary {-}{}{}cpp@{terrain.\discretionary {-}{}{}cpp}!display\discretionary {-}{}{}Viewport@{display\discretionary {-}{}{}Viewport}|hyperpage}{92} +\indexentry{display\discretionary {-}{}{}Viewport@{display\discretionary {-}{}{}Viewport}!terrain.cpp@{terrain.\discretionary {-}{}{}cpp}|hyperpage}{92} +\indexentry{terrain.\discretionary {-}{}{}cpp@{terrain.\discretionary {-}{}{}cpp}!init@{init}|hyperpage}{92} +\indexentry{init@{init}!terrain.cpp@{terrain.\discretionary {-}{}{}cpp}|hyperpage}{92} +\indexentry{terrain.\discretionary {-}{}{}cpp@{terrain.\discretionary {-}{}{}cpp}!randomize\discretionary {-}{}{}\_\discretionary {-}{}{}terrain@{randomize\discretionary {-}{}{}\_\discretionary {-}{}{}terrain}|hyperpage}{93} +\indexentry{randomize\discretionary {-}{}{}\_\discretionary {-}{}{}terrain@{randomize\discretionary {-}{}{}\_\discretionary {-}{}{}terrain}!terrain.cpp@{terrain.\discretionary {-}{}{}cpp}|hyperpage}{93} +\indexentry{terrain.\discretionary {-}{}{}cpp@{terrain.\discretionary {-}{}{}cpp}!Terrain\discretionary {-}{}{}Generation\discretionary {-}{}{}Animation@{Terrain\discretionary {-}{}{}Generation\discretionary {-}{}{}Animation}|hyperpage}{93} +\indexentry{Terrain\discretionary {-}{}{}Generation\discretionary {-}{}{}Animation@{Terrain\discretionary {-}{}{}Generation\discretionary {-}{}{}Animation}!terrain.cpp@{terrain.\discretionary {-}{}{}cpp}|hyperpage}{93} +\indexentry{terrain.\discretionary {-}{}{}cpp@{terrain.\discretionary {-}{}{}cpp}!wiilook@{wiilook}|hyperpage}{93} +\indexentry{wiilook@{wiilook}!terrain.cpp@{terrain.\discretionary {-}{}{}cpp}|hyperpage}{93} +\indexentry{terrain.\discretionary {-}{}{}cpp@{terrain.\discretionary {-}{}{}cpp}!terrain\discretionary {-}{}{}Tex@{terrain\discretionary {-}{}{}Tex}|hyperpage}{94} +\indexentry{terrain\discretionary {-}{}{}Tex@{terrain\discretionary {-}{}{}Tex}!terrain.cpp@{terrain.\discretionary {-}{}{}cpp}|hyperpage}{94} +\indexentry{vec.\discretionary {-}{}{}cpp@{vec.\discretionary {-}{}{}cpp}|hyperpage}{94} diff --git a/Doxygen/Docs/latex/refman.ilg b/Doxygen/Docs/latex/refman.ilg new file mode 100644 index 00000000..fcbe048a --- /dev/null +++ b/Doxygen/Docs/latex/refman.ilg @@ -0,0 +1,11 @@ +This is makeindex, version 2.15 [TeX Live 2013/dev] (kpathsea + Thai support). +Scanning input file refman.idx.... +!! Input index error (file = refman.idx, line = 310): + -- First argument too long (max 1024). +!! Input index error (file = refman.idx, line = 311): + -- First argument too long (max 1024). +done (410 entries accepted, 2 rejected). +Sorting entries......done (3749 comparisons). +Generating output file refman.ind....done (625 lines written, 0 warnings). +Output written in refman.ind. +Transcript written in refman.ilg. diff --git a/Doxygen/Docs/latex/refman.ind b/Doxygen/Docs/latex/refman.ind new file mode 100644 index 00000000..56402f75 --- /dev/null +++ b/Doxygen/Docs/latex/refman.ind @@ -0,0 +1,625 @@ +\begin{theindex} + + \item {$\sim $\discretionary {-}{}{}Camera} + \subitem {Camera}, \hyperpage{13} + \item {$\sim $\discretionary {-}{}{}Cameras} + \subitem {Cameras}, \hyperpage{27} + \item {\discretionary {-}{}{}\_\discretionary {-}{}{}aspect\discretionary {-}{}{}Ratio} + \subitem {Camera}, \hyperpage{24} + \item {\discretionary {-}{}{}\_\discretionary {-}{}{}ctm} + \subitem {Camera}, \hyperpage{24} + \item {\discretionary {-}{}{}\_\discretionary {-}{}{}current\discretionary {-}{}{}View} + \subitem {Camera}, \hyperpage{24} + \item {\discretionary {-}{}{}\_\discretionary {-}{}{}fovy} + \subitem {Camera}, \hyperpage{24} + \item {\discretionary {-}{}{}\_\discretionary {-}{}{}friction\discretionary {-}{}{}Magnitude} + \subitem {Camera}, \hyperpage{24} + \item {\discretionary {-}{}{}\_\discretionary {-}{}{}m} + \subitem {Angel\discretionary {-}{}{}::mat2}, \hyperpage{37} + \item {\discretionary {-}{}{}\_\discretionary {-}{}{}motion} + \subitem {Camera}, \hyperpage{24} + \item {\discretionary {-}{}{}\_\discretionary {-}{}{}speed} + \subitem {Camera}, \hyperpage{24} + \item {\discretionary {-}{}{}\_\discretionary {-}{}{}velocity} + \subitem {Camera}, \hyperpage{24} + \item {\discretionary {-}{}{}\_\discretionary {-}{}{}view} + \subitem {Camera}, \hyperpage{24} + + \indexspace + + \item {accel} + \subitem {Camera}, \hyperpage{13} + \item {active} + \subitem {Cameras}, \hyperpage{27} + \item {add\discretionary {-}{}{}Camera} + \subitem {Cameras}, \hyperpage{27} + \item {adjust\discretionary {-}{}{}Field\discretionary {-}{}{}Of\discretionary {-}{}{}View} + \subitem {Camera}, \hyperpage{14} + \item {adjust\discretionary {-}{}{}Rotation} + \subitem {Camera}, \hyperpage{14} + \item {Angel\discretionary {-}{}{}::mat2}, \hyperpage{36} + \subitem {\discretionary {-}{}{}\_\discretionary {-}{}{}m}, + \hyperpage{37} + \subitem {operator$\ast $}, \hyperpage{37} + \item {Angel\discretionary {-}{}{}::mat3}, \hyperpage{37} + \item {Angel\discretionary {-}{}{}::mat4}, \hyperpage{38} + \item {Angel\discretionary {-}{}{}::vec2}, \hyperpage{56} + \item {Angel\discretionary {-}{}{}::vec3}, \hyperpage{56} + \item {Angel\discretionary {-}{}{}::vec4}, \hyperpage{57} + + \indexspace + + \item {C\discretionary {-}{}{}H\discretionary {-}{}{}E\discretionary {-}{}{}C\discretionary {-}{}{}K\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}C} + \subitem {Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}cpp}, + \hyperpage{74} + \item {calc\discretionary {-}{}{}Normal} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{80} + \item {calculate\discretionary {-}{}{}Viewports} + \subitem {Cameras}, \hyperpage{28} + \item {Camera}, \hyperpage{7} + \subitem {$\sim $\discretionary {-}{}{}Camera}, \hyperpage{13} + \subitem {\discretionary {-}{}{}\_\discretionary {-}{}{}aspect\discretionary {-}{}{}Ratio}, + \hyperpage{24} + \subitem {\discretionary {-}{}{}\_\discretionary {-}{}{}ctm}, + \hyperpage{24} + \subitem {\discretionary {-}{}{}\_\discretionary {-}{}{}current\discretionary {-}{}{}View}, + \hyperpage{24} + \subitem {\discretionary {-}{}{}\_\discretionary {-}{}{}fovy}, + \hyperpage{24} + \subitem {\discretionary {-}{}{}\_\discretionary {-}{}{}friction\discretionary {-}{}{}Magnitude}, + \hyperpage{24} + \subitem {\discretionary {-}{}{}\_\discretionary {-}{}{}motion}, + \hyperpage{24} + \subitem {\discretionary {-}{}{}\_\discretionary {-}{}{}speed}, + \hyperpage{24} + \subitem {\discretionary {-}{}{}\_\discretionary {-}{}{}velocity}, + \hyperpage{24} + \subitem {\discretionary {-}{}{}\_\discretionary {-}{}{}view}, + \hyperpage{24} + \subitem {accel}, \hyperpage{13} + \subitem {adjust\discretionary {-}{}{}Field\discretionary {-}{}{}Of\discretionary {-}{}{}View}, + \hyperpage{14} + \subitem {adjust\discretionary {-}{}{}Rotation}, \hyperpage{14} + \subitem {Camera}, \hyperpage{12, 13} + \subitem {change\discretionary {-}{}{}Perspective}, \hyperpage{14} + \subitem {common\discretionary {-}{}{}Init}, \hyperpage{14} + \subitem {d\discretionary {-}{}{}Pos}, \hyperpage{15} + \subitem {d\discretionary {-}{}{}X}, \hyperpage{16} + \subitem {d\discretionary {-}{}{}Y}, \hyperpage{16} + \subitem {d\discretionary {-}{}{}Z}, \hyperpage{16} + \subitem {Delete\discretionary {-}{}{}Object}, \hyperpage{15} + \subitem {Direction}, \hyperpage{12} + \subitem {draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}, + \hyperpage{24} + \subitem {field\discretionary {-}{}{}Of\discretionary {-}{}{}View}, + \hyperpage{16, 17} + \subitem {Get\discretionary {-}{}{}Position}, \hyperpage{17} + \subitem {handles}, \hyperpage{25} + \subitem {heave}, \hyperpage{17} + \subitem {idle}, \hyperpage{17} + \subitem {move}, \hyperpage{17} + \subitem {name}, \hyperpage{25} + \subitem {pitch}, \hyperpage{18} + \subitem {pos}, \hyperpage{18, 19} + \subitem {refresh\discretionary {-}{}{}Perspective}, \hyperpage{19} + \subitem {reset\discretionary {-}{}{}Rotation}, \hyperpage{19} + \subitem {roll}, \hyperpage{19} + \subitem {send}, \hyperpage{20} + \subitem {Shader}, \hyperpage{20} + \subitem {stop}, \hyperpage{21} + \subitem {surge}, \hyperpage{21} + \subitem {sway}, \hyperpage{21} + \subitem {Uniform}, \hyperpage{12} + \subitem {Uniforms}, \hyperpage{12} + \subitem {vao}, \hyperpage{25} + \subitem {view}, \hyperpage{21} + \subitem {View\discretionary {-}{}{}Type}, \hyperpage{12} + \subitem {viewport}, \hyperpage{22} + \subitem {x}, \hyperpage{22} + \subitem {y}, \hyperpage{22, 23} + \subitem {yaw}, \hyperpage{23} + \subitem {z}, \hyperpage{23} + \item {Camera.\discretionary {-}{}{}cpp}, \hyperpage{59} + \subitem {R\discretionary {-}{}{}O\discretionary {-}{}{}T\discretionary {-}{}{}A\discretionary {-}{}{}T\discretionary {-}{}{}E\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}S\discretionary {-}{}{}E\discretionary {-}{}{}T}, + \hyperpage{60} + \item {Camera.\discretionary {-}{}{}hpp}, \hyperpage{60} + \item {Cameras}, \hyperpage{25} + \subitem {$\sim $\discretionary {-}{}{}Cameras}, \hyperpage{27} + \subitem {active}, \hyperpage{27} + \subitem {add\discretionary {-}{}{}Camera}, \hyperpage{27} + \subitem {calculate\discretionary {-}{}{}Viewports}, \hyperpage{28} + \subitem {Cameras}, \hyperpage{27} + \subitem {Delete\discretionary {-}{}{}Object}, \hyperpage{28} + \subitem {idle\discretionary {-}{}{}Motion}, \hyperpage{28} + \subitem {next}, \hyperpage{28} + \subitem {num\discretionary {-}{}{}Cameras}, \hyperpage{28} + \subitem {obj2\discretionary {-}{}{}Cam}, \hyperpage{29} + \subitem {pop\discretionary {-}{}{}Camera}, \hyperpage{29} + \subitem {prev}, \hyperpage{29} + \subitem {resize}, \hyperpage{29} + \subitem {Shader}, \hyperpage{29, 30} + \subitem {view}, \hyperpage{30} + \item {Cameras.\discretionary {-}{}{}cpp}, \hyperpage{61} + \item {Cameras.\discretionary {-}{}{}hpp}, \hyperpage{61} + \item {cams} + \subitem {Engine}, \hyperpage{32} + \item {change\discretionary {-}{}{}Perspective} + \subitem {Camera}, \hyperpage{14} + \item {cleanup} + \subitem {terrain.\discretionary {-}{}{}cpp}, \hyperpage{92} + \item {color4} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{80} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{85} + \item {color\discretionary {-}{}{}Cube} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{80} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{85} + \item {common\discretionary {-}{}{}Init} + \subitem {Camera}, \hyperpage{14} + \item {create\discretionary {-}{}{}Point} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{80} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{86} + \item {cube} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{80} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{86} + + \indexspace + + \item {D\discretionary {-}{}{}E\discretionary {-}{}{}G\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}T\discretionary {-}{}{}O\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}I\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}S} + \subitem {globals.\discretionary {-}{}{}h}, \hyperpage{65} + \item {d\discretionary {-}{}{}Pos} + \subitem {Camera}, \hyperpage{15} + \item {d\discretionary {-}{}{}X} + \subitem {Camera}, \hyperpage{16} + \item {d\discretionary {-}{}{}Y} + \subitem {Camera}, \hyperpage{16} + \item {d\discretionary {-}{}{}Z} + \subitem {Camera}, \hyperpage{16} + \item {Delete\discretionary {-}{}{}Object} + \subitem {Camera}, \hyperpage{15} + \subitem {Cameras}, \hyperpage{28} + \subitem {Object}, \hyperpage{41} + \subitem {Particle}, \hyperpage{45} + \subitem {Scene}, \hyperpage{49} + \item {Delta} + \subitem {Timer}, \hyperpage{53} + \item {Direction} + \subitem {Camera}, \hyperpage{12} + \item {display} + \subitem {terrain.\discretionary {-}{}{}cpp}, \hyperpage{92} + \item {display\discretionary {-}{}{}Viewport} + \subitem {terrain.\discretionary {-}{}{}cpp}, \hyperpage{92} + \item {divide\discretionary {-}{}{}Triangle} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{81} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{86} + \item {draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode} + \subitem {Camera}, \hyperpage{24} + \subitem {Object}, \hyperpage{42} + \subitem {Particle}, \hyperpage{46} + \item {ds.\discretionary {-}{}{}cpp}, \hyperpage{62} + \subitem {main}, \hyperpage{63} + + \indexspace + + \item {Engine}, \hyperpage{30} + \subitem {cams}, \hyperpage{32} + \subitem {Engine}, \hyperpage{32} + \subitem {flip}, \hyperpage{32} + \subitem {instance}, \hyperpage{33} + \subitem {main\discretionary {-}{}{}Screen}, \hyperpage{33} + \subitem {operator=}, \hyperpage{33} + \subitem {opt}, \hyperpage{33, 34} + \subitem {root\discretionary {-}{}{}Scene}, \hyperpage{34} + \subitem {set}, \hyperpage{34} + \item {Engine.\discretionary {-}{}{}cpp}, \hyperpage{63} + \item {Engine.\discretionary {-}{}{}hpp}, \hyperpage{64} + \item {Error} + \subitem {mat.\discretionary {-}{}{}hpp}, \hyperpage{77} + + \indexspace + + \item {field\discretionary {-}{}{}Of\discretionary {-}{}{}View} + \subitem {Camera}, \hyperpage{16, 17} + \item {flip} + \subitem {Engine}, \hyperpage{32} + + \indexspace + + \item {G\discretionary {-}{}{}L\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}S\discretionary {-}{}{}H\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}E\discretionary {-}{}{}R} + \subitem {Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp}, + \hyperpage{72} + \item {Get\discretionary {-}{}{}Position} + \subitem {Camera}, \hyperpage{17} + \subitem {Object}, \hyperpage{41} + \subitem {Particle}, \hyperpage{45} + \item {globals.\discretionary {-}{}{}h}, \hyperpage{64} + \subitem {D\discretionary {-}{}{}E\discretionary {-}{}{}G\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}T\discretionary {-}{}{}O\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}I\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}S}, + \hyperpage{65} + \subitem {P\discretionary {-}{}{}O\discretionary {-}{}{}S\discretionary {-}{}{}T\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T}, + \hyperpage{66} + \subitem {P\discretionary {-}{}{}O\discretionary {-}{}{}W5}, + \hyperpage{65} + \subitem {P\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T}, + \hyperpage{66} + \subitem {S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T2}, + \hyperpage{65} + \subitem {S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T3}, + \hyperpage{65} + \item {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}, + \hyperpage{66} + \subitem {keyboard}, \hyperpage{67} + \subitem {keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl}, + \hyperpage{67} + \subitem {keylift}, \hyperpage{67} + \subitem {mouse}, \hyperpage{68} + \subitem {mouselook}, \hyperpage{68} + \subitem {mouseroll}, \hyperpage{68} + \subitem {resize\discretionary {-}{}{}Event}, \hyperpage{68} + \item {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}, + \hyperpage{69} + \subitem {keyboard}, \hyperpage{70} + \subitem {keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl}, + \hyperpage{70} + \subitem {keylift}, \hyperpage{70} + \subitem {mouse}, \hyperpage{70} + \subitem {mouselook}, \hyperpage{70} + \subitem {mouseroll}, \hyperpage{71} + \subitem {resize\discretionary {-}{}{}Event}, \hyperpage{71} + + \indexspace + + \item {handles} + \subitem {Camera}, \hyperpage{25} + \subitem {Object}, \hyperpage{42} + \subitem {Particle}, \hyperpage{46} + \item {heave} + \subitem {Camera}, \hyperpage{17} + + \indexspace + + \item {idle} + \subitem {Camera}, \hyperpage{17} + \item {idle\discretionary {-}{}{}Motion} + \subitem {Cameras}, \hyperpage{28} + \item {init} + \subitem {terrain.\discretionary {-}{}{}cpp}, \hyperpage{92} + \item {Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp}, + \hyperpage{71} + \subitem {G\discretionary {-}{}{}L\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}S\discretionary {-}{}{}H\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}E\discretionary {-}{}{}R}, + \hyperpage{72} + \item {Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}hpp}, + \hyperpage{72} + \item {instance} + \subitem {Engine}, \hyperpage{33} + + \indexspace + + \item {jitter} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{81} + + \indexspace + + \item {keyboard} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}, + \hyperpage{67} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}, + \hyperpage{70} + \item {keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}, + \hyperpage{67} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}, + \hyperpage{70} + \item {keylift} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}, + \hyperpage{67} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}, + \hyperpage{70} + \item {Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}cpp}, + \hyperpage{73} + \subitem {C\discretionary {-}{}{}H\discretionary {-}{}{}E\discretionary {-}{}{}C\discretionary {-}{}{}K\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}C}, + \hyperpage{74} + \item {Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}hpp}, + \hyperpage{74} + + \indexspace + + \item {land\discretionary {-}{}{}Gen} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{81} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{86} + + \indexspace + + \item {main} + \subitem {ds.\discretionary {-}{}{}cpp}, \hyperpage{63} + \item {main\discretionary {-}{}{}Screen} + \subitem {Engine}, \hyperpage{33} + \item {make\discretionary {-}{}{}Agua} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{82} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{87} + \item {mat.\discretionary {-}{}{}cpp}, \hyperpage{75} + \item {mat.\discretionary {-}{}{}hpp}, \hyperpage{76} + \subitem {Error}, \hyperpage{77} + \item {model.\discretionary {-}{}{}cpp}, \hyperpage{78} + \subitem {calc\discretionary {-}{}{}Normal}, \hyperpage{80} + \subitem {color4}, \hyperpage{80} + \subitem {color\discretionary {-}{}{}Cube}, \hyperpage{80} + \subitem {create\discretionary {-}{}{}Point}, \hyperpage{80} + \subitem {cube}, \hyperpage{80} + \subitem {divide\discretionary {-}{}{}Triangle}, \hyperpage{81} + \subitem {jitter}, \hyperpage{81} + \subitem {land\discretionary {-}{}{}Gen}, \hyperpage{81} + \subitem {make\discretionary {-}{}{}Agua}, \hyperpage{82} + \subitem {point4}, \hyperpage{80} + \subitem {Q\discretionary {-}{}{}U\discretionary {-}{}{}A\discretionary {-}{}{}D}, + \hyperpage{79} + \subitem {quad}, \hyperpage{82} + \subitem {rand\discretionary {-}{}{}Float}, \hyperpage{82} + \subitem {recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen}, + \hyperpage{82} + \subitem {sierpinski\discretionary {-}{}{}Pyramid}, \hyperpage{83} + \subitem {sphere}, \hyperpage{83} + \subitem {tetra}, \hyperpage{83} + \subitem {triangle}, \hyperpage{83} + \subitem {unit}, \hyperpage{84} + \item {model.\discretionary {-}{}{}hpp}, \hyperpage{84} + \subitem {color4}, \hyperpage{85} + \subitem {color\discretionary {-}{}{}Cube}, \hyperpage{85} + \subitem {create\discretionary {-}{}{}Point}, \hyperpage{86} + \subitem {cube}, \hyperpage{86} + \subitem {divide\discretionary {-}{}{}Triangle}, \hyperpage{86} + \subitem {land\discretionary {-}{}{}Gen}, \hyperpage{86} + \subitem {make\discretionary {-}{}{}Agua}, \hyperpage{87} + \subitem {point4}, \hyperpage{85} + \subitem {quad}, \hyperpage{87} + \subitem {recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen}, + \hyperpage{87} + \subitem {sierpinski\discretionary {-}{}{}Pyramid}, \hyperpage{88} + \subitem {sphere}, \hyperpage{88} + \subitem {tetra}, \hyperpage{88} + \subitem {triangle}, \hyperpage{88} + \item {mouse} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}, + \hyperpage{68} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}, + \hyperpage{70} + \item {mouselook} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}, + \hyperpage{68} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}, + \hyperpage{70} + \item {mouseroll} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}, + \hyperpage{68} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}, + \hyperpage{71} + \item {move} + \subitem {Camera}, \hyperpage{17} + + \indexspace + + \item {name} + \subitem {Camera}, \hyperpage{25} + \subitem {Object}, \hyperpage{42} + \subitem {Particle}, \hyperpage{46} + \item {next} + \subitem {Cameras}, \hyperpage{28} + \item {num\discretionary {-}{}{}Cameras} + \subitem {Cameras}, \hyperpage{28} + + \indexspace + + \item {obj2\discretionary {-}{}{}Cam} + \subitem {Cameras}, \hyperpage{29} + \item {Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}cpp}, + \hyperpage{89} + \subitem {R\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}D\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}F\discretionary {-}{}{}L\discretionary {-}{}{}O\discretionary {-}{}{}A\discretionary {-}{}{}T}, + \hyperpage{90} + \item {Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}hpp}, + \hyperpage{90} + \item {Object}, \hyperpage{39} + \subitem {Delete\discretionary {-}{}{}Object}, \hyperpage{41} + \subitem {draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}, + \hyperpage{42} + \subitem {Get\discretionary {-}{}{}Position}, \hyperpage{41} + \subitem {handles}, \hyperpage{42} + \subitem {name}, \hyperpage{42} + \subitem {Shader}, \hyperpage{42} + \subitem {vao}, \hyperpage{42} + \item {operator$\ast $} + \subitem {Angel\discretionary {-}{}{}::mat2}, \hyperpage{37} + \item {operator=} + \subitem {Engine}, \hyperpage{33} + \item {opt} + \subitem {Engine}, \hyperpage{33, 34} + + \indexspace + + \item {P\discretionary {-}{}{}O\discretionary {-}{}{}S\discretionary {-}{}{}T\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T} + \subitem {globals.\discretionary {-}{}{}h}, \hyperpage{66} + \item {P\discretionary {-}{}{}O\discretionary {-}{}{}W5} + \subitem {globals.\discretionary {-}{}{}h}, \hyperpage{65} + \item {P\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T} + \subitem {globals.\discretionary {-}{}{}h}, \hyperpage{66} + \item {Particle}, \hyperpage{43} + \subitem {Delete\discretionary {-}{}{}Object}, \hyperpage{45} + \subitem {draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}, + \hyperpage{46} + \subitem {Get\discretionary {-}{}{}Position}, \hyperpage{45} + \subitem {handles}, \hyperpage{46} + \subitem {name}, \hyperpage{46} + \subitem {Shader}, \hyperpage{46} + \subitem {vao}, \hyperpage{46} + \item {pitch} + \subitem {Camera}, \hyperpage{18} + \item {point4} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{80} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{85} + \item {pop\discretionary {-}{}{}Camera} + \subitem {Cameras}, \hyperpage{29} + \item {pos} + \subitem {Camera}, \hyperpage{18, 19} + \item {prev} + \subitem {Cameras}, \hyperpage{29} + + \indexspace + + \item {Q\discretionary {-}{}{}U\discretionary {-}{}{}A\discretionary {-}{}{}D} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{79} + \item {quad} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{82} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{87} + + \indexspace + + \item {R\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}D\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}F\discretionary {-}{}{}L\discretionary {-}{}{}O\discretionary {-}{}{}A\discretionary {-}{}{}T} + \subitem {Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}cpp}, + \hyperpage{90} + \item {R\discretionary {-}{}{}O\discretionary {-}{}{}T\discretionary {-}{}{}A\discretionary {-}{}{}T\discretionary {-}{}{}E\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}S\discretionary {-}{}{}E\discretionary {-}{}{}T} + \subitem {Camera.\discretionary {-}{}{}cpp}, \hyperpage{60} + \item {rand\discretionary {-}{}{}Float} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{82} + \item {randomize\discretionary {-}{}{}\_\discretionary {-}{}{}terrain} + \subitem {terrain.\discretionary {-}{}{}cpp}, \hyperpage{93} + \item {recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{82} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{87} + \item {refresh\discretionary {-}{}{}Perspective} + \subitem {Camera}, \hyperpage{19} + \item {reset\discretionary {-}{}{}Rotation} + \subitem {Camera}, \hyperpage{19} + \item {resize} + \subitem {Cameras}, \hyperpage{29} + \item {resize\discretionary {-}{}{}Event} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp}, + \hyperpage{68} + \subitem {glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h}, + \hyperpage{71} + \item {roll} + \subitem {Camera}, \hyperpage{19} + \item {root\discretionary {-}{}{}Scene} + \subitem {Engine}, \hyperpage{34} + \item {Rot\discretionary {-}{}{}Mat}, \hyperpage{47} + + \indexspace + + \item {S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T2} + \subitem {globals.\discretionary {-}{}{}h}, \hyperpage{65} + \item {S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T3} + \subitem {globals.\discretionary {-}{}{}h}, \hyperpage{65} + \item {Scale} + \subitem {Timer}, \hyperpage{53} + \item {Scale\discretionary {-}{}{}Mat}, \hyperpage{48} + \item {Scene}, \hyperpage{48} + \subitem {Delete\discretionary {-}{}{}Object}, \hyperpage{49} + \subitem {Shader}, \hyperpage{49, 50} + \item {Screen}, \hyperpage{50} + \item {send} + \subitem {Camera}, \hyperpage{20} + \item {set} + \subitem {Engine}, \hyperpage{34} + \item {Shader} + \subitem {Camera}, \hyperpage{20} + \subitem {Cameras}, \hyperpage{29, 30} + \subitem {Object}, \hyperpage{42} + \subitem {Particle}, \hyperpage{46} + \subitem {Scene}, \hyperpage{49, 50} + \item {sierpinski\discretionary {-}{}{}Pyramid} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{83} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{88} + \item {Spelchk\discretionary {-}{}{}Camera}, \hyperpage{51} + \item {sphere} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{83} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{88} + \item {stop} + \subitem {Camera}, \hyperpage{21} + \item {surge} + \subitem {Camera}, \hyperpage{21} + \item {sway} + \subitem {Camera}, \hyperpage{21} + + \indexspace + + \item {terrain.\discretionary {-}{}{}cpp}, \hyperpage{91} + \subitem {cleanup}, \hyperpage{92} + \subitem {display}, \hyperpage{92} + \subitem {display\discretionary {-}{}{}Viewport}, \hyperpage{92} + \subitem {init}, \hyperpage{92} + \subitem {randomize\discretionary {-}{}{}\_\discretionary {-}{}{}terrain}, + \hyperpage{93} + \subitem {Terrain\discretionary {-}{}{}Generation\discretionary {-}{}{}Animation}, + \hyperpage{93} + \subitem {terrain\discretionary {-}{}{}Tex}, \hyperpage{94} + \subitem {wiilook}, \hyperpage{93} + \item {Terrain\discretionary {-}{}{}Generation\discretionary {-}{}{}Animation} + \subitem {terrain.\discretionary {-}{}{}cpp}, \hyperpage{93} + \item {terrain\discretionary {-}{}{}Tex} + \subitem {terrain.\discretionary {-}{}{}cpp}, \hyperpage{94} + \item {tetra} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{83} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{88} + \item {Tick} + \subitem {Timer}, \hyperpage{53} + \item {Tiem\discretionary {-}{}{}Spelchk\discretionary {-}{}{}::\discretionary {-}{}{}Lurn2\discretionary {-}{}{}Spiel\discretionary {-}{}{}Nub}, + \hyperpage{35} + \item {Timer}, \hyperpage{52} + \subitem {Delta}, \hyperpage{53} + \subitem {Scale}, \hyperpage{53} + \subitem {Tick}, \hyperpage{53} + \subitem {Tock}, \hyperpage{53} + \item {Tock} + \subitem {Timer}, \hyperpage{53} + \item {Trans\discretionary {-}{}{}Cache}, \hyperpage{54} + \item {Trans\discretionary {-}{}{}Mat}, \hyperpage{55} + \item {Transformation}, \hyperpage{54} + \item {triangle} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{83} + \subitem {model.\discretionary {-}{}{}hpp}, \hyperpage{88} + + \indexspace + + \item {Uniform} + \subitem {Camera}, \hyperpage{12} + \item {Uniforms} + \subitem {Camera}, \hyperpage{12} + \item {unit} + \subitem {model.\discretionary {-}{}{}cpp}, \hyperpage{84} + + \indexspace + + \item {vao} + \subitem {Camera}, \hyperpage{25} + \subitem {Object}, \hyperpage{42} + \subitem {Particle}, \hyperpage{46} + \item {vec.\discretionary {-}{}{}cpp}, \hyperpage{94} + \item {view} + \subitem {Camera}, \hyperpage{21} + \subitem {Cameras}, \hyperpage{30} + \item {View\discretionary {-}{}{}Type} + \subitem {Camera}, \hyperpage{12} + \item {viewport} + \subitem {Camera}, \hyperpage{22} + + \indexspace + + \item {wii\discretionary {-}{}{}Poll\discretionary {-}{}{}Data}, + \hyperpage{58} + \item {wiilook} + \subitem {terrain.\discretionary {-}{}{}cpp}, \hyperpage{93} + + \indexspace + + \item {x} + \subitem {Camera}, \hyperpage{22} + + \indexspace + + \item {y} + \subitem {Camera}, \hyperpage{22, 23} + \item {yaw} + \subitem {Camera}, \hyperpage{23} + + \indexspace + + \item {z} + \subitem {Camera}, \hyperpage{23} + +\end{theindex} diff --git a/Doxygen/Docs/latex/refman.log b/Doxygen/Docs/latex/refman.log new file mode 100644 index 00000000..9d8e5dbd --- /dev/null +++ b/Doxygen/Docs/latex/refman.log @@ -0,0 +1,3724 @@ +This is pdfTeX, Version 3.1415926-2.5-1.40.13 (TeX Live 2013/dev) (format=pdflatex 2013.3.13) 15 MAR 2013 00:48 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**refman +(./refman.tex +LaTeX2e <2011/06/27> +Babel and hyphenation patterns for english, dumylang, nohyphenation, lo +aded. +(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls +Document Class: book 2007/10/19 v1.4h Standard LaTeX document class +(/usr/share/texlive/texmf-dist/tex/latex/base/bk10.clo +File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) +) +\c@part=\count79 +\c@chapter=\count80 +\c@section=\count81 +\c@subsection=\count82 +\c@subsubsection=\count83 +\c@paragraph=\count84 +\c@subparagraph=\count85 +\c@figure=\count86 +\c@table=\count87 +\abovecaptionskip=\skip41 +\belowcaptionskip=\skip42 +\bibindent=\dimen102 +) +(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty +Package: geometry 2010/09/12 v5.6 Page Geometry + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty +Package: keyval 1999/03/16 v1.13 key=value parser (DPC) +\KV@toks@=\toks14 +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty +Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO) +Package ifpdf Info: pdfTeX in PDF mode is detected. +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty +Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO) +Package ifvtex Info: VTeX not detected. +) +(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty +Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional +) +\Gm@cnth=\count88 +\Gm@cntv=\count89 +\c@Gm@tempcnt=\count90 +\Gm@bindingoffset=\dimen103 +\Gm@wd@mp=\dimen104 +\Gm@odd@mp=\dimen105 +\Gm@even@mp=\dimen106 +\Gm@layoutwidth=\dimen107 +\Gm@layoutheight=\dimen108 +\Gm@layouthoffset=\dimen109 +\Gm@layoutvoffset=\dimen110 +\Gm@dimlist=\toks15 +) +(/usr/share/texlive/texmf-dist/tex/latex/base/makeidx.sty +Package: makeidx 2000/03/29 v1.0m Standard LaTeX package +) +(/usr/share/texlive/texmf-dist/tex/latex/natbib/natbib.sty +Package: natbib 2010/09/13 8.31b (PWD, AO) +\bibhang=\skip43 +\bibsep=\skip44 +LaTeX Info: Redefining \cite on input line 694. +\c@NAT@ctr=\count91 +) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty +Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty +Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty +Package: trig 1999/03/16 v1.09 sin cos tan (DPC) +) +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg +File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live +) +Package graphics Info: Driver file: pdftex.def on input line 91. + +(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def +File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty +Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty +Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) +) +\Gread@gobject=\count92 +)) +\Gin@req@height=\dimen111 +\Gin@req@width=\dimen112 +) +(/usr/share/texlive/texmf-dist/tex/latex/tools/multicol.sty +Package: multicol 2011/06/27 v1.7a multicolumn formatting (FMi) +\c@tracingmulticols=\count93 +\mult@box=\box26 +\multicol@leftmargin=\dimen113 +\c@unbalance=\count94 +\c@collectmore=\count95 +\doublecol@number=\count96 +\multicoltolerance=\count97 +\multicolpretolerance=\count98 +\full@width=\dimen114 +\page@free=\dimen115 +\premulticols=\dimen116 +\postmulticols=\dimen117 +\multicolsep=\skip45 +\multicolbaselineskip=\skip46 +\partial@page=\box27 +\last@line=\box28 +\mult@rightbox=\box29 +\mult@grightbox=\box30 +\mult@gfirstbox=\box31 +\mult@firstbox=\box32 +\@tempa=\box33 +\@tempa=\box34 +\@tempa=\box35 +\@tempa=\box36 +\@tempa=\box37 +\@tempa=\box38 +\@tempa=\box39 +\@tempa=\box40 +\@tempa=\box41 +\@tempa=\box42 +\@tempa=\box43 +\@tempa=\box44 +\@tempa=\box45 +\@tempa=\box46 +\@tempa=\box47 +\@tempa=\box48 +\@tempa=\box49 +\c@columnbadness=\count99 +\c@finalcolumnbadness=\count100 +\last@try=\dimen118 +\multicolovershoot=\dimen119 +\multicolundershoot=\dimen120 +\mult@nat@firstbox=\box50 +\colbreak@box=\box51 +\multicol@sort@counter=\count101 +) +(/usr/share/texlive/texmf-dist/tex/latex/float/float.sty +Package: float 2001/11/08 v1.3d Float enhancements (AL) +\c@float@type=\count102 +\float@exts=\toks16 +\float@box=\box52 +\@float@everytoks=\toks17 +\@floatcapt=\box53 +) +(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty +\lst@mode=\count103 +\lst@gtempboxa=\box54 +\lst@token=\toks18 +\lst@length=\count104 +\lst@currlwidth=\dimen121 +\lst@column=\count105 +\lst@pos=\count106 +\lst@lostspace=\dimen122 +\lst@width=\dimen123 +\lst@newlines=\count107 +\lst@lineno=\count108 +\lst@maxwidth=\dimen124 + +(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty +File: lstmisc.sty 2007/02/22 1.4 (Carsten Heinz) +\c@lstnumber=\count109 +\lst@skipnumbers=\count110 +\lst@framebox=\box55 +) +(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg +File: listings.cfg 2007/02/22 1.4 listings configuration +)) +Package: listings 2007/02/22 1.4 (Carsten Heinz) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty +Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC) + +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg +File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive +) +Package color Info: Driver file: pdftex.def on input line 130. +) +(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty +Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) +) +(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty +Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK) + +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg +File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive +) +Package xcolor Info: Driver file: pdftex.def on input line 225. + +(/usr/share/texlive/texmf-dist/tex/latex/colortbl/colortbl.sty +Package: colortbl 2012/02/13 v1.0a Color table columns (DPC) + +(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty +Package: array 2008/09/09 v2.4c Tabular extension package (FMi) +\col@sep=\dimen125 +\extrarowheight=\dimen126 +\NC@list=\toks19 +\extratabsurround=\skip47 +\backup@length=\skip48 +) +\everycr=\toks20 +\minrowclearance=\skip49 +) +LaTeX Info: Redefining \color on input line 702. +\rownum=\count111 +Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337. +Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341. +Package xcolor Info: Model `RGB' extended on input line 1353. +Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355. +Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356. +Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357. +Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358. +Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359. +Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360. +) +(/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty +Package: textcomp 2005/09/27 v1.99g Standard LaTeX package +Package textcomp Info: Sub-encoding information: +(textcomp) 5 = only ISO-Adobe without \textcurrency +(textcomp) 4 = 5 + \texteuro +(textcomp) 3 = 4 + \textohm +(textcomp) 2 = 3 + \textestimated + \textcurrency +(textcomp) 1 = TS1 - \textcircled - \t +(textcomp) 0 = TS1 (full) +(textcomp) Font families with sub-encoding setting implement +(textcomp) only a restricted character set as indicated. +(textcomp) Family '?' is the default used for unknown fonts. +(textcomp) See the documentation for details. +Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 71. + +(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def +File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file +) +LaTeX Info: Redefining \oldstylenums on input line 266. +Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 281. +Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 282. +Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 283. +Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line 284. +Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line 285. +Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line 286. +Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line 287. +Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line 288. +Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line 289. +Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line 290. +Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line 291. +Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line 292. +Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line 293. +Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line 294. +Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line 295. +Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line 296. +Package textcomp Info: Setting put sub-encoding to TS1/5 on input line 297. +Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line 298. +Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line 299. +Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line 300. +Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line 301. +Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line 302. +Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input line 303. +Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input line 304. + +Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 305. +Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line 306. +Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line 307. +Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line 308. +Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line 309. +Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line 310. +Package textcomp Info: Setting lmr sub-encoding to TS1/0 on input line 311. +Package textcomp Info: Setting lmdh sub-encoding to TS1/0 on input line 312. +Package textcomp Info: Setting lmss sub-encoding to TS1/0 on input line 313. +Package textcomp Info: Setting lmssq sub-encoding to TS1/0 on input line 314. +Package textcomp Info: Setting lmvtt sub-encoding to TS1/0 on input line 315. +Package textcomp Info: Setting qhv sub-encoding to TS1/0 on input line 316. +Package textcomp Info: Setting qag sub-encoding to TS1/0 on input line 317. +Package textcomp Info: Setting qbk sub-encoding to TS1/0 on input line 318. +Package textcomp Info: Setting qcr sub-encoding to TS1/0 on input line 319. +Package textcomp Info: Setting qcs sub-encoding to TS1/0 on input line 320. +Package textcomp Info: Setting qpl sub-encoding to TS1/0 on input line 321. +Package textcomp Info: Setting qtm sub-encoding to TS1/0 on input line 322. +Package textcomp Info: Setting qzc sub-encoding to TS1/0 on input line 323. +Package textcomp Info: Setting qhvc sub-encoding to TS1/0 on input line 324. +Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line 325. +Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line 326. +Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line 327. +Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line 328. +Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line 329. +Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line 330. +Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line 331. +Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line 332. +Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line 333. +Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 334. +Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line 335. +Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line 336. +Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 337. +Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 338. +Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 339. +Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 340. +) +(/usr/share/texlive/texmf-dist/tex/latex/base/alltt.sty +Package: alltt 1997/06/16 v2.0g defines alltt environment +) +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty +Package: hyperref 2012/11/06 v6.83m Hypertext links for LaTeX + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty +Package: hobsub-hyperref 2012/05/28 v1.13 Bundle oberdiek, subset hyperref (HO) + + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty +Package: hobsub-generic 2012/05/28 v1.13 Bundle oberdiek, subset generic (HO) +Package: hobsub 2012/05/28 v1.13 Construct package bundles (HO) +Package hobsub Info: Skipping package `infwarerr' (already loaded). +Package hobsub Info: Skipping package `ltxcmds' (already loaded). +Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO) +Package ifluatex Info: LuaTeX not detected. +Package hobsub Info: Skipping package `ifvtex' (already loaded). +Package: intcalc 2007/09/27 v1.1 Expandable calculations with integers (HO) +Package hobsub Info: Skipping package `ifpdf' (already loaded). +Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) +Package etexcmds Info: Could not find \expanded. +(etexcmds) That can mean that you are not using pdfTeX 1.50 or +(etexcmds) that some package has redefined \expanded. +(etexcmds) In the latter case, load this package earlier. +Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO) +Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO) +Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO +) +Package pdftexcmds Info: LuaTeX not detected. +Package pdftexcmds Info: \pdf@primitive is available. +Package pdftexcmds Info: \pdf@ifprimitive is available. +Package pdftexcmds Info: \pdfdraftmode found. +Package: pdfescape 2011/11/25 v1.13 Implements pdfTeX's escape features (HO) +Package: bigintcalc 2012/04/08 v1.3 Expandable calculations on big integers (HO +) +Package: bitset 2011/01/30 v1.1 Handle bit-vector datatype (HO) +Package: uniquecounter 2011/01/30 v1.2 Provide unlimited unique counter (HO) +) +Package hobsub Info: Skipping package `hobsub' (already loaded). +Package: letltxmacro 2010/09/02 v1.4 Let assignment for LaTeX macros (HO) +Package: hopatch 2012/05/28 v1.2 Wrapper for package hooks (HO) +Package: xcolor-patch 2011/01/30 xcolor patch +Package: atveryend 2011/06/30 v1.8 Hooks at the very end of document (HO) +Package atveryend Info: \enddocument detected (standard20110627). +Package: atbegshi 2011/10/05 v1.16 At begin shipout hook (HO) +Package: refcount 2011/10/16 v3.4 Data extraction from label references (HO) +Package: hycolor 2011/01/30 v1.7 Color options for hyperref/bookmark (HO) +) +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty +Package: auxhook 2011/03/04 v1.3 Hooks for auxiliary files (HO) +) +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty +Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO) +) +\@linkdim=\dimen127 +\Hy@linkcounter=\count112 +\Hy@pagecounter=\count113 + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def +File: pd1enc.def 2012/11/06 v6.83m Hyperref: PDFDocEncoding definition (HO) +) +\Hy@SavedSpaceFactor=\count114 + +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg +File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive +) +Package hyperref Info: Option `colorlinks' set `true' on input line 4319. +Package hyperref Info: Option `unicode' set `true' on input line 4319. + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def +File: puenc.def 2012/11/06 v6.83m Hyperref: PDF Unicode definition (HO) +) +Package hyperref Info: Hyper figures OFF on input line 4443. +Package hyperref Info: Link nesting OFF on input line 4448. +Package hyperref Info: Hyper index ON on input line 4451. +Package hyperref Info: Plain pages OFF on input line 4458. +Package hyperref Info: Backreferencing ON on input line 4461. +Package hyperref Info: Implicit mode ON; LaTeX internals redefined. +Package hyperref Info: Bookmarks ON on input line 4688. + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/backref.sty +Package: backref 2012/07/25 v1.38 Bibliographical back referencing + +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty +Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO) +Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2 +82. +)) +\c@Hy@tempcnt=\count115 + +(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty +\Urlmuskip=\muskip10 +Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc. +) +LaTeX Info: Redefining \url on input line 5041. +\XeTeXLinkMargin=\dimen128 +\Fld@menulength=\count116 +\Field@Width=\dimen129 +\Fld@charsize=\dimen130 +Package hyperref Info: Hyper figures OFF on input line 6295. +Package hyperref Info: Link nesting OFF on input line 6300. +Package hyperref Info: Hyper index ON on input line 6303. +Package hyperref Info: backreferencing ON on input line 6308. +Package hyperref Info: Link coloring ON on input line 6313. +Package hyperref Info: Link coloring with OCG OFF on input line 6320. +Package hyperref Info: PDF/A mode OFF on input line 6325. +LaTeX Info: Redefining \ref on input line 6365. +LaTeX Info: Redefining \pageref on input line 6369. +\Hy@abspage=\count117 +\c@Item=\count118 +\c@Hfootnote=\count119 +) + +Package hyperref Message: Driver: hpdftex. + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def +File: hpdftex.def 2012/11/06 v6.83m Hyperref driver for pdfTeX +\Fld@listcount=\count120 +\c@bookmark@seq@number=\count121 +\Hy@SectionHShift=\skip50 +) +(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty +Package: inputenc 2008/03/30 v1.1d Input encoding file +\inpenc@prehook=\toks21 +\inpenc@posthook=\toks22 + +(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def +File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc +Now handling font encoding OML ... +... no UTF-8 mapping file for font encoding OML +Now handling font encoding T1 ... +... processing UTF-8 mapping file for font encoding T1 + +(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu +File: t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc + defining Unicode char U+00A1 (decimal 161) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00AB (decimal 171) + defining Unicode char U+00BB (decimal 187) + defining Unicode char U+00BF (decimal 191) + defining Unicode char U+00C0 (decimal 192) + defining Unicode char U+00C1 (decimal 193) + defining Unicode char U+00C2 (decimal 194) + defining Unicode char U+00C3 (decimal 195) + defining Unicode char U+00C4 (decimal 196) + defining Unicode char U+00C5 (decimal 197) + defining Unicode char U+00C6 (decimal 198) + defining Unicode char U+00C7 (decimal 199) + defining Unicode char U+00C8 (decimal 200) + defining Unicode char U+00C9 (decimal 201) + defining Unicode char U+00CA (decimal 202) + defining Unicode char U+00CB (decimal 203) + defining Unicode char U+00CC (decimal 204) + defining Unicode char U+00CD (decimal 205) + defining Unicode char U+00CE (decimal 206) + defining Unicode char U+00CF (decimal 207) + defining Unicode char U+00D0 (decimal 208) + defining Unicode char U+00D1 (decimal 209) + defining Unicode char U+00D2 (decimal 210) + defining Unicode char U+00D3 (decimal 211) + defining Unicode char U+00D4 (decimal 212) + defining Unicode char U+00D5 (decimal 213) + defining Unicode char U+00D6 (decimal 214) + defining Unicode char U+00D8 (decimal 216) + defining Unicode char U+00D9 (decimal 217) + defining Unicode char U+00DA (decimal 218) + defining Unicode char U+00DB (decimal 219) + defining Unicode char U+00DC (decimal 220) + defining Unicode char U+00DD (decimal 221) + defining Unicode char U+00DE (decimal 222) + defining Unicode char U+00DF (decimal 223) + defining Unicode char U+00E0 (decimal 224) + defining Unicode char U+00E1 (decimal 225) + defining Unicode char U+00E2 (decimal 226) + defining Unicode char U+00E3 (decimal 227) + defining Unicode char U+00E4 (decimal 228) + defining Unicode char U+00E5 (decimal 229) + defining Unicode char U+00E6 (decimal 230) + defining Unicode char U+00E7 (decimal 231) + defining Unicode char U+00E8 (decimal 232) + defining Unicode char U+00E9 (decimal 233) + defining Unicode char U+00EA (decimal 234) + defining Unicode char U+00EB (decimal 235) + defining Unicode char U+00EC (decimal 236) + defining Unicode char U+00ED (decimal 237) + defining Unicode char U+00EE (decimal 238) + defining Unicode char U+00EF (decimal 239) + defining Unicode char U+00F0 (decimal 240) + defining Unicode char U+00F1 (decimal 241) + defining Unicode char U+00F2 (decimal 242) + defining Unicode char U+00F3 (decimal 243) + defining Unicode char U+00F4 (decimal 244) + defining Unicode char U+00F5 (decimal 245) + defining Unicode char U+00F6 (decimal 246) + defining Unicode char U+00F8 (decimal 248) + defining Unicode char U+00F9 (decimal 249) + defining Unicode char U+00FA (decimal 250) + defining Unicode char U+00FB (decimal 251) + defining Unicode char U+00FC (decimal 252) + defining Unicode char U+00FD (decimal 253) + defining Unicode char U+00FE (decimal 254) + defining Unicode char U+00FF (decimal 255) + defining Unicode char U+0102 (decimal 258) + defining Unicode char U+0103 (decimal 259) + defining Unicode char U+0104 (decimal 260) + defining Unicode char U+0105 (decimal 261) + defining Unicode char U+0106 (decimal 262) + defining Unicode char U+0107 (decimal 263) + defining Unicode char U+010C (decimal 268) + defining Unicode char U+010D (decimal 269) + defining Unicode char U+010E (decimal 270) + defining Unicode char U+010F (decimal 271) + defining Unicode char U+0110 (decimal 272) + defining Unicode char U+0111 (decimal 273) + defining Unicode char U+0118 (decimal 280) + defining Unicode char U+0119 (decimal 281) + defining Unicode char U+011A (decimal 282) + defining Unicode char U+011B (decimal 283) + defining Unicode char U+011E (decimal 286) + defining Unicode char U+011F (decimal 287) + defining Unicode char U+0130 (decimal 304) + defining Unicode char U+0131 (decimal 305) + defining Unicode char U+0132 (decimal 306) + defining Unicode char U+0133 (decimal 307) + defining Unicode char U+0139 (decimal 313) + defining Unicode char U+013A (decimal 314) + defining Unicode char U+013D (decimal 317) + defining Unicode char U+013E (decimal 318) + defining Unicode char U+0141 (decimal 321) + defining Unicode char U+0142 (decimal 322) + defining Unicode char U+0143 (decimal 323) + defining Unicode char U+0144 (decimal 324) + defining Unicode char U+0147 (decimal 327) + defining Unicode char U+0148 (decimal 328) + defining Unicode char U+014A (decimal 330) + defining Unicode char U+014B (decimal 331) + defining Unicode char U+0150 (decimal 336) + defining Unicode char U+0151 (decimal 337) + defining Unicode char U+0152 (decimal 338) + defining Unicode char U+0153 (decimal 339) + defining Unicode char U+0154 (decimal 340) + defining Unicode char U+0155 (decimal 341) + defining Unicode char U+0158 (decimal 344) + defining Unicode char U+0159 (decimal 345) + defining Unicode char U+015A (decimal 346) + defining Unicode char U+015B (decimal 347) + defining Unicode char U+015E (decimal 350) + defining Unicode char U+015F (decimal 351) + defining Unicode char U+0160 (decimal 352) + defining Unicode char U+0161 (decimal 353) + defining Unicode char U+0162 (decimal 354) + defining Unicode char U+0163 (decimal 355) + defining Unicode char U+0164 (decimal 356) + defining Unicode char U+0165 (decimal 357) + defining Unicode char U+016E (decimal 366) + defining Unicode char U+016F (decimal 367) + defining Unicode char U+0170 (decimal 368) + defining Unicode char U+0171 (decimal 369) + defining Unicode char U+0178 (decimal 376) + defining Unicode char U+0179 (decimal 377) + defining Unicode char U+017A (decimal 378) + defining Unicode char U+017B (decimal 379) + defining Unicode char U+017C (decimal 380) + defining Unicode char U+017D (decimal 381) + defining Unicode char U+017E (decimal 382) + defining Unicode char U+200C (decimal 8204) + defining Unicode char U+2013 (decimal 8211) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201A (decimal 8218) + defining Unicode char U+201C (decimal 8220) + defining Unicode char U+201D (decimal 8221) + defining Unicode char U+201E (decimal 8222) + defining Unicode char U+2030 (decimal 8240) + defining Unicode char U+2031 (decimal 8241) + defining Unicode char U+2039 (decimal 8249) + defining Unicode char U+203A (decimal 8250) + defining Unicode char U+2423 (decimal 9251) +) +Now handling font encoding OT1 ... +... processing UTF-8 mapping file for font encoding OT1 + +(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu +File: ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc + defining Unicode char U+00A1 (decimal 161) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00B8 (decimal 184) + defining Unicode char U+00BF (decimal 191) + defining Unicode char U+00C5 (decimal 197) + defining Unicode char U+00C6 (decimal 198) + defining Unicode char U+00D8 (decimal 216) + defining Unicode char U+00DF (decimal 223) + defining Unicode char U+00E6 (decimal 230) + defining Unicode char U+00EC (decimal 236) + defining Unicode char U+00ED (decimal 237) + defining Unicode char U+00EE (decimal 238) + defining Unicode char U+00EF (decimal 239) + defining Unicode char U+00F8 (decimal 248) + defining Unicode char U+0131 (decimal 305) + defining Unicode char U+0141 (decimal 321) + defining Unicode char U+0142 (decimal 322) + defining Unicode char U+0152 (decimal 338) + defining Unicode char U+0153 (decimal 339) + defining Unicode char U+2013 (decimal 8211) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201C (decimal 8220) + defining Unicode char U+201D (decimal 8221) +) +Now handling font encoding OMS ... +... processing UTF-8 mapping file for font encoding OMS + +(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu +File: omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc + defining Unicode char U+00A7 (decimal 167) + defining Unicode char U+00B6 (decimal 182) + defining Unicode char U+00B7 (decimal 183) + defining Unicode char U+2020 (decimal 8224) + defining Unicode char U+2021 (decimal 8225) + defining Unicode char U+2022 (decimal 8226) +) +Now handling font encoding OMX ... +... no UTF-8 mapping file for font encoding OMX +Now handling font encoding U ... +... no UTF-8 mapping file for font encoding U +Now handling font encoding TS1 ... +... processing UTF-8 mapping file for font encoding TS1 + +(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.dfu +File: ts1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc + defining Unicode char U+00A2 (decimal 162) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00A4 (decimal 164) + defining Unicode char U+00A5 (decimal 165) + defining Unicode char U+00A6 (decimal 166) + defining Unicode char U+00A7 (decimal 167) + defining Unicode char U+00A8 (decimal 168) + defining Unicode char U+00A9 (decimal 169) + defining Unicode char U+00AA (decimal 170) + defining Unicode char U+00AC (decimal 172) + defining Unicode char U+00AE (decimal 174) + defining Unicode char U+00AF (decimal 175) + defining Unicode char U+00B0 (decimal 176) + defining Unicode char U+00B1 (decimal 177) + defining Unicode char U+00B2 (decimal 178) + defining Unicode char U+00B3 (decimal 179) + defining Unicode char U+00B4 (decimal 180) + defining Unicode char U+00B5 (decimal 181) + defining Unicode char U+00B6 (decimal 182) + defining Unicode char U+00B7 (decimal 183) + defining Unicode char U+00B9 (decimal 185) + defining Unicode char U+00BA (decimal 186) + defining Unicode char U+00BC (decimal 188) + defining Unicode char U+00BD (decimal 189) + defining Unicode char U+00BE (decimal 190) + defining Unicode char U+00D7 (decimal 215) + defining Unicode char U+00F7 (decimal 247) + defining Unicode char U+0192 (decimal 402) + defining Unicode char U+02C7 (decimal 711) + defining Unicode char U+02D8 (decimal 728) + defining Unicode char U+02DD (decimal 733) + defining Unicode char U+0E3F (decimal 3647) + defining Unicode char U+2016 (decimal 8214) + defining Unicode char U+2020 (decimal 8224) + defining Unicode char U+2021 (decimal 8225) + defining Unicode char U+2022 (decimal 8226) + defining Unicode char U+2030 (decimal 8240) + defining Unicode char U+2031 (decimal 8241) + defining Unicode char U+203B (decimal 8251) + defining Unicode char U+203D (decimal 8253) + defining Unicode char U+2044 (decimal 8260) + defining Unicode char U+204E (decimal 8270) + defining Unicode char U+2052 (decimal 8274) + defining Unicode char U+20A1 (decimal 8353) + defining Unicode char U+20A4 (decimal 8356) + defining Unicode char U+20A6 (decimal 8358) + defining Unicode char U+20A9 (decimal 8361) + defining Unicode char U+20AB (decimal 8363) + defining Unicode char U+20AC (decimal 8364) + defining Unicode char U+20B1 (decimal 8369) + defining Unicode char U+2103 (decimal 8451) + defining Unicode char U+2116 (decimal 8470) + defining Unicode char U+2117 (decimal 8471) + defining Unicode char U+211E (decimal 8478) + defining Unicode char U+2120 (decimal 8480) + defining Unicode char U+2122 (decimal 8482) + defining Unicode char U+2126 (decimal 8486) + defining Unicode char U+2127 (decimal 8487) + defining Unicode char U+212E (decimal 8494) + defining Unicode char U+2190 (decimal 8592) + defining Unicode char U+2191 (decimal 8593) + defining Unicode char U+2192 (decimal 8594) + defining Unicode char U+2193 (decimal 8595) + defining Unicode char U+2329 (decimal 9001) + defining Unicode char U+232A (decimal 9002) + defining Unicode char U+2422 (decimal 9250) + defining Unicode char U+25E6 (decimal 9702) + defining Unicode char U+25EF (decimal 9711) + defining Unicode char U+266A (decimal 9834) +) +Now handling font encoding PD1 ... +... no UTF-8 mapping file for font encoding PD1 +Now handling font encoding PU ... +... no UTF-8 mapping file for font encoding PU + defining Unicode char U+00A9 (decimal 169) + defining Unicode char U+00AA (decimal 170) + defining Unicode char U+00AE (decimal 174) + defining Unicode char U+00BA (decimal 186) + defining Unicode char U+02C6 (decimal 710) + defining Unicode char U+02DC (decimal 732) + defining Unicode char U+200C (decimal 8204) + defining Unicode char U+2026 (decimal 8230) + defining Unicode char U+2122 (decimal 8482) + defining Unicode char U+2423 (decimal 9251) +)) +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/mathptmx.sty +Package: mathptmx 2005/04/12 PSNFSS-v9.2a Times w/ Math, improved (SPQR, WaS) +LaTeX Font Info: Redeclaring symbol font `operators' on input line 28. +LaTeX Font Info: Overwriting symbol font `operators' in version `normal' +(Font) OT1/cmr/m/n --> OT1/ztmcm/m/n on input line 28. +LaTeX Font Info: Overwriting symbol font `operators' in version `bold' +(Font) OT1/cmr/bx/n --> OT1/ztmcm/m/n on input line 28. +LaTeX Font Info: Redeclaring symbol font `letters' on input line 29. +LaTeX Font Info: Overwriting symbol font `letters' in version `normal' +(Font) OML/cmm/m/it --> OML/ztmcm/m/it on input line 29. +LaTeX Font Info: Overwriting symbol font `letters' in version `bold' +(Font) OML/cmm/b/it --> OML/ztmcm/m/it on input line 29. +LaTeX Font Info: Redeclaring symbol font `symbols' on input line 30. +LaTeX Font Info: Overwriting symbol font `symbols' in version `normal' +(Font) OMS/cmsy/m/n --> OMS/ztmcm/m/n on input line 30. +LaTeX Font Info: Overwriting symbol font `symbols' in version `bold' +(Font) OMS/cmsy/b/n --> OMS/ztmcm/m/n on input line 30. +LaTeX Font Info: Redeclaring symbol font `largesymbols' on input line 31. +LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal' +(Font) OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31. +LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold' +(Font) OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31. +\symbold=\mathgroup4 +\symitalic=\mathgroup5 +LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 34. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal' +(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold' +(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34. +LaTeX Font Info: Redeclaring math alphabet \mathit on input line 35. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal' +(Font) OT1/cmr/m/it --> OT1/ptm/m/it on input line 35. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' +(Font) OT1/cmr/bx/it --> OT1/ptm/m/it on input line 35. +LaTeX Info: Redefining \hbar on input line 50. +) +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/helvet.sty +Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS) +) +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/courier.sty +Package: courier 2005/04/12 PSNFSS-v9.2a (WaS) +) +(/usr/share/texlive/texmf-dist/tex/latex/sectsty/sectsty.sty +Package: sectsty 2002/02/25 v2.0.2 Commands to change all sectional heading sty +les +) +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty +Package: amssymb 2009/06/22 v3.00 + +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty +Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support +\@emptytoks=\toks23 +\symAMSa=\mathgroup6 +\symAMSb=\mathgroup7 +LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' +(Font) U/euf/m/n --> U/euf/b/n on input line 96. +)) +(/usr/share/texlive/texmf-dist/tex/latex/tocloft/tocloft.sty +Package: tocloft 2010/10/13 v2.3e parameterised ToC, etc., typesetting +Package tocloft Info: The document has chapter divisions on input line 43. +\cftparskip=\skip51 +\cftbeforetoctitleskip=\skip52 +\cftaftertoctitleskip=\skip53 +\cftbeforepartskip=\skip54 +\cftpartnumwidth=\skip55 +\cftpartindent=\skip56 +\cftbeforechapskip=\skip57 +\cftchapindent=\skip58 +\cftchapnumwidth=\skip59 +\cftbeforesecskip=\skip60 +\cftsecindent=\skip61 +\cftsecnumwidth=\skip62 +\cftbeforesubsecskip=\skip63 +\cftsubsecindent=\skip64 +\cftsubsecnumwidth=\skip65 +\cftbeforesubsubsecskip=\skip66 +\cftsubsubsecindent=\skip67 +\cftsubsubsecnumwidth=\skip68 +\cftbeforeparaskip=\skip69 +\cftparaindent=\skip70 +\cftparanumwidth=\skip71 +\cftbeforesubparaskip=\skip72 +\cftsubparaindent=\skip73 +\cftsubparanumwidth=\skip74 +\cftbeforeloftitleskip=\skip75 +\cftafterloftitleskip=\skip76 +\cftbeforefigskip=\skip77 +\cftfigindent=\skip78 +\cftfignumwidth=\skip79 +\c@lofdepth=\count122 +\c@lotdepth=\count123 +\cftbeforelottitleskip=\skip80 +\cftafterlottitleskip=\skip81 +\cftbeforetabskip=\skip82 +\cfttabindent=\skip83 +\cfttabnumwidth=\skip84 +) (./doxygen.sty +Package: doxygen + +(/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty +Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ) +\calc@Acount=\count124 +\calc@Bcount=\count125 +\calc@Adimen=\dimen131 +\calc@Bdimen=\dimen132 +\calc@Askip=\skip85 +\calc@Bskip=\skip86 +LaTeX Info: Redefining \setlength on input line 76. +LaTeX Info: Redefining \addtolength on input line 77. +\calc@Ccount=\count126 +\calc@Cskip=\skip87 +) +(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty +\fancy@headwidth=\skip88 +\f@ncyO@elh=\skip89 +\f@ncyO@erh=\skip90 +\f@ncyO@olh=\skip91 +\f@ncyO@orh=\skip92 +\f@ncyO@elf=\skip93 +\f@ncyO@erf=\skip94 +\f@ncyO@olf=\skip95 +\f@ncyO@orf=\skip96 +) +(/usr/share/texlive/texmf-dist/tex/latex/tools/longtable.sty +Package: longtable 2004/02/01 v4.11 Multi-page Table package (DPC) +\LTleft=\skip97 +\LTright=\skip98 +\LTpre=\skip99 +\LTpost=\skip100 +\LTchunksize=\count127 +\LTcapwidth=\dimen133 +\LT@head=\box56 +\LT@firsthead=\box57 +\LT@foot=\box58 +\LT@lastfoot=\box59 +\LT@cols=\count128 +\LT@rows=\count129 +\c@LT@tables=\count130 +\c@LT@chunks=\count131 +\LT@p@ftn=\toks24 +) +(/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty +Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements +\every@verbatim=\toks25 +\verbatim@line=\toks26 +\verbatim@in@stream=\read1 +) +(/usr/share/texlive/texmf-dist/tex/latex/xtab/xtab.sty +Package: xtab 2011/07/31 v2.3f Extended supertabular package +\c@tracingst=\count132 +\PWSTcapht=\dimen134 +\ST@wd=\dimen135 +\ST@rightskip=\skip101 +\ST@leftskip=\skip102 +\ST@parfillskip=\skip103 +\c@PWSTtable=\count133 +\PWSTlastpage=\count134 +\PWSTpenultimate=\count135 +\PWSTcurpage=\count136 +\PWSTtempc=\count137 +\PWSTlines=\count138 +\PWST@lastht=\dimen136 +\PWST@generalht=\dimen137 +\PWST@ht=\dimen138 +\ST@pageleft=\dimen139 +\ST@headht=\dimen140 +\ST@tailht=\dimen141 +\ST@pagesofar=\dimen142 +\ST@pboxht=\dimen143 +\ST@lineht=\dimen144 +\ST@stretchht=\dimen145 +\ST@prevht=\dimen146 +\ST@toadd=\dimen147 +\ST@dimen=\dimen148 +\ST@pbox=\box60 +) +(/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty +\bigstrutjot=\dimen149 +) +\tmplength=\skip104 +\xrefbox=\box61 +\xreflength=\skip105 + +(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty +Package: fontenc 2005/09/27 v1.99g Standard LaTeX package + +(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def +File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file +LaTeX Font Info: Redeclaring font encoding T1 on input line 43. +))) +(/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty +File: lstlang1.sty 2004/09/05 1.3 listings language file +) +(/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty +File: lstlang1.sty 2004/09/05 1.3 listings language file +) +(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty +File: lstmisc.sty 2007/02/22 1.4 (Carsten Heinz) +) +\@indexfile=\write3 +\openout3 = `refman.idx'. + + +Writing index file refman.idx +(./refman.aux + +LaTeX Warning: Label `class_scene_a366b5dec1ecf66a887b4d0dedcd1aa3b' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a3bd9fa1058f506c04162b9283e97d20e' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a43fd3c56db5dc940d1724b9573c9a360' multiply d +efined. + + +LaTeX Warning: Label `class_scene_abdfd15e7987aa261840d5ecc265170df' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a82759ded1f6f87a91b8d10ed87501958' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ae9b69d8db8a46991017635f22e45baad' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ae8d51ddc196248a7cbd1f3640851dbd4' multiply d +efined. + + +LaTeX Warning: Label `class_scene_acdd0123ca6b2d64d8d447bb485b235fc' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8bd5d86484a12255b26b92b6cbf8d29a' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8bbe0e5b1bfc71034b18e240e86aa285' multiply d +efined. + + +LaTeX Warning: Label `class_object_a79b74057dbc5182b85c9c3ba8480fcf2' multiply +defined. + + +LaTeX Warning: Label `class_object_a6e19bd8516360bff956408cbae33b878' multiply +defined. + + +LaTeX Warning: Label `class_object_a3afa1b9af32b78d81b5de0836c511aeb' multiply +defined. + + +LaTeX Warning: Label `class_object_a35c89a8eb8a5b742a9025331119bfc7c' multiply +defined. + + +LaTeX Warning: Label `class_object_a754f9f36a528f050b25d053ed43015f0' multiply +defined. + + +LaTeX Warning: Label `class_object_ac6ccf69d21c4c902c62829c48ef6cf5b' multiply +defined. + + +LaTeX Warning: Label `class_object_aa104adfbcc2cae4bd68c053cc3dab721' multiply +defined. + + +LaTeX Warning: Label `class_object_a890760dff9df547454112ff84510040c' multiply +defined. + + +LaTeX Warning: Label `class_object_accde5aa6e8d0d582719e94c414c2341c' multiply +defined. + + +LaTeX Warning: Label `class_object_ae3226b31c80c9f276ffdee65101c8fa6' multiply +defined. + + +LaTeX Warning: Label `class_object_ae09449132d3853e179d07d4d6bc0b695' multiply +defined. + + +LaTeX Warning: Label `class_object_aa60771518c07a0edf5aeee5584a571e0' multiply +defined. + + +LaTeX Warning: Label `class_object_af4d40010633d77ff47e75d40e3129894' multiply +defined. + + +LaTeX Warning: Label `class_object_a275903685e300433a5120b5558eb9aa1' multiply +defined. + + +LaTeX Warning: Label `class_object_aea00114a91aeb779b4f03c7bebaa326e' multiply +defined. + + +LaTeX Warning: Label `class_object_a98d3f1b9ebb61c3b21e2a59ed267480a' multiply +defined. + + +LaTeX Warning: Label `class_object_aae9b55b35a69ba78aa2803b4c8a681b7' multiply +defined. + + +LaTeX Warning: Label `class_scene_a366b5dec1ecf66a887b4d0dedcd1aa3b' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a3bd9fa1058f506c04162b9283e97d20e' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a43fd3c56db5dc940d1724b9573c9a360' multiply d +efined. + + +LaTeX Warning: Label `class_scene_abdfd15e7987aa261840d5ecc265170df' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a82759ded1f6f87a91b8d10ed87501958' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a70fcdad192a4c6ff508125de8af6cf4d' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ad0ea1a6bcf7815c63988bd937f06eb23' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ae9b69d8db8a46991017635f22e45baad' multiply d +efined. + + +LaTeX Warning: Label `class_object_a8dec70177d147f59ba10c9eba8e9191b' multiply +defined. + + +LaTeX Warning: Label `class_object_ad541a7bb180e24f59d752cc6d7f8c7e8' multiply +defined. + + +LaTeX Warning: Label `class_object_a9b2fb19d129ad79407f9af0eea05b96c' multiply +defined. + + +LaTeX Warning: Label `class_object_a4de4c1e2c4b621efb6f5d1b398ac6835' multiply +defined. + + +LaTeX Warning: Label `class_object_a6d6c58ccb93f7a2bd7439d081134aaa0' multiply +defined. + + +LaTeX Warning: Label `class_object_a1bb011587e4fa6e69984d5679546b1cb' multiply +defined. + + +LaTeX Warning: Label `class_scene_ae8d51ddc196248a7cbd1f3640851dbd4' multiply d +efined. + + +LaTeX Warning: Label `class_object_a29de966ce95d96e19262c4f10f0b4276' multiply +defined. + + +LaTeX Warning: Label `class_object_a2bbbe3a5b33cbcfc4c536b49d470a6b8' multiply +defined. + + +LaTeX Warning: Label `class_object_ac5ca00d03136434b93ae7d00808554c7' multiply +defined. + + +LaTeX Warning: Label `class_object_acfc4dec49d5d273910c3a1af2b3adfcd' multiply +defined. + + +LaTeX Warning: Label `class_object_a6378d0b0eeec23045ae2a5245e42bf13' multiply +defined. + + +LaTeX Warning: Label `class_scene_acdd0123ca6b2d64d8d447bb485b235fc' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8bd5d86484a12255b26b92b6cbf8d29a' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8bbe0e5b1bfc71034b18e240e86aa285' multiply d +efined. + + +LaTeX Warning: Label `class_object_ae10497fea640753a3cb63f739aacc540' multiply +defined. + + +LaTeX Warning: Label `class_object_a3dc857b837e8b77ba8a2727233400a5e' multiply +defined. + + +LaTeX Warning: Label `class_object_aa52c30bca96800cecba55f446e147859' multiply +defined. + + +LaTeX Warning: Label `class_object_a82764b385767d989f27d301ab206acb8' multiply +defined. + + +LaTeX Warning: Label `class_object_acd6c7021617ea334915a1525f9519bc5' multiply +defined. + + +LaTeX Warning: Label `class_object_a24457e0a387492c80594aec7681a2277' multiply +defined. + + +LaTeX Warning: Label `class_object_a66190fee29d03d6478516686cbd01eb8' multiply +defined. + + +LaTeX Warning: Label `class_object_a79b74057dbc5182b85c9c3ba8480fcf2' multiply +defined. + + +LaTeX Warning: Label `class_object_a6e19bd8516360bff956408cbae33b878' multiply +defined. + + +LaTeX Warning: Label `class_object_ae6a2969ddca87d2c54b7cb1c131a7d60' multiply +defined. + + +LaTeX Warning: Label `class_object_a3afa1b9af32b78d81b5de0836c511aeb' multiply +defined. + + +LaTeX Warning: Label `class_object_a35c89a8eb8a5b742a9025331119bfc7c' multiply +defined. + + +LaTeX Warning: Label `class_object_a754f9f36a528f050b25d053ed43015f0' multiply +defined. + + +LaTeX Warning: Label `class_object_ac6ccf69d21c4c902c62829c48ef6cf5b' multiply +defined. + + +LaTeX Warning: Label `class_object_aa104adfbcc2cae4bd68c053cc3dab721' multiply +defined. + + +LaTeX Warning: Label `class_object_a890760dff9df547454112ff84510040c' multiply +defined. + + +LaTeX Warning: Label `class_object_accde5aa6e8d0d582719e94c414c2341c' multiply +defined. + + +LaTeX Warning: Label `class_object_a34258ee199342d785c29d18c49d54e71' multiply +defined. + + +LaTeX Warning: Label `class_object_ae3226b31c80c9f276ffdee65101c8fa6' multiply +defined. + + +LaTeX Warning: Label `class_object_ae09449132d3853e179d07d4d6bc0b695' multiply +defined. + + +LaTeX Warning: Label `class_object_aa60771518c07a0edf5aeee5584a571e0' multiply +defined. + + +LaTeX Warning: Label `class_object_af4d40010633d77ff47e75d40e3129894' multiply +defined. + + +LaTeX Warning: Label `class_object_a275903685e300433a5120b5558eb9aa1' multiply +defined. + + +LaTeX Warning: Label `class_object_aea00114a91aeb779b4f03c7bebaa326e' multiply +defined. + + +LaTeX Warning: Label `class_object_a98d3f1b9ebb61c3b21e2a59ed267480a' multiply +defined. + + +LaTeX Warning: Label `class_object_aae9b55b35a69ba78aa2803b4c8a681b7' multiply +defined. + + +LaTeX Warning: Label `class_scene_a366b5dec1ecf66a887b4d0dedcd1aa3b' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a3bd9fa1058f506c04162b9283e97d20e' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a43fd3c56db5dc940d1724b9573c9a360' multiply d +efined. + + +LaTeX Warning: Label `class_scene_abdfd15e7987aa261840d5ecc265170df' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a82759ded1f6f87a91b8d10ed87501958' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a70fcdad192a4c6ff508125de8af6cf4d' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ad0ea1a6bcf7815c63988bd937f06eb23' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ae9b69d8db8a46991017635f22e45baad' multiply d +efined. + + +LaTeX Warning: Label `class_object_a8dec70177d147f59ba10c9eba8e9191b' multiply +defined. + + +LaTeX Warning: Label `class_object_ad541a7bb180e24f59d752cc6d7f8c7e8' multiply +defined. + + +LaTeX Warning: Label `class_object_a9b2fb19d129ad79407f9af0eea05b96c' multiply +defined. + + +LaTeX Warning: Label `class_object_a4de4c1e2c4b621efb6f5d1b398ac6835' multiply +defined. + + +LaTeX Warning: Label `class_object_a6d6c58ccb93f7a2bd7439d081134aaa0' multiply +defined. + + +LaTeX Warning: Label `class_object_a1bb011587e4fa6e69984d5679546b1cb' multiply +defined. + + +LaTeX Warning: Label `class_scene_ae8d51ddc196248a7cbd1f3640851dbd4' multiply d +efined. + + +LaTeX Warning: Label `class_object_a29de966ce95d96e19262c4f10f0b4276' multiply +defined. + + +LaTeX Warning: Label `class_object_a2bbbe3a5b33cbcfc4c536b49d470a6b8' multiply +defined. + + +LaTeX Warning: Label `class_object_ac5ca00d03136434b93ae7d00808554c7' multiply +defined. + + +LaTeX Warning: Label `class_object_acfc4dec49d5d273910c3a1af2b3adfcd' multiply +defined. + + +LaTeX Warning: Label `class_object_a6378d0b0eeec23045ae2a5245e42bf13' multiply +defined. + + +LaTeX Warning: Label `class_scene_acdd0123ca6b2d64d8d447bb485b235fc' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8bd5d86484a12255b26b92b6cbf8d29a' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8bbe0e5b1bfc71034b18e240e86aa285' multiply d +efined. + + +LaTeX Warning: Label `class_object_ae10497fea640753a3cb63f739aacc540' multiply +defined. + + +LaTeX Warning: Label `class_object_a3dc857b837e8b77ba8a2727233400a5e' multiply +defined. + + +LaTeX Warning: Label `class_object_aa52c30bca96800cecba55f446e147859' multiply +defined. + + +LaTeX Warning: Label `class_object_a82764b385767d989f27d301ab206acb8' multiply +defined. + + +LaTeX Warning: Label `class_object_acd6c7021617ea334915a1525f9519bc5' multiply +defined. + + +LaTeX Warning: Label `class_object_a24457e0a387492c80594aec7681a2277' multiply +defined. + + +LaTeX Warning: Label `class_object_a66190fee29d03d6478516686cbd01eb8' multiply +defined. + + +LaTeX Warning: Label `class_transformation_ae6a57a1ee74ca1da1b8aef3d328a8772' m +ultiply defined. + + +LaTeX Warning: Label `class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66' m +ultiply defined. + + +LaTeX Warning: Label `class_transformation_a85b923e0066365ef2e4aec3671396410' m +ultiply defined. + + +LaTeX Warning: Label `class_transformation_a5f39fb578a1cdf78ca85efbd932d3834' m +ultiply defined. + + +LaTeX Warning: Label `class_scene_a366b5dec1ecf66a887b4d0dedcd1aa3b' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a3bd9fa1058f506c04162b9283e97d20e' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a43fd3c56db5dc940d1724b9573c9a360' multiply d +efined. + + +LaTeX Warning: Label `class_scene_abdfd15e7987aa261840d5ecc265170df' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a82759ded1f6f87a91b8d10ed87501958' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a70fcdad192a4c6ff508125de8af6cf4d' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ac852d5d763eb35b4908c9aa7ea54d1ae' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ad0ea1a6bcf7815c63988bd937f06eb23' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ad5a91c929b569b9111061eec16b3febf' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ae9b69d8db8a46991017635f22e45baad' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ae8d51ddc196248a7cbd1f3640851dbd4' multiply d +efined. + + +LaTeX Warning: Label `class_scene_acdd0123ca6b2d64d8d447bb485b235fc' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8bd5d86484a12255b26b92b6cbf8d29a' multiply d +efined. + + +LaTeX Warning: Label `class_scene_ae87ca5350fcc595f3f15a4fd3c39f3d9' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8f9bdd8ec5edb1f414fbd314a36e2724' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a8bbe0e5b1bfc71034b18e240e86aa285' multiply d +efined. + + +LaTeX Warning: Label `class_scene_a7137a7302c21ac4dd44e746bfb6f7cf8' multiply d +efined. + + +LaTeX Warning: Label `class_scene_af1e8ba8802f3bf83cebbfcbf3ed7c333' multiply d +efined. + + +LaTeX Warning: Label `class_transformation_ae6a57a1ee74ca1da1b8aef3d328a8772' m +ultiply defined. + + +LaTeX Warning: Label `class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66' m +ultiply defined. + + +LaTeX Warning: Label `class_transformation_a85b923e0066365ef2e4aec3671396410' m +ultiply defined. + + +LaTeX Warning: Label `class_transformation_a5f39fb578a1cdf78ca85efbd932d3834' m +ultiply defined. + + +LaTeX Warning: Label `class_transformation_ae6a57a1ee74ca1da1b8aef3d328a8772' m +ultiply defined. + + +LaTeX Warning: Label `class_transformation_afdfbf48815a5b0d885f3b93f04cd2c66' m +ultiply defined. + + +LaTeX Warning: Label `class_transformation_a85b923e0066365ef2e4aec3671396410' m +ultiply defined. + + +LaTeX Warning: Label `class_transformation_a5f39fb578a1cdf78ca85efbd932d3834' m +ultiply defined. + + +LaTeX Warning: Label `namespace_angel_a14b1d7bed352f45380d7fc26e2553627' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a13237552df8019e7c7c041491185a5b7' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a9eeab51adba3f19cca17e5007844f2a1' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_abea2dfb557c756bfb69c596852e6b096' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a3cc32f2aec8c1c7e609c31183eebf2e6' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a1a4a07580fa9c63f32cca223177496dd' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a96a871db89bb8218473c75b8070d2a04' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_aa8ddbf81e6fa21bd53c5d5ce840a7403' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a564ee33689e28c95aedcc5a77aed1d33' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a4dabf5bcf7d7332f54e66178feab9c16' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_ae9591a5b2e2e59fa0534460a16520a42' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_af51ee9500415015b6ba400cea2ab757f' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a6ca60025898ba656cd588541df87f310' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a57bd024e120ad05fe0c00081286eeb18' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a65a39c6b9bbbce0463d958e58cdf8a3c' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a8db02bcc2094985f2a168ab3f0dce68e' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_a5775b27ec156cd2166a59bf038dc8efc' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_ad20afa7adfcc4d26d4be0c322548549a' multip +ly defined. + + +LaTeX Warning: Label `namespace_angel_aee52b8fa583cbbe460e2e80c05b59f8b' multip +ly defined. + +) +\openout1 = `refman.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 48. +LaTeX Font Info: ... okay on input line 48. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 48. +LaTeX Font Info: ... okay on input line 48. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 48. +LaTeX Font Info: ... okay on input line 48. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 48. +LaTeX Font Info: ... okay on input line 48. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 48. +LaTeX Font Info: ... okay on input line 48. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 48. +LaTeX Font Info: ... okay on input line 48. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 48. +LaTeX Font Info: Try loading font information for TS1+cmr on input line 48. + (/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd +File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: ... okay on input line 48. +LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 48. +LaTeX Font Info: ... okay on input line 48. +LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 48. +LaTeX Font Info: ... okay on input line 48. +LaTeX Font Info: Try loading font information for T1+phv on input line 48. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd +File: t1phv.fd 2001/06/04 scalable font definitions for T1/phv. +) +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 8.99994pt on input line 48. + +*geometry* driver: auto-detecting +*geometry* detected driver: pdftex +*geometry* verbose mode - [ preamble ] result: +* driver: pdftex +* paper: a4paper +* layout: +* layoutoffset:(h,v)=(0.0pt,0.0pt) +* modes: twoside +* h-part:(L,W,R)=(71.13188pt, 455.24411pt, 71.13188pt) +* v-part:(T,H,B)=(71.13188pt, 702.78308pt, 71.13188pt) +* \paperwidth=597.50787pt +* \paperheight=845.04684pt +* \textwidth=455.24411pt +* \textheight=702.78308pt +* \oddsidemargin=-1.1381pt +* \evensidemargin=-1.1381pt +* \topmargin=-31.2056pt +* \headheight=12.0pt +* \headsep=18.06749pt +* \topskip=10.0pt +* \footskip=25.29494pt +* \marginparwidth=125.0pt +* \marginparsep=7.0pt +* \columnsep=10.0pt +* \skip\footins=9.0pt plus 4.0pt minus 2.0pt +* \hoffset=0.0pt +* \voffset=0.0pt +* \mag=1000 +* \@twocolumnfalse +* \@twosidetrue +* \@mparswitchtrue +* \@reversemarginfalse +* (1in=72.27pt=25.4mm, 1cm=28.453pt) + +(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count139 +\scratchdimen=\dimen150 +\scratchbox=\box62 +\nofMPsegments=\count140 +\nofMParguments=\count141 +\everyMPshowfont=\toks27 +\MPscratchCnt=\count142 +\MPscratchDim=\dimen151 +\MPnumerator=\count143 +\makeMPintoPDFobject=\count144 +\everyMPtoPDFconversion=\toks28 +) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty +Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf + +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty +Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO) +) +Package grfext Info: Graphics extension search list: +(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE +G,.JBIG2,.JB2,.eps] +(grfext) \AppendGraphicsExtensions on input line 452. + +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg +File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv +e +)) +\c@lstlisting=\count145 +\AtBeginShipoutBox=\box63 +Package backref Info: ** backref set up for natbib ** on input line 48. +Package hyperref Info: Link coloring ON on input line 48. + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty +Package: nameref 2012/10/27 v2.43 Cross-referencing by name of section + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty +Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO) +) +\c@section@level=\count146 +) +LaTeX Info: Redefining \ref on input line 48. +LaTeX Info: Redefining \pageref on input line 48. +LaTeX Info: Redefining \nameref on input line 48. + +(./refman.out) (./refman.out) +\@outlinefile=\write4 +\openout4 = `refman.out'. + +\big@size=\dimen152 +Package hyperref Info: Option `pageanchor' set `false' on input line 49. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 12.9599pt on input line 53. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 10.79993pt on input line 53. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 8.09995pt on input line 57. + [1 + + +{/usr/share/texlive/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2 + +] +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 22.39185pt on input line 62. +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <24.88> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 62. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 22.39185pt on input line 62. +LaTeX Font Info: Try loading font information for OT1+phv on input line 62. + (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1phv.fd +File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv. +) +LaTeX Font Info: Font shape `OT1/phv/bc/n' will be +(Font) scaled to size 22.39185pt on input line 62. + +(./refman.toc +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <10> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 1. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 8.99994pt on input line 1. +LaTeX Font Info: Try loading font information for OT1+ztmcm on input line 1. + + (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ztmcm.fd +File: ot1ztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OT1/ztmcm. +) +LaTeX Font Info: Try loading font information for OML+ztmcm on input line 1. + + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omlztmcm.fd +File: omlztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OML/ztmcm. +) +LaTeX Font Info: Try loading font information for OMS+ztmcm on input line 1. + + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omsztmcm.fd +File: omsztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMS/ztmcm. +) +LaTeX Font Info: Try loading font information for OMX+ztmcm on input line 1. + + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omxztmcm.fd +File: omxztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMX/ztmcm. +) +LaTeX Font Info: Try loading font information for OT1+ptm on input line 1. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ptm.fd +File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm. +) +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <10> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7.4> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <6> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1. + [1 + +] +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <7> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 71. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 6.29996pt on input line 71. + [2] [3] [4] +[5] [6] [7] [8] +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <12> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 315. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 10.79993pt on input line 315. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <12> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 315. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <9> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 315. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 315. +) +\tf@toc=\write5 +\openout5 = `refman.toc'. + + [9] [10 + +] +Package hyperref Info: Option `pageanchor' set `true' on input line 65. + +Chapter 1. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 18.66588pt on input line 66. +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <20.74> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 66. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 18.66588pt on input line 66. +LaTeX Font Info: Font shape `OT1/phv/bc/n' will be +(Font) scaled to size 18.66588pt on input line 66. +(./hierarchy.tex +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <14.4> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 1. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 12.9599pt on input line 1. +LaTeX Font Info: Font shape `OT1/phv/bc/n' will be +(Font) scaled to size 12.9599pt on input line 1. +) [1 + +] [2 + +] +Chapter 2. +(./annotated.tex) [3] [4 + +] +Chapter 3. +(./files.tex + +LaTeX Warning: Reference `model_functions_8cpp' on page 5 undefined on input li +ne 21. + +[5] + +LaTeX Warning: Reference `model_functions_8hpp' on page 6 undefined on input li +ne 22. + + +LaTeX Warning: Reference `morphlite_8cpp' on page 6 undefined on input line 23. + + + +LaTeX Warning: Reference `_object_8cpp' on page 6 undefined on input line 24. + + +LaTeX Warning: Reference `_object_8hpp' on page 6 undefined on input line 25. + + +LaTeX Warning: Reference `_open_g_l_8h' on page 6 undefined on input line 28. + + +LaTeX Warning: Reference `_particle_8cpp' on page 6 undefined on input line 29. + + + +LaTeX Warning: Reference `_particle_8hpp' on page 6 undefined on input line 30. + + + +LaTeX Warning: Reference `platform_8h' on page 6 undefined on input line 31. + + +LaTeX Warning: Reference `raytrace1_8cpp' on page 6 undefined on input line 32. + + + +LaTeX Warning: Reference `_scene_8cpp' on page 6 undefined on input line 33. + + +LaTeX Warning: Reference `_scene_8hpp' on page 6 undefined on input line 34. + + +LaTeX Warning: Reference `_screen_8cpp' on page 6 undefined on input line 35. + + +LaTeX Warning: Reference `_screen_8hpp' on page 6 undefined on input line 36. + + +LaTeX Warning: Reference `_spelchk_camera_8cpp' on page 6 undefined on input li +ne 37. + + +LaTeX Warning: Reference `_spelchk_camera_8hpp' on page 6 undefined on input li +ne 38. + + +LaTeX Warning: Reference `_timer_8cpp' on page 6 undefined on input line 40. + + +LaTeX Warning: Reference `_timer_8hpp' on page 6 undefined on input line 41. + + +LaTeX Warning: Reference `_trans_cache_8cpp' on page 6 undefined on input line +42. + + +LaTeX Warning: Reference `_trans_cache_8hpp' on page 6 undefined on input line +43. + + +LaTeX Warning: Reference `_transformation_8cpp' on page 6 undefined on input li +ne 44. + + +LaTeX Warning: Reference `_transformation_8hpp' on page 6 undefined on input li +ne 45. + + +LaTeX Warning: Reference `vec_8hpp' on page 6 undefined on input line 47. + + +LaTeX Warning: Reference `_wii_util_8cpp' on page 6 undefined on input line 48. + + + +LaTeX Warning: Reference `_wii_util_8h' on page 6 undefined on input line 49. + + +LaTeX Warning: Reference `zach_morph_demo_8cpp' on page 6 undefined on input li +ne 50. + +) [6] +Chapter 4. +(./class_camera.tex +LaTeX Font Info: Try loading font information for T1+pcr on input line 11. + (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pcr.fd +File: t1pcr.fd 2001/06/04 font definitions for T1/pcr. +) + +File: class_camera.pdf Graphic file (type pdf) + +Package pdftex.def Info: class_camera.pdf used on input line 16. +(pdftex.def) Requested size: 45.51906pt x 85.35826pt. +LaTeX Font Info: Font shape `OT1/phv/bc/n' will be +(Font) scaled to size 10.79993pt on input line 19. +LaTeX Font Info: Try loading font information for TS1+phv on input line 22. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ts1phv.fd +File: ts1phv.fd 2001/06/04 scalable font definitions for TS1/phv. +) +LaTeX Font Info: Font shape `TS1/phv/m/n' will be +(Font) scaled to size 8.99994pt on input line 22. +LaTeX Font Info: Font shape `T1/phv/m/it' in size <9> not available +(Font) Font shape `T1/phv/m/sl' tried instead on input line 33. +LaTeX Font Info: Font shape `T1/phv/m/sl' will be +(Font) scaled to size 8.09995pt on input line 33. + [7 + + <./class_camera.pdf>] [8] [9] [10] +LaTeX Font Info: Font shape `OT1/phv/bc/n' will be +(Font) scaled to size 8.99994pt on input line 342. + [11] +LaTeX Font Info: Font shape `OT1/phv/bc/it' in size <10> not available +(Font) Font shape `OT1/phv/bc/sl' tried instead on input line 427. + +LaTeX Font Info: Font shape `OT1/phv/bc/sl' will be +(Font) scaled to size 8.99994pt on input line 427. +LaTeX Font Info: Try loading font information for OT1+pcr on input line 427. + + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1pcr.fd +File: ot1pcr.fd 2001/06/04 font definitions for OT1/pcr. +) + +LaTeX Font Warning: Font shape `OT1/pcr/bc/it' undefined +(Font) using `OT1/pcr/m/n' instead on input line 427. + +LaTeX Font Info: Font shape `T1/phv/m/it' in size <10> not available +(Font) Font shape `T1/phv/m/sl' tried instead on input line 434. +LaTeX Font Info: Font shape `T1/phv/m/sl' will be +(Font) scaled to size 8.99994pt on input line 434. + +Underfull \vbox (badness 10000) detected at line 444 + [] + +[12] +Underfull \vbox (badness 10000) detected at line 470 + [] + + +Underfull \vbox (badness 10000) detected at line 496 + [] + + +LaTeX Font Warning: Font shape `OT1/pcr/bc/n' undefined +(Font) using `OT1/pcr/m/n' instead on input line 507. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 507. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\sim' on input line 507. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 507. + + +Underfull \vbox (badness 10000) detected at line 534 + [] + +[13] +Underfull \vbox (badness 10000) detected at line 557 + [] + + +Underfull \vbox (badness 10000) detected at line 583 + [] + + +Underfull \vbox (badness 10000) detected at line 606 + [] + +[14] +Underfull \vbox (badness 10000) detected at line 647 + [] + + +Underfull \vbox (badness 10000) detected at line 673 + [] + + +Underfull \vbox (badness 10000) detected at line 696 + [] + + +Underfull \vbox (badness 10000) detected at line 719 + [] + +[15] +Underfull \vbox (badness 10000) detected at line 745 + [] + + +Underfull \vbox (badness 10000) detected at line 771 + [] + + +Underfull \vbox (badness 10000) detected at line 797 + [] + +[16] +Underfull \vbox (badness 10000) detected at line 820 + [] + + +Underfull \vbox (badness 10000) detected at line 876 + [] + +[17] +Underfull \vbox (badness 10000) detected at line 917 + [] + + +Underfull \vbox (badness 10000) detected at line 943 + [] + + +Underfull \vbox (badness 10000) detected at line 975 + [] + + +Underfull \vbox (badness 10000) detected at line 1001 + [] + +[18] +Underfull \vbox (badness 10000) detected at line 1027 + [] + +[19] +Underfull \vbox (badness 10000) detected at line 1107 + [] + + +Underfull \vbox (badness 10000) detected at line 1130 + [] + + +Underfull \vbox (badness 10000) detected at line 1179 + [] + +[20] +Underfull \vbox (badness 10000) detected at line 1206 + [] + + +Underfull \vbox (badness 10000) detected at line 1229 + [] + + +Underfull \vbox (badness 10000) detected at line 1252 + [] + +[21] +Underfull \vbox (badness 10000) detected at line 1302 + [] + + +Underfull \vbox (badness 10000) detected at line 1328 + [] + + +Underfull \vbox (badness 10000) detected at line 1372 + [] + + +Overfull \vbox (15.88005pt too high) has occurred while \output is active [] + + +[22] +Underfull \vbox (badness 10000) detected at line 1416 + [] + + +Underfull \vbox (badness 10000) detected at line 1442 + [] + +[23] [24]) (./class_cameras.tex + +File: class_cameras.pdf Graphic file (type pdf) + +Package pdftex.def Info: class_cameras.pdf used on input line 16. +(pdftex.def) Requested size: 49.79222pt x 56.9055pt. + +[25 <./class_cameras.pdf>]pdfTeX warning (ext4): destination with the same iden +tifier (name{class_scene_a366b5dec1ecf66a887b4d0dedcd1aa3b}) has been already u +sed, duplicate ignored + + \relax +l.52 ...j\-Name, G\-Luint Object\-\_\-\-Shader=0)} + \label{class_scene_a366b5d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +3bd9fa1058f506c04162b9283e97d20e}) has been already used, duplicate ignored + + \relax +l.55 ...Object} (const std\-::string \&obj\-Name)} + \label{class_scene_a3bd9fa... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +43fd3c56db5dc940d1724b9573c9a360}) has been already used, duplicate ignored + + \relax +l.58 ...a360}{void {\bfseries Del\-Object} (void)} + \label{class_scene_a43fd3c... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +bdfd15e7987aa261840d5ecc265170df}) has been already used, duplicate ignored + + \relax +l.61 ...70df}{void {\bfseries Pop\-Object} (void)} + \label{class_scene_abdfd15... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +82759ded1f6f87a91b8d10ed87501958}) has been already used, duplicate ignored + + \relax +l.64 ...1b8d10ed87501958}{Destroy\-Object} (void)} + \label{class_scene_a82759d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e9b69d8db8a46991017635f22e45baad}) has been already used, duplicate ignored + + \relax +l.70 ...\mbox{]}} (const std\-::string \&objname)} + \label{class_scene_ae9b69d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e8d51ddc196248a7cbd1f3640851dbd4}) has been already used, duplicate ignored + + \relax +l.78 ...yperlink{class_object}{Object} $\ast$obj)} + \label{class_scene_ae8d51d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +cdd0123ca6b2d64d8d447bb485b235fc}) has been already used, duplicate ignored + + \relax +l.84 ...Object} $\ast$ $>$ {\bfseries \-\_\-list}} + \label{class_scene_acdd012... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +8bd5d86484a12255b26b92b6cbf8d29a}) has been already used, duplicate ignored + + \relax +l.87 ...{Object} $\ast$ $>$ {\bfseries \-\_\-map}} + \label{class_scene_a8bd5d8... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e87ca5350fcc595f3f15a4fd3c39f3d9}) has been already used, duplicate ignored + + \relax +l.90 ...::iterator {\bfseries \-\_\-current\-Obj}} + \label{class_scene_ae87ca5... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +8f9bdd8ec5edb1f414fbd314a36e2724}) has been already used, duplicate ignored + + \relax +l.93 ...724}{G\-Luint {\bfseries \-\_\-g\-Shader}} + \label{class_scene_a8f9bdd... +[26] + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 141. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\sim' on input line 141. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 141. + + +Underfull \vbox (badness 10000) detected at line 186 + [] + +[27]pdfTeX warning (ext4): destination with the same identifier (name{class_sce +ne_a8bbe0e5b1bfc71034b18e240e86aa285}) has been already used, duplicate ignored + + + \relax +l.222 ...y [protected]}, {\ttfamily [inherited]}}} + \label{class_scene_a8bbe0e... + +Underfull \vbox (badness 10000) detected at line 231 + [] + +[28] +Underfull \vbox (badness 10000) detected at line 311 + [] + + +Underfull \vbox (badness 10000) detected at line 375 + [] + +[29] +Underfull \vbox (badness 10000) detected at line 400 + [] + + +Underfull \vbox (badness 10000) detected at line 451 + [] + +) (./class_engine.tex [30] +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <5> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 58. + [31] +Underfull \vbox (badness 10000) detected at line 113 + [] + + +Underfull \vbox (badness 10000) detected at line 121 + [] + +[32] +Underfull \vbox (badness 10000) detected at line 162 + [] + + +Underfull \vbox (badness 10000) detected at line 223 + [] + + +Underfull \vbox (badness 10000) detected at line 231 + [] + +[33] +Underfull \vbox (badness 10000) detected at line 251 + [] + + +Underfull \vbox (badness 10000) detected at line 277 + [] + + +Underfull \vbox (badness 10000) detected at line 318 + [] + +) (./class_tiem_spelchk_1_1_lurn2_spiel_nub.tex [34]) +(./class_angel_1_1mat2.tex [35] +Underfull \hbox (badness 10000) in paragraph at lines 95--96 +\T1/pcr/m/n/10 unm.-edu/$\OMS/ztmcm/m/n/10 ^^X$\T1/pcr/m/n/10 angel/-B-O-O-K/-I +-N-T-E-R-A-C-T-I-V-E-_--C-O-M-P-U-T-E-R-_--G-R-A-P-H-I-C-S/-S-I-X-T-H-_--E-D-I- +T-I-O-N/[][] \T1/phv/m/n/10 Pub-lished + [] + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 110. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\ast' on input line 110. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 110. + +[36]) (./class_angel_1_1mat3.tex [37] +Underfull \hbox (badness 10000) in paragraph at lines 97--98 +\T1/pcr/m/n/10 unm.-edu/$\OMS/ztmcm/m/n/10 ^^X$\T1/pcr/m/n/10 angel/-B-O-O-K/-I +-N-T-E-R-A-C-T-I-V-E-_--C-O-M-P-U-T-E-R-_--G-R-A-P-H-I-C-S/-S-I-X-T-H-_--E-D-I- +T-I-O-N/[][] \T1/phv/m/n/10 Pub-lished + [] + +) (./class_angel_1_1mat4.tex [38] +Underfull \hbox (badness 10000) in paragraph at lines 100--101 +\T1/pcr/m/n/10 unm.-edu/$\OMS/ztmcm/m/n/10 ^^X$\T1/pcr/m/n/10 angel/-B-O-O-K/-I +-N-T-E-R-A-C-T-I-V-E-_--C-O-M-P-U-T-E-R-_--G-R-A-P-H-I-C-S/-S-I-X-T-H-_--E-D-I- +T-I-O-N/[][] \T1/phv/m/n/10 Pub-lished + [] + +) (./class_object.tex +File: class_object.pdf Graphic file (type pdf) + + +Package pdftex.def Info: class_object.pdf used on input line 7. +(pdftex.def) Requested size: 91.04579pt x 85.35826pt. +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a79b74057dbc5182b85c9c3ba8480fcf2}) has been already used, duplicate ignored + + \relax +l.22 ...st unsigned int {\bfseries Uniform\-Enum}} + \label{class_object_a79b74... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a6e19bd8516360bff956408cbae33b878}) has been already used, duplicate ignored + + \relax +l.27 std\-::string $>$ {\bfseries Uniform\-Map}} + \label{class_object_a6e19bd8... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a3afa1b9af32b78d81b5de0836c511aeb}) has been already used, duplicate ignored + + \relax +l.39 ...0836c511aeb}{void {\bfseries Draw} (void)} + \label{class_object_a3afa1... +[39 <./class_object.pdf>]pdfTeX warning (ext4): destination with the same ident +ifier (name{class_object_a35c89a8eb8a5b742a9025331119bfc7c}) has been already u +sed, duplicate ignored + + \relax +l.42 ...1119bfc7c}{void {\bfseries Buffer} (void)} + \label{class_object_a35c89... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a754f9f36a528f050b25d053ed43015f0}) has been already used, duplicate ignored + + \relax +l.45 ...id {\bfseries Buffer\-Morph\-Only} (void)} + \label{class_object_a754f9... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ac6ccf69d21c4c902c62829c48ef6cf5b}) has been already used, duplicate ignored + + \relax +l.48 ...{\bfseries Mode} (G\-Lenum new\-\_\-node)} + \label{class_object_ac6ccf... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +aa104adfbcc2cae4bd68c053cc3dab721}) has been already used, duplicate ignored + + \relax +l.51 ...exture} (const char $\ast$$\ast$filename)} + \label{class_object_aa104a... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a890760dff9df547454112ff84510040c}) has been already used, duplicate ignored + + \relax +l.54 ...:string \& {\bfseries Name} (void) const } + \label{class_object_a89076... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +accde5aa6e8d0d582719e94c414c2341c}) has been already used, duplicate ignored + + \relax +l.57 ...a24457e0a387492c80594aec7681a2277}{name})} + \label{class_object_accde5... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ae3226b31c80c9f276ffdee65101c8fa6}) has been already used, duplicate ignored + + \relax +l.67 ...{class_trans_cache}{Trans\-Cache} \&arg))} + \label{class_object_ae3226... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ae09449132d3853e179d07d4d6bc0b695}) has been already used, duplicate ignored + + \relax +l.70 ...c0b695}{void {\bfseries Propagate} (void)} + \label{class_object_ae0944... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +aa60771518c07a0edf5aeee5584a571e0}) has been already used, duplicate ignored + + \relax +l.75 ...series get\-Morph\-Target\-Ptr} () const } + \label{class_object_aa6077... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +af4d40010633d77ff47e75d40e3129894}) has been already used, duplicate ignored + + \relax +l.78 ...{\bfseries gen\-Morph\-Target} (G\-Luint)} + \label{class_object_af4d40... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a275903685e300433a5120b5558eb9aa1}) has been already used, duplicate ignored + + \relax +l.81 ...fseries get\-Morph\-Percentage} () const } + \label{class_object_a27590... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +aea00114a91aeb779b4f03c7bebaa326e}) has been already used, duplicate ignored + + \relax +l.84 ...ies set\-Morph\-Percentage} (const float)} + \label{class_object_aea001... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a98d3f1b9ebb61c3b21e2a59ed267480a}) has been already used, duplicate ignored + + \relax +l.87 ...oid {\bfseries destroy\-Morph\-Target} ()} + \label{class_object_a98d3f... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +aae9b55b35a69ba78aa2803b4c8a681b7}) has been already used, duplicate ignored + + \relax +l.90 ...7}{int {\bfseries get\-Number\-Points} ()} + \label{class_object_aae9b5... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +366b5dec1ecf66a887b4d0dedcd1aa3b}) has been already used, duplicate ignored + + \relax +l.93 ...j\-Name, G\-Luint Object\-\_\-\-Shader=0)} + \label{class_scene_a366b5d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +3bd9fa1058f506c04162b9283e97d20e}) has been already used, duplicate ignored + + \relax +l.96 ...Object} (const std\-::string \&obj\-Name)} + \label{class_scene_a3bd9fa... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +43fd3c56db5dc940d1724b9573c9a360}) has been already used, duplicate ignored + + \relax +l.99 ...a360}{void {\bfseries Del\-Object} (void)} + \label{class_scene_a43fd3c... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +bdfd15e7987aa261840d5ecc265170df}) has been already used, duplicate ignored + + \relax +l.102 ...0df}{void {\bfseries Pop\-Object} (void)} + \label{class_scene_abdfd15... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +82759ded1f6f87a91b8d10ed87501958}) has been already used, duplicate ignored + + \relax +l.105 ...b8d10ed87501958}{Destroy\-Object} (void)} + \label{class_scene_a82759d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +70fcdad192a4c6ff508125de8af6cf4d}) has been already used, duplicate ignored + + \relax +l.108 ...}{Object} $\ast$ {\bfseries next} (void)} + \label{class_scene_a70fcda... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +c852d5d763eb35b4908c9aa7ea54d1ae}) has been already used, duplicate ignored + + \relax +l.111 ...}{Object} $\ast$ {\bfseries prev} (void)} + \label{class_scene_ac852d5... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +d0ea1a6bcf7815c63988bd937f06eb23}) has been already used, duplicate ignored + + \relax +l.114 ... $\ast$ {\bfseries active} (void) const } + \label{class_scene_ad0ea1a... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e9b69d8db8a46991017635f22e45baad}) has been already used, duplicate ignored + + \relax +l.117 ...mbox{]}} (const std\-::string \&objname)} + \label{class_scene_ae9b69d... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a8dec70177d147f59ba10c9eba8e9191b}) has been already used, duplicate ignored + + \relax +l.123 ...4}{Angel\-::vec4} $>$ {\bfseries points}} + \label{class_object_a8dec7... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ad541a7bb180e24f59d752cc6d7f8c7e8}) has been already used, duplicate ignored + + \relax +l.126 ...}{Angel\-::vec3} $>$ {\bfseries normals}} + \label{class_object_ad541a... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a9b2fb19d129ad79407f9af0eea05b96c}) has been already used, duplicate ignored + + \relax +l.129 ...$<$ unsigned int $>$ {\bfseries indices}} + \label{class_object_a9b2fb... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a4de4c1e2c4b621efb6f5d1b398ac6835}) has been already used, duplicate ignored + + \relax +l.132 ...4}{Angel\-::vec4} $>$ {\bfseries colors}} + \label{class_object_a4de4c... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a6d6c58ccb93f7a2bd7439d081134aaa0}) has been already used, duplicate ignored + + \relax +l.135 ...Angel\-::vec2} $>$ {\bfseries texcoords}} + \label{class_object_a6d6c5... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a1bb011587e4fa6e69984d5679546b1cb}) has been already used, duplicate ignored + + \relax +l.138 ...s_cache}{Trans\-Cache} {\bfseries trans}} + \label{class_object_a1bb01... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e8d51ddc196248a7cbd1f3640851dbd4}) has been already used, duplicate ignored + + \relax +l.146 ...perlink{class_object}{Object} $\ast$obj)} + \label{class_scene_ae8d51d... +[40]pdfTeX warning (ext4): destination with the same identifier (name{class_obj +ect_a29de966ce95d96e19262c4f10f0b4276}) has been already used, duplicate ignore +d + + \relax +l.156 ...-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S\mbox{]}} + \label{class_object_a29de9... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a2bbbe3a5b33cbcfc4c536b49d470a6b8}) has been already used, duplicate ignored + + \relax +l.161 ...5b33cbcfc4c536b49d470a6b8}{is\-Textured}} + \label{class_object_a2bbbe... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ac5ca00d03136434b93ae7d00808554c7}) has been already used, duplicate ignored + + \relax +l.164 ...434b93ae7d00808554c7}{morph\-Percentage}} + \label{class_object_ac5ca0... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +acfc4dec49d5d273910c3a1af2b3adfcd}) has been already used, duplicate ignored + + \relax +l.167 ...Object} $\ast$ {\bfseries morph\-Target}} + \label{class_object_acfc4d... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a6378d0b0eeec23045ae2a5245e42bf13}) has been already used, duplicate ignored + + \relax +l.171 ...tring $>$ {\bfseries \-\_\-uniform\-Map}} + \label{class_object_a6378d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +cdd0123ca6b2d64d8d447bb485b235fc}) has been already used, duplicate ignored + + \relax +l.176 ...bject} $\ast$ $>$ {\bfseries \-\_\-list}} + \label{class_scene_acdd012... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +8bd5d86484a12255b26b92b6cbf8d29a}) has been already used, duplicate ignored + + \relax +l.179 ...Object} $\ast$ $>$ {\bfseries \-\_\-map}} + \label{class_scene_a8bd5d8... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e87ca5350fcc595f3f15a4fd3c39f3d9}) has been already used, duplicate ignored + + \relax +l.182 ...:iterator {\bfseries \-\_\-current\-Obj}} + \label{class_scene_ae87ca5... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +8f9bdd8ec5edb1f414fbd314a36e2724}) has been already used, duplicate ignored + + \relax +l.185 ...24}{G\-Luint {\bfseries \-\_\-g\-Shader}} + \label{class_scene_a8f9bdd... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +8bbe0e5b1bfc71034b18e240e86aa285}) has been already used, duplicate ignored + + \relax +l.221 ...y [protected]}, {\ttfamily [inherited]}}} + \label{class_scene_a8bbe0e... + +Underfull \vbox (badness 10000) detected at line 230 + [] + +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ae10497fea640753a3cb63f739aacc540}) has been already used, duplicate ignored + + \relax +l.241 ) const}} + \label{class_object_ae10497fea640753a3cb63f739aacc540}pdfTeX war +ning (ext4): destination with the same identifier (name{class_object_a3dc857b83 +7e8b77ba8a2727233400a5e}) has been already used, duplicate ignored + + \relax +l.256 )\hspace{0.3cm}{\ttfamily [virtual]}}} + \label{class_object_a3dc857b837e... +[41]pdfTeX warning (ext4): destination with the same identifier (name{class_obj +ect_aa52c30bca96800cecba55f446e147859}) has been already used, duplicate ignore +d + + \relax +l.276 )\hspace{0.3cm}{\ttfamily [virtual]}}} + \label{class_object_aa52c30bca96... + +Underfull \vbox (badness 10000) detected at line 287 + [] + +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a82764b385767d989f27d301ab206acb8}) has been already used, duplicate ignored + + \relax +l.304 ...de\hspace{0.3cm}{\ttfamily [protected]}}} + \label{class_object_a82764... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +acd6c7021617ea334915a1525f9519bc5}) has been already used, duplicate ignored + + \relax +l.315 ...es\hspace{0.3cm}{\ttfamily [protected]}}} + \label{class_object_acd6c7... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a24457e0a387492c80594aec7681a2277}) has been already used, duplicate ignored + + \relax +l.326 ...me\hspace{0.3cm}{\ttfamily [protected]}}} + \label{class_object_a24457... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a66190fee29d03d6478516686cbd01eb8}) has been already used, duplicate ignored + + \relax +l.337 ...ao\hspace{0.3cm}{\ttfamily [protected]}}} + \label{class_object_a66190... +[42]) (./class_particle.tex + +File: class_particle.pdf Graphic file (type pdf) + + +Package pdftex.def Info: class_particle.pdf used on input line 16. +(pdftex.def) Requested size: 44.80687pt x 85.35826pt. +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a79b74057dbc5182b85c9c3ba8480fcf2}) has been already used, duplicate ignored + + \relax +l.31 ...st unsigned int {\bfseries Uniform\-Enum}} + \label{class_object_a79b74... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a6e19bd8516360bff956408cbae33b878}) has been already used, duplicate ignored + + \relax +l.36 std\-::string $>$ {\bfseries Uniform\-Map}} + \label{class_object_a6e19bd8... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ae6a2969ddca87d2c54b7cb1c131a7d60}) has been already used, duplicate ignored + + \relax +l.39 ... Object\-::\-Uniforms {\bfseries Uniform}} + \label{class_object_ae6a29... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a3afa1b9af32b78d81b5de0836c511aeb}) has been already used, duplicate ignored + + \relax +l.75 ...0836c511aeb}{void {\bfseries Draw} (void)} + \label{class_object_a3afa1... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a35c89a8eb8a5b742a9025331119bfc7c}) has been already used, duplicate ignored + + \relax +l.78 ...1119bfc7c}{void {\bfseries Buffer} (void)} + \label{class_object_a35c89... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a754f9f36a528f050b25d053ed43015f0}) has been already used, duplicate ignored + + \relax +l.81 ...id {\bfseries Buffer\-Morph\-Only} (void)} + \label{class_object_a754f9... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ac6ccf69d21c4c902c62829c48ef6cf5b}) has been already used, duplicate ignored + + \relax +l.84 ...{\bfseries Mode} (G\-Lenum new\-\_\-node)} + \label{class_object_ac6ccf... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +aa104adfbcc2cae4bd68c053cc3dab721}) has been already used, duplicate ignored + + \relax +l.87 ...exture} (const char $\ast$$\ast$filename)} + \label{class_object_aa104a... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a890760dff9df547454112ff84510040c}) has been already used, duplicate ignored + + \relax +l.90 ...:string \& {\bfseries Name} (void) const } + \label{class_object_a89076... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +accde5aa6e8d0d582719e94c414c2341c}) has been already used, duplicate ignored + + \relax +l.93 ...a24457e0a387492c80594aec7681a2277}{name})} + \label{class_object_accde5... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a34258ee199342d785c29d18c49d54e71}) has been already used, duplicate ignored + + \relax +l.96 ...id {\bfseries send} (Uniform\-Enum which)} + \label{class_object_a34258... +[43 <./class_particle.pdf>]pdfTeX warning (ext4): destination with the same ide +ntifier (name{class_object_ae3226b31c80c9f276ffdee65101c8fa6}) has been already + used, duplicate ignored + + \relax +l.103 ...class_trans_cache}{Trans\-Cache} \&arg))} + \label{class_object_ae3226... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ae09449132d3853e179d07d4d6bc0b695}) has been already used, duplicate ignored + + \relax +l.106 ...0b695}{void {\bfseries Propagate} (void)} + \label{class_object_ae0944... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +aa60771518c07a0edf5aeee5584a571e0}) has been already used, duplicate ignored + + \relax +l.111 ...eries get\-Morph\-Target\-Ptr} () const } + \label{class_object_aa6077... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +af4d40010633d77ff47e75d40e3129894}) has been already used, duplicate ignored + + \relax +l.114 ...\bfseries gen\-Morph\-Target} (G\-Luint)} + \label{class_object_af4d40... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a275903685e300433a5120b5558eb9aa1}) has been already used, duplicate ignored + + \relax +l.117 ...series get\-Morph\-Percentage} () const } + \label{class_object_a27590... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +aea00114a91aeb779b4f03c7bebaa326e}) has been already used, duplicate ignored + + \relax +l.120 ...es set\-Morph\-Percentage} (const float)} + \label{class_object_aea001... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a98d3f1b9ebb61c3b21e2a59ed267480a}) has been already used, duplicate ignored + + \relax +l.123 ...id {\bfseries destroy\-Morph\-Target} ()} + \label{class_object_a98d3f... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +aae9b55b35a69ba78aa2803b4c8a681b7}) has been already used, duplicate ignored + + \relax +l.126 ...}{int {\bfseries get\-Number\-Points} ()} + \label{class_object_aae9b5... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +366b5dec1ecf66a887b4d0dedcd1aa3b}) has been already used, duplicate ignored + + \relax +l.129 ...\-Name, G\-Luint Object\-\_\-\-Shader=0)} + \label{class_scene_a366b5d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +3bd9fa1058f506c04162b9283e97d20e}) has been already used, duplicate ignored + + \relax +l.132 ...bject} (const std\-::string \&obj\-Name)} + \label{class_scene_a3bd9fa... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +43fd3c56db5dc940d1724b9573c9a360}) has been already used, duplicate ignored + + \relax +l.135 ...360}{void {\bfseries Del\-Object} (void)} + \label{class_scene_a43fd3c... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +bdfd15e7987aa261840d5ecc265170df}) has been already used, duplicate ignored + + \relax +l.138 ...0df}{void {\bfseries Pop\-Object} (void)} + \label{class_scene_abdfd15... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +82759ded1f6f87a91b8d10ed87501958}) has been already used, duplicate ignored + + \relax +l.141 ...b8d10ed87501958}{Destroy\-Object} (void)} + \label{class_scene_a82759d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +70fcdad192a4c6ff508125de8af6cf4d}) has been already used, duplicate ignored + + \relax +l.144 ...}{Object} $\ast$ {\bfseries next} (void)} + \label{class_scene_a70fcda... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +c852d5d763eb35b4908c9aa7ea54d1ae}) has been already used, duplicate ignored + + \relax +l.147 ...}{Object} $\ast$ {\bfseries prev} (void)} + \label{class_scene_ac852d5... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +d0ea1a6bcf7815c63988bd937f06eb23}) has been already used, duplicate ignored + + \relax +l.150 ... $\ast$ {\bfseries active} (void) const } + \label{class_scene_ad0ea1a... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e9b69d8db8a46991017635f22e45baad}) has been already used, duplicate ignored + + \relax +l.153 ...mbox{]}} (const std\-::string \&objname)} + \label{class_scene_ae9b69d... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a8dec70177d147f59ba10c9eba8e9191b}) has been already used, duplicate ignored + + \relax +l.159 ...4}{Angel\-::vec4} $>$ {\bfseries points}} + \label{class_object_a8dec7... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ad541a7bb180e24f59d752cc6d7f8c7e8}) has been already used, duplicate ignored + + \relax +l.162 ...}{Angel\-::vec3} $>$ {\bfseries normals}} + \label{class_object_ad541a... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a9b2fb19d129ad79407f9af0eea05b96c}) has been already used, duplicate ignored + + \relax +l.165 ...$<$ unsigned int $>$ {\bfseries indices}} + \label{class_object_a9b2fb... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a4de4c1e2c4b621efb6f5d1b398ac6835}) has been already used, duplicate ignored + + \relax +l.168 ...4}{Angel\-::vec4} $>$ {\bfseries colors}} + \label{class_object_a4de4c... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a6d6c58ccb93f7a2bd7439d081134aaa0}) has been already used, duplicate ignored + + \relax +l.171 ...Angel\-::vec2} $>$ {\bfseries texcoords}} + \label{class_object_a6d6c5... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a1bb011587e4fa6e69984d5679546b1cb}) has been already used, duplicate ignored + + \relax +l.174 ...s_cache}{Trans\-Cache} {\bfseries trans}} + \label{class_object_a1bb01... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e8d51ddc196248a7cbd1f3640851dbd4}) has been already used, duplicate ignored + + \relax +l.182 ...perlink{class_object}{Object} $\ast$obj)} + \label{class_scene_ae8d51d... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a29de966ce95d96e19262c4f10f0b4276}) has been already used, duplicate ignored + + \relax +l.192 ...-U\-M\-\_\-\-B\-U\-F\-F\-E\-R\-S\mbox{]}} + \label{class_object_a29de9... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a2bbbe3a5b33cbcfc4c536b49d470a6b8}) has been already used, duplicate ignored + + \relax +l.197 ...5b33cbcfc4c536b49d470a6b8}{is\-Textured}} + \label{class_object_a2bbbe... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ac5ca00d03136434b93ae7d00808554c7}) has been already used, duplicate ignored + + \relax +l.200 ...434b93ae7d00808554c7}{morph\-Percentage}} + \label{class_object_ac5ca0... +[44]pdfTeX warning (ext4): destination with the same identifier (name{class_obj +ect_acfc4dec49d5d273910c3a1af2b3adfcd}) has been already used, duplicate ignore +d + + \relax +l.203 ...Object} $\ast$ {\bfseries morph\-Target}} + \label{class_object_acfc4d... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a6378d0b0eeec23045ae2a5245e42bf13}) has been already used, duplicate ignored + + \relax +l.207 ...tring $>$ {\bfseries \-\_\-uniform\-Map}} + \label{class_object_a6378d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +cdd0123ca6b2d64d8d447bb485b235fc}) has been already used, duplicate ignored + + \relax +l.212 ...bject} $\ast$ $>$ {\bfseries \-\_\-list}} + \label{class_scene_acdd012... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +8bd5d86484a12255b26b92b6cbf8d29a}) has been already used, duplicate ignored + + \relax +l.215 ...Object} $\ast$ $>$ {\bfseries \-\_\-map}} + \label{class_scene_a8bd5d8... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e87ca5350fcc595f3f15a4fd3c39f3d9}) has been already used, duplicate ignored + + \relax +l.218 ...:iterator {\bfseries \-\_\-current\-Obj}} + \label{class_scene_ae87ca5... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +8f9bdd8ec5edb1f414fbd314a36e2724}) has been already used, duplicate ignored + + \relax +l.221 ...24}{G\-Luint {\bfseries \-\_\-g\-Shader}} + \label{class_scene_a8f9bdd... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +8bbe0e5b1bfc71034b18e240e86aa285}) has been already used, duplicate ignored + + \relax +l.275 ...y [protected]}, {\ttfamily [inherited]}}} + \label{class_scene_a8bbe0e... + +Underfull \vbox (badness 10000) detected at line 284 + [] + +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +ae10497fea640753a3cb63f739aacc540}) has been already used, duplicate ignored + + \relax +l.295 ...st\hspace{0.3cm}{\ttfamily [inherited]}}} + \label{class_object_ae1049... + +Underfull \vbox (badness 1038) has occurred while \output is active [] + + [45]pdfTeX warning (ext4): destination with the same identifier (name{class_ob +ject_a3dc857b837e8b77ba8a2727233400a5e}) has been already used, duplicate ignor +ed + + \relax +l.310 ...ily [virtual]}, {\ttfamily [inherited]}}} + \label{class_object_a3dc85... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +aa52c30bca96800cecba55f446e147859}) has been already used, duplicate ignored + + \relax +l.330 ...ily [virtual]}, {\ttfamily [inherited]}}} + \label{class_object_aa52c3... + +Underfull \vbox (badness 10000) detected at line 341 + [] + +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a82764b385767d989f27d301ab206acb8}) has been already used, duplicate ignored + + \relax +l.358 ...y [protected]}, {\ttfamily [inherited]}}} + \label{class_object_a82764... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +acd6c7021617ea334915a1525f9519bc5}) has been already used, duplicate ignored + + \relax +l.369 ...y [protected]}, {\ttfamily [inherited]}}} + \label{class_object_acd6c7... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a24457e0a387492c80594aec7681a2277}) has been already used, duplicate ignored + + \relax +l.380 ...y [protected]}, {\ttfamily [inherited]}}} + \label{class_object_a24457... +pdfTeX warning (ext4): destination with the same identifier (name{class_object_ +a66190fee29d03d6478516686cbd01eb8}) has been already used, duplicate ignored + + \relax +l.391 ...y [protected]}, {\ttfamily [inherited]}}} + \label{class_object_a66190... +[46]) (./class_rot_mat.tex + +File: class_rot_mat.pdf Graphic file (type pdf) + +Package pdftex.def Info: class_rot_mat.pdf used on input line 16. +(pdftex.def) Requested size: 73.97614pt x 56.9055pt. +) +(./class_scale_mat.tex +File: class_scale_mat.pdf Graphic file (type pdf) + + +Package pdftex.def Info: class_scale_mat.pdf used on input line 7. +(pdftex.def) Requested size: 73.97614pt x 56.9055pt. + [47 <./class_rot_mat.pdf>]pdfTeX warning (ext4): destination with the same ide +ntifier (name{class_transformation_ae6a57a1ee74ca1da1b8aef3d328a8772}) has been + already used, duplicate ignored + + \relax +l.25 ...mat4} \& {\bfseries Matrix} (void) const } + \label{class_transformatio... +pdfTeX warning (ext4): destination with the same identifier (name{class_transfo +rmation_afdfbf48815a5b0d885f3b93f04cd2c66}) has been already used, duplicate ig +nored + + \relax +l.28 ...gel_1_1mat4}{Angel\-::mat4} \&rhs) const } + \label{class_transformatio... +pdfTeX warning (ext4): destination with the same identifier (name{class_transfo +rmation_a85b923e0066365ef2e4aec3671396410}) has been already used, duplicate ig +nored + + \relax +l.31 ...sformation}{Transformation} \&rhs) const } + \label{class_transformatio... +pdfTeX warning (ext4): destination with the same identifier (name{class_transfo +rmation_a5f39fb578a1cdf78ca85efbd932d3834}) has been already used, duplicate ig +nored + + \relax +l.37 ...l_1_1mat4}{Angel\-::mat4} {\bfseries mat}} + \label{class_transformatio... +) (./class_scene.tex +File: class_scene.pdf Graphic file (type pdf) + + +Package pdftex.def Info: class_scene.pdf used on input line 7. +(pdftex.def) Requested size: 149.37666pt x 85.35826pt. +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +366b5dec1ecf66a887b4d0dedcd1aa3b}) has been already used, duplicate ignored + + \relax +l.17 ...j\-Name, G\-Luint Object\-\_\-\-Shader=0)} + \label{class_scene_a366b5d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +3bd9fa1058f506c04162b9283e97d20e}) has been already used, duplicate ignored + + \relax +l.20 ...Object} (const std\-::string \&obj\-Name)} + \label{class_scene_a3bd9fa... +[48 <./class_scale_mat.pdf> <./class_scene.pdf>]pdfTeX warning (ext4): destinat +ion with the same identifier (name{class_scene_a43fd3c56db5dc940d1724b9573c9a36 +0}) has been already used, duplicate ignored + + \relax +l.23 ...a360}{void {\bfseries Del\-Object} (void)} + \label{class_scene_a43fd3c... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +bdfd15e7987aa261840d5ecc265170df}) has been already used, duplicate ignored + + \relax +l.26 ...70df}{void {\bfseries Pop\-Object} (void)} + \label{class_scene_abdfd15... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +82759ded1f6f87a91b8d10ed87501958}) has been already used, duplicate ignored + + \relax +l.29 ...1b8d10ed87501958}{Destroy\-Object} (void)} + \label{class_scene_a82759d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +70fcdad192a4c6ff508125de8af6cf4d}) has been already used, duplicate ignored + + \relax +l.32 ...t}{Object} $\ast$ {\bfseries next} (void)} + \label{class_scene_a70fcda... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +c852d5d763eb35b4908c9aa7ea54d1ae}) has been already used, duplicate ignored + + \relax +l.35 ...t}{Object} $\ast$ {\bfseries prev} (void)} + \label{class_scene_ac852d5... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +d0ea1a6bcf7815c63988bd937f06eb23}) has been already used, duplicate ignored + + \relax +l.38 ...} $\ast$ {\bfseries active} (void) const } + \label{class_scene_ad0ea1a... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +d5a91c929b569b9111061eec16b3febf}) has been already used, duplicate ignored + + \relax +l.41 ...eec16b3febf}{void {\bfseries Draw} (void)} + \label{class_scene_ad5a91c... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e9b69d8db8a46991017635f22e45baad}) has been already used, duplicate ignored + + \relax +l.44 ...\mbox{]}} (const std\-::string \&objname)} + \label{class_scene_ae9b69d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e8d51ddc196248a7cbd1f3640851dbd4}) has been already used, duplicate ignored + + \relax +l.58 ...yperlink{class_object}{Object} $\ast$obj)} + \label{class_scene_ae8d51d... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +cdd0123ca6b2d64d8d447bb485b235fc}) has been already used, duplicate ignored + + \relax +l.64 ...Object} $\ast$ $>$ {\bfseries \-\_\-list}} + \label{class_scene_acdd012... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +8bd5d86484a12255b26b92b6cbf8d29a}) has been already used, duplicate ignored + + \relax +l.67 ...{Object} $\ast$ $>$ {\bfseries \-\_\-map}} + \label{class_scene_a8bd5d8... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +e87ca5350fcc595f3f15a4fd3c39f3d9}) has been already used, duplicate ignored + + \relax +l.70 ...::iterator {\bfseries \-\_\-current\-Obj}} + \label{class_scene_ae87ca5... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +8f9bdd8ec5edb1f414fbd314a36e2724}) has been already used, duplicate ignored + + \relax +l.73 ...724}{G\-Luint {\bfseries \-\_\-g\-Shader}} + \label{class_scene_a8f9bdd... +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +8bbe0e5b1bfc71034b18e240e86aa285}) has been already used, duplicate ignored + + \relax +l.92 )\hspace{0.3cm}{\ttfamily [protected]}}} + \label{class_scene_a8bbe0e5b1bf... + +Underfull \vbox (badness 10000) detected at line 101 + [] + +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +7137a7302c21ac4dd44e746bfb6f7cf8}) has been already used, duplicate ignored + + \relax +l.112 )\hspace{0.3cm}{\ttfamily [virtual]}}} + \label{class_scene_a7137a7302c21... +[49] +Underfull \vbox (badness 10000) detected at line 123 + [] + +pdfTeX warning (ext4): destination with the same identifier (name{class_scene_a +f1e8ba8802f3bf83cebbfcbf3ed7c333}) has been already used, duplicate ignored + + \relax +l.141 )}} + \label{class_scene_af1e8ba8802f3bf83cebbfcbf3ed7c333}) +(./class_screen.tex [50]) (./class_spelchk_camera.tex [51]) (./class_timer.tex +[52]) (./class_trans_cache.tex [53]) (./class_transformation.tex + +File: class_transformation.pdf Graphic file (type pdf) + + +Package pdftex.def Info: class_transformation.pdf used on input line 7. +(pdftex.def) Requested size: 221.92076pt x 56.9055pt. +pdfTeX warning (ext4): destination with the same identifier (name{class_transfo +rmation_ae6a57a1ee74ca1da1b8aef3d328a8772}) has been already used, duplicate ig +nored + + \relax +l.13 ...mat4} \& {\bfseries Matrix} (void) const } + \label{class_transformatio... +pdfTeX warning (ext4): destination with the same identifier (name{class_transfo +rmation_afdfbf48815a5b0d885f3b93f04cd2c66}) has been already used, duplicate ig +nored + + \relax +l.16 ...gel_1_1mat4}{Angel\-::mat4} \&rhs) const } + \label{class_transformatio... +pdfTeX warning (ext4): destination with the same identifier (name{class_transfo +rmation_a85b923e0066365ef2e4aec3671396410}) has been already used, duplicate ig +nored + + \relax +l.19 ...sformation}{Transformation} \&rhs) const } + \label{class_transformatio... +pdfTeX warning (ext4): destination with the same identifier (name{class_transfo +rmation_a5f39fb578a1cdf78ca85efbd932d3834}) has been already used, duplicate ig +nored + + \relax +l.25 ...l_1_1mat4}{Angel\-::mat4} {\bfseries mat}} + \label{class_transformatio... +[54 <./class_transformation.pdf>]) (./class_trans_mat.tex + +File: class_trans_mat.pdf Graphic file (type pdf) + + +Package pdftex.def Info: class_trans_mat.pdf used on input line 16. +(pdftex.def) Requested size: 73.97614pt x 56.9055pt. +pdfTeX warning (ext4): destination with the same identifier (name{class_transfo +rmation_ae6a57a1ee74ca1da1b8aef3d328a8772}) has been already used, duplicate ig +nored + + \relax +l.43 ...mat4} \& {\bfseries Matrix} (void) const } + \label{class_transformatio... +pdfTeX warning (ext4): destination with the same identifier (name{class_transfo +rmation_afdfbf48815a5b0d885f3b93f04cd2c66}) has been already used, duplicate ig +nored + + \relax +l.46 ...gel_1_1mat4}{Angel\-::mat4} \&rhs) const } + \label{class_transformatio... +pdfTeX warning (ext4): destination with the same identifier (name{class_transfo +rmation_a85b923e0066365ef2e4aec3671396410}) has been already used, duplicate ig +nored + + \relax +l.49 ...sformation}{Transformation} \&rhs) const } + \label{class_transformatio... +pdfTeX warning (ext4): destination with the same identifier (name{class_transfo +rmation_a5f39fb578a1cdf78ca85efbd932d3834}) has been already used, duplicate ig +nored + + \relax +l.55 ...l_1_1mat4}{Angel\-::mat4} {\bfseries mat}} + \label{class_transformatio... +) (./struct_angel_1_1vec2.tex [55 <./class_trans_mat.pdf>]) +(./struct_angel_1_1vec3.tex [56]) (./struct_angel_1_1vec4.tex [57]) +(./structwii_poll_data.tex) [58] +Chapter 5. +(./_camera_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--16 + + [] + +[59 + +] +Underfull \vbox (badness 10000) detected at line 55 + [] + +) (./_camera_8hpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--13 + + [] + +) (./_cameras_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--15 + + [] + +[60]) (./_cameras_8hpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--12 + + [] + +[61]) (./ds_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--22 + + [] + +[62] +Underfull \vbox (badness 10000) detected at line 79 + [] + +) (./_engine_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--16 + + [] + +) (./_engine_8hpp.tex [63] +Underfull \hbox (badness 10000) in paragraph at lines 9--14 + + [] + +) (./globals_8h.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--10 + + [] + +[64] [65]) (./glut__callbacks_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--15 + + [] + +[66] +Underfull \vbox (badness 10000) detected at line 74 + [] + + +Underfull \vbox (badness 10000) detected at line 102 + [] + + +Underfull \vbox (badness 10000) detected at line 128 + [] + + +Overfull \vbox (13.40593pt too high) has occurred while \output is active [] + + +[67] +Underfull \vbox (badness 10000) detected at line 159 + [] + + +Underfull \vbox (badness 10000) detected at line 184 + [] + + +Underfull \vbox (badness 10000) detected at line 209 + [] + + +Underfull \vbox (badness 10000) detected at line 236 + [] + +[68]) (./glut__callbacks_8h.tex [69] +Underfull \vbox (badness 10000) detected at line 68 + [] + + +Underfull \vbox (badness 10000) detected at line 96 + [] + + +Underfull \vbox (badness 10000) detected at line 122 + [] + + +Underfull \vbox (badness 10000) detected at line 153 + [] + +[70] +Underfull \vbox (badness 10000) detected at line 178 + [] + + +Underfull \vbox (badness 10000) detected at line 203 + [] + + +Underfull \vbox (badness 10000) detected at line 230 + [] + +) (./_init_shader_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--13 + + [] + +[71]) (./_init_shader_8hpp.tex [72]) (./_kinect_inator_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--10 + + [] + +[73] +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 6.29996pt on input line 82. +) (./_kinect_inator_8hpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--15 + + [] + +[74]) (./mat_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--14 + + [] + +[75]) (./mat_8hpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--11 + + [] + +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a14b1d7bed352f45380d7fc26e2553627}) has been already used, duplicate ignored + + + \relax +l.28 ...p\-Mult} (const mat2 \&A, const mat2 \&B)} + \label{namespace_angel_a14... +[76]pdfTeX warning (ext4): destination with the same identifier (name{namespace +_angel_a13237552df8019e7c7c041491185a5b7}) has been already used, duplicate ign +ored + + \relax +l.31 ...ries Angel\-::transpose} (const mat2 \&A)} + \label{namespace_angel_a13... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a9eeab51adba3f19cca17e5007844f2a1}) has been already used, duplicate ignored + + + \relax +l.34 ...p\-Mult} (const mat3 \&A, const mat3 \&B)} + \label{namespace_angel_a9e... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_abea2dfb557c756bfb69c596852e6b096}) has been already used, duplicate ignored + + + \relax +l.37 ...ries Angel\-::transpose} (const mat3 \&A)} + \label{namespace_angel_abe... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a3cc32f2aec8c1c7e609c31183eebf2e6}) has been already used, duplicate ignored + + + \relax +l.40 ...p\-Mult} (const mat4 \&A, const mat4 \&B)} + \label{namespace_angel_a3c... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a1a4a07580fa9c63f32cca223177496dd}) has been already used, duplicate ignored + + + \relax +l.43 ...ries Angel\-::transpose} (const mat4 \&A)} + \label{namespace_angel_a1a... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a96a871db89bb8218473c75b8070d2a04}) has been already used, duplicate ignored + + + \relax +l.46 ...l\-::\-Rotate\-X} (const G\-Lfloat theta)} + \label{namespace_angel_a96... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_aa8ddbf81e6fa21bd53c5d5ce840a7403}) has been already used, duplicate ignored + + + \relax +l.49 ...l\-::\-Rotate\-Y} (const G\-Lfloat theta)} + \label{namespace_angel_aa8... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a564ee33689e28c95aedcc5a77aed1d33}) has been already used, duplicate ignored + + + \relax +l.52 ...l\-::\-Rotate\-Z} (const G\-Lfloat theta)} + \label{namespace_angel_a56... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a4dabf5bcf7d7332f54e66178feab9c16}) has been already used, duplicate ignored + + + \relax +l.55 ... x, const G\-Lfloat y, const G\-Lfloat z)} + \label{namespace_angel_a4d... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_ae9591a5b2e2e59fa0534460a16520a42}) has been already used, duplicate ignored + + + \relax +l.58 ...es Angel\-::\-Translate} (const vec3 \&v)} + \label{namespace_angel_ae9... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_af51ee9500415015b6ba400cea2ab757f}) has been already used, duplicate ignored + + + \relax +l.61 ...es Angel\-::\-Translate} (const vec4 \&v)} + \label{namespace_angel_af5... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a6ca60025898ba656cd588541df87f310}) has been already used, duplicate ignored + + + \relax +l.64 ... x, const G\-Lfloat y, const G\-Lfloat z)} + \label{namespace_angel_a6c... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a57bd024e120ad05fe0c00081286eeb18}) has been already used, duplicate ignored + + + \relax +l.67 ...series Angel\-::\-Scale} (const vec3 \&v)} + \label{namespace_angel_a57... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a65a39c6b9bbbce0463d958e58cdf8a3c}) has been already used, duplicate ignored + + + \relax +l.70 ...\-Lfloat z\-Near, const G\-Lfloat z\-Far)} + \label{namespace_angel_a65... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a8db02bcc2094985f2a168ab3f0dce68e}) has been already used, duplicate ignored + + + \relax +l.73 ...st G\-Lfloat bottom, const G\-Lfloat top)} + \label{namespace_angel_a8d... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_a5775b27ec156cd2166a59bf038dc8efc}) has been already used, duplicate ignored + + + \relax +l.76 ...\-Lfloat z\-Near, const G\-Lfloat z\-Far)} + \label{namespace_angel_a57... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_ad20afa7adfcc4d26d4be0c322548549a}) has been already used, duplicate ignored + + + \relax +l.79 ...\-Lfloat z\-Near, const G\-Lfloat z\-Far)} + \label{namespace_angel_ad2... +pdfTeX warning (ext4): destination with the same identifier (name{namespace_ang +el_aee52b8fa583cbbe460e2e80c05b59f8b}) has been already used, duplicate ignored + + + \relax +l.82 ... \&eye, const vec4 \&at, const vec4 \&up)} + \label{namespace_angel_aee... +) (./model_8cpp.tex [77] +Underfull \hbox (badness 10000) in paragraph at lines 9--18 + + [] + +[78] [79] +Underfull \vbox (badness 10000) detected at line 174 + [] + + +Underfull \vbox (badness 10000) detected at line 200 + [] + + +Underfull \vbox (badness 10000) detected at line 229 + [] + +[80] +Underfull \vbox (badness 10000) detected at line 255 + [] + + +Underfull \vbox (badness 10000) detected at line 290 + [] + + +Underfull \vbox (badness 10000) detected at line 310 + [] + + +Underfull \vbox (badness 10000) detected at line 339 + [] + +[81] +Underfull \vbox (badness 10000) detected at line 365 + [] + + +Underfull \vbox (badness 10000) detected at line 409 + [] + + +Underfull \vbox (badness 10000) detected at line 467 + [] + +[82] +Underfull \vbox (badness 10000) detected at line 502 + [] + + +Underfull \vbox (badness 10000) detected at line 522 + [] + + +Underfull \vbox (badness 10000) detected at line 556 + [] + +[83] +Underfull \vbox (badness 10000) detected at line 588 + [] + + +Underfull \vbox (badness 10000) detected at line 610 + [] + +) (./model_8hpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--11 + + [] + +[84] +Underfull \vbox (badness 10000) detected at line 104 + [] + +[85] +Underfull \vbox (badness 10000) detected at line 133 + [] + + +Underfull \vbox (badness 10000) detected at line 159 + [] + + +Underfull \vbox (badness 10000) detected at line 194 + [] + + +Underfull \vbox (badness 10000) detected at line 220 + [] + +[86] +Underfull \vbox (badness 10000) detected at line 246 + [] + + +Underfull \vbox (badness 10000) detected at line 290 + [] + + +Underfull \vbox (badness 10000) detected at line 330 + [] + + +Overfull \vbox (1.48225pt too high) has occurred while \output is active [] + + +[87] +Underfull \vbox (badness 10000) detected at line 365 + [] + + +Underfull \vbox (badness 10000) detected at line 385 + [] + + +Underfull \vbox (badness 10000) detected at line 419 + [] + + +Underfull \vbox (badness 10000) detected at line 451 + [] + +) (./_obj_loader_8cpp.tex +Underfull \vbox (badness 10000) has occurred while \output is active [] + + [88] +Underfull \hbox (badness 10000) in paragraph at lines 9--17 + + [] + +[89]) (./_obj_loader_8hpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--15 + + [] + +) (./terrain_8cpp.tex [90] +Underfull \hbox (badness 10000) in paragraph at lines 9--29 + + [] + +[91] [92] +Underfull \vbox (badness 10000) detected at line 212 + [] + + +Underfull \vbox (badness 10000) detected at line 243 + [] + +[93]) (./vec_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--12 + + [] + +[94]) (./refman.ind [95] [96 + +] [97] [98] [99] [100 + +]) +Package atveryend Info: Empty hook `BeforeClearDocument' on input line 120. +Package atveryend Info: Empty hook `AfterLastShipout' on input line 120. + (./refman.aux) +Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 120. +Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 120. +Package rerunfilecheck Info: File `refman.out' has not changed. +(rerunfilecheck) Checksum: 55DF2A73543D9B1DA12D9DB7AC14525C;44472. + + +LaTeX Font Warning: Some font shapes were not available, defaults substituted. + + +LaTeX Warning: There were undefined references. + + +LaTeX Warning: There were multiply-defined labels. + +Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 120. + ) +Here is how much of TeX's memory you used: + 16201 strings out of 495063 + 271978 string characters out of 3182194 + 314546 words of memory out of 3000000 + 17754 multiletter control sequences out of 15000+200000 + 84251 words of font info for 133 fonts, out of 3000000 for 9000 + 14 hyphenation exceptions out of 8191 + 41i,13n,58p,752b,535s stack positions out of 5000i,500n,10000p,200000b,50000s +pdfTeX warning (dest): name{vec_8cpp_source} has been referenced but does not + exist, replaced by a fixed one + +pdfTeX warning (dest): name{terrain_8cpp_source} has been referenced but does n +ot exist, replaced by a fixed one + +pdfTeX warning (dest): name{_obj_loader_8hpp_source} has been referenced but do +es not exist, replaced by a fixed one + +pdfTeX warning (dest): name{_obj_loader_8cpp_source} has been referenced but do +es not exist, replaced by a fixed one + +pdfTeX warning (dest): name{model_8hpp_source} has been referenced but does not + exist, replaced by a fixed one + +pdfTeX warning (dest): name{model_8cpp_source} has been referenced but does not + exist, replaced by a fixed one + +pdfTeX warning (dest): name{mat_8hpp_source} has been referenced but does not e +xist, replaced by a fixed one + +pdfTeX warning (dest): name{mat_8cpp_source} has been referenced but does not e +xist, replaced by a fixed one + +pdfTeX warning (dest): name{_kinect_inator_8hpp_source} has been referenced but + does not exist, replaced by a fixed one + +pdfTeX warning (dest): name{_kinect_inator_8cpp_source} has been referenced but + does not exist, replaced by a fixed one + +pdfTeX warning (dest): name{_init_shader_8hpp_source} has been referenced but d +oes not exist, replaced by a fixed one + +pdfTeX warning (dest): name{_init_shader_8cpp_source} has been referenced but d +oes not exist, replaced by a fixed one + +pdfTeX warning (dest): name{glut__callbacks_8h_source} has been referenced but +does not exist, replaced by a fixed one + +pdfTeX warning (dest): name{glut__callbacks_8cpp_source} has been referenced bu +t does not exist, replaced by a fixed one + +pdfTeX warning (dest): name{globals_8h_source} has been referenced but does not + exist, replaced by a fixed one + +pdfTeX warning (dest): name{_engine_8hpp_source} has been referenced but does n +ot exist, replaced by a fixed one + +pdfTeX warning (dest): name{_engine_8cpp_source} has been referenced but does n +ot exist, replaced by a fixed one + +pdfTeX warning (dest): name{ds_8cpp_source} has been referenced but does not ex +ist, replaced by a fixed one + +pdfTeX warning (dest): name{_cameras_8hpp_source} has been referenced but does +not exist, replaced by a fixed one + +pdfTeX warning (dest): name{_cameras_8cpp_source} has been referenced but does +not exist, replaced by a fixed one + +pdfTeX warning (dest): name{_camera_8hpp_source} has been referenced but does n +ot exist, replaced by a fixed one + +pdfTeX warning (dest): name{_camera_8cpp_source} has been referenced but does n +ot exist, replaced by a fixed one + +{/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc} +Output written on refman.pdf (112 pages, 421783 bytes). +PDF statistics: + 4792 PDF objects out of 5155 (max. 8388607) + 4605 compressed objects within 47 object streams + 1288 named destinations out of 1440 (max. 500000) + 2566 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/Doxygen/Docs/latex/refman.out b/Doxygen/Docs/latex/refman.out new file mode 100644 index 00000000..01c3fce7 --- /dev/null +++ b/Doxygen/Docs/latex/refman.out @@ -0,0 +1,315 @@ +\BOOKMARK [0][-]{chapter.1}{\376\377\000H\000i\000e\000r\000a\000r\000c\000h\000i\000c\000a\000l\000\040\000I\000n\000d\000e\000x}{}% 1 +\BOOKMARK [1][-]{section.1.1}{\376\377\000C\000l\000a\000s\000s\000\040\000H\000i\000e\000r\000a\000r\000c\000h\000y}{chapter.1}% 2 +\BOOKMARK [0][-]{chapter.2}{\376\377\000C\000l\000a\000s\000s\000\040\000I\000n\000d\000e\000x}{}% 3 +\BOOKMARK [1][-]{section.2.1}{\376\377\000C\000l\000a\000s\000s\000\040\000L\000i\000s\000t}{chapter.2}% 4 +\BOOKMARK [0][-]{chapter.3}{\376\377\000F\000i\000l\000e\000\040\000I\000n\000d\000e\000x}{}% 5 +\BOOKMARK [1][-]{section.3.1}{\376\377\000F\000i\000l\000e\000\040\000L\000i\000s\000t}{chapter.3}% 6 +\BOOKMARK [0][-]{chapter.4}{\376\377\000C\000l\000a\000s\000s\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{}% 7 +\BOOKMARK [1][-]{section.4.1}{\376\377\000C\000a\000m\000e\000r\000a\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 8 +\BOOKMARK [2][-]{subsection.4.1.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.1}% 9 +\BOOKMARK [2][-]{subsection.4.1.2}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000T\000y\000p\000e\000d\000e\000f\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.1}% 10 +\BOOKMARK [3][-]{subsubsection.4.1.2.1}{\376\377\000D\000i\000r\000e\000c\000t\000i\000o\000n}{subsection.4.1.2}% 11 +\BOOKMARK [3][-]{subsubsection.4.1.2.2}{\376\377\000U\000n\000i\000f\000o\000r\000m}{subsection.4.1.2}% 12 +\BOOKMARK [3][-]{subsubsection.4.1.2.3}{\376\377\000V\000i\000e\000w\000T\000y\000p\000e}{subsection.4.1.2}% 13 +\BOOKMARK [2][-]{subsection.4.1.3}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000E\000n\000u\000m\000e\000r\000a\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.1}% 14 +\BOOKMARK [3][-]{subsubsection.4.1.3.1}{\376\377\000D\000i\000r\000e\000c\000t\000i\000o\000n}{subsection.4.1.3}% 15 +\BOOKMARK [3][-]{subsubsection.4.1.3.2}{\376\377\000U\000n\000i\000f\000o\000r\000m\000s}{subsection.4.1.3}% 16 +\BOOKMARK [3][-]{subsubsection.4.1.3.3}{\376\377\000V\000i\000e\000w\000T\000y\000p\000e}{subsection.4.1.3}% 17 +\BOOKMARK [2][-]{subsection.4.1.4}{\376\377\000C\000o\000n\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000\046\000\040\000D\000e\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.1}% 18 +\BOOKMARK [3][-]{subsubsection.4.1.4.1}{\376\377\000C\000a\000m\000e\000r\000a}{subsection.4.1.4}% 19 +\BOOKMARK [3][-]{subsubsection.4.1.4.2}{\376\377\000C\000a\000m\000e\000r\000a}{subsection.4.1.4}% 20 +\BOOKMARK [3][-]{subsubsection.4.1.4.3}{\376\377\000C\000a\000m\000e\000r\000a}{subsection.4.1.4}% 21 +\BOOKMARK [3][-]{subsubsection.4.1.4.4}{\376\377\000C\000a\000m\000e\000r\000a}{subsection.4.1.4}% 22 +\BOOKMARK [2][-]{subsection.4.1.5}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.1}% 23 +\BOOKMARK [3][-]{subsubsection.4.1.5.1}{\376\377\000a\000c\000c\000e\000l}{subsection.4.1.5}% 24 +\BOOKMARK [3][-]{subsubsection.4.1.5.2}{\376\377\000a\000d\000j\000u\000s\000t\000F\000i\000e\000l\000d\000O\000f\000V\000i\000e\000w}{subsection.4.1.5}% 25 +\BOOKMARK [3][-]{subsubsection.4.1.5.3}{\376\377\000a\000d\000j\000u\000s\000t\000R\000o\000t\000a\000t\000i\000o\000n}{subsection.4.1.5}% 26 +\BOOKMARK [3][-]{subsubsection.4.1.5.4}{\376\377\000c\000h\000a\000n\000g\000e\000P\000e\000r\000s\000p\000e\000c\000t\000i\000v\000e}{subsection.4.1.5}% 27 +\BOOKMARK [3][-]{subsubsection.4.1.5.5}{\376\377\000c\000o\000m\000m\000o\000n\000I\000n\000i\000t}{subsection.4.1.5}% 28 +\BOOKMARK [3][-]{subsubsection.4.1.5.6}{\376\377\000D\000e\000l\000e\000t\000e\000O\000b\000j\000e\000c\000t}{subsection.4.1.5}% 29 +\BOOKMARK [3][-]{subsubsection.4.1.5.7}{\376\377\000d\000P\000o\000s}{subsection.4.1.5}% 30 +\BOOKMARK [3][-]{subsubsection.4.1.5.8}{\376\377\000d\000P\000o\000s}{subsection.4.1.5}% 31 +\BOOKMARK [3][-]{subsubsection.4.1.5.9}{\376\377\000d\000P\000o\000s}{subsection.4.1.5}% 32 +\BOOKMARK [3][-]{subsubsection.4.1.5.10}{\376\377\000d\000X}{subsection.4.1.5}% 33 +\BOOKMARK [3][-]{subsubsection.4.1.5.11}{\376\377\000d\000Y}{subsection.4.1.5}% 34 +\BOOKMARK [3][-]{subsubsection.4.1.5.12}{\376\377\000d\000Z}{subsection.4.1.5}% 35 +\BOOKMARK [3][-]{subsubsection.4.1.5.13}{\376\377\000f\000i\000e\000l\000d\000O\000f\000V\000i\000e\000w}{subsection.4.1.5}% 36 +\BOOKMARK [3][-]{subsubsection.4.1.5.14}{\376\377\000f\000i\000e\000l\000d\000O\000f\000V\000i\000e\000w}{subsection.4.1.5}% 37 +\BOOKMARK [3][-]{subsubsection.4.1.5.15}{\376\377\000G\000e\000t\000P\000o\000s\000i\000t\000i\000o\000n}{subsection.4.1.5}% 38 +\BOOKMARK [3][-]{subsubsection.4.1.5.16}{\376\377\000h\000e\000a\000v\000e}{subsection.4.1.5}% 39 +\BOOKMARK [3][-]{subsubsection.4.1.5.17}{\376\377\000i\000d\000l\000e}{subsection.4.1.5}% 40 +\BOOKMARK [3][-]{subsubsection.4.1.5.18}{\376\377\000m\000o\000v\000e}{subsection.4.1.5}% 41 +\BOOKMARK [3][-]{subsubsection.4.1.5.19}{\376\377\000p\000i\000t\000c\000h}{subsection.4.1.5}% 42 +\BOOKMARK [3][-]{subsubsection.4.1.5.20}{\376\377\000p\000o\000s}{subsection.4.1.5}% 43 +\BOOKMARK [3][-]{subsubsection.4.1.5.21}{\376\377\000p\000o\000s}{subsection.4.1.5}% 44 +\BOOKMARK [3][-]{subsubsection.4.1.5.22}{\376\377\000p\000o\000s}{subsection.4.1.5}% 45 +\BOOKMARK [3][-]{subsubsection.4.1.5.23}{\376\377\000p\000o\000s}{subsection.4.1.5}% 46 +\BOOKMARK [3][-]{subsubsection.4.1.5.24}{\376\377\000r\000e\000f\000r\000e\000s\000h\000P\000e\000r\000s\000p\000e\000c\000t\000i\000v\000e}{subsection.4.1.5}% 47 +\BOOKMARK [3][-]{subsubsection.4.1.5.25}{\376\377\000r\000e\000s\000e\000t\000R\000o\000t\000a\000t\000i\000o\000n}{subsection.4.1.5}% 48 +\BOOKMARK [3][-]{subsubsection.4.1.5.26}{\376\377\000r\000o\000l\000l}{subsection.4.1.5}% 49 +\BOOKMARK [3][-]{subsubsection.4.1.5.27}{\376\377\000s\000e\000n\000d}{subsection.4.1.5}% 50 +\BOOKMARK [3][-]{subsubsection.4.1.5.28}{\376\377\000S\000h\000a\000d\000e\000r}{subsection.4.1.5}% 51 +\BOOKMARK [3][-]{subsubsection.4.1.5.29}{\376\377\000S\000h\000a\000d\000e\000r}{subsection.4.1.5}% 52 +\BOOKMARK [3][-]{subsubsection.4.1.5.30}{\376\377\000s\000t\000o\000p}{subsection.4.1.5}% 53 +\BOOKMARK [3][-]{subsubsection.4.1.5.31}{\376\377\000s\000u\000r\000g\000e}{subsection.4.1.5}% 54 +\BOOKMARK [3][-]{subsubsection.4.1.5.32}{\376\377\000s\000w\000a\000y}{subsection.4.1.5}% 55 +\BOOKMARK [3][-]{subsubsection.4.1.5.33}{\376\377\000v\000i\000e\000w}{subsection.4.1.5}% 56 +\BOOKMARK [3][-]{subsubsection.4.1.5.34}{\376\377\000v\000i\000e\000w\000p\000o\000r\000t}{subsection.4.1.5}% 57 +\BOOKMARK [3][-]{subsubsection.4.1.5.35}{\376\377\000x}{subsection.4.1.5}% 58 +\BOOKMARK [3][-]{subsubsection.4.1.5.36}{\376\377\000x}{subsection.4.1.5}% 59 +\BOOKMARK [3][-]{subsubsection.4.1.5.37}{\376\377\000y}{subsection.4.1.5}% 60 +\BOOKMARK [3][-]{subsubsection.4.1.5.38}{\376\377\000y}{subsection.4.1.5}% 61 +\BOOKMARK [3][-]{subsubsection.4.1.5.39}{\376\377\000y\000a\000w}{subsection.4.1.5}% 62 +\BOOKMARK [3][-]{subsubsection.4.1.5.40}{\376\377\000z}{subsection.4.1.5}% 63 +\BOOKMARK [3][-]{subsubsection.4.1.5.41}{\376\377\000z}{subsection.4.1.5}% 64 +\BOOKMARK [2][-]{subsection.4.1.6}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000D\000a\000t\000a\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.1}% 65 +\BOOKMARK [3][-]{subsubsection.4.1.6.1}{\376\377\000\137\000a\000s\000p\000e\000c\000t\000R\000a\000t\000i\000o}{subsection.4.1.6}% 66 +\BOOKMARK [3][-]{subsubsection.4.1.6.2}{\376\377\000\137\000c\000t\000m}{subsection.4.1.6}% 67 +\BOOKMARK [3][-]{subsubsection.4.1.6.3}{\376\377\000\137\000c\000u\000r\000r\000e\000n\000t\000V\000i\000e\000w}{subsection.4.1.6}% 68 +\BOOKMARK [3][-]{subsubsection.4.1.6.4}{\376\377\000\137\000f\000o\000v\000y}{subsection.4.1.6}% 69 +\BOOKMARK [3][-]{subsubsection.4.1.6.5}{\376\377\000\137\000f\000r\000i\000c\000t\000i\000o\000n\000M\000a\000g\000n\000i\000t\000u\000d\000e}{subsection.4.1.6}% 70 +\BOOKMARK [3][-]{subsubsection.4.1.6.6}{\376\377\000\137\000m\000o\000t\000i\000o\000n}{subsection.4.1.6}% 71 +\BOOKMARK [3][-]{subsubsection.4.1.6.7}{\376\377\000\137\000s\000p\000e\000e\000d}{subsection.4.1.6}% 72 +\BOOKMARK [3][-]{subsubsection.4.1.6.8}{\376\377\000\137\000v\000e\000l\000o\000c\000i\000t\000y}{subsection.4.1.6}% 73 +\BOOKMARK [3][-]{subsubsection.4.1.6.9}{\376\377\000\137\000v\000i\000e\000w}{subsection.4.1.6}% 74 +\BOOKMARK [3][-]{subsubsection.4.1.6.10}{\376\377\000d\000r\000a\000w\000\137\000m\000o\000d\000e}{subsection.4.1.6}% 75 +\BOOKMARK [3][-]{subsubsection.4.1.6.11}{\376\377\000h\000a\000n\000d\000l\000e\000s}{subsection.4.1.6}% 76 +\BOOKMARK [3][-]{subsubsection.4.1.6.12}{\376\377\000n\000a\000m\000e}{subsection.4.1.6}% 77 +\BOOKMARK [3][-]{subsubsection.4.1.6.13}{\376\377\000v\000a\000o}{subsection.4.1.6}% 78 +\BOOKMARK [1][-]{section.4.2}{\376\377\000C\000a\000m\000e\000r\000a\000s\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 79 +\BOOKMARK [2][-]{subsection.4.2.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.2}% 80 +\BOOKMARK [2][-]{subsection.4.2.2}{\376\377\000C\000o\000n\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000\046\000\040\000D\000e\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.2}% 81 +\BOOKMARK [3][-]{subsubsection.4.2.2.1}{\376\377\000C\000a\000m\000e\000r\000a\000s}{subsection.4.2.2}% 82 +\BOOKMARK [3][-]{subsubsection.4.2.2.2}{\376\377\000C\000a\000m\000e\000r\000a\000s}{subsection.4.2.2}% 83 +\BOOKMARK [2][-]{subsection.4.2.3}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.2}% 84 +\BOOKMARK [3][-]{subsubsection.4.2.3.1}{\376\377\000a\000c\000t\000i\000v\000e}{subsection.4.2.3}% 85 +\BOOKMARK [3][-]{subsubsection.4.2.3.2}{\376\377\000a\000d\000d\000C\000a\000m\000e\000r\000a}{subsection.4.2.3}% 86 +\BOOKMARK [3][-]{subsubsection.4.2.3.3}{\376\377\000c\000a\000l\000c\000u\000l\000a\000t\000e\000V\000i\000e\000w\000p\000o\000r\000t\000s}{subsection.4.2.3}% 87 +\BOOKMARK [3][-]{subsubsection.4.2.3.4}{\376\377\000D\000e\000l\000e\000t\000e\000O\000b\000j\000e\000c\000t}{subsection.4.2.3}% 88 +\BOOKMARK [3][-]{subsubsection.4.2.3.5}{\376\377\000i\000d\000l\000e\000M\000o\000t\000i\000o\000n}{subsection.4.2.3}% 89 +\BOOKMARK [3][-]{subsubsection.4.2.3.6}{\376\377\000n\000e\000x\000t}{subsection.4.2.3}% 90 +\BOOKMARK [3][-]{subsubsection.4.2.3.7}{\376\377\000n\000u\000m\000C\000a\000m\000e\000r\000a\000s}{subsection.4.2.3}% 91 +\BOOKMARK [3][-]{subsubsection.4.2.3.8}{\376\377\000o\000b\000j\0002\000C\000a\000m}{subsection.4.2.3}% 92 +\BOOKMARK [3][-]{subsubsection.4.2.3.9}{\376\377\000p\000o\000p\000C\000a\000m\000e\000r\000a}{subsection.4.2.3}% 93 +\BOOKMARK [3][-]{subsubsection.4.2.3.10}{\376\377\000p\000r\000e\000v}{subsection.4.2.3}% 94 +\BOOKMARK [3][-]{subsubsection.4.2.3.11}{\376\377\000r\000e\000s\000i\000z\000e}{subsection.4.2.3}% 95 +\BOOKMARK [3][-]{subsubsection.4.2.3.12}{\376\377\000S\000h\000a\000d\000e\000r}{subsection.4.2.3}% 96 +\BOOKMARK [3][-]{subsubsection.4.2.3.13}{\376\377\000S\000h\000a\000d\000e\000r}{subsection.4.2.3}% 97 +\BOOKMARK [3][-]{subsubsection.4.2.3.14}{\376\377\000v\000i\000e\000w}{subsection.4.2.3}% 98 +\BOOKMARK [1][-]{section.4.3}{\376\377\000E\000n\000g\000i\000n\000e\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 99 +\BOOKMARK [2][-]{subsection.4.3.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.3}% 100 +\BOOKMARK [2][-]{subsection.4.3.2}{\376\377\000C\000o\000n\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000\046\000\040\000D\000e\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.3}% 101 +\BOOKMARK [3][-]{subsubsection.4.3.2.1}{\376\377\000E\000n\000g\000i\000n\000e}{subsection.4.3.2}% 102 +\BOOKMARK [3][-]{subsubsection.4.3.2.2}{\376\377\000E\000n\000g\000i\000n\000e}{subsection.4.3.2}% 103 +\BOOKMARK [2][-]{subsection.4.3.3}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.3}% 104 +\BOOKMARK [3][-]{subsubsection.4.3.3.1}{\376\377\000c\000a\000m\000s}{subsection.4.3.3}% 105 +\BOOKMARK [3][-]{subsubsection.4.3.3.2}{\376\377\000f\000l\000i\000p}{subsection.4.3.3}% 106 +\BOOKMARK [3][-]{subsubsection.4.3.3.3}{\376\377\000i\000n\000s\000t\000a\000n\000c\000e}{subsection.4.3.3}% 107 +\BOOKMARK [3][-]{subsubsection.4.3.3.4}{\376\377\000m\000a\000i\000n\000S\000c\000r\000e\000e\000n}{subsection.4.3.3}% 108 +\BOOKMARK [3][-]{subsubsection.4.3.3.5}{\376\377\000o\000p\000e\000r\000a\000t\000o\000r\000=}{subsection.4.3.3}% 109 +\BOOKMARK [3][-]{subsubsection.4.3.3.6}{\376\377\000o\000p\000t}{subsection.4.3.3}% 110 +\BOOKMARK [3][-]{subsubsection.4.3.3.7}{\376\377\000o\000p\000t}{subsection.4.3.3}% 111 +\BOOKMARK [3][-]{subsubsection.4.3.3.8}{\376\377\000r\000o\000o\000t\000S\000c\000e\000n\000e}{subsection.4.3.3}% 112 +\BOOKMARK [3][-]{subsubsection.4.3.3.9}{\376\377\000s\000e\000t}{subsection.4.3.3}% 113 +\BOOKMARK [1][-]{section.4.4}{\376\377\000T\000i\000e\000m\000S\000p\000e\000l\000c\000h\000k\000:\000:\000L\000u\000r\000n\0002\000S\000p\000i\000e\000l\000N\000u\000b\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 114 +\BOOKMARK [2][-]{subsection.4.4.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.4}% 115 +\BOOKMARK [1][-]{section.4.5}{\376\377\000A\000n\000g\000e\000l\000:\000:\000m\000a\000t\0002\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 116 +\BOOKMARK [2][-]{subsection.4.5.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.5}% 117 +\BOOKMARK [2][-]{subsection.4.5.2}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.5}% 118 +\BOOKMARK [3][-]{subsubsection.4.5.2.1}{\376\377\000o\000p\000e\000r\000a\000t\000o\000r}{subsection.4.5.2}% 119 +\BOOKMARK [2][-]{subsection.4.5.3}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000D\000a\000t\000a\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.5}% 120 +\BOOKMARK [3][-]{subsubsection.4.5.3.1}{\376\377\000\137\000m}{subsection.4.5.3}% 121 +\BOOKMARK [1][-]{section.4.6}{\376\377\000A\000n\000g\000e\000l\000:\000:\000m\000a\000t\0003\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 122 +\BOOKMARK [2][-]{subsection.4.6.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.6}% 123 +\BOOKMARK [1][-]{section.4.7}{\376\377\000A\000n\000g\000e\000l\000:\000:\000m\000a\000t\0004\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 124 +\BOOKMARK [2][-]{subsection.4.7.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.7}% 125 +\BOOKMARK [1][-]{section.4.8}{\376\377\000O\000b\000j\000e\000c\000t\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 126 +\BOOKMARK [2][-]{subsection.4.8.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.8}% 127 +\BOOKMARK [2][-]{subsection.4.8.2}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.8}% 128 +\BOOKMARK [3][-]{subsubsection.4.8.2.1}{\376\377\000D\000e\000l\000e\000t\000e\000O\000b\000j\000e\000c\000t}{subsection.4.8.2}% 129 +\BOOKMARK [3][-]{subsubsection.4.8.2.2}{\376\377\000G\000e\000t\000P\000o\000s\000i\000t\000i\000o\000n}{subsection.4.8.2}% 130 +\BOOKMARK [3][-]{subsubsection.4.8.2.3}{\376\377\000S\000h\000a\000d\000e\000r}{subsection.4.8.2}% 131 +\BOOKMARK [3][-]{subsubsection.4.8.2.4}{\376\377\000S\000h\000a\000d\000e\000r}{subsection.4.8.2}% 132 +\BOOKMARK [2][-]{subsection.4.8.3}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000D\000a\000t\000a\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.8}% 133 +\BOOKMARK [3][-]{subsubsection.4.8.3.1}{\376\377\000d\000r\000a\000w\000\137\000m\000o\000d\000e}{subsection.4.8.3}% 134 +\BOOKMARK [3][-]{subsubsection.4.8.3.2}{\376\377\000h\000a\000n\000d\000l\000e\000s}{subsection.4.8.3}% 135 +\BOOKMARK [3][-]{subsubsection.4.8.3.3}{\376\377\000n\000a\000m\000e}{subsection.4.8.3}% 136 +\BOOKMARK [3][-]{subsubsection.4.8.3.4}{\376\377\000v\000a\000o}{subsection.4.8.3}% 137 +\BOOKMARK [1][-]{section.4.9}{\376\377\000P\000a\000r\000t\000i\000c\000l\000e\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 138 +\BOOKMARK [2][-]{subsection.4.9.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.9}% 139 +\BOOKMARK [2][-]{subsection.4.9.2}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.9}% 140 +\BOOKMARK [3][-]{subsubsection.4.9.2.1}{\376\377\000D\000e\000l\000e\000t\000e\000O\000b\000j\000e\000c\000t}{subsection.4.9.2}% 141 +\BOOKMARK [3][-]{subsubsection.4.9.2.2}{\376\377\000G\000e\000t\000P\000o\000s\000i\000t\000i\000o\000n}{subsection.4.9.2}% 142 +\BOOKMARK [3][-]{subsubsection.4.9.2.3}{\376\377\000S\000h\000a\000d\000e\000r}{subsection.4.9.2}% 143 +\BOOKMARK [3][-]{subsubsection.4.9.2.4}{\376\377\000S\000h\000a\000d\000e\000r}{subsection.4.9.2}% 144 +\BOOKMARK [2][-]{subsection.4.9.3}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000D\000a\000t\000a\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.9}% 145 +\BOOKMARK [3][-]{subsubsection.4.9.3.1}{\376\377\000d\000r\000a\000w\000\137\000m\000o\000d\000e}{subsection.4.9.3}% 146 +\BOOKMARK [3][-]{subsubsection.4.9.3.2}{\376\377\000h\000a\000n\000d\000l\000e\000s}{subsection.4.9.3}% 147 +\BOOKMARK [3][-]{subsubsection.4.9.3.3}{\376\377\000n\000a\000m\000e}{subsection.4.9.3}% 148 +\BOOKMARK [3][-]{subsubsection.4.9.3.4}{\376\377\000v\000a\000o}{subsection.4.9.3}% 149 +\BOOKMARK [1][-]{section.4.10}{\376\377\000R\000o\000t\000M\000a\000t\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 150 +\BOOKMARK [2][-]{subsection.4.10.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.10}% 151 +\BOOKMARK [1][-]{section.4.11}{\376\377\000S\000c\000a\000l\000e\000M\000a\000t\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 152 +\BOOKMARK [2][-]{subsection.4.11.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.11}% 153 +\BOOKMARK [1][-]{section.4.12}{\376\377\000S\000c\000e\000n\000e\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 154 +\BOOKMARK [2][-]{subsection.4.12.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.12}% 155 +\BOOKMARK [2][-]{subsection.4.12.2}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.12}% 156 +\BOOKMARK [3][-]{subsubsection.4.12.2.1}{\376\377\000D\000e\000l\000e\000t\000e\000O\000b\000j\000e\000c\000t}{subsection.4.12.2}% 157 +\BOOKMARK [3][-]{subsubsection.4.12.2.2}{\376\377\000S\000h\000a\000d\000e\000r}{subsection.4.12.2}% 158 +\BOOKMARK [3][-]{subsubsection.4.12.2.3}{\376\377\000S\000h\000a\000d\000e\000r}{subsection.4.12.2}% 159 +\BOOKMARK [1][-]{section.4.13}{\376\377\000S\000c\000r\000e\000e\000n\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 160 +\BOOKMARK [2][-]{subsection.4.13.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.13}% 161 +\BOOKMARK [1][-]{section.4.14}{\376\377\000S\000p\000e\000l\000c\000h\000k\000C\000a\000m\000e\000r\000a\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 162 +\BOOKMARK [2][-]{subsection.4.14.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.14}% 163 +\BOOKMARK [1][-]{section.4.15}{\376\377\000T\000i\000m\000e\000r\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 164 +\BOOKMARK [2][-]{subsection.4.15.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.15}% 165 +\BOOKMARK [2][-]{subsection.4.15.2}{\376\377\000M\000e\000m\000b\000e\000r\000\040\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.4.15}% 166 +\BOOKMARK [3][-]{subsubsection.4.15.2.1}{\376\377\000D\000e\000l\000t\000a}{subsection.4.15.2}% 167 +\BOOKMARK [3][-]{subsubsection.4.15.2.2}{\376\377\000S\000c\000a\000l\000e}{subsection.4.15.2}% 168 +\BOOKMARK [3][-]{subsubsection.4.15.2.3}{\376\377\000T\000i\000c\000k}{subsection.4.15.2}% 169 +\BOOKMARK [3][-]{subsubsection.4.15.2.4}{\376\377\000T\000o\000c\000k}{subsection.4.15.2}% 170 +\BOOKMARK [1][-]{section.4.16}{\376\377\000T\000r\000a\000n\000s\000C\000a\000c\000h\000e\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 171 +\BOOKMARK [2][-]{subsection.4.16.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.16}% 172 +\BOOKMARK [1][-]{section.4.17}{\376\377\000T\000r\000a\000n\000s\000f\000o\000r\000m\000a\000t\000i\000o\000n\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 173 +\BOOKMARK [2][-]{subsection.4.17.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.17}% 174 +\BOOKMARK [1][-]{section.4.18}{\376\377\000T\000r\000a\000n\000s\000M\000a\000t\000\040\000C\000l\000a\000s\000s\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 175 +\BOOKMARK [2][-]{subsection.4.18.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.18}% 176 +\BOOKMARK [1][-]{section.4.19}{\376\377\000A\000n\000g\000e\000l\000:\000:\000v\000e\000c\0002\000\040\000S\000t\000r\000u\000c\000t\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 177 +\BOOKMARK [2][-]{subsection.4.19.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.19}% 178 +\BOOKMARK [1][-]{section.4.20}{\376\377\000A\000n\000g\000e\000l\000:\000:\000v\000e\000c\0003\000\040\000S\000t\000r\000u\000c\000t\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 179 +\BOOKMARK [2][-]{subsection.4.20.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.20}% 180 +\BOOKMARK [1][-]{section.4.21}{\376\377\000A\000n\000g\000e\000l\000:\000:\000v\000e\000c\0004\000\040\000S\000t\000r\000u\000c\000t\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 181 +\BOOKMARK [2][-]{subsection.4.21.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.21}% 182 +\BOOKMARK [1][-]{section.4.22}{\376\377\000w\000i\000i\000P\000o\000l\000l\000D\000a\000t\000a\000\040\000S\000t\000r\000u\000c\000t\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.4}% 183 +\BOOKMARK [2][-]{subsection.4.22.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.4.22}% 184 +\BOOKMARK [0][-]{chapter.5}{\376\377\000F\000i\000l\000e\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{}% 185 +\BOOKMARK [1][-]{section.5.1}{\376\377\000C\000a\000m\000e\000r\000a\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 186 +\BOOKMARK [2][-]{subsection.5.1.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.1}% 187 +\BOOKMARK [2][-]{subsection.5.1.2}{\376\377\000M\000a\000c\000r\000o\000\040\000D\000e\000f\000i\000n\000i\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.1}% 188 +\BOOKMARK [3][-]{subsubsection.5.1.2.1}{\376\377\000R\000O\000T\000A\000T\000E\000\137\000O\000F\000F\000S\000E\000T}{subsection.5.1.2}% 189 +\BOOKMARK [1][-]{section.5.2}{\376\377\000C\000a\000m\000e\000r\000a\000.\000h\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 190 +\BOOKMARK [2][-]{subsection.5.2.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.2}% 191 +\BOOKMARK [1][-]{section.5.3}{\376\377\000C\000a\000m\000e\000r\000a\000s\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 192 +\BOOKMARK [2][-]{subsection.5.3.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.3}% 193 +\BOOKMARK [1][-]{section.5.4}{\376\377\000C\000a\000m\000e\000r\000a\000s\000.\000h\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 194 +\BOOKMARK [2][-]{subsection.5.4.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.4}% 195 +\BOOKMARK [1][-]{section.5.5}{\376\377\000d\000s\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 196 +\BOOKMARK [2][-]{subsection.5.5.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.5}% 197 +\BOOKMARK [2][-]{subsection.5.5.2}{\376\377\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.5}% 198 +\BOOKMARK [3][-]{subsubsection.5.5.2.1}{\376\377\000m\000a\000i\000n}{subsection.5.5.2}% 199 +\BOOKMARK [1][-]{section.5.6}{\376\377\000E\000n\000g\000i\000n\000e\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 200 +\BOOKMARK [2][-]{subsection.5.6.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.6}% 201 +\BOOKMARK [1][-]{section.5.7}{\376\377\000E\000n\000g\000i\000n\000e\000.\000h\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 202 +\BOOKMARK [2][-]{subsection.5.7.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.7}% 203 +\BOOKMARK [1][-]{section.5.8}{\376\377\000g\000l\000o\000b\000a\000l\000s\000.\000h\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 204 +\BOOKMARK [2][-]{subsection.5.8.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.8}% 205 +\BOOKMARK [2][-]{subsection.5.8.2}{\376\377\000M\000a\000c\000r\000o\000\040\000D\000e\000f\000i\000n\000i\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.8}% 206 +\BOOKMARK [3][-]{subsubsection.5.8.2.1}{\376\377\000D\000E\000G\000R\000E\000E\000S\000\137\000T\000O\000\137\000R\000A\000D\000I\000A\000N\000S}{subsection.5.8.2}% 207 +\BOOKMARK [3][-]{subsubsection.5.8.2.2}{\376\377\000P\000O\000W\0005}{subsection.5.8.2}% 208 +\BOOKMARK [3][-]{subsubsection.5.8.2.3}{\376\377\000S\000Q\000R\000T\0002}{subsection.5.8.2}% 209 +\BOOKMARK [3][-]{subsubsection.5.8.2.4}{\376\377\000S\000Q\000R\000T\0003}{subsection.5.8.2}% 210 +\BOOKMARK [2][-]{subsection.5.8.3}{\376\377\000V\000a\000r\000i\000a\000b\000l\000e\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.8}% 211 +\BOOKMARK [3][-]{subsubsection.5.8.3.1}{\376\377\000P\000O\000S\000T\000M\000U\000L\000T}{subsection.5.8.3}% 212 +\BOOKMARK [3][-]{subsubsection.5.8.3.2}{\376\377\000P\000R\000E\000M\000U\000L\000T}{subsection.5.8.3}% 213 +\BOOKMARK [1][-]{section.5.9}{\376\377\000g\000l\000u\000t\000\137\000c\000a\000l\000l\000b\000a\000c\000k\000s\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 214 +\BOOKMARK [2][-]{subsection.5.9.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.9}% 215 +\BOOKMARK [2][-]{subsection.5.9.2}{\376\377\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.9}% 216 +\BOOKMARK [3][-]{subsubsection.5.9.2.1}{\376\377\000k\000e\000y\000b\000o\000a\000r\000d}{subsection.5.9.2}% 217 +\BOOKMARK [3][-]{subsubsection.5.9.2.2}{\376\377\000k\000e\000y\000b\000o\000a\000r\000d\000\137\000c\000t\000r\000l}{subsection.5.9.2}% 218 +\BOOKMARK [3][-]{subsubsection.5.9.2.3}{\376\377\000k\000e\000y\000l\000i\000f\000t}{subsection.5.9.2}% 219 +\BOOKMARK [3][-]{subsubsection.5.9.2.4}{\376\377\000m\000o\000u\000s\000e}{subsection.5.9.2}% 220 +\BOOKMARK [3][-]{subsubsection.5.9.2.5}{\376\377\000m\000o\000u\000s\000e\000l\000o\000o\000k}{subsection.5.9.2}% 221 +\BOOKMARK [3][-]{subsubsection.5.9.2.6}{\376\377\000m\000o\000u\000s\000e\000r\000o\000l\000l}{subsection.5.9.2}% 222 +\BOOKMARK [3][-]{subsubsection.5.9.2.7}{\376\377\000r\000e\000s\000i\000z\000e\000E\000v\000e\000n\000t}{subsection.5.9.2}% 223 +\BOOKMARK [1][-]{section.5.10}{\376\377\000g\000l\000u\000t\000\137\000c\000a\000l\000l\000b\000a\000c\000k\000s\000.\000h\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 224 +\BOOKMARK [2][-]{subsection.5.10.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.10}% 225 +\BOOKMARK [2][-]{subsection.5.10.2}{\376\377\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.10}% 226 +\BOOKMARK [3][-]{subsubsection.5.10.2.1}{\376\377\000k\000e\000y\000b\000o\000a\000r\000d}{subsection.5.10.2}% 227 +\BOOKMARK [3][-]{subsubsection.5.10.2.2}{\376\377\000k\000e\000y\000b\000o\000a\000r\000d\000\137\000c\000t\000r\000l}{subsection.5.10.2}% 228 +\BOOKMARK [3][-]{subsubsection.5.10.2.3}{\376\377\000k\000e\000y\000l\000i\000f\000t}{subsection.5.10.2}% 229 +\BOOKMARK [3][-]{subsubsection.5.10.2.4}{\376\377\000m\000o\000u\000s\000e}{subsection.5.10.2}% 230 +\BOOKMARK [3][-]{subsubsection.5.10.2.5}{\376\377\000m\000o\000u\000s\000e\000l\000o\000o\000k}{subsection.5.10.2}% 231 +\BOOKMARK [3][-]{subsubsection.5.10.2.6}{\376\377\000m\000o\000u\000s\000e\000r\000o\000l\000l}{subsection.5.10.2}% 232 +\BOOKMARK [3][-]{subsubsection.5.10.2.7}{\376\377\000r\000e\000s\000i\000z\000e\000E\000v\000e\000n\000t}{subsection.5.10.2}% 233 +\BOOKMARK [1][-]{section.5.11}{\376\377\000I\000n\000i\000t\000S\000h\000a\000d\000e\000r\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 234 +\BOOKMARK [2][-]{subsection.5.11.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.11}% 235 +\BOOKMARK [2][-]{subsection.5.11.2}{\376\377\000M\000a\000c\000r\000o\000\040\000D\000e\000f\000i\000n\000i\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.11}% 236 +\BOOKMARK [3][-]{subsubsection.5.11.2.1}{\376\377\000G\000E\000O\000M\000E\000T\000R\000Y\000\137\000V\000E\000R\000T\000I\000C\000E\000S\000\137\000O\000U\000T\000\137\000E\000X\000T}{subsection.5.11.2}% 237 +\BOOKMARK [3][-]{subsubsection.5.11.2.2}{\376\377\000G\000L\000\137\000G\000E\000O\000M\000E\000T\000R\000Y\000\137\000S\000H\000A\000D\000E\000R}{subsection.5.11.2}% 238 +\BOOKMARK [1][-]{section.5.12}{\376\377\000I\000n\000i\000t\000S\000h\000a\000d\000e\000r\000.\000h\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 239 +\BOOKMARK [2][-]{subsection.5.12.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.12}% 240 +\BOOKMARK [1][-]{section.5.13}{\376\377\000K\000i\000n\000e\000c\000t\000I\000n\000a\000t\000o\000r\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 241 +\BOOKMARK [2][-]{subsection.5.13.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.13}% 242 +\BOOKMARK [2][-]{subsection.5.13.2}{\376\377\000M\000a\000c\000r\000o\000\040\000D\000e\000f\000i\000n\000i\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.13}% 243 +\BOOKMARK [3][-]{subsubsection.5.13.2.1}{\376\377\000C\000H\000E\000C\000K\000\137\000R\000C}{subsection.5.13.2}% 244 +\BOOKMARK [1][-]{section.5.14}{\376\377\000K\000i\000n\000e\000c\000t\000I\000n\000a\000t\000o\000r\000.\000h\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 245 +\BOOKMARK [2][-]{subsection.5.14.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.14}% 246 +\BOOKMARK [1][-]{section.5.15}{\376\377\000m\000a\000t\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 247 +\BOOKMARK [2][-]{subsection.5.15.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.15}% 248 +\BOOKMARK [1][-]{section.5.16}{\376\377\000m\000a\000t\000.\000h\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 249 +\BOOKMARK [2][-]{subsection.5.16.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.16}% 250 +\BOOKMARK [2][-]{subsection.5.16.2}{\376\377\000M\000a\000c\000r\000o\000\040\000D\000e\000f\000i\000n\000i\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.16}% 251 +\BOOKMARK [3][-]{subsubsection.5.16.2.1}{\376\377\000E\000r\000r\000o\000r}{subsection.5.16.2}% 252 +\BOOKMARK [1][-]{section.5.17}{\376\377\000m\000o\000d\000e\000l\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 253 +\BOOKMARK [2][-]{subsection.5.17.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.17}% 254 +\BOOKMARK [2][-]{subsection.5.17.2}{\376\377\000M\000a\000c\000r\000o\000\040\000D\000e\000f\000i\000n\000i\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.17}% 255 +\BOOKMARK [3][-]{subsubsection.5.17.2.1}{\376\377\000Q\000U\000A\000D}{subsection.5.17.2}% 256 +\BOOKMARK [2][-]{subsection.5.17.3}{\376\377\000T\000y\000p\000e\000d\000e\000f\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.17}% 257 +\BOOKMARK [3][-]{subsubsection.5.17.3.1}{\376\377\000c\000o\000l\000o\000r\0004}{subsection.5.17.3}% 258 +\BOOKMARK [3][-]{subsubsection.5.17.3.2}{\376\377\000p\000o\000i\000n\000t\0004}{subsection.5.17.3}% 259 +\BOOKMARK [2][-]{subsection.5.17.4}{\376\377\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.17}% 260 +\BOOKMARK [3][-]{subsubsection.5.17.4.1}{\376\377\000c\000a\000l\000c\000N\000o\000r\000m\000a\000l}{subsection.5.17.4}% 261 +\BOOKMARK [3][-]{subsubsection.5.17.4.2}{\376\377\000c\000o\000l\000o\000r\000C\000u\000b\000e}{subsection.5.17.4}% 262 +\BOOKMARK [3][-]{subsubsection.5.17.4.3}{\376\377\000c\000r\000e\000a\000t\000e\000P\000o\000i\000n\000t}{subsection.5.17.4}% 263 +\BOOKMARK [3][-]{subsubsection.5.17.4.4}{\376\377\000c\000u\000b\000e}{subsection.5.17.4}% 264 +\BOOKMARK [3][-]{subsubsection.5.17.4.5}{\376\377\000d\000i\000v\000i\000d\000e\000T\000r\000i\000a\000n\000g\000l\000e}{subsection.5.17.4}% 265 +\BOOKMARK [3][-]{subsubsection.5.17.4.6}{\376\377\000j\000i\000t\000t\000e\000r}{subsection.5.17.4}% 266 +\BOOKMARK [3][-]{subsubsection.5.17.4.7}{\376\377\000l\000a\000n\000d\000G\000e\000n}{subsection.5.17.4}% 267 +\BOOKMARK [3][-]{subsubsection.5.17.4.8}{\376\377\000m\000a\000k\000e\000A\000g\000u\000a}{subsection.5.17.4}% 268 +\BOOKMARK [3][-]{subsubsection.5.17.4.9}{\376\377\000q\000u\000a\000d}{subsection.5.17.4}% 269 +\BOOKMARK [3][-]{subsubsection.5.17.4.10}{\376\377\000r\000a\000n\000d\000F\000l\000o\000a\000t}{subsection.5.17.4}% 270 +\BOOKMARK [3][-]{subsubsection.5.17.4.11}{\376\377\000r\000e\000c\000u\000r\000s\000i\000v\000e\000M\000o\000d\000e\000l\000G\000e\000n}{subsection.5.17.4}% 271 +\BOOKMARK [3][-]{subsubsection.5.17.4.12}{\376\377\000s\000i\000e\000r\000p\000i\000n\000s\000k\000i\000P\000y\000r\000a\000m\000i\000d}{subsection.5.17.4}% 272 +\BOOKMARK [3][-]{subsubsection.5.17.4.13}{\376\377\000s\000p\000h\000e\000r\000e}{subsection.5.17.4}% 273 +\BOOKMARK [3][-]{subsubsection.5.17.4.14}{\376\377\000t\000e\000t\000r\000a}{subsection.5.17.4}% 274 +\BOOKMARK [3][-]{subsubsection.5.17.4.15}{\376\377\000t\000r\000i\000a\000n\000g\000l\000e}{subsection.5.17.4}% 275 +\BOOKMARK [3][-]{subsubsection.5.17.4.16}{\376\377\000u\000n\000i\000t}{subsection.5.17.4}% 276 +\BOOKMARK [1][-]{section.5.18}{\376\377\000m\000o\000d\000e\000l\000.\000h\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 277 +\BOOKMARK [2][-]{subsection.5.18.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.18}% 278 +\BOOKMARK [2][-]{subsection.5.18.2}{\376\377\000T\000y\000p\000e\000d\000e\000f\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.18}% 279 +\BOOKMARK [3][-]{subsubsection.5.18.2.1}{\376\377\000c\000o\000l\000o\000r\0004}{subsection.5.18.2}% 280 +\BOOKMARK [3][-]{subsubsection.5.18.2.2}{\376\377\000p\000o\000i\000n\000t\0004}{subsection.5.18.2}% 281 +\BOOKMARK [2][-]{subsection.5.18.3}{\376\377\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.18}% 282 +\BOOKMARK [3][-]{subsubsection.5.18.3.1}{\376\377\000c\000o\000l\000o\000r\000C\000u\000b\000e}{subsection.5.18.3}% 283 +\BOOKMARK [3][-]{subsubsection.5.18.3.2}{\376\377\000c\000r\000e\000a\000t\000e\000P\000o\000i\000n\000t}{subsection.5.18.3}% 284 +\BOOKMARK [3][-]{subsubsection.5.18.3.3}{\376\377\000c\000u\000b\000e}{subsection.5.18.3}% 285 +\BOOKMARK [3][-]{subsubsection.5.18.3.4}{\376\377\000d\000i\000v\000i\000d\000e\000T\000r\000i\000a\000n\000g\000l\000e}{subsection.5.18.3}% 286 +\BOOKMARK [3][-]{subsubsection.5.18.3.5}{\376\377\000l\000a\000n\000d\000G\000e\000n}{subsection.5.18.3}% 287 +\BOOKMARK [3][-]{subsubsection.5.18.3.6}{\376\377\000m\000a\000k\000e\000A\000g\000u\000a}{subsection.5.18.3}% 288 +\BOOKMARK [3][-]{subsubsection.5.18.3.7}{\376\377\000q\000u\000a\000d}{subsection.5.18.3}% 289 +\BOOKMARK [3][-]{subsubsection.5.18.3.8}{\376\377\000r\000e\000c\000u\000r\000s\000i\000v\000e\000M\000o\000d\000e\000l\000G\000e\000n}{subsection.5.18.3}% 290 +\BOOKMARK [3][-]{subsubsection.5.18.3.9}{\376\377\000s\000i\000e\000r\000p\000i\000n\000s\000k\000i\000P\000y\000r\000a\000m\000i\000d}{subsection.5.18.3}% 291 +\BOOKMARK [3][-]{subsubsection.5.18.3.10}{\376\377\000s\000p\000h\000e\000r\000e}{subsection.5.18.3}% 292 +\BOOKMARK [3][-]{subsubsection.5.18.3.11}{\376\377\000t\000e\000t\000r\000a}{subsection.5.18.3}% 293 +\BOOKMARK [3][-]{subsubsection.5.18.3.12}{\376\377\000t\000r\000i\000a\000n\000g\000l\000e}{subsection.5.18.3}% 294 +\BOOKMARK [1][-]{section.5.19}{\376\377\000O\000b\000j\000L\000o\000a\000d\000e\000r\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 295 +\BOOKMARK [2][-]{subsection.5.19.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.19}% 296 +\BOOKMARK [2][-]{subsection.5.19.2}{\376\377\000M\000a\000c\000r\000o\000\040\000D\000e\000f\000i\000n\000i\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.19}% 297 +\BOOKMARK [3][-]{subsubsection.5.19.2.1}{\376\377\000R\000A\000N\000D\000\137\000F\000L\000O\000A\000T}{subsection.5.19.2}% 298 +\BOOKMARK [1][-]{section.5.20}{\376\377\000O\000b\000j\000L\000o\000a\000d\000e\000r\000.\000h\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 299 +\BOOKMARK [2][-]{subsection.5.20.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.20}% 300 +\BOOKMARK [1][-]{section.5.21}{\376\377\000t\000e\000r\000r\000a\000i\000n\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 301 +\BOOKMARK [2][-]{subsection.5.21.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.21}% 302 +\BOOKMARK [2][-]{subsection.5.21.2}{\376\377\000F\000u\000n\000c\000t\000i\000o\000n\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.21}% 303 +\BOOKMARK [3][-]{subsubsection.5.21.2.1}{\376\377\000c\000l\000e\000a\000n\000u\000p}{subsection.5.21.2}% 304 +\BOOKMARK [3][-]{subsubsection.5.21.2.2}{\376\377\000d\000i\000s\000p\000l\000a\000y}{subsection.5.21.2}% 305 +\BOOKMARK [3][-]{subsubsection.5.21.2.3}{\376\377\000d\000i\000s\000p\000l\000a\000y\000V\000i\000e\000w\000p\000o\000r\000t}{subsection.5.21.2}% 306 +\BOOKMARK [3][-]{subsubsection.5.21.2.4}{\376\377\000i\000n\000i\000t}{subsection.5.21.2}% 307 +\BOOKMARK [3][-]{subsubsection.5.21.2.5}{\376\377\000r\000a\000n\000d\000o\000m\000i\000z\000e\000\137\000t\000e\000r\000r\000a\000i\000n}{subsection.5.21.2}% 308 +\BOOKMARK [3][-]{subsubsection.5.21.2.6}{\376\377\000T\000e\000r\000r\000a\000i\000n\000G\000e\000n\000e\000r\000a\000t\000i\000o\000n\000A\000n\000i\000m\000a\000t\000i\000o\000n}{subsection.5.21.2}% 309 +\BOOKMARK [3][-]{subsubsection.5.21.2.7}{\376\377\000w\000i\000i\000l\000o\000o\000k}{subsection.5.21.2}% 310 +\BOOKMARK [2][-]{subsection.5.21.3}{\376\377\000V\000a\000r\000i\000a\000b\000l\000e\000\040\000D\000o\000c\000u\000m\000e\000n\000t\000a\000t\000i\000o\000n}{section.5.21}% 311 +\BOOKMARK [3][-]{subsubsection.5.21.3.1}{\376\377\000t\000e\000r\000r\000a\000i\000n\000T\000e\000x}{subsection.5.21.3}% 312 +\BOOKMARK [1][-]{section.5.22}{\376\377\000v\000e\000c\000.\000c\000p\000p\000\040\000F\000i\000l\000e\000\040\000R\000e\000f\000e\000r\000e\000n\000c\000e}{chapter.5}% 313 +\BOOKMARK [2][-]{subsection.5.22.1}{\376\377\000D\000e\000t\000a\000i\000l\000e\000d\000\040\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.5.22}% 314 +\BOOKMARK [-1][-]{subsection.5.22.1}{\376\377\000I\000n\000d\000e\000x}{}% 315 diff --git a/Doxygen/Docs/latex/refman.pdf b/Doxygen/Docs/latex/refman.pdf new file mode 100644 index 00000000..d68fbb8d Binary files /dev/null and b/Doxygen/Docs/latex/refman.pdf differ diff --git a/Doxygen/Docs/latex/refman.tex b/Doxygen/Docs/latex/refman.tex new file mode 100644 index 00000000..5ae8daf8 --- /dev/null +++ b/Doxygen/Docs/latex/refman.tex @@ -0,0 +1,154 @@ +\documentclass{book} +\usepackage[a4paper,top=2.5cm,bottom=2.5cm,left=2.5cm,right=2.5cm]{geometry} +\usepackage{makeidx} +\usepackage{natbib} +\usepackage{graphicx} +\usepackage{multicol} +\usepackage{float} +\usepackage{listings} +\usepackage{color} +\usepackage{ifthen} +\usepackage[table]{xcolor} +\usepackage{textcomp} +\usepackage{alltt} +\usepackage{ifpdf} +\ifpdf +\usepackage[pdftex, + pagebackref=true, + colorlinks=true, + linkcolor=blue, + unicode + ]{hyperref} +\else +\usepackage[ps2pdf, + pagebackref=true, + colorlinks=true, + linkcolor=blue, + unicode + ]{hyperref} +\usepackage{pspicture} +\fi +\usepackage[utf8]{inputenc} +\usepackage{mathptmx} +\usepackage[scaled=.90]{helvet} +\usepackage{courier} +\usepackage{sectsty} +\usepackage{amssymb} +\usepackage[titles]{tocloft} +\usepackage{doxygen} +\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=4,numbers=left } +\makeindex +\setcounter{tocdepth}{3} +\renewcommand{\footrulewidth}{0.4pt} +\renewcommand{\familydefault}{\sfdefault} +\hfuzz=15pt +\setlength{\emergencystretch}{15pt} +\hbadness=750 +\tolerance=750 +\begin{document} +\hypersetup{pageanchor=false,citecolor=blue} +\begin{titlepage} +\vspace*{7cm} +\begin{center} +{\Large Hyper\-Grafx \\[1ex]\large 31337 }\\ +\vspace*{1cm} +{\large Generated by Doxygen 1.8.1.2}\\ +\vspace*{0.5cm} +{\small Fri Mar 29 2013 18:41:22}\\ +\end{center} +\end{titlepage} +\clearemptydoublepage +\pagenumbering{roman} +\tableofcontents +\clearemptydoublepage +\pagenumbering{arabic} +\hypersetup{pageanchor=true,citecolor=blue} +\chapter{Class Index} +\input{hierarchy} +\chapter{Class Index} +\input{annotated} +\chapter{File Index} +\input{files} +\chapter{Class Documentation} +\input{class_camera} +\input{class_cameras} +\input{class_engine} +\input{class_tiem_spelchk_1_1_lurn2_spiel_nub} +\input{class_angel_1_1mat2} +\input{class_angel_1_1mat3} +\input{class_angel_1_1mat4} +\input{class_object} +\input{class_particle} +\input{class_particle_system} +\input{class_rot_mat} +\input{class_scale_mat} +\input{class_scene} +\input{class_screen} +\input{class_spelchk_camera} +\input{class_texture} +\input{class_timer} +\input{class_trans_cache} +\input{class_transformation} +\input{class_trans_mat} +\input{struct_angel_1_1vec2} +\input{struct_angel_1_1vec3} +\input{struct_angel_1_1vec4} +\input{struct_wii_poll_data} +\chapter{File Documentation} +\input{_camera_8cpp} +\input{_camera_8hpp} +\input{_cameras_8cpp} +\input{_cameras_8hpp} +\input{ds_8cpp} +\input{_engine_8cpp} +\input{_engine_8hpp} +\input{globals_8h} +\input{glut__callbacks_8cpp} +\input{glut__callbacks_8h} +\input{_init_shader_8cpp} +\input{_init_shader_8hpp} +\input{_kinect_inator_8cpp} +\input{_kinect_inator_8hpp} +\input{mat_8cpp} +\input{mat_8hpp} +\input{melt_8cpp} +\input{model_8cpp} +\input{model_8hpp} +\input{model_functions_8cpp} +\input{model_functions_8hpp} +\input{_m_o_n_o_l_i_t_h_8cpp} +\input{morphlite_8cpp} +\input{_object_8cpp} +\input{_object_8hpp} +\input{_obj_loader_8cpp} +\input{_obj_loader_8hpp} +\input{_open_g_l_8h} +\input{_particle_8cpp} +\input{_particle_8hpp} +\input{_particle_system_8cpp} +\input{_particle_system_8hpp} +\input{part_test_8cpp} +\input{platform_8h} +\input{raytrace1_8cpp} +\input{_scene_8cpp} +\input{_scene_8hpp} +\input{_screen_8cpp} +\input{_screen_8hpp} +\input{_spelchk_camera_8cpp} +\input{_spelchk_camera_8hpp} +\input{terrain_8cpp} +\input{_texture_8cpp} +\input{_texture_8hpp} +\input{_timer_8cpp} +\input{_timer_8hpp} +\input{_trans_cache_8cpp} +\input{_trans_cache_8hpp} +\input{_transformation_8cpp} +\input{_transformation_8hpp} +\input{vec_8cpp} +\input{vec_8hpp} +\input{_wii_util_8cpp} +\input{_wii_util_8h} +\input{zach_morph_demo_8cpp} +\printindex +\end{document} diff --git a/Doxygen/Docs/latex/refman.toc b/Doxygen/Docs/latex/refman.toc new file mode 100644 index 00000000..ca1015e8 --- /dev/null +++ b/Doxygen/Docs/latex/refman.toc @@ -0,0 +1,315 @@ +\contentsline {chapter}{\numberline {1}Hierarchical Index}{1}{chapter.1} +\contentsline {section}{\numberline {1.1}Class Hierarchy}{1}{section.1.1} +\contentsline {chapter}{\numberline {2}Class Index}{3}{chapter.2} +\contentsline {section}{\numberline {2.1}Class List}{3}{section.2.1} +\contentsline {chapter}{\numberline {3}File Index}{5}{chapter.3} +\contentsline {section}{\numberline {3.1}File List}{5}{section.3.1} +\contentsline {chapter}{\numberline {4}Class Documentation}{7}{chapter.4} +\contentsline {section}{\numberline {4.1}Camera Class Reference}{7}{section.4.1} +\contentsline {subsection}{\numberline {4.1.1}Detailed Description}{11}{subsection.4.1.1} +\contentsline {subsection}{\numberline {4.1.2}Member Typedef Documentation}{12}{subsection.4.1.2} +\contentsline {subsubsection}{\numberline {4.1.2.1}Direction}{12}{subsubsection.4.1.2.1} +\contentsline {subsubsection}{\numberline {4.1.2.2}Uniform}{12}{subsubsection.4.1.2.2} +\contentsline {subsubsection}{\numberline {4.1.2.3}View\discretionary {-}{}{}Type}{12}{subsubsection.4.1.2.3} +\contentsline {subsection}{\numberline {4.1.3}Member Enumeration Documentation}{12}{subsection.4.1.3} +\contentsline {subsubsection}{\numberline {4.1.3.1}Direction}{12}{subsubsection.4.1.3.1} +\contentsline {subsubsection}{\numberline {4.1.3.2}Uniforms}{12}{subsubsection.4.1.3.2} +\contentsline {subsubsection}{\numberline {4.1.3.3}View\discretionary {-}{}{}Type}{12}{subsubsection.4.1.3.3} +\contentsline {subsection}{\numberline {4.1.4}Constructor \& Destructor Documentation}{12}{subsection.4.1.4} +\contentsline {subsubsection}{\numberline {4.1.4.1}Camera}{12}{subsubsection.4.1.4.1} +\contentsline {subsubsection}{\numberline {4.1.4.2}Camera}{13}{subsubsection.4.1.4.2} +\contentsline {subsubsection}{\numberline {4.1.4.3}Camera}{13}{subsubsection.4.1.4.3} +\contentsline {subsubsection}{\numberline {4.1.4.4}$\sim $\discretionary {-}{}{}Camera}{13}{subsubsection.4.1.4.4} +\contentsline {subsection}{\numberline {4.1.5}Member Function Documentation}{13}{subsection.4.1.5} +\contentsline {subsubsection}{\numberline {4.1.5.1}accel}{13}{subsubsection.4.1.5.1} +\contentsline {subsubsection}{\numberline {4.1.5.2}adjust\discretionary {-}{}{}Field\discretionary {-}{}{}Of\discretionary {-}{}{}View}{14}{subsubsection.4.1.5.2} +\contentsline {subsubsection}{\numberline {4.1.5.3}adjust\discretionary {-}{}{}Rotation}{14}{subsubsection.4.1.5.3} +\contentsline {subsubsection}{\numberline {4.1.5.4}change\discretionary {-}{}{}Perspective}{14}{subsubsection.4.1.5.4} +\contentsline {subsubsection}{\numberline {4.1.5.5}common\discretionary {-}{}{}Init}{14}{subsubsection.4.1.5.5} +\contentsline {subsubsection}{\numberline {4.1.5.6}Delete\discretionary {-}{}{}Object}{15}{subsubsection.4.1.5.6} +\contentsline {subsubsection}{\numberline {4.1.5.7}d\discretionary {-}{}{}Pos}{15}{subsubsection.4.1.5.7} +\contentsline {subsubsection}{\numberline {4.1.5.8}d\discretionary {-}{}{}Pos}{15}{subsubsection.4.1.5.8} +\contentsline {subsubsection}{\numberline {4.1.5.9}d\discretionary {-}{}{}Pos}{15}{subsubsection.4.1.5.9} +\contentsline {subsubsection}{\numberline {4.1.5.10}d\discretionary {-}{}{}X}{16}{subsubsection.4.1.5.10} +\contentsline {subsubsection}{\numberline {4.1.5.11}d\discretionary {-}{}{}Y}{16}{subsubsection.4.1.5.11} +\contentsline {subsubsection}{\numberline {4.1.5.12}d\discretionary {-}{}{}Z}{16}{subsubsection.4.1.5.12} +\contentsline {subsubsection}{\numberline {4.1.5.13}field\discretionary {-}{}{}Of\discretionary {-}{}{}View}{16}{subsubsection.4.1.5.13} +\contentsline {subsubsection}{\numberline {4.1.5.14}field\discretionary {-}{}{}Of\discretionary {-}{}{}View}{17}{subsubsection.4.1.5.14} +\contentsline {subsubsection}{\numberline {4.1.5.15}Get\discretionary {-}{}{}Position}{17}{subsubsection.4.1.5.15} +\contentsline {subsubsection}{\numberline {4.1.5.16}heave}{17}{subsubsection.4.1.5.16} +\contentsline {subsubsection}{\numberline {4.1.5.17}idle}{17}{subsubsection.4.1.5.17} +\contentsline {subsubsection}{\numberline {4.1.5.18}move}{17}{subsubsection.4.1.5.18} +\contentsline {subsubsection}{\numberline {4.1.5.19}pitch}{18}{subsubsection.4.1.5.19} +\contentsline {subsubsection}{\numberline {4.1.5.20}pos}{18}{subsubsection.4.1.5.20} +\contentsline {subsubsection}{\numberline {4.1.5.21}pos}{18}{subsubsection.4.1.5.21} +\contentsline {subsubsection}{\numberline {4.1.5.22}pos}{19}{subsubsection.4.1.5.22} +\contentsline {subsubsection}{\numberline {4.1.5.23}pos}{19}{subsubsection.4.1.5.23} +\contentsline {subsubsection}{\numberline {4.1.5.24}refresh\discretionary {-}{}{}Perspective}{19}{subsubsection.4.1.5.24} +\contentsline {subsubsection}{\numberline {4.1.5.25}reset\discretionary {-}{}{}Rotation}{19}{subsubsection.4.1.5.25} +\contentsline {subsubsection}{\numberline {4.1.5.26}roll}{20}{subsubsection.4.1.5.26} +\contentsline {subsubsection}{\numberline {4.1.5.27}send}{20}{subsubsection.4.1.5.27} +\contentsline {subsubsection}{\numberline {4.1.5.28}Shader}{20}{subsubsection.4.1.5.28} +\contentsline {subsubsection}{\numberline {4.1.5.29}Shader}{20}{subsubsection.4.1.5.29} +\contentsline {subsubsection}{\numberline {4.1.5.30}stop}{21}{subsubsection.4.1.5.30} +\contentsline {subsubsection}{\numberline {4.1.5.31}surge}{21}{subsubsection.4.1.5.31} +\contentsline {subsubsection}{\numberline {4.1.5.32}sway}{21}{subsubsection.4.1.5.32} +\contentsline {subsubsection}{\numberline {4.1.5.33}view}{21}{subsubsection.4.1.5.33} +\contentsline {subsubsection}{\numberline {4.1.5.34}viewport}{22}{subsubsection.4.1.5.34} +\contentsline {subsubsection}{\numberline {4.1.5.35}x}{22}{subsubsection.4.1.5.35} +\contentsline {subsubsection}{\numberline {4.1.5.36}x}{22}{subsubsection.4.1.5.36} +\contentsline {subsubsection}{\numberline {4.1.5.37}y}{22}{subsubsection.4.1.5.37} +\contentsline {subsubsection}{\numberline {4.1.5.38}y}{23}{subsubsection.4.1.5.38} +\contentsline {subsubsection}{\numberline {4.1.5.39}yaw}{23}{subsubsection.4.1.5.39} +\contentsline {subsubsection}{\numberline {4.1.5.40}z}{23}{subsubsection.4.1.5.40} +\contentsline {subsubsection}{\numberline {4.1.5.41}z}{23}{subsubsection.4.1.5.41} +\contentsline {subsection}{\numberline {4.1.6}Member Data Documentation}{24}{subsection.4.1.6} +\contentsline {subsubsection}{\numberline {4.1.6.1}\discretionary {-}{}{}\_\discretionary {-}{}{}aspect\discretionary {-}{}{}Ratio}{24}{subsubsection.4.1.6.1} +\contentsline {subsubsection}{\numberline {4.1.6.2}\discretionary {-}{}{}\_\discretionary {-}{}{}ctm}{24}{subsubsection.4.1.6.2} +\contentsline {subsubsection}{\numberline {4.1.6.3}\discretionary {-}{}{}\_\discretionary {-}{}{}current\discretionary {-}{}{}View}{24}{subsubsection.4.1.6.3} +\contentsline {subsubsection}{\numberline {4.1.6.4}\discretionary {-}{}{}\_\discretionary {-}{}{}fovy}{24}{subsubsection.4.1.6.4} +\contentsline {subsubsection}{\numberline {4.1.6.5}\discretionary {-}{}{}\_\discretionary {-}{}{}friction\discretionary {-}{}{}Magnitude}{24}{subsubsection.4.1.6.5} +\contentsline {subsubsection}{\numberline {4.1.6.6}\discretionary {-}{}{}\_\discretionary {-}{}{}motion}{24}{subsubsection.4.1.6.6} +\contentsline {subsubsection}{\numberline {4.1.6.7}\discretionary {-}{}{}\_\discretionary {-}{}{}speed}{24}{subsubsection.4.1.6.7} +\contentsline {subsubsection}{\numberline {4.1.6.8}\discretionary {-}{}{}\_\discretionary {-}{}{}velocity}{24}{subsubsection.4.1.6.8} +\contentsline {subsubsection}{\numberline {4.1.6.9}\discretionary {-}{}{}\_\discretionary {-}{}{}view}{24}{subsubsection.4.1.6.9} +\contentsline {subsubsection}{\numberline {4.1.6.10}draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}{25}{subsubsection.4.1.6.10} +\contentsline {subsubsection}{\numberline {4.1.6.11}handles}{25}{subsubsection.4.1.6.11} +\contentsline {subsubsection}{\numberline {4.1.6.12}name}{25}{subsubsection.4.1.6.12} +\contentsline {subsubsection}{\numberline {4.1.6.13}vao}{25}{subsubsection.4.1.6.13} +\contentsline {section}{\numberline {4.2}Cameras Class Reference}{25}{section.4.2} +\contentsline {subsection}{\numberline {4.2.1}Detailed Description}{27}{subsection.4.2.1} +\contentsline {subsection}{\numberline {4.2.2}Constructor \& Destructor Documentation}{27}{subsection.4.2.2} +\contentsline {subsubsection}{\numberline {4.2.2.1}Cameras}{27}{subsubsection.4.2.2.1} +\contentsline {subsubsection}{\numberline {4.2.2.2}$\sim $\discretionary {-}{}{}Cameras}{27}{subsubsection.4.2.2.2} +\contentsline {subsection}{\numberline {4.2.3}Member Function Documentation}{27}{subsection.4.2.3} +\contentsline {subsubsection}{\numberline {4.2.3.1}active}{27}{subsubsection.4.2.3.1} +\contentsline {subsubsection}{\numberline {4.2.3.2}add\discretionary {-}{}{}Camera}{27}{subsubsection.4.2.3.2} +\contentsline {subsubsection}{\numberline {4.2.3.3}calculate\discretionary {-}{}{}Viewports}{28}{subsubsection.4.2.3.3} +\contentsline {subsubsection}{\numberline {4.2.3.4}Delete\discretionary {-}{}{}Object}{28}{subsubsection.4.2.3.4} +\contentsline {subsubsection}{\numberline {4.2.3.5}idle\discretionary {-}{}{}Motion}{28}{subsubsection.4.2.3.5} +\contentsline {subsubsection}{\numberline {4.2.3.6}next}{28}{subsubsection.4.2.3.6} +\contentsline {subsubsection}{\numberline {4.2.3.7}num\discretionary {-}{}{}Cameras}{28}{subsubsection.4.2.3.7} +\contentsline {subsubsection}{\numberline {4.2.3.8}obj2\discretionary {-}{}{}Cam}{29}{subsubsection.4.2.3.8} +\contentsline {subsubsection}{\numberline {4.2.3.9}pop\discretionary {-}{}{}Camera}{29}{subsubsection.4.2.3.9} +\contentsline {subsubsection}{\numberline {4.2.3.10}prev}{29}{subsubsection.4.2.3.10} +\contentsline {subsubsection}{\numberline {4.2.3.11}resize}{29}{subsubsection.4.2.3.11} +\contentsline {subsubsection}{\numberline {4.2.3.12}Shader}{30}{subsubsection.4.2.3.12} +\contentsline {subsubsection}{\numberline {4.2.3.13}Shader}{30}{subsubsection.4.2.3.13} +\contentsline {subsubsection}{\numberline {4.2.3.14}view}{30}{subsubsection.4.2.3.14} +\contentsline {section}{\numberline {4.3}Engine Class Reference}{30}{section.4.3} +\contentsline {subsection}{\numberline {4.3.1}Detailed Description}{32}{subsection.4.3.1} +\contentsline {subsection}{\numberline {4.3.2}Constructor \& Destructor Documentation}{32}{subsection.4.3.2} +\contentsline {subsubsection}{\numberline {4.3.2.1}Engine}{32}{subsubsection.4.3.2.1} +\contentsline {subsubsection}{\numberline {4.3.2.2}Engine}{32}{subsubsection.4.3.2.2} +\contentsline {subsection}{\numberline {4.3.3}Member Function Documentation}{32}{subsection.4.3.3} +\contentsline {subsubsection}{\numberline {4.3.3.1}cams}{32}{subsubsection.4.3.3.1} +\contentsline {subsubsection}{\numberline {4.3.3.2}flip}{33}{subsubsection.4.3.3.2} +\contentsline {subsubsection}{\numberline {4.3.3.3}instance}{33}{subsubsection.4.3.3.3} +\contentsline {subsubsection}{\numberline {4.3.3.4}main\discretionary {-}{}{}Screen}{33}{subsubsection.4.3.3.4} +\contentsline {subsubsection}{\numberline {4.3.3.5}operator=}{33}{subsubsection.4.3.3.5} +\contentsline {subsubsection}{\numberline {4.3.3.6}opt}{34}{subsubsection.4.3.3.6} +\contentsline {subsubsection}{\numberline {4.3.3.7}opt}{34}{subsubsection.4.3.3.7} +\contentsline {subsubsection}{\numberline {4.3.3.8}root\discretionary {-}{}{}Scene}{34}{subsubsection.4.3.3.8} +\contentsline {subsubsection}{\numberline {4.3.3.9}set}{34}{subsubsection.4.3.3.9} +\contentsline {section}{\numberline {4.4}Tiem\discretionary {-}{}{}Spelchk\discretionary {-}{}{}:\discretionary {-}{}{}:Lurn2\discretionary {-}{}{}Spiel\discretionary {-}{}{}Nub Class Reference}{35}{section.4.4} +\contentsline {subsection}{\numberline {4.4.1}Detailed Description}{35}{subsection.4.4.1} +\contentsline {section}{\numberline {4.5}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:mat2 Class Reference}{36}{section.4.5} +\contentsline {subsection}{\numberline {4.5.1}Detailed Description}{36}{subsection.4.5.1} +\contentsline {subsection}{\numberline {4.5.2}Member Function Documentation}{37}{subsection.4.5.2} +\contentsline {subsubsection}{\numberline {4.5.2.1}operator$\ast $}{37}{subsubsection.4.5.2.1} +\contentsline {subsection}{\numberline {4.5.3}Member Data Documentation}{37}{subsection.4.5.3} +\contentsline {subsubsection}{\numberline {4.5.3.1}\discretionary {-}{}{}\_\discretionary {-}{}{}m}{37}{subsubsection.4.5.3.1} +\contentsline {section}{\numberline {4.6}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:mat3 Class Reference}{37}{section.4.6} +\contentsline {subsection}{\numberline {4.6.1}Detailed Description}{38}{subsection.4.6.1} +\contentsline {section}{\numberline {4.7}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:mat4 Class Reference}{38}{section.4.7} +\contentsline {subsection}{\numberline {4.7.1}Detailed Description}{39}{subsection.4.7.1} +\contentsline {section}{\numberline {4.8}Object Class Reference}{39}{section.4.8} +\contentsline {subsection}{\numberline {4.8.1}Detailed Description}{41}{subsection.4.8.1} +\contentsline {subsection}{\numberline {4.8.2}Member Function Documentation}{41}{subsection.4.8.2} +\contentsline {subsubsection}{\numberline {4.8.2.1}Delete\discretionary {-}{}{}Object}{41}{subsubsection.4.8.2.1} +\contentsline {subsubsection}{\numberline {4.8.2.2}Get\discretionary {-}{}{}Position}{41}{subsubsection.4.8.2.2} +\contentsline {subsubsection}{\numberline {4.8.2.3}Shader}{42}{subsubsection.4.8.2.3} +\contentsline {subsubsection}{\numberline {4.8.2.4}Shader}{42}{subsubsection.4.8.2.4} +\contentsline {subsection}{\numberline {4.8.3}Member Data Documentation}{42}{subsection.4.8.3} +\contentsline {subsubsection}{\numberline {4.8.3.1}draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}{42}{subsubsection.4.8.3.1} +\contentsline {subsubsection}{\numberline {4.8.3.2}handles}{42}{subsubsection.4.8.3.2} +\contentsline {subsubsection}{\numberline {4.8.3.3}name}{42}{subsubsection.4.8.3.3} +\contentsline {subsubsection}{\numberline {4.8.3.4}vao}{42}{subsubsection.4.8.3.4} +\contentsline {section}{\numberline {4.9}Particle Class Reference}{43}{section.4.9} +\contentsline {subsection}{\numberline {4.9.1}Detailed Description}{45}{subsection.4.9.1} +\contentsline {subsection}{\numberline {4.9.2}Member Function Documentation}{45}{subsection.4.9.2} +\contentsline {subsubsection}{\numberline {4.9.2.1}Delete\discretionary {-}{}{}Object}{45}{subsubsection.4.9.2.1} +\contentsline {subsubsection}{\numberline {4.9.2.2}Get\discretionary {-}{}{}Position}{46}{subsubsection.4.9.2.2} +\contentsline {subsubsection}{\numberline {4.9.2.3}Shader}{46}{subsubsection.4.9.2.3} +\contentsline {subsubsection}{\numberline {4.9.2.4}Shader}{46}{subsubsection.4.9.2.4} +\contentsline {subsection}{\numberline {4.9.3}Member Data Documentation}{46}{subsection.4.9.3} +\contentsline {subsubsection}{\numberline {4.9.3.1}draw\discretionary {-}{}{}\_\discretionary {-}{}{}mode}{46}{subsubsection.4.9.3.1} +\contentsline {subsubsection}{\numberline {4.9.3.2}handles}{46}{subsubsection.4.9.3.2} +\contentsline {subsubsection}{\numberline {4.9.3.3}name}{46}{subsubsection.4.9.3.3} +\contentsline {subsubsection}{\numberline {4.9.3.4}vao}{47}{subsubsection.4.9.3.4} +\contentsline {section}{\numberline {4.10}Rot\discretionary {-}{}{}Mat Class Reference}{47}{section.4.10} +\contentsline {subsection}{\numberline {4.10.1}Detailed Description}{47}{subsection.4.10.1} +\contentsline {section}{\numberline {4.11}Scale\discretionary {-}{}{}Mat Class Reference}{48}{section.4.11} +\contentsline {subsection}{\numberline {4.11.1}Detailed Description}{48}{subsection.4.11.1} +\contentsline {section}{\numberline {4.12}Scene Class Reference}{48}{section.4.12} +\contentsline {subsection}{\numberline {4.12.1}Detailed Description}{49}{subsection.4.12.1} +\contentsline {subsection}{\numberline {4.12.2}Member Function Documentation}{49}{subsection.4.12.2} +\contentsline {subsubsection}{\numberline {4.12.2.1}Delete\discretionary {-}{}{}Object}{49}{subsubsection.4.12.2.1} +\contentsline {subsubsection}{\numberline {4.12.2.2}Shader}{49}{subsubsection.4.12.2.2} +\contentsline {subsubsection}{\numberline {4.12.2.3}Shader}{50}{subsubsection.4.12.2.3} +\contentsline {section}{\numberline {4.13}Screen Class Reference}{50}{section.4.13} +\contentsline {subsection}{\numberline {4.13.1}Detailed Description}{51}{subsection.4.13.1} +\contentsline {section}{\numberline {4.14}Spelchk\discretionary {-}{}{}Camera Class Reference}{51}{section.4.14} +\contentsline {subsection}{\numberline {4.14.1}Detailed Description}{52}{subsection.4.14.1} +\contentsline {section}{\numberline {4.15}Timer Class Reference}{52}{section.4.15} +\contentsline {subsection}{\numberline {4.15.1}Detailed Description}{52}{subsection.4.15.1} +\contentsline {subsection}{\numberline {4.15.2}Member Function Documentation}{53}{subsection.4.15.2} +\contentsline {subsubsection}{\numberline {4.15.2.1}Delta}{53}{subsubsection.4.15.2.1} +\contentsline {subsubsection}{\numberline {4.15.2.2}Scale}{53}{subsubsection.4.15.2.2} +\contentsline {subsubsection}{\numberline {4.15.2.3}Tick}{53}{subsubsection.4.15.2.3} +\contentsline {subsubsection}{\numberline {4.15.2.4}Tock}{53}{subsubsection.4.15.2.4} +\contentsline {section}{\numberline {4.16}Trans\discretionary {-}{}{}Cache Class Reference}{54}{section.4.16} +\contentsline {subsection}{\numberline {4.16.1}Detailed Description}{54}{subsection.4.16.1} +\contentsline {section}{\numberline {4.17}Transformation Class Reference}{54}{section.4.17} +\contentsline {subsection}{\numberline {4.17.1}Detailed Description}{55}{subsection.4.17.1} +\contentsline {section}{\numberline {4.18}Trans\discretionary {-}{}{}Mat Class Reference}{55}{section.4.18} +\contentsline {subsection}{\numberline {4.18.1}Detailed Description}{55}{subsection.4.18.1} +\contentsline {section}{\numberline {4.19}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:vec2 Struct Reference}{56}{section.4.19} +\contentsline {subsection}{\numberline {4.19.1}Detailed Description}{56}{subsection.4.19.1} +\contentsline {section}{\numberline {4.20}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:vec3 Struct Reference}{56}{section.4.20} +\contentsline {subsection}{\numberline {4.20.1}Detailed Description}{57}{subsection.4.20.1} +\contentsline {section}{\numberline {4.21}Angel\discretionary {-}{}{}:\discretionary {-}{}{}:vec4 Struct Reference}{57}{section.4.21} +\contentsline {subsection}{\numberline {4.21.1}Detailed Description}{58}{subsection.4.21.1} +\contentsline {section}{\numberline {4.22}wii\discretionary {-}{}{}Poll\discretionary {-}{}{}Data Struct Reference}{58}{section.4.22} +\contentsline {subsection}{\numberline {4.22.1}Detailed Description}{58}{subsection.4.22.1} +\contentsline {chapter}{\numberline {5}File Documentation}{59}{chapter.5} +\contentsline {section}{\numberline {5.1}Camera.\discretionary {-}{}{}cpp File Reference}{59}{section.5.1} +\contentsline {subsection}{\numberline {5.1.1}Detailed Description}{59}{subsection.5.1.1} +\contentsline {subsection}{\numberline {5.1.2}Macro Definition Documentation}{60}{subsection.5.1.2} +\contentsline {subsubsection}{\numberline {5.1.2.1}R\discretionary {-}{}{}O\discretionary {-}{}{}T\discretionary {-}{}{}A\discretionary {-}{}{}T\discretionary {-}{}{}E\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}S\discretionary {-}{}{}E\discretionary {-}{}{}T}{60}{subsubsection.5.1.2.1} +\contentsline {section}{\numberline {5.2}Camera.\discretionary {-}{}{}hpp File Reference}{60}{section.5.2} +\contentsline {subsection}{\numberline {5.2.1}Detailed Description}{60}{subsection.5.2.1} +\contentsline {section}{\numberline {5.3}Cameras.\discretionary {-}{}{}cpp File Reference}{61}{section.5.3} +\contentsline {subsection}{\numberline {5.3.1}Detailed Description}{61}{subsection.5.3.1} +\contentsline {section}{\numberline {5.4}Cameras.\discretionary {-}{}{}hpp File Reference}{61}{section.5.4} +\contentsline {subsection}{\numberline {5.4.1}Detailed Description}{61}{subsection.5.4.1} +\contentsline {section}{\numberline {5.5}ds.\discretionary {-}{}{}cpp File Reference}{62}{section.5.5} +\contentsline {subsection}{\numberline {5.5.1}Detailed Description}{62}{subsection.5.5.1} +\contentsline {subsection}{\numberline {5.5.2}Function Documentation}{63}{subsection.5.5.2} +\contentsline {subsubsection}{\numberline {5.5.2.1}main}{63}{subsubsection.5.5.2.1} +\contentsline {section}{\numberline {5.6}Engine.\discretionary {-}{}{}cpp File Reference}{63}{section.5.6} +\contentsline {subsection}{\numberline {5.6.1}Detailed Description}{63}{subsection.5.6.1} +\contentsline {section}{\numberline {5.7}Engine.\discretionary {-}{}{}hpp File Reference}{64}{section.5.7} +\contentsline {subsection}{\numberline {5.7.1}Detailed Description}{64}{subsection.5.7.1} +\contentsline {section}{\numberline {5.8}globals.\discretionary {-}{}{}h File Reference}{64}{section.5.8} +\contentsline {subsection}{\numberline {5.8.1}Detailed Description}{65}{subsection.5.8.1} +\contentsline {subsection}{\numberline {5.8.2}Macro Definition Documentation}{65}{subsection.5.8.2} +\contentsline {subsubsection}{\numberline {5.8.2.1}D\discretionary {-}{}{}E\discretionary {-}{}{}G\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}T\discretionary {-}{}{}O\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}I\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}S}{65}{subsubsection.5.8.2.1} +\contentsline {subsubsection}{\numberline {5.8.2.2}P\discretionary {-}{}{}O\discretionary {-}{}{}W5}{65}{subsubsection.5.8.2.2} +\contentsline {subsubsection}{\numberline {5.8.2.3}S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T2}{65}{subsubsection.5.8.2.3} +\contentsline {subsubsection}{\numberline {5.8.2.4}S\discretionary {-}{}{}Q\discretionary {-}{}{}R\discretionary {-}{}{}T3}{66}{subsubsection.5.8.2.4} +\contentsline {subsection}{\numberline {5.8.3}Variable Documentation}{66}{subsection.5.8.3} +\contentsline {subsubsection}{\numberline {5.8.3.1}P\discretionary {-}{}{}O\discretionary {-}{}{}S\discretionary {-}{}{}T\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T}{66}{subsubsection.5.8.3.1} +\contentsline {subsubsection}{\numberline {5.8.3.2}P\discretionary {-}{}{}R\discretionary {-}{}{}E\discretionary {-}{}{}M\discretionary {-}{}{}U\discretionary {-}{}{}L\discretionary {-}{}{}T}{66}{subsubsection.5.8.3.2} +\contentsline {section}{\numberline {5.9}glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}cpp File Reference}{66}{section.5.9} +\contentsline {subsection}{\numberline {5.9.1}Detailed Description}{67}{subsection.5.9.1} +\contentsline {subsection}{\numberline {5.9.2}Function Documentation}{67}{subsection.5.9.2} +\contentsline {subsubsection}{\numberline {5.9.2.1}keyboard}{67}{subsubsection.5.9.2.1} +\contentsline {subsubsection}{\numberline {5.9.2.2}keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl}{67}{subsubsection.5.9.2.2} +\contentsline {subsubsection}{\numberline {5.9.2.3}keylift}{67}{subsubsection.5.9.2.3} +\contentsline {subsubsection}{\numberline {5.9.2.4}mouse}{68}{subsubsection.5.9.2.4} +\contentsline {subsubsection}{\numberline {5.9.2.5}mouselook}{68}{subsubsection.5.9.2.5} +\contentsline {subsubsection}{\numberline {5.9.2.6}mouseroll}{68}{subsubsection.5.9.2.6} +\contentsline {subsubsection}{\numberline {5.9.2.7}resize\discretionary {-}{}{}Event}{68}{subsubsection.5.9.2.7} +\contentsline {section}{\numberline {5.10}glut\discretionary {-}{}{}\_\discretionary {-}{}{}callbacks.\discretionary {-}{}{}h File Reference}{69}{section.5.10} +\contentsline {subsection}{\numberline {5.10.1}Detailed Description}{69}{subsection.5.10.1} +\contentsline {subsection}{\numberline {5.10.2}Function Documentation}{70}{subsection.5.10.2} +\contentsline {subsubsection}{\numberline {5.10.2.1}keyboard}{70}{subsubsection.5.10.2.1} +\contentsline {subsubsection}{\numberline {5.10.2.2}keyboard\discretionary {-}{}{}\_\discretionary {-}{}{}ctrl}{70}{subsubsection.5.10.2.2} +\contentsline {subsubsection}{\numberline {5.10.2.3}keylift}{70}{subsubsection.5.10.2.3} +\contentsline {subsubsection}{\numberline {5.10.2.4}mouse}{70}{subsubsection.5.10.2.4} +\contentsline {subsubsection}{\numberline {5.10.2.5}mouselook}{71}{subsubsection.5.10.2.5} +\contentsline {subsubsection}{\numberline {5.10.2.6}mouseroll}{71}{subsubsection.5.10.2.6} +\contentsline {subsubsection}{\numberline {5.10.2.7}resize\discretionary {-}{}{}Event}{71}{subsubsection.5.10.2.7} +\contentsline {section}{\numberline {5.11}Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}cpp File Reference}{71}{section.5.11} +\contentsline {subsection}{\numberline {5.11.1}Detailed Description}{72}{subsection.5.11.1} +\contentsline {subsection}{\numberline {5.11.2}Macro Definition Documentation}{72}{subsection.5.11.2} +\contentsline {subsubsection}{\numberline {5.11.2.1}G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}V\discretionary {-}{}{}E\discretionary {-}{}{}R\discretionary {-}{}{}T\discretionary {-}{}{}I\discretionary {-}{}{}C\discretionary {-}{}{}E\discretionary {-}{}{}S\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}O\discretionary {-}{}{}U\discretionary {-}{}{}T\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}E\discretionary {-}{}{}X\discretionary {-}{}{}T}{72}{subsubsection.5.11.2.1} +\contentsline {subsubsection}{\numberline {5.11.2.2}G\discretionary {-}{}{}L\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}G\discretionary {-}{}{}E\discretionary {-}{}{}O\discretionary {-}{}{}M\discretionary {-}{}{}E\discretionary {-}{}{}T\discretionary {-}{}{}R\discretionary {-}{}{}Y\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}S\discretionary {-}{}{}H\discretionary {-}{}{}A\discretionary {-}{}{}D\discretionary {-}{}{}E\discretionary {-}{}{}R}{72}{subsubsection.5.11.2.2} +\contentsline {section}{\numberline {5.12}Init\discretionary {-}{}{}Shader.\discretionary {-}{}{}hpp File Reference}{72}{section.5.12} +\contentsline {subsection}{\numberline {5.12.1}Detailed Description}{73}{subsection.5.12.1} +\contentsline {section}{\numberline {5.13}Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}cpp File Reference}{73}{section.5.13} +\contentsline {subsection}{\numberline {5.13.1}Detailed Description}{74}{subsection.5.13.1} +\contentsline {subsection}{\numberline {5.13.2}Macro Definition Documentation}{74}{subsection.5.13.2} +\contentsline {subsubsection}{\numberline {5.13.2.1}C\discretionary {-}{}{}H\discretionary {-}{}{}E\discretionary {-}{}{}C\discretionary {-}{}{}K\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}R\discretionary {-}{}{}C}{74}{subsubsection.5.13.2.1} +\contentsline {section}{\numberline {5.14}Kinect\discretionary {-}{}{}Inator.\discretionary {-}{}{}hpp File Reference}{74}{section.5.14} +\contentsline {subsection}{\numberline {5.14.1}Detailed Description}{75}{subsection.5.14.1} +\contentsline {section}{\numberline {5.15}mat.\discretionary {-}{}{}cpp File Reference}{75}{section.5.15} +\contentsline {subsection}{\numberline {5.15.1}Detailed Description}{76}{subsection.5.15.1} +\contentsline {section}{\numberline {5.16}mat.\discretionary {-}{}{}hpp File Reference}{76}{section.5.16} +\contentsline {subsection}{\numberline {5.16.1}Detailed Description}{77}{subsection.5.16.1} +\contentsline {subsection}{\numberline {5.16.2}Macro Definition Documentation}{77}{subsection.5.16.2} +\contentsline {subsubsection}{\numberline {5.16.2.1}Error}{77}{subsubsection.5.16.2.1} +\contentsline {section}{\numberline {5.17}model.\discretionary {-}{}{}cpp File Reference}{78}{section.5.17} +\contentsline {subsection}{\numberline {5.17.1}Detailed Description}{79}{subsection.5.17.1} +\contentsline {subsection}{\numberline {5.17.2}Macro Definition Documentation}{79}{subsection.5.17.2} +\contentsline {subsubsection}{\numberline {5.17.2.1}Q\discretionary {-}{}{}U\discretionary {-}{}{}A\discretionary {-}{}{}D}{79}{subsubsection.5.17.2.1} +\contentsline {subsection}{\numberline {5.17.3}Typedef Documentation}{80}{subsection.5.17.3} +\contentsline {subsubsection}{\numberline {5.17.3.1}color4}{80}{subsubsection.5.17.3.1} +\contentsline {subsubsection}{\numberline {5.17.3.2}point4}{80}{subsubsection.5.17.3.2} +\contentsline {subsection}{\numberline {5.17.4}Function Documentation}{80}{subsection.5.17.4} +\contentsline {subsubsection}{\numberline {5.17.4.1}calc\discretionary {-}{}{}Normal}{80}{subsubsection.5.17.4.1} +\contentsline {subsubsection}{\numberline {5.17.4.2}color\discretionary {-}{}{}Cube}{80}{subsubsection.5.17.4.2} +\contentsline {subsubsection}{\numberline {5.17.4.3}create\discretionary {-}{}{}Point}{80}{subsubsection.5.17.4.3} +\contentsline {subsubsection}{\numberline {5.17.4.4}cube}{81}{subsubsection.5.17.4.4} +\contentsline {subsubsection}{\numberline {5.17.4.5}divide\discretionary {-}{}{}Triangle}{81}{subsubsection.5.17.4.5} +\contentsline {subsubsection}{\numberline {5.17.4.6}jitter}{81}{subsubsection.5.17.4.6} +\contentsline {subsubsection}{\numberline {5.17.4.7}land\discretionary {-}{}{}Gen}{81}{subsubsection.5.17.4.7} +\contentsline {subsubsection}{\numberline {5.17.4.8}make\discretionary {-}{}{}Agua}{82}{subsubsection.5.17.4.8} +\contentsline {subsubsection}{\numberline {5.17.4.9}quad}{82}{subsubsection.5.17.4.9} +\contentsline {subsubsection}{\numberline {5.17.4.10}rand\discretionary {-}{}{}Float}{82}{subsubsection.5.17.4.10} +\contentsline {subsubsection}{\numberline {5.17.4.11}recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen}{82}{subsubsection.5.17.4.11} +\contentsline {subsubsection}{\numberline {5.17.4.12}sierpinski\discretionary {-}{}{}Pyramid}{83}{subsubsection.5.17.4.12} +\contentsline {subsubsection}{\numberline {5.17.4.13}sphere}{83}{subsubsection.5.17.4.13} +\contentsline {subsubsection}{\numberline {5.17.4.14}tetra}{83}{subsubsection.5.17.4.14} +\contentsline {subsubsection}{\numberline {5.17.4.15}triangle}{83}{subsubsection.5.17.4.15} +\contentsline {subsubsection}{\numberline {5.17.4.16}unit}{84}{subsubsection.5.17.4.16} +\contentsline {section}{\numberline {5.18}model.\discretionary {-}{}{}hpp File Reference}{84}{section.5.18} +\contentsline {subsection}{\numberline {5.18.1}Detailed Description}{85}{subsection.5.18.1} +\contentsline {subsection}{\numberline {5.18.2}Typedef Documentation}{85}{subsection.5.18.2} +\contentsline {subsubsection}{\numberline {5.18.2.1}color4}{85}{subsubsection.5.18.2.1} +\contentsline {subsubsection}{\numberline {5.18.2.2}point4}{85}{subsubsection.5.18.2.2} +\contentsline {subsection}{\numberline {5.18.3}Function Documentation}{85}{subsection.5.18.3} +\contentsline {subsubsection}{\numberline {5.18.3.1}color\discretionary {-}{}{}Cube}{85}{subsubsection.5.18.3.1} +\contentsline {subsubsection}{\numberline {5.18.3.2}create\discretionary {-}{}{}Point}{86}{subsubsection.5.18.3.2} +\contentsline {subsubsection}{\numberline {5.18.3.3}cube}{86}{subsubsection.5.18.3.3} +\contentsline {subsubsection}{\numberline {5.18.3.4}divide\discretionary {-}{}{}Triangle}{86}{subsubsection.5.18.3.4} +\contentsline {subsubsection}{\numberline {5.18.3.5}land\discretionary {-}{}{}Gen}{86}{subsubsection.5.18.3.5} +\contentsline {subsubsection}{\numberline {5.18.3.6}make\discretionary {-}{}{}Agua}{87}{subsubsection.5.18.3.6} +\contentsline {subsubsection}{\numberline {5.18.3.7}quad}{87}{subsubsection.5.18.3.7} +\contentsline {subsubsection}{\numberline {5.18.3.8}recursive\discretionary {-}{}{}Model\discretionary {-}{}{}Gen}{87}{subsubsection.5.18.3.8} +\contentsline {subsubsection}{\numberline {5.18.3.9}sierpinski\discretionary {-}{}{}Pyramid}{88}{subsubsection.5.18.3.9} +\contentsline {subsubsection}{\numberline {5.18.3.10}sphere}{88}{subsubsection.5.18.3.10} +\contentsline {subsubsection}{\numberline {5.18.3.11}tetra}{88}{subsubsection.5.18.3.11} +\contentsline {subsubsection}{\numberline {5.18.3.12}triangle}{88}{subsubsection.5.18.3.12} +\contentsline {section}{\numberline {5.19}Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}cpp File Reference}{89}{section.5.19} +\contentsline {subsection}{\numberline {5.19.1}Detailed Description}{89}{subsection.5.19.1} +\contentsline {subsection}{\numberline {5.19.2}Macro Definition Documentation}{90}{subsection.5.19.2} +\contentsline {subsubsection}{\numberline {5.19.2.1}R\discretionary {-}{}{}A\discretionary {-}{}{}N\discretionary {-}{}{}D\discretionary {-}{}{}\_\discretionary {-}{}{}\discretionary {-}{}{}F\discretionary {-}{}{}L\discretionary {-}{}{}O\discretionary {-}{}{}A\discretionary {-}{}{}T}{90}{subsubsection.5.19.2.1} +\contentsline {section}{\numberline {5.20}Obj\discretionary {-}{}{}Loader.\discretionary {-}{}{}hpp File Reference}{90}{section.5.20} +\contentsline {subsection}{\numberline {5.20.1}Detailed Description}{90}{subsection.5.20.1} +\contentsline {section}{\numberline {5.21}terrain.\discretionary {-}{}{}cpp File Reference}{91}{section.5.21} +\contentsline {subsection}{\numberline {5.21.1}Detailed Description}{92}{subsection.5.21.1} +\contentsline {subsection}{\numberline {5.21.2}Function Documentation}{92}{subsection.5.21.2} +\contentsline {subsubsection}{\numberline {5.21.2.1}cleanup}{92}{subsubsection.5.21.2.1} +\contentsline {subsubsection}{\numberline {5.21.2.2}display}{92}{subsubsection.5.21.2.2} +\contentsline {subsubsection}{\numberline {5.21.2.3}display\discretionary {-}{}{}Viewport}{92}{subsubsection.5.21.2.3} +\contentsline {subsubsection}{\numberline {5.21.2.4}init}{93}{subsubsection.5.21.2.4} +\contentsline {subsubsection}{\numberline {5.21.2.5}randomize\discretionary {-}{}{}\_\discretionary {-}{}{}terrain}{93}{subsubsection.5.21.2.5} +\contentsline {subsubsection}{\numberline {5.21.2.6}Terrain\discretionary {-}{}{}Generation\discretionary {-}{}{}Animation}{93}{subsubsection.5.21.2.6} +\contentsline {subsubsection}{\numberline {5.21.2.7}wiilook}{93}{subsubsection.5.21.2.7} +\contentsline {subsection}{\numberline {5.21.3}Variable Documentation}{94}{subsection.5.21.3} +\contentsline {subsubsection}{\numberline {5.21.3.1}terrain\discretionary {-}{}{}Tex}{94}{subsubsection.5.21.3.1} +\contentsline {section}{\numberline {5.22}vec.\discretionary {-}{}{}cpp File Reference}{94}{section.5.22} +\contentsline {subsection}{\numberline {5.22.1}Detailed Description}{94}{subsection.5.22.1} +\contentsline {part}{Index}{95}{subsection.5.22.1} diff --git a/Doxygen/Docs/latex/struct_angel_1_1vec2.tex b/Doxygen/Docs/latex/struct_angel_1_1vec2.tex new file mode 100644 index 00000000..1d8df434 --- /dev/null +++ b/Doxygen/Docs/latex/struct_angel_1_1vec2.tex @@ -0,0 +1,94 @@ +\hypertarget{struct_angel_1_1vec2}{\section{Angel\-:\-:vec2 Struct Reference} +\label{struct_angel_1_1vec2}\index{Angel\-::vec2@{Angel\-::vec2}} +} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{struct_angel_1_1vec2_ab2463ddb6aaaa67251004b90f03530fa}{{\bfseries vec2} (G\-Lfloat s=G\-Lfloat(0.\-0))}\label{struct_angel_1_1vec2_ab2463ddb6aaaa67251004b90f03530fa} + +\item +\hypertarget{struct_angel_1_1vec2_a8e55cc0bb681ca7a747721cab122d830}{{\bfseries vec2} (G\-Lfloat x, G\-Lfloat y)}\label{struct_angel_1_1vec2_a8e55cc0bb681ca7a747721cab122d830} + +\item +\hypertarget{struct_angel_1_1vec2_aa2ec5b81c4b97019486b0595db6f35a1}{{\bfseries vec2} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&v)}\label{struct_angel_1_1vec2_aa2ec5b81c4b97019486b0595db6f35a1} + +\item +\hypertarget{struct_angel_1_1vec2_a48235bf48a69717c273b72468d355244}{G\-Lfloat \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i)}\label{struct_angel_1_1vec2_a48235bf48a69717c273b72468d355244} + +\item +\hypertarget{struct_angel_1_1vec2_a83725a082bca8ea73a2171bb4596c1bd}{const G\-Lfloat {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i) const }\label{struct_angel_1_1vec2_a83725a082bca8ea73a2171bb4596c1bd} + +\item +\hypertarget{struct_angel_1_1vec2_a3b29693925c8026f75572dd13cefee5a}{\hyperlink{struct_angel_1_1vec2}{vec2} {\bfseries operator-\/} () const }\label{struct_angel_1_1vec2_a3b29693925c8026f75572dd13cefee5a} + +\item +\hypertarget{struct_angel_1_1vec2_a93606208e7b65d4bb8004f498b22934f}{\hyperlink{struct_angel_1_1vec2}{vec2} {\bfseries operator+} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&v) const }\label{struct_angel_1_1vec2_a93606208e7b65d4bb8004f498b22934f} + +\item +\hypertarget{struct_angel_1_1vec2_a2d3d52e1b4693fdb860c2ef246e0d4d8}{\hyperlink{struct_angel_1_1vec2}{vec2} {\bfseries operator-\/} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&v) const }\label{struct_angel_1_1vec2_a2d3d52e1b4693fdb860c2ef246e0d4d8} + +\item +\hypertarget{struct_angel_1_1vec2_ac5615b2494e3f8824f9fa127ba122b67}{\hyperlink{struct_angel_1_1vec2}{vec2} {\bfseries operator$\ast$} (const G\-Lfloat s) const }\label{struct_angel_1_1vec2_ac5615b2494e3f8824f9fa127ba122b67} + +\item +\hypertarget{struct_angel_1_1vec2_a3b4a9670b53342b870e3a14c8164c613}{\hyperlink{struct_angel_1_1vec2}{vec2} {\bfseries operator$\ast$} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&v) const }\label{struct_angel_1_1vec2_a3b4a9670b53342b870e3a14c8164c613} + +\item +\hypertarget{struct_angel_1_1vec2_a522a6aaa64c361b86f6c2469cbd8ca92}{\hyperlink{struct_angel_1_1vec2}{vec2} {\bfseries operator/} (const G\-Lfloat s) const }\label{struct_angel_1_1vec2_a522a6aaa64c361b86f6c2469cbd8ca92} + +\item +\hypertarget{struct_angel_1_1vec2_aaa3b17cab0a568002fd965ef65e91653}{\hyperlink{struct_angel_1_1vec2}{vec2} \& {\bfseries operator+=} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&v)}\label{struct_angel_1_1vec2_aaa3b17cab0a568002fd965ef65e91653} + +\item +\hypertarget{struct_angel_1_1vec2_ac48fa24fcdd901ab8748dda3361332f8}{\hyperlink{struct_angel_1_1vec2}{vec2} \& {\bfseries operator-\/=} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&v)}\label{struct_angel_1_1vec2_ac48fa24fcdd901ab8748dda3361332f8} + +\item +\hypertarget{struct_angel_1_1vec2_a999ce51805c3c25a9a03039f05ce1492}{\hyperlink{struct_angel_1_1vec2}{vec2} \& {\bfseries operator$\ast$=} (const G\-Lfloat s)}\label{struct_angel_1_1vec2_a999ce51805c3c25a9a03039f05ce1492} + +\item +\hypertarget{struct_angel_1_1vec2_a8580b24c22b17ac08ab32841dcf03f45}{\hyperlink{struct_angel_1_1vec2}{vec2} \& {\bfseries operator$\ast$=} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&v)}\label{struct_angel_1_1vec2_a8580b24c22b17ac08ab32841dcf03f45} + +\item +\hypertarget{struct_angel_1_1vec2_a6ea8be1d732aea09b0f3f16f61fa2ef7}{\hyperlink{struct_angel_1_1vec2}{vec2} \& {\bfseries operator/=} (const G\-Lfloat s)}\label{struct_angel_1_1vec2_a6ea8be1d732aea09b0f3f16f61fa2ef7} + +\item +\hypertarget{struct_angel_1_1vec2_a5c3d2082bcc18734fde3689dbc605104}{{\bfseries operator const G\-Lfloat $\ast$} () const }\label{struct_angel_1_1vec2_a5c3d2082bcc18734fde3689dbc605104} + +\item +\hypertarget{struct_angel_1_1vec2_a8989f46bc38bb87bc2f6ea81f66c8545}{{\bfseries operator G\-Lfloat $\ast$} ()}\label{struct_angel_1_1vec2_a8989f46bc38bb87bc2f6ea81f66c8545} + +\end{DoxyCompactItemize} +\subsection*{Public Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{struct_angel_1_1vec2_ab99b91871c08bbf76bf4a5e554ccac8f}{G\-Lfloat {\bfseries x}}\label{struct_angel_1_1vec2_ab99b91871c08bbf76bf4a5e554ccac8f} + +\item +\hypertarget{struct_angel_1_1vec2_a9f0e4c33e7884eca47d771ccfd4ea0bd}{G\-Lfloat {\bfseries y}}\label{struct_angel_1_1vec2_a9f0e4c33e7884eca47d771ccfd4ea0bd} + +\end{DoxyCompactItemize} +\subsection*{Friends} +\begin{DoxyCompactItemize} +\item +\hypertarget{struct_angel_1_1vec2_a1f371c4b26f86deb4d296dfff8ff1fc1}{\hyperlink{struct_angel_1_1vec2}{vec2} {\bfseries operator$\ast$} (const G\-Lfloat s, const \hyperlink{struct_angel_1_1vec2}{vec2} \&v)}\label{struct_angel_1_1vec2_a1f371c4b26f86deb4d296dfff8ff1fc1} + +\item +\hypertarget{struct_angel_1_1vec2_a5533e582fe94db90861caa394494f2cf}{std\-::ostream \& {\bfseries operator$<$$<$} (std\-::ostream \&os, const \hyperlink{struct_angel_1_1vec2}{vec2} \&v)}\label{struct_angel_1_1vec2_a5533e582fe94db90861caa394494f2cf} + +\item +\hypertarget{struct_angel_1_1vec2_af8cf130207f2cf5866ac13049e956c75}{std\-::istream \& {\bfseries operator$>$$>$} (std\-::istream \&is, \hyperlink{struct_angel_1_1vec2}{vec2} \&v)}\label{struct_angel_1_1vec2_af8cf130207f2cf5866ac13049e956c75} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +Definition at line 18 of file vec.\-hpp. + + + +The documentation for this struct was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{vec_8hpp}{vec.\-hpp}\item +\hyperlink{vec_8cpp}{vec.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/struct_angel_1_1vec3.tex b/Doxygen/Docs/latex/struct_angel_1_1vec3.tex new file mode 100644 index 00000000..7f9ca92c --- /dev/null +++ b/Doxygen/Docs/latex/struct_angel_1_1vec3.tex @@ -0,0 +1,100 @@ +\hypertarget{struct_angel_1_1vec3}{\section{Angel\-:\-:vec3 Struct Reference} +\label{struct_angel_1_1vec3}\index{Angel\-::vec3@{Angel\-::vec3}} +} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{struct_angel_1_1vec3_a420358f913d30a659761e3a86026cd59}{{\bfseries vec3} (G\-Lfloat s=G\-Lfloat(0.\-0))}\label{struct_angel_1_1vec3_a420358f913d30a659761e3a86026cd59} + +\item +\hypertarget{struct_angel_1_1vec3_a9970b9133cd349d038456ae7309fbeba}{{\bfseries vec3} (G\-Lfloat x, G\-Lfloat y, G\-Lfloat z)}\label{struct_angel_1_1vec3_a9970b9133cd349d038456ae7309fbeba} + +\item +\hypertarget{struct_angel_1_1vec3_a3af0b92e9cb01f0cda2f66c007e196c9}{{\bfseries vec3} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&v)}\label{struct_angel_1_1vec3_a3af0b92e9cb01f0cda2f66c007e196c9} + +\item +\hypertarget{struct_angel_1_1vec3_a597ff15b14f6bd9e75382525f6da00bd}{{\bfseries vec3} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&v, const float f)}\label{struct_angel_1_1vec3_a597ff15b14f6bd9e75382525f6da00bd} + +\item +\hypertarget{struct_angel_1_1vec3_a571e36d7c9542eb3464b8fde016d040d}{G\-Lfloat \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i)}\label{struct_angel_1_1vec3_a571e36d7c9542eb3464b8fde016d040d} + +\item +\hypertarget{struct_angel_1_1vec3_ad78e907775d490a69aa879a34e7dfe5c}{const G\-Lfloat {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i) const }\label{struct_angel_1_1vec3_ad78e907775d490a69aa879a34e7dfe5c} + +\item +\hypertarget{struct_angel_1_1vec3_a5ec954ef19e3d1ceed6ce25ebe32c3ee}{\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries operator-\/} () const }\label{struct_angel_1_1vec3_a5ec954ef19e3d1ceed6ce25ebe32c3ee} + +\item +\hypertarget{struct_angel_1_1vec3_a320586bc86a5abd0ac991a3e51485ef6}{\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries operator+} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&v) const }\label{struct_angel_1_1vec3_a320586bc86a5abd0ac991a3e51485ef6} + +\item +\hypertarget{struct_angel_1_1vec3_a947a9982285c993f79d8ab3afc4da2c8}{\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries operator-\/} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&v) const }\label{struct_angel_1_1vec3_a947a9982285c993f79d8ab3afc4da2c8} + +\item +\hypertarget{struct_angel_1_1vec3_aa2d45d74dee02720c82757f03263e8ae}{\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries operator$\ast$} (const G\-Lfloat s) const }\label{struct_angel_1_1vec3_aa2d45d74dee02720c82757f03263e8ae} + +\item +\hypertarget{struct_angel_1_1vec3_aa6709e55b49d756a9b00e038adc68438}{\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries operator$\ast$} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&v) const }\label{struct_angel_1_1vec3_aa6709e55b49d756a9b00e038adc68438} + +\item +\hypertarget{struct_angel_1_1vec3_ab072ed9282da0217c26b8dae2c6bf978}{\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries operator/} (const G\-Lfloat s) const }\label{struct_angel_1_1vec3_ab072ed9282da0217c26b8dae2c6bf978} + +\item +\hypertarget{struct_angel_1_1vec3_abe9f854bc044ab4461882c635b197102}{\hyperlink{struct_angel_1_1vec3}{vec3} \& {\bfseries operator+=} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&v)}\label{struct_angel_1_1vec3_abe9f854bc044ab4461882c635b197102} + +\item +\hypertarget{struct_angel_1_1vec3_ada518593451bbc8b9529ddd36284402f}{\hyperlink{struct_angel_1_1vec3}{vec3} \& {\bfseries operator-\/=} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&v)}\label{struct_angel_1_1vec3_ada518593451bbc8b9529ddd36284402f} + +\item +\hypertarget{struct_angel_1_1vec3_ab825bec2ce97dc35aa4835758ec51270}{\hyperlink{struct_angel_1_1vec3}{vec3} \& {\bfseries operator$\ast$=} (const G\-Lfloat s)}\label{struct_angel_1_1vec3_ab825bec2ce97dc35aa4835758ec51270} + +\item +\hypertarget{struct_angel_1_1vec3_a54e75f1d64f773d99f0d5e80b031142b}{\hyperlink{struct_angel_1_1vec3}{vec3} \& {\bfseries operator$\ast$=} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&v)}\label{struct_angel_1_1vec3_a54e75f1d64f773d99f0d5e80b031142b} + +\item +\hypertarget{struct_angel_1_1vec3_ae3ac03ba1ce7c8bbb8dfe07c7e0d06d9}{\hyperlink{struct_angel_1_1vec3}{vec3} \& {\bfseries operator/=} (const G\-Lfloat s)}\label{struct_angel_1_1vec3_ae3ac03ba1ce7c8bbb8dfe07c7e0d06d9} + +\item +\hypertarget{struct_angel_1_1vec3_a81f4a99d68722e756664907dcb07fb92}{{\bfseries operator const G\-Lfloat $\ast$} () const }\label{struct_angel_1_1vec3_a81f4a99d68722e756664907dcb07fb92} + +\item +\hypertarget{struct_angel_1_1vec3_ab92761f9bc4454117c1dd39a7d87c1b0}{{\bfseries operator G\-Lfloat $\ast$} ()}\label{struct_angel_1_1vec3_ab92761f9bc4454117c1dd39a7d87c1b0} + +\end{DoxyCompactItemize} +\subsection*{Public Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{struct_angel_1_1vec3_a758dbe298cc37615770c30a73066253d}{G\-Lfloat {\bfseries x}}\label{struct_angel_1_1vec3_a758dbe298cc37615770c30a73066253d} + +\item +\hypertarget{struct_angel_1_1vec3_a02608203e694798c3118d5b55a0e0048}{G\-Lfloat {\bfseries y}}\label{struct_angel_1_1vec3_a02608203e694798c3118d5b55a0e0048} + +\item +\hypertarget{struct_angel_1_1vec3_afa2e7231c4170ddedb556ef5f7941cbc}{G\-Lfloat {\bfseries z}}\label{struct_angel_1_1vec3_afa2e7231c4170ddedb556ef5f7941cbc} + +\end{DoxyCompactItemize} +\subsection*{Friends} +\begin{DoxyCompactItemize} +\item +\hypertarget{struct_angel_1_1vec3_a1d78982e3d5969f2e9f98a536cfea9f7}{\hyperlink{struct_angel_1_1vec3}{vec3} {\bfseries operator$\ast$} (const G\-Lfloat s, const \hyperlink{struct_angel_1_1vec3}{vec3} \&v)}\label{struct_angel_1_1vec3_a1d78982e3d5969f2e9f98a536cfea9f7} + +\item +\hypertarget{struct_angel_1_1vec3_a3e8f4856b29a4320f185f9a9cf0f94bc}{std\-::ostream \& {\bfseries operator$<$$<$} (std\-::ostream \&os, const \hyperlink{struct_angel_1_1vec3}{vec3} \&v)}\label{struct_angel_1_1vec3_a3e8f4856b29a4320f185f9a9cf0f94bc} + +\item +\hypertarget{struct_angel_1_1vec3_ab705d3337286a4262e84bbbb0b694a56}{std\-::istream \& {\bfseries operator$>$$>$} (std\-::istream \&is, \hyperlink{struct_angel_1_1vec3}{vec3} \&v)}\label{struct_angel_1_1vec3_ab705d3337286a4262e84bbbb0b694a56} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +Definition at line 63 of file vec.\-hpp. + + + +The documentation for this struct was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{vec_8hpp}{vec.\-hpp}\item +\hyperlink{vec_8cpp}{vec.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/struct_angel_1_1vec4.tex b/Doxygen/Docs/latex/struct_angel_1_1vec4.tex new file mode 100644 index 00000000..552a145c --- /dev/null +++ b/Doxygen/Docs/latex/struct_angel_1_1vec4.tex @@ -0,0 +1,106 @@ +\hypertarget{struct_angel_1_1vec4}{\section{Angel\-:\-:vec4 Struct Reference} +\label{struct_angel_1_1vec4}\index{Angel\-::vec4@{Angel\-::vec4}} +} +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{struct_angel_1_1vec4_afa13c9f342969e0ee740abbe3b7b8b4c}{{\bfseries vec4} (G\-Lfloat s=G\-Lfloat(0.\-0))}\label{struct_angel_1_1vec4_afa13c9f342969e0ee740abbe3b7b8b4c} + +\item +\hypertarget{struct_angel_1_1vec4_add0c2aa60bd9a4930c016fe08ffced70}{{\bfseries vec4} (G\-Lfloat x, G\-Lfloat y, G\-Lfloat z, G\-Lfloat w)}\label{struct_angel_1_1vec4_add0c2aa60bd9a4930c016fe08ffced70} + +\item +\hypertarget{struct_angel_1_1vec4_a72b386b6ebca67a90f47c12407e064f7}{{\bfseries vec4} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&v)}\label{struct_angel_1_1vec4_a72b386b6ebca67a90f47c12407e064f7} + +\item +\hypertarget{struct_angel_1_1vec4_a48f563362bfe698603c365cc400bd99a}{{\bfseries vec4} (const \hyperlink{struct_angel_1_1vec3}{vec3} \&v, const float w=1.\-0)}\label{struct_angel_1_1vec4_a48f563362bfe698603c365cc400bd99a} + +\item +\hypertarget{struct_angel_1_1vec4_a8ac0995f9bba4d859ec9c46ed8e5d492}{{\bfseries vec4} (const \hyperlink{struct_angel_1_1vec2}{vec2} \&v, const float z, const float w)}\label{struct_angel_1_1vec4_a8ac0995f9bba4d859ec9c46ed8e5d492} + +\item +\hypertarget{struct_angel_1_1vec4_a1dc1b7daa6d5684466deee1ef8267910}{G\-Lfloat \& {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i)}\label{struct_angel_1_1vec4_a1dc1b7daa6d5684466deee1ef8267910} + +\item +\hypertarget{struct_angel_1_1vec4_acc747bb9541dccb35a7953c91aa93ef9}{const G\-Lfloat {\bfseries operator\mbox{[}$\,$\mbox{]}} (int i) const }\label{struct_angel_1_1vec4_acc747bb9541dccb35a7953c91aa93ef9} + +\item +\hypertarget{struct_angel_1_1vec4_a7fbf327a3af8d45a22f6922993e71a03}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries operator-\/} () const }\label{struct_angel_1_1vec4_a7fbf327a3af8d45a22f6922993e71a03} + +\item +\hypertarget{struct_angel_1_1vec4_aa294368ad74207ccaf3d94a01fc48084}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries operator+} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&v) const }\label{struct_angel_1_1vec4_aa294368ad74207ccaf3d94a01fc48084} + +\item +\hypertarget{struct_angel_1_1vec4_a6355469f6b5dfd9aad1abdb72c909d22}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries operator-\/} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&v) const }\label{struct_angel_1_1vec4_a6355469f6b5dfd9aad1abdb72c909d22} + +\item +\hypertarget{struct_angel_1_1vec4_a92c877320dd47ffa15a0de898bd13638}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries operator$\ast$} (const G\-Lfloat s) const }\label{struct_angel_1_1vec4_a92c877320dd47ffa15a0de898bd13638} + +\item +\hypertarget{struct_angel_1_1vec4_add20f4c8f8e43a6efcc83a1aa8e1192a}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries operator$\ast$} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&v) const }\label{struct_angel_1_1vec4_add20f4c8f8e43a6efcc83a1aa8e1192a} + +\item +\hypertarget{struct_angel_1_1vec4_a2110d1ac08fe09e785640e8219af23cf}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries operator/} (const G\-Lfloat s) const }\label{struct_angel_1_1vec4_a2110d1ac08fe09e785640e8219af23cf} + +\item +\hypertarget{struct_angel_1_1vec4_acae5e90e375b8fe265c39d4fabbf134d}{\hyperlink{struct_angel_1_1vec4}{vec4} \& {\bfseries operator+=} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&v)}\label{struct_angel_1_1vec4_acae5e90e375b8fe265c39d4fabbf134d} + +\item +\hypertarget{struct_angel_1_1vec4_a2a861fc00ce40f6a6609ef631ddae21a}{\hyperlink{struct_angel_1_1vec4}{vec4} \& {\bfseries operator-\/=} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&v)}\label{struct_angel_1_1vec4_a2a861fc00ce40f6a6609ef631ddae21a} + +\item +\hypertarget{struct_angel_1_1vec4_aab6ea06360d12b1e2962d6c4ea4dc639}{\hyperlink{struct_angel_1_1vec4}{vec4} \& {\bfseries operator$\ast$=} (const G\-Lfloat s)}\label{struct_angel_1_1vec4_aab6ea06360d12b1e2962d6c4ea4dc639} + +\item +\hypertarget{struct_angel_1_1vec4_a2035c8e93278408c05404b713346d92d}{\hyperlink{struct_angel_1_1vec4}{vec4} \& {\bfseries operator$\ast$=} (const \hyperlink{struct_angel_1_1vec4}{vec4} \&v)}\label{struct_angel_1_1vec4_a2035c8e93278408c05404b713346d92d} + +\item +\hypertarget{struct_angel_1_1vec4_aacad340463007e48c1674689787e6b47}{\hyperlink{struct_angel_1_1vec4}{vec4} \& {\bfseries operator/=} (const G\-Lfloat s)}\label{struct_angel_1_1vec4_aacad340463007e48c1674689787e6b47} + +\item +\hypertarget{struct_angel_1_1vec4_a71c7509461ea7152c6785bfbc811ab64}{{\bfseries operator const G\-Lfloat $\ast$} () const }\label{struct_angel_1_1vec4_a71c7509461ea7152c6785bfbc811ab64} + +\item +\hypertarget{struct_angel_1_1vec4_abe6702f74ba431df65da55aa0df6de16}{{\bfseries operator G\-Lfloat $\ast$} ()}\label{struct_angel_1_1vec4_abe6702f74ba431df65da55aa0df6de16} + +\end{DoxyCompactItemize} +\subsection*{Public Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{struct_angel_1_1vec4_aaf7881acf82e877f889905a1573d36ad}{G\-Lfloat {\bfseries x}}\label{struct_angel_1_1vec4_aaf7881acf82e877f889905a1573d36ad} + +\item +\hypertarget{struct_angel_1_1vec4_a2396916bf1051ee7d6c11e6f2a539308}{G\-Lfloat {\bfseries y}}\label{struct_angel_1_1vec4_a2396916bf1051ee7d6c11e6f2a539308} + +\item +\hypertarget{struct_angel_1_1vec4_ab62654db1d62f75cb4d1bec9e4543797}{G\-Lfloat {\bfseries z}}\label{struct_angel_1_1vec4_ab62654db1d62f75cb4d1bec9e4543797} + +\item +\hypertarget{struct_angel_1_1vec4_a27752dffc3cd1ac7aa2fc72d40a84a48}{G\-Lfloat {\bfseries w}}\label{struct_angel_1_1vec4_a27752dffc3cd1ac7aa2fc72d40a84a48} + +\end{DoxyCompactItemize} +\subsection*{Friends} +\begin{DoxyCompactItemize} +\item +\hypertarget{struct_angel_1_1vec4_a18b1a91dc4c502220d099d6d85e504bc}{\hyperlink{struct_angel_1_1vec4}{vec4} {\bfseries operator$\ast$} (const G\-Lfloat s, const \hyperlink{struct_angel_1_1vec4}{vec4} \&v)}\label{struct_angel_1_1vec4_a18b1a91dc4c502220d099d6d85e504bc} + +\item +\hypertarget{struct_angel_1_1vec4_afadcf8884205c469256e4be7d96bfa12}{std\-::ostream \& {\bfseries operator$<$$<$} (std\-::ostream \&os, const \hyperlink{struct_angel_1_1vec4}{vec4} \&v)}\label{struct_angel_1_1vec4_afadcf8884205c469256e4be7d96bfa12} + +\item +\hypertarget{struct_angel_1_1vec4_ada396ae1c4ef513c6baf301f20f89bfa}{std\-::istream \& {\bfseries operator$>$$>$} (std\-::istream \&is, \hyperlink{struct_angel_1_1vec4}{vec4} \&v)}\label{struct_angel_1_1vec4_ada396ae1c4ef513c6baf301f20f89bfa} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +Definition at line 112 of file vec.\-hpp. + + + +The documentation for this struct was generated from the following files\-:\begin{DoxyCompactItemize} +\item +\hyperlink{vec_8hpp}{vec.\-hpp}\item +\hyperlink{vec_8cpp}{vec.\-cpp}\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/structwii_poll_data.tex b/Doxygen/Docs/latex/structwii_poll_data.tex new file mode 100644 index 00000000..39c9b85a --- /dev/null +++ b/Doxygen/Docs/latex/structwii_poll_data.tex @@ -0,0 +1,30 @@ +\hypertarget{structwii_poll_data}{\section{wii\-Poll\-Data Struct Reference} +\label{structwii_poll_data}\index{wii\-Poll\-Data@{wii\-Poll\-Data}} +} +\subsection*{Public Attributes} +\begin{DoxyCompactItemize} +\item +\hypertarget{structwii_poll_data_ad2a9be1946c67bd0da3de42dee26926a}{\hyperlink{struct_angel_1_1vec3}{Angel\-::vec3} {\bfseries bb\-\_\-magnitudes}}\label{structwii_poll_data_ad2a9be1946c67bd0da3de42dee26926a} + +\item +\hypertarget{structwii_poll_data_a9d7ad57a394cbae0d84285888a04c4ec}{\hyperlink{struct_angel_1_1vec3}{Angel\-::vec3} {\bfseries wr\-\_\-thetas}}\label{structwii_poll_data_a9d7ad57a394cbae0d84285888a04c4ec} + +\item +\hypertarget{structwii_poll_data_a794e2a15344966d546c3f02f3470a3af}{\hyperlink{struct_angel_1_1vec3}{Angel\-::vec3} {\bfseries wr\-\_\-rates}}\label{structwii_poll_data_a794e2a15344966d546c3f02f3470a3af} + +\item +\hypertarget{structwii_poll_data_af06c440335fec68bfa22d3601e050d2e}{bool {\bfseries Reset\-\_\-\-Camera}}\label{structwii_poll_data_af06c440335fec68bfa22d3601e050d2e} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} + + +Definition at line 7 of file Wii\-Util.\-h. + + + +The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} +\item +Wii\-Util.\-h\end{DoxyCompactItemize} diff --git a/Doxygen/Docs/latex/terrain_8cpp.tex b/Doxygen/Docs/latex/terrain_8cpp.tex new file mode 100644 index 00000000..98176779 --- /dev/null +++ b/Doxygen/Docs/latex/terrain_8cpp.tex @@ -0,0 +1,261 @@ +\hypertarget{terrain_8cpp}{\section{terrain.\-cpp File Reference} +\label{terrain_8cpp}\index{terrain.\-cpp@{terrain.\-cpp}} +} + + +This is a trimmed version of our Fall 2012 project. + + +{\ttfamily \#include $<$cmath$>$}\\* +{\ttfamily \#include $<$cstdio$>$}\\* +{\ttfamily \#include $<$sstream$>$}\\* +{\ttfamily \#include $<$cstdlib$>$}\\* +{\ttfamily \#include $<$time.\-h$>$}\\* +{\ttfamily \#include \char`\"{}platform.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}mat.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Engine.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Camera.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Cameras.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Screen.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Object.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Timer.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Scene.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}model.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Init\-Shader.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}glut\-\_\-callbacks.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Obj\-Loader.\-hpp\char`\"{}}\\* +{\ttfamily \#include \char`\"{}eric\-\_\-rules.\-hpp\char`\"{}}\\* +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +void \hyperlink{terrain_8cpp_a43d76d6460eea14cbfac57f649c4ccc9}{randomize\-\_\-terrain} () +\begin{DoxyCompactList}\small\item\em randomize\-\_\-terrain is called to regenerate the terrain in this application. \end{DoxyCompactList}\item +void \hyperlink{terrain_8cpp_a02fd73d861ef2e4aabb38c0c9ff82947}{init} () +\begin{DoxyCompactList}\small\item\em init will initialize this particular flythrough, by creating and instantiating a shader, a camera, and a number of initial objects. \end{DoxyCompactList}\item +void \hyperlink{terrain_8cpp_aeb94fbd457627182ceee7e505f432541}{cleanup} (void) +\begin{DoxyCompactList}\small\item\em cleanup is a routine to call at exit time that will free up the resources the application is using. \end{DoxyCompactList}\item +void \hyperlink{terrain_8cpp_af3c12d5391e754508338373c5071b2ed}{display\-Viewport} (void) +\begin{DoxyCompactList}\small\item\em display\-Viewport is responsible for drawing a single viewport. \end{DoxyCompactList}\item +void \hyperlink{terrain_8cpp_a4ea013001a5fb47853d0fab8f8de35cd}{display} (void) +\begin{DoxyCompactList}\small\item\em display is responsible for drawing an entire screen. \end{DoxyCompactList}\item +void \hyperlink{terrain_8cpp_a19cc2bcd83a4740c8ab847f391229f09}{Terrain\-Generation\-Animation} (\hyperlink{class_trans_cache}{Trans\-Cache} \&obj) +\begin{DoxyCompactList}\small\item\em Terrain\-Generation\-Animation is an animation callback that will\-: (A) If triggered, begin to shrink the object into a flat plane, (B) Order a re-\/generation of the terrain data (C) will grow the object back into its new, final shape. \end{DoxyCompactList}\item +void \hyperlink{terrain_8cpp_a3db6770b4d2fa9a7566e01c68880d49c}{wiilook} (\hyperlink{class_camera}{Camera} \&Wii\-Camera, const \hyperlink{struct_angel_1_1vec3}{Angel\-::vec3} \&New\-Theta, const \hyperlink{struct_angel_1_1vec3}{Angel\-::vec3} \&Movement\-Rates) +\begin{DoxyCompactList}\small\item\em wiilook is an analog of mouselook, for wii remote controls. \end{DoxyCompactList}\item +\hypertarget{terrain_8cpp_ac3134fe01754f597b75b29b29523cde7}{void {\bfseries simple\-Rotate\-Y} (\hyperlink{class_trans_cache}{Trans\-Cache} \&obj)}\label{terrain_8cpp_ac3134fe01754f597b75b29b29523cde7} + +\item +\hypertarget{terrain_8cpp_a15a9a530111780e1374765468f99b92e}{void {\bfseries simple\-Rotate\-Anim} (\hyperlink{class_trans_cache}{Trans\-Cache} \&obj)}\label{terrain_8cpp_a15a9a530111780e1374765468f99b92e} + +\item +\hypertarget{terrain_8cpp_ab42e9609dfaf48294321a6b821095be9}{void {\bfseries animation\-Test} (\hyperlink{class_trans_cache}{Trans\-Cache} \&obj)}\label{terrain_8cpp_ab42e9609dfaf48294321a6b821095be9} + +\item +\hypertarget{terrain_8cpp_a01131b63acf241e9db91704d89ce15d2}{void {\bfseries idle} (void)}\label{terrain_8cpp_a01131b63acf241e9db91704d89ce15d2} + +\item +\hypertarget{terrain_8cpp_af6531069cfd120c9bc890b2c187b6917}{void {\bfseries menufunc} (int value)}\label{terrain_8cpp_af6531069cfd120c9bc890b2c187b6917} + +\item +\hypertarget{terrain_8cpp_a3c04138a5bfe5d72780bb7e82a18e627}{int {\bfseries main} (int argc, char $\ast$$\ast$argv)}\label{terrain_8cpp_a3c04138a5bfe5d72780bb7e82a18e627} + +\end{DoxyCompactItemize} +\subsection*{Variables} +\begin{DoxyCompactItemize} +\item +const char $\ast$ {\bfseries terrain\-Tex} \mbox{[}$\,$\mbox{]} +\item +\hypertarget{terrain_8cpp_af584a969caa5b22fa5a7b6a0cc1af88f}{bool {\bfseries switching\-Terrain} = false}\label{terrain_8cpp_af584a969caa5b22fa5a7b6a0cc1af88f} + +\item +\hypertarget{terrain_8cpp_abf93e1e5ae2f6baff49c75741529f033}{float \hyperlink{terrain_8cpp_abf93e1e5ae2f6baff49c75741529f033}{height\-Scale} = 0.\-0}\label{terrain_8cpp_abf93e1e5ae2f6baff49c75741529f033} + +\begin{DoxyCompactList}\small\item\em hackity hack hack hackey doo! \end{DoxyCompactList}\item +\hypertarget{terrain_8cpp_ae1114139c8bdb00ddef13127a2fe5b8b}{float {\bfseries ticker} = 0.\-0}\label{terrain_8cpp_ae1114139c8bdb00ddef13127a2fe5b8b} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +This is a trimmed version of our Fall 2012 project. \begin{DoxyAuthor}{Authors} +John Huston, Nicholas St\-Pierre, Chris Compton +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2013-\/02-\/23 +\end{DoxyDate} +This is a tech demo for terrain generation using an udpated engine derived from Ed Angel's code from his book. + +Definition in file \hyperlink{terrain_8cpp_source}{terrain.\-cpp}. + + + +\subsection{Function Documentation} +\hypertarget{terrain_8cpp_aeb94fbd457627182ceee7e505f432541}{\index{terrain.\-cpp@{terrain.\-cpp}!cleanup@{cleanup}} +\index{cleanup@{cleanup}!terrain.cpp@{terrain.\-cpp}} +\subsubsection[{cleanup}]{\setlength{\rightskip}{0pt plus 5cm}void cleanup ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{terrain_8cpp_aeb94fbd457627182ceee7e505f432541} + + +cleanup is a routine to call at exit time that will free up the resources the application is using. + +While not critical, it does aid in using debuggers to not have any memory leaks at exit time. + +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 224 of file terrain.\-cpp. + +\hypertarget{terrain_8cpp_a4ea013001a5fb47853d0fab8f8de35cd}{\index{terrain.\-cpp@{terrain.\-cpp}!display@{display}} +\index{display@{display}!terrain.cpp@{terrain.\-cpp}} +\subsubsection[{display}]{\setlength{\rightskip}{0pt plus 5cm}void display ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{terrain_8cpp_a4ea013001a5fb47853d0fab8f8de35cd} + + +display is responsible for drawing an entire screen. + +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 249 of file terrain.\-cpp. + +\hypertarget{terrain_8cpp_af3c12d5391e754508338373c5071b2ed}{\index{terrain.\-cpp@{terrain.\-cpp}!display\-Viewport@{display\-Viewport}} +\index{display\-Viewport@{display\-Viewport}!terrain.cpp@{terrain.\-cpp}} +\subsubsection[{display\-Viewport}]{\setlength{\rightskip}{0pt plus 5cm}void display\-Viewport ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{terrain_8cpp_af3c12d5391e754508338373c5071b2ed} + + +display\-Viewport is responsible for drawing a single viewport. + +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 235 of file terrain.\-cpp. + +\hypertarget{terrain_8cpp_a02fd73d861ef2e4aabb38c0c9ff82947}{\index{terrain.\-cpp@{terrain.\-cpp}!init@{init}} +\index{init@{init}!terrain.cpp@{terrain.\-cpp}} +\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void init ( +\begin{DoxyParamCaption} +\item[{void}]{} +\end{DoxyParamCaption} +)}}\label{terrain_8cpp_a02fd73d861ef2e4aabb38c0c9ff82947} + + +init will initialize this particular flythrough, by creating and instantiating a shader, a camera, and a number of initial objects. + +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 88 of file terrain.\-cpp. + +\hypertarget{terrain_8cpp_a43d76d6460eea14cbfac57f649c4ccc9}{\index{terrain.\-cpp@{terrain.\-cpp}!randomize\-\_\-terrain@{randomize\-\_\-terrain}} +\index{randomize\-\_\-terrain@{randomize\-\_\-terrain}!terrain.cpp@{terrain.\-cpp}} +\subsubsection[{randomize\-\_\-terrain}]{\setlength{\rightskip}{0pt plus 5cm}void randomize\-\_\-terrain ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{terrain_8cpp_a43d76d6460eea14cbfac57f649c4ccc9} + + +randomize\-\_\-terrain is called to regenerate the terrain in this application. + +It assumes the terrain is named \char`\"{}terrain\char`\"{} and is located as a direct child of the main scene graph. + +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 65 of file terrain.\-cpp. + +\hypertarget{terrain_8cpp_a19cc2bcd83a4740c8ab847f391229f09}{\index{terrain.\-cpp@{terrain.\-cpp}!Terrain\-Generation\-Animation@{Terrain\-Generation\-Animation}} +\index{Terrain\-Generation\-Animation@{Terrain\-Generation\-Animation}!terrain.cpp@{terrain.\-cpp}} +\subsubsection[{Terrain\-Generation\-Animation}]{\setlength{\rightskip}{0pt plus 5cm}void Terrain\-Generation\-Animation ( +\begin{DoxyParamCaption} +\item[{{\bf Trans\-Cache} \&}]{obj} +\end{DoxyParamCaption} +)}}\label{terrain_8cpp_a19cc2bcd83a4740c8ab847f391229f09} + + +Terrain\-Generation\-Animation is an animation callback that will\-: (A) If triggered, begin to shrink the object into a flat plane, (B) Order a re-\/generation of the terrain data (C) will grow the object back into its new, final shape. + + +\begin{DoxyParams}{Parameters} +{\em obj} & A reference to an object's transformation state.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +void. +\end{DoxyReturn} + + +Definition at line 273 of file terrain.\-cpp. + +\hypertarget{terrain_8cpp_a3db6770b4d2fa9a7566e01c68880d49c}{\index{terrain.\-cpp@{terrain.\-cpp}!wiilook@{wiilook}} +\index{wiilook@{wiilook}!terrain.cpp@{terrain.\-cpp}} +\subsubsection[{wiilook}]{\setlength{\rightskip}{0pt plus 5cm}void wiilook ( +\begin{DoxyParamCaption} +\item[{{\bf Camera} \&}]{Wii\-Camera, } +\item[{const {\bf Angel\-::vec3} \&}]{New\-Theta, } +\item[{const {\bf Angel\-::vec3} \&}]{Movement\-Rates} +\end{DoxyParamCaption} +)}}\label{terrain_8cpp_a3db6770b4d2fa9a7566e01c68880d49c} + + +wiilook is an analog of mouselook, for wii remote controls. + +It takes a reference to a \hyperlink{class_camera}{Camera}, and two vec3s, and uses the information to adjust the \hyperlink{class_camera}{Camera}'s \-\_\-rotation. + + +\begin{DoxyParams}{Parameters} +{\em Wii\-Camera} & The camera to adjust the \-\_\-rotation of. \\ +\hline +{\em New\-Theta} & The X,Y,Z angles of the Wii Remote. \\ +\hline +{\em Movement\-Rates} & The X, Y, Z angular velocities of the Wii Remote.\\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +Void. +\end{DoxyReturn} + + +Definition at line 336 of file terrain.\-cpp. + + + +\subsection{Variable Documentation} +\hypertarget{terrain_8cpp_abc581addfa7e463bdc14d275fe30f412}{\index{terrain.\-cpp@{terrain.\-cpp}!terrain\-Tex@{terrain\-Tex}} +\index{terrain\-Tex@{terrain\-Tex}!terrain.cpp@{terrain.\-cpp}} +\subsubsection[{terrain\-Tex}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ terrain\-Tex\mbox{[}$\,$\mbox{]}}}\label{terrain_8cpp_abc581addfa7e463bdc14d275fe30f412} +{\bfseries Initial value\-:} +\begin{DoxyCode} + \{ \textcolor{stringliteral}{"../Textures/GoodTextures\_0013423.jpg"}, + \textcolor{stringliteral}{"../Textures/GoodTextures\_0013779.jpg"}, + \textcolor{stringliteral}{"../Textures/GrassGreenTexture0002.jpg"}, + \textcolor{stringliteral}{"../Textures/GoodTextures\_0013418.jpg"}, + \textcolor{stringliteral}{"../Textures/GoodTextures\_0013291.jpg"} + \} +\end{DoxyCode} + + +Definition at line 51 of file terrain.\-cpp. + diff --git a/Doxygen/Docs/latex/vec_8cpp.tex b/Doxygen/Docs/latex/vec_8cpp.tex new file mode 100644 index 00000000..dea9d184 --- /dev/null +++ b/Doxygen/Docs/latex/vec_8cpp.tex @@ -0,0 +1,90 @@ +\hypertarget{vec_8cpp}{\section{vec.\-cpp File Reference} +\label{vec_8cpp}\index{vec.\-cpp@{vec.\-cpp}} +} + + +Implementation for the vec2, vec3, and vec4 classes. + + +{\ttfamily \#include \char`\"{}vec.\-hpp\char`\"{}}\\* +{\ttfamily \#include $<$cmath$>$}\\* +{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\* +\subsection*{Functions} +\begin{DoxyCompactItemize} +\item +\hypertarget{namespace_angel_a0806bd80ed20b66f9317ead8398e3988}{vec2 {\bfseries Angel\-::operator$\ast$} (const G\-Lfloat s, const vec2 \&v)}\label{namespace_angel_a0806bd80ed20b66f9317ead8398e3988} + +\item +\hypertarget{namespace_angel_a20d89f3c8a2c47cb8802c7f0a287cf7f}{std\-::ostream \& {\bfseries Angel\-::operator$<$$<$} (std\-::ostream \&os, const vec2 \&v)}\label{namespace_angel_a20d89f3c8a2c47cb8802c7f0a287cf7f} + +\item +\hypertarget{namespace_angel_a723fb3d4b2fad6e37bf95657feddc1ea}{std\-::istream \& {\bfseries Angel\-::operator$>$$>$} (std\-::istream \&is, vec2 \&v)}\label{namespace_angel_a723fb3d4b2fad6e37bf95657feddc1ea} + +\item +\hypertarget{namespace_angel_abaaeeb1b6f0101861ee3cdabdabdff02}{G\-Lfloat {\bfseries Angel\-::dot} (const vec2 \&u, const vec2 \&v)}\label{namespace_angel_abaaeeb1b6f0101861ee3cdabdabdff02} + +\item +\hypertarget{namespace_angel_a11b56d6a939f6eee6a4612f3a9b48e9e}{G\-Lfloat {\bfseries Angel\-::length} (const vec2 \&v)}\label{namespace_angel_a11b56d6a939f6eee6a4612f3a9b48e9e} + +\item +\hypertarget{namespace_angel_aa48e50126ca87222e261bfff639a71d1}{vec2 {\bfseries Angel\-::normalize} (const vec2 \&v)}\label{namespace_angel_aa48e50126ca87222e261bfff639a71d1} + +\item +\hypertarget{namespace_angel_a57270299ee4c733736fb4a15ae05fd09}{vec3 {\bfseries Angel\-::operator$\ast$} (const G\-Lfloat s, const vec3 \&v)}\label{namespace_angel_a57270299ee4c733736fb4a15ae05fd09} + +\item +\hypertarget{namespace_angel_a0d63e8d66c9f7e1b034ca224437ee5c1}{std\-::ostream \& {\bfseries Angel\-::operator$<$$<$} (std\-::ostream \&os, const vec3 \&v)}\label{namespace_angel_a0d63e8d66c9f7e1b034ca224437ee5c1} + +\item +\hypertarget{namespace_angel_a591583b8d846d4183049b216cf6ef37e}{std\-::istream \& {\bfseries Angel\-::operator$>$$>$} (std\-::istream \&is, vec3 \&v)}\label{namespace_angel_a591583b8d846d4183049b216cf6ef37e} + +\item +\hypertarget{namespace_angel_ae89677cec6623b0473ffddbf86911318}{G\-Lfloat {\bfseries Angel\-::dot} (const vec3 \&u, const vec3 \&v)}\label{namespace_angel_ae89677cec6623b0473ffddbf86911318} + +\item +\hypertarget{namespace_angel_ae4bf8671fdc5a7904ab33eeec83ff282}{G\-Lfloat {\bfseries Angel\-::length} (const vec3 \&v)}\label{namespace_angel_ae4bf8671fdc5a7904ab33eeec83ff282} + +\item +\hypertarget{namespace_angel_a9e10ec78c60b3624999ecbf164c19104}{vec3 {\bfseries Angel\-::normalize} (const vec3 \&v)}\label{namespace_angel_a9e10ec78c60b3624999ecbf164c19104} + +\item +\hypertarget{namespace_angel_aec2b5d63a94177fd94dbc6394d1e766d}{vec3 {\bfseries Angel\-::cross} (const vec3 \&a, const vec3 \&b)}\label{namespace_angel_aec2b5d63a94177fd94dbc6394d1e766d} + +\item +\hypertarget{namespace_angel_a9402dd20e1d3a4f0880517d1aac4ef7a}{vec4 {\bfseries Angel\-::operator$\ast$} (const G\-Lfloat s, const vec4 \&v)}\label{namespace_angel_a9402dd20e1d3a4f0880517d1aac4ef7a} + +\item +\hypertarget{namespace_angel_a29cb0f905618ce5a191c8ec103c4deda}{std\-::ostream \& {\bfseries Angel\-::operator$<$$<$} (std\-::ostream \&os, const vec4 \&v)}\label{namespace_angel_a29cb0f905618ce5a191c8ec103c4deda} + +\item +\hypertarget{namespace_angel_a9134403ccd5cc5f8d2079bec7cda8042}{std\-::istream \& {\bfseries Angel\-::operator$>$$>$} (std\-::istream \&is, vec4 \&v)}\label{namespace_angel_a9134403ccd5cc5f8d2079bec7cda8042} + +\item +\hypertarget{namespace_angel_a2a121c5c46b2c1098396371c6bea23bf}{G\-Lfloat {\bfseries Angel\-::dot} (const vec4 \&u, const vec4 \&v)}\label{namespace_angel_a2a121c5c46b2c1098396371c6bea23bf} + +\item +\hypertarget{namespace_angel_a19ed7706220565755a619e5c994957bb}{G\-Lfloat {\bfseries Angel\-::length} (const vec4 \&v)}\label{namespace_angel_a19ed7706220565755a619e5c994957bb} + +\item +\hypertarget{namespace_angel_a9413161a503ca6816a2aa28669f938d7}{vec4 {\bfseries Angel\-::normalize} (const vec4 \&v)}\label{namespace_angel_a9413161a503ca6816a2aa28669f938d7} + +\item +\hypertarget{namespace_angel_a638274c2524333d10b91fd5a596e6dac}{vec3 {\bfseries Angel\-::cross} (const vec4 \&a, const vec4 \&b)}\label{namespace_angel_a638274c2524333d10b91fd5a596e6dac} + +\item +\hypertarget{namespace_angel_a0f48a1dd4b8d557b2b756c4bcbce562c}{vec3 {\bfseries Angel\-::xyz} (const vec4 \&a)}\label{namespace_angel_a0f48a1dd4b8d557b2b756c4bcbce562c} + +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +Implementation for the vec2, vec3, and vec4 classes. \begin{DoxyAuthor}{Author} +Ed Angel +\end{DoxyAuthor} +\begin{DoxyDate}{Date} +2012-\/12-\/04 +\end{DoxyDate} +Modified heavily from code available from Ed Angel's website, \href{http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/}{\tt http\-://www.\-cs.\-unm.\-edu/$\sim$angel/\-B\-O\-O\-K/\-I\-N\-T\-E\-R\-A\-C\-T\-I\-V\-E\-\_\-\-C\-O\-M\-P\-U\-T\-E\-R\-\_\-\-G\-R\-A\-P\-H\-I\-C\-S/\-S\-I\-X\-T\-H\-\_\-\-E\-D\-I\-T\-I\-O\-N/} Published from his book, Interactive Computer Graphics A Top-\/\-Down Approach with Open\-G\-L, Sixth Edition Addison-\/\-Wesley 2012 + +Definition in file \hyperlink{vec_8cpp_source}{vec.\-cpp}. + diff --git a/Doxygen/Docs/man/man3/Angel_mat2.3 b/Doxygen/Docs/man/man3/Angel_mat2.3 new file mode 100644 index 00000000..bc76db05 --- /dev/null +++ b/Doxygen/Docs/man/man3/Angel_mat2.3 @@ -0,0 +1,128 @@ +.TH "Angel::mat2" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Angel::mat2 \- +.PP +\fBmat2\fP - 2D square matrix\&. + +.SH SYNOPSIS +.br +.PP +.PP +\fC#include \fP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBmat2\fP (const GLfloat d=GLfloat(1\&.0))" +.br +.ti -1c +.RI "\fBmat2\fP (const \fBvec2\fP &a, const \fBvec2\fP &b)" +.br +.ti -1c +.RI "\fBmat2\fP (GLfloat m00, GLfloat m10, GLfloat m01, GLfloat m11)" +.br +.ti -1c +.RI "\fBmat2\fP (const \fBmat2\fP &m)" +.br +.ti -1c +.RI "\fBvec2\fP & \fBoperator[]\fP (int i)" +.br +.ti -1c +.RI "const \fBvec2\fP & \fBoperator[]\fP (int i) const " +.br +.ti -1c +.RI "\fBmat2\fP \fBoperator+\fP (const \fBmat2\fP &m) const " +.br +.ti -1c +.RI "\fBmat2\fP \fBoperator-\fP (const \fBmat2\fP &m) const " +.br +.ti -1c +.RI "\fBmat2\fP \fBoperator*\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBmat2\fP \fBoperator/\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBmat2\fP \fBoperator*\fP (const \fBmat2\fP &m) const " +.br +.ti -1c +.RI "\fBmat2\fP & \fBoperator+=\fP (const \fBmat2\fP &m)" +.br +.ti -1c +.RI "\fBmat2\fP & \fBoperator-=\fP (const \fBmat2\fP &m)" +.br +.ti -1c +.RI "\fBmat2\fP & \fBoperator*=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBmat2\fP & \fBoperator*=\fP (const \fBmat2\fP &m)" +.br +.ti -1c +.RI "\fBmat2\fP & \fBoperator/=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBvec2\fP \fBoperator*\fP (const \fBvec2\fP &v) const " +.br +.RI "\fIReturns the result of the operation M*v\&. \fP" +.ti -1c +.RI "\fBoperator const GLfloat *\fP () const " +.br +.ti -1c +.RI "\fBoperator GLfloat *\fP ()" +.br +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "\fBvec2\fP \fB_m\fP [2]" +.br +.RI "\fIThe data is stored as an array of two vectors\&. \fP" +.in -1c +.SS "Friends" + +.in +1c +.ti -1c +.RI "\fBmat2\fP \fBoperator*\fP (const GLfloat s, const \fBmat2\fP &m)" +.br +.ti -1c +.RI "std::ostream & \fBoperator<<\fP (std::ostream &os, const \fBmat2\fP &m)" +.br +.ti -1c +.RI "std::istream & \fBoperator>>\fP (std::istream &is, \fBmat2\fP &m)" +.br +.in -1c +.SH "Detailed Description" +.PP +\fBmat2\fP - 2D square matrix\&. + +\fBAuthor:\fP +.RS 4 +Ed Angel Class for a 2x2 matrix\&. Modified from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition +.RE +.PP + +.PP +Definition at line 36 of file mat\&.hpp\&. +.SH "Member Function Documentation" +.PP +.SS "\fBvec2\fP Angel::mat2::operator* (const \fBvec2\fP &v) const" + +.PP +Returns the result of the operation M*v\&. Assumes v is a one column, two row matrix\&. +.PP +Definition at line 154 of file mat\&.cpp\&. +.SH "Member Data Documentation" +.PP +.SS "\fBvec2\fP Angel::mat2::_m[2]\fC [private]\fP" + +.PP +The data is stored as an array of two vectors\&. +.PP +Definition at line 39 of file mat\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Angel_mat3.3 b/Doxygen/Docs/man/man3/Angel_mat3.3 new file mode 100644 index 00000000..cb5a2760 --- /dev/null +++ b/Doxygen/Docs/man/man3/Angel_mat3.3 @@ -0,0 +1,110 @@ +.TH "Angel::mat3" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Angel::mat3 \- +.PP +\fBmat3\fP - 3D square matrix\&. + +.SH SYNOPSIS +.br +.PP +.PP +\fC#include \fP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBmat3\fP (const GLfloat d=GLfloat(1\&.0))" +.br +.ti -1c +.RI "\fBmat3\fP (const \fBvec3\fP &a, const \fBvec3\fP &b, const \fBvec3\fP &c)" +.br +.ti -1c +.RI "\fBmat3\fP (GLfloat m00, GLfloat m10, GLfloat m20, GLfloat m01, GLfloat m11, GLfloat m21, GLfloat m02, GLfloat m12, GLfloat m22)" +.br +.ti -1c +.RI "\fBmat3\fP (const \fBmat3\fP &m)" +.br +.ti -1c +.RI "\fBvec3\fP & \fBoperator[]\fP (int i)" +.br +.ti -1c +.RI "const \fBvec3\fP & \fBoperator[]\fP (int i) const " +.br +.ti -1c +.RI "\fBmat3\fP \fBoperator+\fP (const \fBmat3\fP &m) const " +.br +.ti -1c +.RI "\fBmat3\fP \fBoperator-\fP (const \fBmat3\fP &m) const " +.br +.ti -1c +.RI "\fBmat3\fP \fBoperator*\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBmat3\fP \fBoperator/\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBmat3\fP \fBoperator*\fP (const \fBmat3\fP &m) const " +.br +.ti -1c +.RI "\fBmat3\fP & \fBoperator+=\fP (const \fBmat3\fP &m)" +.br +.ti -1c +.RI "\fBmat3\fP & \fBoperator-=\fP (const \fBmat3\fP &m)" +.br +.ti -1c +.RI "\fBmat3\fP & \fBoperator*=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBmat3\fP & \fBoperator*=\fP (const \fBmat3\fP &m)" +.br +.ti -1c +.RI "\fBmat3\fP & \fBoperator/=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBvec3\fP \fBoperator*\fP (const \fBvec3\fP &v) const " +.br +.ti -1c +.RI "\fBoperator const GLfloat *\fP () const " +.br +.ti -1c +.RI "\fBoperator GLfloat *\fP ()" +.br +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "\fBvec3\fP \fB_m\fP [3]" +.br +.in -1c +.SS "Friends" + +.in +1c +.ti -1c +.RI "\fBmat3\fP \fBoperator*\fP (const GLfloat s, const \fBmat3\fP &m)" +.br +.ti -1c +.RI "std::ostream & \fBoperator<<\fP (std::ostream &os, const \fBmat3\fP &m)" +.br +.ti -1c +.RI "std::istream & \fBoperator>>\fP (std::istream &is, \fBmat3\fP &m)" +.br +.in -1c +.SH "Detailed Description" +.PP +\fBmat3\fP - 3D square matrix\&. + +\fBAuthor:\fP +.RS 4 +Ed Angel Class for a 2x2 matrix\&. Modified from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition +.RE +.PP + +.PP +Definition at line 94 of file mat\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Angel_mat4.3 b/Doxygen/Docs/man/man3/Angel_mat4.3 new file mode 100644 index 00000000..71a4290e --- /dev/null +++ b/Doxygen/Docs/man/man3/Angel_mat4.3 @@ -0,0 +1,113 @@ +.TH "Angel::mat4" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Angel::mat4 \- +.PP +\fBmat4\fP - 4D square matrix\&. + +.SH SYNOPSIS +.br +.PP +.PP +\fC#include \fP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBmat4\fP (const GLfloat d=GLfloat(1\&.0))" +.br +.ti -1c +.RI "\fBmat4\fP (const \fBvec4\fP &a, const \fBvec4\fP &b, const \fBvec4\fP &c, const \fBvec4\fP &d)" +.br +.ti -1c +.RI "\fBmat4\fP (GLfloat m00, GLfloat m01, GLfloat m02, GLfloat m03, GLfloat m10, GLfloat m11, GLfloat m12, GLfloat m13, GLfloat m20, GLfloat m21, GLfloat m22, GLfloat m23, GLfloat m30, GLfloat m31, GLfloat m32, GLfloat m33)" +.br +.ti -1c +.RI "\fBmat4\fP (const \fBmat4\fP &m)" +.br +.ti -1c +.RI "\fBvec4\fP & \fBoperator[]\fP (int i)" +.br +.ti -1c +.RI "const \fBvec4\fP & \fBoperator[]\fP (int i) const " +.br +.ti -1c +.RI "\fBmat4\fP \fBoperator+\fP (const \fBmat4\fP &m) const " +.br +.ti -1c +.RI "\fBmat4\fP \fBoperator-\fP (const \fBmat4\fP &m) const " +.br +.ti -1c +.RI "\fBmat4\fP \fBoperator*\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBmat4\fP \fBoperator/\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBmat4\fP \fBoperator*\fP (const \fBmat4\fP &m) const " +.br +.ti -1c +.RI "\fBmat4\fP & \fBoperator+=\fP (const \fBmat4\fP &m)" +.br +.ti -1c +.RI "\fBmat4\fP & \fBoperator-=\fP (const \fBmat4\fP &m)" +.br +.ti -1c +.RI "\fBmat4\fP & \fBoperator*=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBmat4\fP & \fBoperator*=\fP (const \fBmat4\fP &m)" +.br +.ti -1c +.RI "\fBmat4\fP & \fBoperator/=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBvec4\fP \fBoperator*\fP (const \fBvec4\fP &v) const " +.br +.ti -1c +.RI "\fBoperator const GLfloat *\fP () const " +.br +.ti -1c +.RI "\fBoperator GLfloat *\fP ()" +.br +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "\fBvec4\fP \fB_m\fP [4]" +.br +.in -1c +.SS "Friends" + +.in +1c +.ti -1c +.RI "\fBmat4\fP \fBoperator*\fP (const GLfloat s, const \fBmat4\fP &m)" +.br +.ti -1c +.RI "\fBvec4\fP \fBoperator*\fP (const \fBvec4\fP &v, const \fBmat4\fP &_m)" +.br +.ti -1c +.RI "std::ostream & \fBoperator<<\fP (std::ostream &os, const \fBmat4\fP &m)" +.br +.ti -1c +.RI "std::istream & \fBoperator>>\fP (std::istream &is, \fBmat4\fP &m)" +.br +.in -1c +.SH "Detailed Description" +.PP +\fBmat4\fP - 4D square matrix\&. + +\fBAuthor:\fP +.RS 4 +Ed Angel Class for a 2x2 matrix\&. Modified from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition +.RE +.PP + +.PP +Definition at line 150 of file mat\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Angel_vec2.3 b/Doxygen/Docs/man/man3/Angel_vec2.3 new file mode 100644 index 00000000..4e103f88 --- /dev/null +++ b/Doxygen/Docs/man/man3/Angel_vec2.3 @@ -0,0 +1,96 @@ +.TH "Angel::vec2" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Angel::vec2 \- +.SH SYNOPSIS +.br +.PP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBvec2\fP (GLfloat s=GLfloat(0\&.0))" +.br +.ti -1c +.RI "\fBvec2\fP (GLfloat x, GLfloat y)" +.br +.ti -1c +.RI "\fBvec2\fP (const \fBvec2\fP &v)" +.br +.ti -1c +.RI "GLfloat & \fBoperator[]\fP (int i)" +.br +.ti -1c +.RI "const GLfloat \fBoperator[]\fP (int i) const " +.br +.ti -1c +.RI "\fBvec2\fP \fBoperator-\fP () const " +.br +.ti -1c +.RI "\fBvec2\fP \fBoperator+\fP (const \fBvec2\fP &v) const " +.br +.ti -1c +.RI "\fBvec2\fP \fBoperator-\fP (const \fBvec2\fP &v) const " +.br +.ti -1c +.RI "\fBvec2\fP \fBoperator*\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBvec2\fP \fBoperator*\fP (const \fBvec2\fP &v) const " +.br +.ti -1c +.RI "\fBvec2\fP \fBoperator/\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBvec2\fP & \fBoperator+=\fP (const \fBvec2\fP &v)" +.br +.ti -1c +.RI "\fBvec2\fP & \fBoperator-=\fP (const \fBvec2\fP &v)" +.br +.ti -1c +.RI "\fBvec2\fP & \fBoperator*=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBvec2\fP & \fBoperator*=\fP (const \fBvec2\fP &v)" +.br +.ti -1c +.RI "\fBvec2\fP & \fBoperator/=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBoperator const GLfloat *\fP () const " +.br +.ti -1c +.RI "\fBoperator GLfloat *\fP ()" +.br +.in -1c +.SS "Public Attributes" + +.in +1c +.ti -1c +.RI "GLfloat \fBx\fP" +.br +.ti -1c +.RI "GLfloat \fBy\fP" +.br +.in -1c +.SS "Friends" + +.in +1c +.ti -1c +.RI "\fBvec2\fP \fBoperator*\fP (const GLfloat s, const \fBvec2\fP &v)" +.br +.ti -1c +.RI "std::ostream & \fBoperator<<\fP (std::ostream &os, const \fBvec2\fP &v)" +.br +.ti -1c +.RI "std::istream & \fBoperator>>\fP (std::istream &is, \fBvec2\fP &v)" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 18 of file vec\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Angel_vec3.3 b/Doxygen/Docs/man/man3/Angel_vec3.3 new file mode 100644 index 00000000..072d1606 --- /dev/null +++ b/Doxygen/Docs/man/man3/Angel_vec3.3 @@ -0,0 +1,102 @@ +.TH "Angel::vec3" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Angel::vec3 \- +.SH SYNOPSIS +.br +.PP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBvec3\fP (GLfloat s=GLfloat(0\&.0))" +.br +.ti -1c +.RI "\fBvec3\fP (GLfloat x, GLfloat y, GLfloat z)" +.br +.ti -1c +.RI "\fBvec3\fP (const \fBvec3\fP &v)" +.br +.ti -1c +.RI "\fBvec3\fP (const \fBvec2\fP &v, const float f)" +.br +.ti -1c +.RI "GLfloat & \fBoperator[]\fP (int i)" +.br +.ti -1c +.RI "const GLfloat \fBoperator[]\fP (int i) const " +.br +.ti -1c +.RI "\fBvec3\fP \fBoperator-\fP () const " +.br +.ti -1c +.RI "\fBvec3\fP \fBoperator+\fP (const \fBvec3\fP &v) const " +.br +.ti -1c +.RI "\fBvec3\fP \fBoperator-\fP (const \fBvec3\fP &v) const " +.br +.ti -1c +.RI "\fBvec3\fP \fBoperator*\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBvec3\fP \fBoperator*\fP (const \fBvec3\fP &v) const " +.br +.ti -1c +.RI "\fBvec3\fP \fBoperator/\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBvec3\fP & \fBoperator+=\fP (const \fBvec3\fP &v)" +.br +.ti -1c +.RI "\fBvec3\fP & \fBoperator-=\fP (const \fBvec3\fP &v)" +.br +.ti -1c +.RI "\fBvec3\fP & \fBoperator*=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBvec3\fP & \fBoperator*=\fP (const \fBvec3\fP &v)" +.br +.ti -1c +.RI "\fBvec3\fP & \fBoperator/=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBoperator const GLfloat *\fP () const " +.br +.ti -1c +.RI "\fBoperator GLfloat *\fP ()" +.br +.in -1c +.SS "Public Attributes" + +.in +1c +.ti -1c +.RI "GLfloat \fBx\fP" +.br +.ti -1c +.RI "GLfloat \fBy\fP" +.br +.ti -1c +.RI "GLfloat \fBz\fP" +.br +.in -1c +.SS "Friends" + +.in +1c +.ti -1c +.RI "\fBvec3\fP \fBoperator*\fP (const GLfloat s, const \fBvec3\fP &v)" +.br +.ti -1c +.RI "std::ostream & \fBoperator<<\fP (std::ostream &os, const \fBvec3\fP &v)" +.br +.ti -1c +.RI "std::istream & \fBoperator>>\fP (std::istream &is, \fBvec3\fP &v)" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 63 of file vec\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Angel_vec4.3 b/Doxygen/Docs/man/man3/Angel_vec4.3 new file mode 100644 index 00000000..03ad7df8 --- /dev/null +++ b/Doxygen/Docs/man/man3/Angel_vec4.3 @@ -0,0 +1,108 @@ +.TH "Angel::vec4" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Angel::vec4 \- +.SH SYNOPSIS +.br +.PP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBvec4\fP (GLfloat s=GLfloat(0\&.0))" +.br +.ti -1c +.RI "\fBvec4\fP (GLfloat x, GLfloat y, GLfloat z, GLfloat w)" +.br +.ti -1c +.RI "\fBvec4\fP (const \fBvec4\fP &v)" +.br +.ti -1c +.RI "\fBvec4\fP (const \fBvec3\fP &v, const float w=1\&.0)" +.br +.ti -1c +.RI "\fBvec4\fP (const \fBvec2\fP &v, const float z, const float w)" +.br +.ti -1c +.RI "GLfloat & \fBoperator[]\fP (int i)" +.br +.ti -1c +.RI "const GLfloat \fBoperator[]\fP (int i) const " +.br +.ti -1c +.RI "\fBvec4\fP \fBoperator-\fP () const " +.br +.ti -1c +.RI "\fBvec4\fP \fBoperator+\fP (const \fBvec4\fP &v) const " +.br +.ti -1c +.RI "\fBvec4\fP \fBoperator-\fP (const \fBvec4\fP &v) const " +.br +.ti -1c +.RI "\fBvec4\fP \fBoperator*\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBvec4\fP \fBoperator*\fP (const \fBvec4\fP &v) const " +.br +.ti -1c +.RI "\fBvec4\fP \fBoperator/\fP (const GLfloat s) const " +.br +.ti -1c +.RI "\fBvec4\fP & \fBoperator+=\fP (const \fBvec4\fP &v)" +.br +.ti -1c +.RI "\fBvec4\fP & \fBoperator-=\fP (const \fBvec4\fP &v)" +.br +.ti -1c +.RI "\fBvec4\fP & \fBoperator*=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBvec4\fP & \fBoperator*=\fP (const \fBvec4\fP &v)" +.br +.ti -1c +.RI "\fBvec4\fP & \fBoperator/=\fP (const GLfloat s)" +.br +.ti -1c +.RI "\fBoperator const GLfloat *\fP () const " +.br +.ti -1c +.RI "\fBoperator GLfloat *\fP ()" +.br +.in -1c +.SS "Public Attributes" + +.in +1c +.ti -1c +.RI "GLfloat \fBx\fP" +.br +.ti -1c +.RI "GLfloat \fBy\fP" +.br +.ti -1c +.RI "GLfloat \fBz\fP" +.br +.ti -1c +.RI "GLfloat \fBw\fP" +.br +.in -1c +.SS "Friends" + +.in +1c +.ti -1c +.RI "\fBvec4\fP \fBoperator*\fP (const GLfloat s, const \fBvec4\fP &v)" +.br +.ti -1c +.RI "std::ostream & \fBoperator<<\fP (std::ostream &os, const \fBvec4\fP &v)" +.br +.ti -1c +.RI "std::istream & \fBoperator>>\fP (std::istream &is, \fBvec4\fP &v)" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 112 of file vec\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Camera.3 b/Doxygen/Docs/man/man3/Camera.3 new file mode 100644 index 00000000..0b86a18a --- /dev/null +++ b/Doxygen/Docs/man/man3/Camera.3 @@ -0,0 +1,1612 @@ +.TH "Camera" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Camera \- +.PP +The \fBCamera\fP class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state\&. + +.SH SYNOPSIS +.br +.PP +.PP +\fC#include \fP +.PP +Inherits \fBObject\fP\&. +.SS "Public Types" + +.in +1c +.ti -1c +.RI "enum \fBDirection\fP { \fBDIR_FORWARD\fP, \fBDIR_BACKWARD\fP, \fBDIR_LEFT\fP, \fBDIR_RIGHT\fP, \fBDIR_UP\fP, \fBDIR_DOWN\fP, \fBDIR_END\fP, \fBDIR_BEGIN\fP = DIR_FORWARD }" +.br +.RI "\fIThe Direction enumeration lists all of the possible directions the camera may travel in\&. \fP" +.ti -1c +.RI "enum \fBViewType\fP { \fBPERSPECTIVE\fP, \fBORTHO\fP, \fBORTHO2D\fP, \fBIDENTITY\fP, \fBFRUSTUM\fP }" +.br +.RI "\fIThe ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between\&. \fP" +.ti -1c +.RI "enum \fBUniforms\fP { \fBBEGIN\fP = Object::END, \fBTRANSLATION\fP = BEGIN, \fBROTATION\fP, \fBVIEW\fP, \fBCTM\fP, \fBEND\fP }" +.br +.RI "\fIThe glsl_var enumeration lists the various variables the \fBCamera\fP class is capable of sending to the shader\&. \fP" +.ti -1c +.RI "typedef enum \fBCamera::Direction\fP \fBDirection\fP" +.br +.RI "\fIThe Direction enumeration lists all of the possible directions the camera may travel in\&. \fP" +.ti -1c +.RI "typedef enum \fBCamera::ViewType\fP \fBViewType\fP" +.br +.RI "\fIThe ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between\&. \fP" +.ti -1c +.RI "typedef enum \fBCamera::Uniforms\fP \fBUniform\fP" +.br +.RI "\fIThe glsl_var enumeration lists the various variables the \fBCamera\fP class is capable of sending to the shader\&. \fP" +.ti -1c +.RI "typedef const unsigned int \fBUniformEnum\fP" +.br +.RI "\fIThe \fBObject\fP class takes advantage of child-extendible enumerations\&. \fP" +.ti -1c +.RI "typedef std::map +.br +< \fBObject::UniformEnum\fP, +.br +std::string > \fBUniformMap\fP" +.br +.RI "\fIWe store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables\&. \fP" +.in -1c +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBCamera\fP (const std::string &\fBname\fP, GLuint gShader, float \fBx\fP=0\&.0, float \fBy\fP=0\&.0, float \fBz\fP=0\&.0)" +.br +.RI "\fIInitialization Constructor; sets the x,y,z coordinates explicitly\&. \fP" +.ti -1c +.RI "\fBCamera\fP (const std::string &\fBname\fP, GLuint gShader, \fBvec3\fP &in)" +.br +.RI "\fIInitialization Constructor, uses a vec3 as its initial coordinates\&. \fP" +.ti -1c +.RI "\fBCamera\fP (const std::string &\fBname\fP, GLuint gShader, \fBvec4\fP &in)" +.br +.RI "\fIInitialization Constructor, uses a vec4 as its initial coordinates\&. \fP" +.ti -1c +.RI "virtual \fB~Camera\fP (void)" +.br +.RI "\fIDefault destructor\&. \fP" +.ti -1c +.RI "void \fBx\fP (const float &in, const bool &update=true)" +.br +.RI "\fISets the x coordinate of the camera\&. \fP" +.ti -1c +.RI "void \fBy\fP (const float &in, const bool &update=true)" +.br +.RI "\fISets the y coordinate of the camera\&. \fP" +.ti -1c +.RI "void \fBz\fP (const float &in, const bool &update=true)" +.br +.RI "\fISets the z coordinate of the camera\&. \fP" +.ti -1c +.RI "void \fBpos\fP (const float &\fBx\fP, const float &\fBy\fP, const float &\fBz\fP, const bool &update=true)" +.br +.RI "\fISets the absolute position of the camera\&. \fP" +.ti -1c +.RI "void \fBpos\fP (const \fBvec3\fP &in, const bool &update=true)" +.br +.RI "\fISets the absolute position of the camera\&. \fP" +.ti -1c +.RI "void \fBpos\fP (const \fBvec4\fP &in, const bool &update=true)" +.br +.RI "\fISets the absolute position of the camera\&. \fP" +.ti -1c +.RI "void \fBdX\fP (const float &by, const bool &update=true)" +.br +.RI "\fIMoves the camera along the x axis\&. \fP" +.ti -1c +.RI "void \fBdY\fP (const float &by, const bool &update=true)" +.br +.RI "\fIMoves the camera along the y axis\&. \fP" +.ti -1c +.RI "void \fBdZ\fP (const float &by, const bool &update=true)" +.br +.RI "\fIMoves the camera along the z axis\&. \fP" +.ti -1c +.RI "void \fBdPos\fP (const float &\fBx\fP, const float &\fBy\fP, const float &\fBz\fP)" +.br +.RI "\fIMoves the camera along the x, y, and z axes\&. \fP" +.ti -1c +.RI "void \fBdPos\fP (const \fBvec3\fP &by)" +.br +.RI "\fIMoves the camera along the x, y, and z axes\&. \fP" +.ti -1c +.RI "void \fBdPos\fP (const \fBvec4\fP &by)" +.br +.RI "\fIMoves the camera along the x, y, and z axes\&. \fP" +.ti -1c +.RI "void \fBfieldOfView\fP (const float &fovy)" +.br +.RI "\fIfieldOfView sets the current camera Field-of-view angle\&. \fP" +.ti -1c +.RI "float \fBfieldOfView\fP (void) const " +.br +.RI "\fI\fBfieldOfView()\fP gets the current camera Field-of-view angle\&. \fP" +.ti -1c +.RI "void \fBadjustFieldOfView\fP (const float &by)" +.br +.RI "\fIadjustFieldOfView adjusts the field of view angle up or down by an amount\&. \fP" +.ti -1c +.RI "void \fBchangePerspective\fP (const \fBViewType\fP &vType)" +.br +.RI "\fIchangePerspective changes the current perspective of the camera\&. \fP" +.ti -1c +.RI "void \fBrefreshPerspective\fP (void)" +.br +.RI "\fIrefreshPerspective re-generates the current view/perspective matrix of the camera\&. \fP" +.ti -1c +.RI "void \fBviewport\fP (size_t _X, size_t _Y, size_t _width, size_t _height)" +.br +.RI "\fIviewport instructs this camera what his expected drawing window will be\&. \fP" +.ti -1c +.RI "void \fBsway\fP (const float &by)" +.br +.RI "\fIAdjusts the camera's x coordinate relative to its current position\&. \fP" +.ti -1c +.RI "void \fBsurge\fP (const float &by)" +.br +.RI "\fIAdjusts the camera's z coordinate relative to its current position\&. \fP" +.ti -1c +.RI "void \fBheave\fP (const float &by)" +.br +.RI "\fIAdjusts the camera's y coordinate relative to its current position\&. \fP" +.ti -1c +.RI "void \fBpitch\fP (const float &by, const bool &fixed=false)" +.br +.RI "\fIpitch adjusts the x axis rotation; up/down look\&. \fP" +.ti -1c +.RI "void \fByaw\fP (const float &by, const bool &fixed=false)" +.br +.RI "\fIyaw adjusts the y axis rotation; left/right look\&. \fP" +.ti -1c +.RI "void \fBroll\fP (const float &by, const bool &fixed=false)" +.br +.RI "\fIroll adjusts the z axis rotation; tilt or lean left/right\&. \fP" +.ti -1c +.RI "void \fBmove\fP (const \fBCamera::Direction\fP &Dir)" +.br +.RI "\fImove instructs the camera to begin moving in the specified direction\&. \fP" +.ti -1c +.RI "void \fBstop\fP (const \fBCamera::Direction\fP &Dir)" +.br +.RI "\fIstop instructs the camera to stop moving in the specified direction\&. \fP" +.ti -1c +.RI "void \fBidle\fP (void)" +.br +.RI "\fIidle moves the camera forward in whichever directions it is configured to move in\&. \fP" +.ti -1c +.RI "void \fBaccel\fP (const \fBvec3\fP &accel)" +.br +.RI "\fIaccel takes an input vec2 which represents an acceleration, and applies it to the motion vectors with regards to the maximum acceleration and the maximum speed of the camera\&. \fP" +.ti -1c +.RI "float \fBx\fP (void) const " +.br +.RI "\fI\fBx()\fP returns the current position of the camera in model coordinates\&. \fP" +.ti -1c +.RI "float \fBy\fP (void) const " +.br +.RI "\fI\fBy()\fP returns the current position of the camera in model coordinates\&. \fP" +.ti -1c +.RI "float \fBz\fP (void) const " +.br +.RI "\fI\fBz()\fP returns the current position of the camera in model coordinates\&. \fP" +.ti -1c +.RI "\fBvec4\fP \fBpos\fP (void) const " +.br +.RI "\fI\fBpos()\fP gets the current camera position in model coordinates\&. \fP" +.ti -1c +.RI "virtual void \fBsend\fP (\fBObject::UniformEnum\fP which)" +.br +.RI "\fIsend will send a glsl variable to the shader\&. \fP" +.ti -1c +.RI "void \fBview\fP (void)" +.br +.RI "\fIview will instruct OpenGL of the viewport we want, and then send all of our current matrices to the shader for rendering\&. \fP" +.ti -1c +.RI "void \fBresetRotation\fP (void)" +.br +.RI "\fIresetRotation adjusts the camera's rotational state back to its default state (The Identity Matrix\&.) \fP" +.ti -1c +.RI "void \fBdraw\fP (void)" +.br +.RI "\fIdraw method: Render this object to the screen _buffer\&. \fP" +.ti -1c +.RI "void \fBbuffer\fP (void)" +.br +.RI "\fIbuffer all of our data: Vertices, TexUVs, Normals, Indices, Colors and Morph Buffers\&. \fP" +.ti -1c +.RI "void \fBbufferMorphOnly\fP (void)" +.br +.RI "\fIbuffer only the Morph-related buffers\&. \fP" +.ti -1c +.RI "void \fBdrawMode\fP (GLenum new_mode)" +.br +.RI "\fISelect a new OpenGL draw mode for this \fBObject\fP\&. \fP" +.ti -1c +.RI "void \fBtexture\fP (const char **filename)" +.br +.RI "\fIFIXME: This is a junk, nonflexible method\&. \fP" +.ti -1c +.RI "const std::string & \fBname\fP (void) const " +.br +.RI "\fIRetrieve the _name of this \fBObject\fP\&. \fP" +.ti -1c +.RI "virtual void \fBlink\fP (\fBUniformEnum\fP which, const std::string &\fBname\fP)" +.br +.RI "\fIlink a specified Uniform against the shader's variable _name\&. \fP" +.ti -1c +.RI "virtual GLuint \fBshader\fP (void)" +.br +.RI "\fIReturns the \fBObject\fP's current shader\&. \fP" +.ti -1c +.RI "virtual void \fBshader\fP (GLuint newShader)" +.br +.RI "\fISets the shader to be used by this object\&. \fP" +.ti -1c +.RI "void \fBanimation\fP (void(*anim_func)(\fBTransCache\fP &arg))" +.br +.RI "\fIApply an animation callback function to this \fBObject\fP\&. \fP" +.ti -1c +.RI "void \fBpropagate\fP (void)" +.br +.RI "\fIScene-graph changes are not automatically applied to children\&. \fP" +.ti -1c +.RI "\fBvec4\fP \fBposition\fP () const " +.br +.RI "\fIObtain the vec4 representative of the \fBObject\fP's current position in space\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBmorphTarget\fP () const " +.br +.RI "\fIRetrieve a pointer to this object's morph target\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBgenMorphTarget\fP (GLuint \fBshader\fP)" +.br +.RI "\fIInstantiate a new morphing target\&. \fP" +.ti -1c +.RI "float \fBmorphPercentage\fP () const " +.br +.RI "\fIRetrieve the morph Percentage of this object\&. \fP" +.ti -1c +.RI "void \fBmorphPercentage\fP (const float newPercentage)" +.br +.RI "\fISet the morph percentage of this \fBObject\fP\&. \fP" +.ti -1c +.RI "void \fBdestroyMorphTarget\fP ()" +.br +.RI "\fIObliterate the morph target for this object\&. \fP" +.ti -1c +.RI "int \fBnumberOfPoints\fP ()" +.br +.RI "\fIRetrieve the number of _vertices this object has\&. \fP" +.ti -1c +.RI "void \fBtextureID\fP (GLint newTextureID)" +.br +.RI "\fISet the \fBTexture\fP ID / \fBTexture\fP Unit for this \fBObject\fP\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBaddObject\fP (const std::string &objName, GLuint Object_Shader=0)" +.br +.RI "\fIaddObject creates a new \fBObject\fP with the given name and, optionally, a specified shader and adds it to the \fBScene\fP graph\&. \fP" +.ti -1c +.RI "void \fBdelObject\fP (const std::string &objName)" +.br +.RI "\fIdelObject will remove from the \fBScene\fP graph the object with the given name\&. \fP" +.ti -1c +.RI "void \fBdelObject\fP (void)" +.br +.RI "\fIdelObject with no parameters will delete the first \fBObject\fP in the \fBScene\fP\&. \fP" +.ti -1c +.RI "void \fBpopObject\fP (void)" +.br +.RI "\fIpopObject deletes the last \fBObject\fP in the \fBScene\fP\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBnext\fP (void)" +.br +.ti -1c +.RI "\fBObject\fP * \fBprev\fP (void)" +.br +.ti -1c +.RI "\fBObject\fP * \fBactive\fP (void) const " +.br +.ti -1c +.RI "\fBObject\fP * \fBoperator[]\fP (const std::string &objname)" +.br +.ti -1c +.RI "void \fBinsertObject\fP (\fBObject\fP *obj)" +.br +.RI "\fIRegister a created object with the scene graph\&. \fP" +.in -1c +.SS "Public Attributes" + +.in +1c +.ti -1c +.RI "std::vector< \fBAngel::vec4\fP > \fB_vertices\fP" +.br +.RI "\fIvertex buffer\&. \fP" +.ti -1c +.RI "std::vector< \fBAngel::vec3\fP > \fB_normals\fP" +.br +.RI "\fINormals buffer\&. \fP" +.ti -1c +.RI "std::vector< unsigned int > \fB_indices\fP" +.br +.RI "\fIDraw Order Index buffer\&. \fP" +.ti -1c +.RI "std::vector< \fBAngel::vec4\fP > \fB_colors\fP" +.br +.RI "\fIColors buffer\&. \fP" +.ti -1c +.RI "std::vector< \fBAngel::vec2\fP > \fB_texUVs\fP" +.br +.RI "\fI\fBTexture\fP Coordinates buffer\&. \fP" +.ti -1c +.RI "\fBTransCache\fP \fB_trans\fP" +.br +.RI "\fIThe _trans cache encompasses the current transformational state of this object\&. \fP" +.in -1c +.SS "Protected Member Functions" + +.in +1c +.ti -1c +.RI "void \fBdeleteObject\fP (\fBObject\fP *obj)" +.br +.RI "\fIVery seriously delete a child object and free his memory\&. \fP" +.in -1c +.SS "Protected Attributes" + +.in +1c +.ti -1c +.RI "std::string \fB_name\fP" +.br +.RI "\fI_name is used as an identifying handle for the object\&. \fP" +.ti -1c +.RI "GLuint \fB_vao\fP" +.br +.RI "\fIVertex Array \fBObject\fP handle identifying our buffers/object\&. \fP" +.ti -1c +.RI "GLuint \fB_buffer\fP [\fBNUM_BUFFERS\fP]" +.br +.RI "\fIHandles to our buffers (Vertices, TexUVs, etc\&.) \fP" +.ti -1c +.RI "GLenum \fB_drawMode\fP" +.br +.RI "\fIDrawing mode for this object\&. \fP" +.ti -1c +.RI "bool \fB_isTextured\fP" +.br +.RI "\fIIs this object textured? \fP" +.ti -1c +.RI "float \fB_morphPercentage\fP" +.br +.RI "\fIThe percentage of the morph\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fB_morphTarget\fP" +.br +.RI "\fIA pointer to the object we wish to morph into\&. \fP" +.ti -1c +.RI "std::map< \fBObject::UniformEnum\fP, +.br +std::string > \fB_uniformMap\fP" +.br +.RI "\fIA map between Uniform variable functions and the actual uniform variable names\&. \fP" +.ti -1c +.RI "std::vector< GLint > \fB_handles\fP" +.br +.RI "\fIHandles to Uniforms on the shader\&. \fP" +.ti -1c +.RI "GLint \fB_textureID\fP" +.br +.RI "\fIThe texture unit index this \fBObject\fP uses\&. \fP" +.ti -1c +.RI "std::list< \fBObject\fP * > \fB_list\fP" +.br +.RI "\fIFor the purposes of rapid propagation of scene-graph changes, \fBObject\fP pointers are stored in a regular flat list\&. \fP" +.ti -1c +.RI "std::map< std::string, \fBObject\fP * > \fB_map\fP" +.br +.RI "\fIFor the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map\&. \fP" +.ti -1c +.RI "std::list< \fBObject\fP * >::iterator \fB_currentObj\fP" +.br +.RI "\fIWe keep an iterator on-hand that references what the scene considers to be it's active, current object\&. \fP" +.ti -1c +.RI "GLuint \fB_gShader\fP" +.br +.RI "\fIA handle to a shader program to be used as the default shader for new children objects added to the scene\&. \fP" +.in -1c +.SS "Private Member Functions" + +.in +1c +.ti -1c +.RI "void \fBadjustRotation\fP (const \fBmat4\fP &adjustment, const bool &fixed=false)" +.br +.RI "\fIadjustRotation is an internal function that rotates the camera\&. \fP" +.ti -1c +.RI "void \fBcommonInit\fP (void)" +.br +.RI "\fIcommonInit is a private function that initializes local object attributes\&. \fP" +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "\fBmat4\fP \fB_view\fP" +.br +.RI "\fIThe current view matrix (defaultly perspective) for this camera\&. \fP" +.ti -1c +.RI "\fBTransCache\fP \fB_ctm\fP" +.br +.RI "\fIThe Current \fBTransformation\fP state for this \fBCamera\fP\&. \fP" +.ti -1c +.RI "\fBViewType\fP \fB_currentView\fP" +.br +.RI "\fIThe current viewing mode type\&. \fP" +.ti -1c +.RI "GLfloat \fB_speed\fP" +.br +.RI "\fICurrent Speed of camera motion\&. \fP" +.ti -1c +.RI "\fBvec3\fP \fB_velocity\fP" +.br +.RI "\fICurrent Velocity of camera motion\&. \fP" +.ti -1c +.RI "GLfloat \fB_speed_cap\fP" +.br +.RI "\fICurrent Speed Capacity: (speed/MaxSpeed) \fP" +.ti -1c +.RI "GLfloat \fB_maxAccel\fP" +.br +.RI "\fIMaximum Acceleration Magnitude\&. \fP" +.ti -1c +.RI "GLfloat \fB_maxSpeed\fP" +.br +.RI "\fIMaximum Speed\&. \fP" +.ti -1c +.RI "GLfloat \fB_frictionMagnitude\fP" +.br +.RI "\fIFriction\&. \fP" +.ti -1c +.RI "GLfloat \fB_aspectRatio\fP" +.br +.RI "\fICurrent aspect ratio for certain perspectives\&. \fP" +.ti -1c +.RI "GLfloat \fB_fovy\fP" +.br +.RI "\fICurrent field-of-view angle for perspective view\&. \fP" +.ti -1c +.RI "\fBAngel::vec2\fP \fB_viewportSize\fP" +.br +.RI "\fI\fBCamera\fP's Drawbox Width and Height\&. \fP" +.ti -1c +.RI "\fBAngel::vec2\fP \fB_viewportPosition\fP" +.br +.RI "\fI\fBCamera\fP's Drawbox x,y Coordinate (Upper-Left Pixel) \fP" +.ti -1c +.RI "bool \fB_motion\fP [Camera::DIR_END]" +.br +.RI "\fIBooleans correlating to the different motion directions\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +The \fBCamera\fP class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state\&. + +\fBAuthor:\fP +.RS 4 +John Huston, jhuston@cs.uml.edu +.RE +.PP +\fBSince:\fP +.RS 4 +16 Nov 2012 +.RE +.PP +Functions are provided to adjust the rotation according to \fBpitch()\fP, \fByaw()\fP and \fBroll()\fP motions; \fBsurge()\fP, \fBsway()\fP, and \fBheave()\fP are provided to adjust position in space\&. +.PP +\fBmove()\fP, \fBstop()\fP, and \fBidle()\fP are provided to help the camera automatically move along the x, y, or z axes\&. +.PP +Definition at line 37 of file Camera\&.hpp\&. +.SH "Member Typedef Documentation" +.PP +.SS "typedef enum \fBCamera::Direction\fP \fBCamera::Direction\fP" + +.PP +The Direction enumeration lists all of the possible directions the camera may travel in\&. 'BEGIN' and 'END' are special sentinel directions for the purposes of iteration, and are ignored by any functions that accept a Direction\&. +.SS "typedef enum \fBCamera::Uniforms\fP \fBCamera::Uniform\fP" + +.PP +The glsl_var enumeration lists the various variables the \fBCamera\fP class is capable of sending to the shader\&. The NumGlslVars variable is a sentinel value that is ignored by any functions that accept a glsl_var\&. +.SS "typedef const unsigned int \fBObject::UniformEnum\fP\fC [inherited]\fP" + +.PP +The \fBObject\fP class takes advantage of child-extendible enumerations\&. We create an alias here for sake of ease\&. +.PP +Definition at line 62 of file Object\&.hpp\&. +.SS "typedef std::map< \fBObject::UniformEnum\fP, std::string > \fBObject::UniformMap\fP\fC [inherited]\fP" + +.PP +We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables\&. This is utilized if we ever switch this object's shader, so we can re-associate with the correct uniform locations\&. +.PP +Definition at line 70 of file Object\&.hpp\&. +.SS "typedef enum \fBCamera::ViewType\fP \fBCamera::ViewType\fP" + +.PP +The ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between\&. The default is PERSPECTIVE\&. +.SH "Member Enumeration Documentation" +.PP +.SS "enum \fBCamera::Direction\fP" + +.PP +The Direction enumeration lists all of the possible directions the camera may travel in\&. 'BEGIN' and 'END' are special sentinel directions for the purposes of iteration, and are ignored by any functions that accept a Direction\&. +.PP +Definition at line 47 of file Camera\&.hpp\&. +.SS "enum \fBCamera::Uniforms\fP" + +.PP +The glsl_var enumeration lists the various variables the \fBCamera\fP class is capable of sending to the shader\&. The NumGlslVars variable is a sentinel value that is ignored by any functions that accept a glsl_var\&. +.PP +Definition at line 73 of file Camera\&.hpp\&. +.SS "enum \fBCamera::ViewType\fP" + +.PP +The ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between\&. The default is PERSPECTIVE\&. +.PP +Definition at line 63 of file Camera\&.hpp\&. +.SH "Constructor & Destructor Documentation" +.PP +.SS "Camera::Camera (const std::string &name, GLuintgShader, floatx = \fC0\&.0\fP, floaty = \fC0\&.0\fP, floatz = \fC0\&.0\fP)" + +.PP +Initialization Constructor; sets the x,y,z coordinates explicitly\&. \fBParameters:\fP +.RS 4 +\fIname\fP The name of this Camera/Object\&. +.br +\fIgShader\fP A handle to this camera's associated shader object\&. +.br +\fIx\fP The initial x coordinate\&. +.br +\fIy\fP The initial y coordinate\&. +.br +\fIz\fP The initial z coordinate\&. +.RE +.PP + +.PP +Definition at line 45 of file Camera\&.cpp\&. +.SS "Camera::Camera (const std::string &name, GLuintgShader, \fBvec3\fP &in)" + +.PP +Initialization Constructor, uses a vec3 as its initial coordinates\&. \fBParameters:\fP +.RS 4 +\fIname\fP The name of this Camera/Object\&. +.br +\fIgShader\fP A handle to this camera's associated shader object\&. +.br +\fIin\fP A vec3 representing the initial coordinates\&. +.RE +.PP + +.PP +Definition at line 52 of file Camera\&.cpp\&. +.SS "Camera::Camera (const std::string &name, GLuintgShader, \fBvec4\fP &in)" + +.PP +Initialization Constructor, uses a vec4 as its initial coordinates\&. \fBParameters:\fP +.RS 4 +\fIname\fP The name of this Camera/Object\&. +.br +\fIgShader\fP A handle to this camera's associated shader object\&. +.br +\fIin\fP A vec4 representing the initial coordinates\&. The w component is ignored\&. +.RE +.PP + +.PP +Definition at line 58 of file Camera\&.cpp\&. +.SS "Camera::~Camera (void)\fC [virtual]\fP" + +.PP +Default destructor\&. Defined only to allow inheritance\&. +.PP +Definition at line 64 of file Camera\&.cpp\&. +.SH "Member Function Documentation" +.PP +.SS "void Camera::accel (const \fBvec3\fP &accel)" + +.PP +accel takes an input vec2 which represents an acceleration, and applies it to the motion vectors with regards to the maximum acceleration and the maximum speed of the camera\&. \fBParameters:\fP +.RS 4 +\fIaccel\fP The vec3 which represents the (x,y,z) acceleration, where x,y,z are [-1,1]\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 223 of file Camera\&.cpp\&. +.SS "\fBObject\fP * Scene::addObject (const std::string &objName, GLuintshader = \fC0\fP)\fC [inherited]\fP" + +.PP +addObject creates a new \fBObject\fP with the given name and, optionally, a specified shader and adds it to the \fBScene\fP graph\&. If no shader is given, a default shader MUST have been specified for the \fBScene\fP prior to the call\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobjName\fP The name of the new \fBObject\fP to add\&. +.br +\fIObject_Shader\fP The shader that should be used to render this object\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +A pointer to the new \fBObject\fP\&. +.RE +.PP + +.PP +Definition at line 77 of file Scene\&.cpp\&. +.SS "void Camera::adjustFieldOfView (const float &by)" + +.PP +adjustFieldOfView adjusts the field of view angle up or down by an amount\&. \fBParameters:\fP +.RS 4 +\fIby\fP The float to adjust the fieldOfView angle by\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 392 of file Camera\&.cpp\&. +.SS "void Camera::adjustRotation (const \fBmat4\fP &adjustment, const bool &fixed = \fCfalse\fP)\fC [private]\fP" + +.PP +adjustRotation is an internal function that rotates the camera\&. Technically, any transformation, not just a rotation, is possible\&. +.PP +\fBParameters:\fP +.RS 4 +\fIadjustment\fP The 4x4 matrix to transform the CTM by\&. +.br +\fIfixed\fP Should this rotation be fixed about the origin? +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 148 of file Camera\&.cpp\&. +.SS "void Object::animation (void(*)(\fBTransCache\fP &arg)anim_func)\fC [inherited]\fP" + +.PP +Apply an animation callback function to this \fBObject\fP\&. Works once only: Does not save the function or automatically run on idle\&. +.PP +\fBParameters:\fP +.RS 4 +\fIanim_func\fP The transformation/animation function to apply\&. +.RE +.PP + +.PP +Definition at line 443 of file Object\&.cpp\&. +.SS "void Camera::changePerspective (const \fBViewType\fP &vType)" + +.PP +changePerspective changes the current perspective of the camera\&. \fBParameters:\fP +.RS 4 +\fIvType\fP Which perspective to use\&. see enum ViewType for possibilities\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 359 of file Camera\&.cpp\&. +.SS "void Camera::commonInit (void)\fC [private]\fP" + +.PP +commonInit is a private function that initializes local object attributes\&. It should be called by all available constructors\&. +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 19 of file Camera\&.cpp\&. +.SS "void Scene::deleteObject (\fBObject\fP *obj)\fC [protected]\fP, \fC [inherited]\fP" + +.PP +Very seriously delete a child object and free his memory\&. deleteObject is the actual implementation function that will remove an \fBObject\fP from the \fBScene\fP list and \fBScene\fP map, then free the object\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to delete\&. +.br +\fIobj\fP The pointer to the object to free\&. +.RE +.PP + +.PP +Definition at line 129 of file Scene\&.cpp\&. +.SS "void Scene::delObject (const std::string &objName)\fC [inherited]\fP" + +.PP +delObject will remove from the \fBScene\fP graph the object with the given name\&. \fBParameters:\fP +.RS 4 +\fIobjName\fP Name of the \fBObject\fP to delete\&. +.RE +.PP + +.PP +Definition at line 99 of file Scene\&.cpp\&. +.SS "void Camera::dPos (const float &x, const float &y, const float &z)" + +.PP +Moves the camera along the x, y, and z axes\&. \fBParameters:\fP +.RS 4 +\fIx\fP the x-axis displacement\&. +.br +\fIy\fP the y-axis displacement\&. +.br +\fIz\fP the z-axis displacement\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 131 of file Camera\&.cpp\&. +.SS "void Camera::dPos (const \fBvec3\fP &by)" + +.PP +Moves the camera along the x, y, and z axes\&. \fBParameters:\fP +.RS 4 +\fIby\fP A vec3 containing the x, y, and z axis displacements\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 140 of file Camera\&.cpp\&. +.SS "void Camera::dPos (const \fBvec4\fP &by)" + +.PP +Moves the camera along the x, y, and z axes\&. \fBParameters:\fP +.RS 4 +\fIby\fP A vec4 containing the x, y, and z axis displacements\&. The w component is ignored\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 144 of file Camera\&.cpp\&. +.SS "void Object::drawMode (GLenumnew_mode)\fC [inherited]\fP" + +.PP +Select a new OpenGL draw mode for this \fBObject\fP\&. Can be GL_LINES, GL_LINE_LOOP, GL_TRIANGLES, etc\&. +.PP +\fBSee Also:\fP +.RS 4 +http://www.opengl.org/wiki/Primitive +.RE +.PP +\fBParameters:\fP +.RS 4 +\fInew_mode\fP The primitive rendering mode to use\&. +.RE +.PP + +.PP +Definition at line 269 of file Object\&.cpp\&. +.SS "void Camera::dX (const float &by, const bool &update = \fCtrue\fP)" + +.PP +Moves the camera along the x axis\&. \fBParameters:\fP +.RS 4 +\fIby\fP The float value of the x-axis displacement\&. +.br +\fIupdate\fP A boolean indicating whether or not to update the shader\&. update defaults to true\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 119 of file Camera\&.cpp\&. +.SS "void Camera::dY (const float &by, const bool &update = \fCtrue\fP)" + +.PP +Moves the camera along the y axis\&. \fBParameters:\fP +.RS 4 +\fIby\fP The float value of the y-axis displacement\&. +.br +\fIupdate\fP A boolean indicating whether or not to update the shader\&. update defaults to true\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 123 of file Camera\&.cpp\&. +.SS "void Camera::dZ (const float &by, const bool &update = \fCtrue\fP)" + +.PP +Moves the camera along the z axis\&. \fBParameters:\fP +.RS 4 +\fIby\fP The float value of the z-axis displacement\&. +.br +\fIupdate\fP A boolean indicating whether or not to update the shader\&. update defaults to true\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 127 of file Camera\&.cpp\&. +.SS "void Camera::fieldOfView (const float &fovy)" + +.PP +fieldOfView sets the current camera Field-of-view angle\&. This function will send the new perspective matrix to the shader\&. +.PP +\fBParameters:\fP +.RS 4 +\fIfovy\fP The new field of view angle\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 354 of file Camera\&.cpp\&. +.SS "float Camera::fieldOfView (void) const" + +.PP +\fBfieldOfView()\fP gets the current camera Field-of-view angle\&. \fBReturns:\fP +.RS 4 +A float that is the y axis viewing angle\&. +.RE +.PP + +.PP +Definition at line 350 of file Camera\&.cpp\&. +.SS "\fBObject\fP * Object::genMorphTarget (GLuintshader)\fC [inherited]\fP" + +.PP +Instantiate a new morphing target\&. \fBParameters:\fP +.RS 4 +\fIshader\fP The shader to use for the new morphing target\&. NOT USED for rendering the object, but Objects cannot be instantiated without a shader, so here it is\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +A pointer to the newly created target\&. +.RE +.PP + +.PP +Definition at line 503 of file Object\&.cpp\&. +.SS "void Camera::heave (const float &by)" + +.PP +Adjusts the camera's y coordinate relative to its current position\&. Positive values move the camera up, and negative values move the camera down\&. +.PP +\fBParameters:\fP +.RS 4 +\fIby\fP The float to adjust the y coordinate by\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 194 of file Camera\&.cpp\&. +.SS "void Camera::idle (void)" + +.PP +idle moves the camera forward in whichever directions it is configured to move in\&. Call it in the glut idle function\&. +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 280 of file Camera\&.cpp\&. +.SS "void Scene::insertObject (\fBObject\fP *obj)\fC [inherited]\fP" + +.PP +Register a created object with the scene graph\&. \fBParameters:\fP +.RS 4 +\fIname\fP The name of the object (For the associative map), +.br +\fIobj\fP The \fBObject\fP pointer to add to the scene\&. +.RE +.PP + +.PP +Definition at line 118 of file Scene\&.cpp\&. +.SS "void Object::link (\fBUniformEnum\fPwhich, const std::string &name)\fC [virtual]\fP, \fC [inherited]\fP" + +.PP +link a specified Uniform against the shader's variable _name\&. \fBParameters:\fP +.RS 4 +\fIwhich\fP The Uniform to link\&. +.br +\fIname\fP The variable _name on the shader\&. +.RE +.PP + +.PP +Definition at line 345 of file Object\&.cpp\&. +.SS "float Object::morphPercentage (void) const\fC [inherited]\fP" + +.PP +Retrieve the morph Percentage of this object\&. \fBReturns:\fP +.RS 4 +The morph percentage, as a float\&. +.RE +.PP + +.PP +Definition at line 515 of file Object\&.cpp\&. +.SS "void Object::morphPercentage (const floatnewPercentage)\fC [inherited]\fP" + +.PP +Set the morph percentage of this \fBObject\fP\&. \fBParameters:\fP +.RS 4 +\fInewPercentage\fP The new morphing percentage\&. +.RE +.PP + +.PP +Definition at line 524 of file Object\&.cpp\&. +.SS "\fBObject\fP * Object::morphTarget (void) const\fC [inherited]\fP" + +.PP +Retrieve a pointer to this object's morph target\&. \fBReturns:\fP +.RS 4 +An \fBObject\fP pointer to the morph target\&. +.RE +.PP + +.PP +Definition at line 489 of file Object\&.cpp\&. +.SS "void Camera::move (const \fBCamera::Direction\fP &Dir)" + +.PP +move instructs the camera to begin moving in the specified direction\&. \fBParameters:\fP +.RS 4 +\fIDir\fP The direction in which to move\&. Can be any direction in the enumerated type \fBCamera::Direction\fP\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 272 of file Camera\&.cpp\&. +.SS "const std::string & Object::name (void) const\fC [inherited]\fP" + +.PP +Retrieve the _name of this \fBObject\fP\&. \fBReturns:\fP +.RS 4 +The _name of this \fBObject\fP\&. +.RE +.PP + +.PP +Definition at line 333 of file Object\&.cpp\&. +.SS "int Object::numberOfPoints (void)\fC [inherited]\fP" + +.PP +Retrieve the number of _vertices this object has\&. \fBReturns:\fP +.RS 4 +An integer representing the number of vertices the object has\&. +.RE +.PP + +.PP +Definition at line 544 of file Object\&.cpp\&. +.SS "void Camera::pitch (const float &by, const bool &fixed = \fCfalse\fP)" + +.PP +pitch adjusts the x axis rotation; up/down look\&. A positive value represents looking up, while a negative value represents looking down\&. +.PP +\fBParameters:\fP +.RS 4 +\fIby\fP A float, in degrees, to adjust the pitch by\&. +.br +\fIfixed\fP Should this rotation be fixed about the origin? +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 198 of file Camera\&.cpp\&. +.SS "void Camera::pos (const float &x, const float &y, const float &z, const bool &update = \fCtrue\fP)" + +.PP +Sets the absolute position of the camera\&. \fBParameters:\fP +.RS 4 +\fIx\fP The new x coordinate of the camera\&. +.br +\fIy\fP The new y coordinate of the camera\&. +.br +\fIz\fP The new z coordinate of the camera\&. +.br +\fIupdate\fP Whether or not to update the shader with the new coordinates\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 99 of file Camera\&.cpp\&. +.SS "void Camera::pos (const \fBvec3\fP &in, const bool &update = \fCtrue\fP)" + +.PP +Sets the absolute position of the camera\&. \fBParameters:\fP +.RS 4 +\fIin\fP A vec3 containing the x, y, and z coordinates to set the camera to\&. +.br +\fIupdate\fP Whether or not to update the shader with the new coordinates\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 115 of file Camera\&.cpp\&. +.SS "void Camera::pos (const \fBvec4\fP &in, const bool &update = \fCtrue\fP)" + +.PP +Sets the absolute position of the camera\&. \fBParameters:\fP +.RS 4 +\fIin\fP A vec4 containing the x, y, and z coordinates to set the camera to\&. The w coordinate is ignored\&. +.br +\fIupdate\fP Whether or not to update the shader with the new coordinates\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 111 of file Camera\&.cpp\&. +.SS "\fBvec4\fP Camera::pos (void) const" + +.PP +\fBpos()\fP gets the current camera position in model coordinates\&. \fBReturns:\fP +.RS 4 +A vec4 that represents the current camera coordinates\&. +.RE +.PP + +.PP +Definition at line 346 of file Camera\&.cpp\&. +.SS "\fBvec4\fP Object::position (void) const\fC [inherited]\fP" + +.PP +Obtain the vec4 representative of the \fBObject\fP's current position in space\&. \fBReturns:\fP +.RS 4 +vec4 representing the \fBObject\fP's position in space\&. +.RE +.PP + +.PP +Definition at line 478 of file Object\&.cpp\&. +.SS "void Object::propagate (void)\fC [inherited]\fP" + +.PP +Scene-graph changes are not automatically applied to children\&. For efficiency reasons, you need to call \fBpropagate()\fP manually\&. +.PP +Definition at line 452 of file Object\&.cpp\&. +.SS "void Camera::refreshPerspective (void)" + +.PP +refreshPerspective re-generates the current view/perspective matrix of the camera\&. This function should be called after physical or virtual (viewport) screen resizes\&. +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 366 of file Camera\&.cpp\&. +.SS "void Camera::resetRotation (void)" + +.PP +resetRotation adjusts the camera's rotational state back to its default state (The Identity Matrix\&.) \fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 446 of file Camera\&.cpp\&. +.SS "void Camera::roll (const float &by, const bool &fixed = \fCfalse\fP)" + +.PP +roll adjusts the z axis rotation; tilt or lean left/right\&. A positive value represents leaning right, while a negative value represents leaning left\&. +.PP +\fBParameters:\fP +.RS 4 +\fIby\fP A float, in degrees, to adjust the roll by\&. +.br +\fIfixed\fP Should this rotation be fixed about the origin? +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 219 of file Camera\&.cpp\&. +.SS "void Camera::send (\fBObject::UniformEnum\fPwhich)\fC [virtual]\fP" + +.PP +send will send a glsl variable to the shader\&. \fBParameters:\fP +.RS 4 +\fIwhich\fP The parameter to send\&. Can be any from enum glsl_var\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Reimplemented from \fBObject\fP\&. +.PP +Definition at line 403 of file Camera\&.cpp\&. +.SS "GLuint Object::shader (void)\fC [virtual]\fP, \fC [inherited]\fP" + +.PP +Returns the \fBObject\fP's current shader\&. Defined because C++ will not let you overload an overrided function, without re-overloading it in the derived class\&. +.PP +\fBReturns:\fP +.RS 4 +a GLuint handle to the shader program used by this \fBObject\fP\&. +.RE +.PP + +.PP +Reimplemented from \fBScene\fP\&. +.PP +Definition at line 406 of file Object\&.cpp\&. +.SS "void Object::shader (GLuintnewShader)\fC [virtual]\fP, \fC [inherited]\fP" + +.PP +Sets the shader to be used by this object\&. Triggers a query of the shader program, for the locations of the Uniform locations that the object needs\&. +.PP +\fBParameters:\fP +.RS 4 +\fInewShader\fP a GLuint handle to the shader program to use\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +None\&. +.RE +.PP + +.PP +Reimplemented from \fBScene\fP\&. +.PP +Definition at line 422 of file Object\&.cpp\&. +.SS "void Camera::stop (const \fBCamera::Direction\fP &Dir)" + +.PP +stop instructs the camera to stop moving in the specified direction\&. \fBParameters:\fP +.RS 4 +\fIDir\fP The direction in which to stop moving\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 276 of file Camera\&.cpp\&. +.SS "void Camera::surge (const float &by)" + +.PP +Adjusts the camera's z coordinate relative to its current position\&. Positive values move the camera forward, and negative values move the camera backward\&. Note that the camera uses model coordinates internally, so moving forward will increase the camera's z position negatively\&. +.PP +\fBParameters:\fP +.RS 4 +\fIby\fP The float to adjust the z coordinate by\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 190 of file Camera\&.cpp\&. +.SS "void Camera::sway (const float &by)" + +.PP +Adjusts the camera's x coordinate relative to its current position\&. Negative values move the camera left, and positive values move the camera right\&. +.PP +\fBParameters:\fP +.RS 4 +\fIby\fP The float to adjust the x coordinate by\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 186 of file Camera\&.cpp\&. +.SS "void Object::texture (const char **filename)\fC [inherited]\fP" + +.PP +FIXME: This is a junk, nonflexible method\&. It would be better if you didn't think of this as being here\&. +.PP +\fBParameters:\fP +.RS 4 +\fIfilename\fP an array of strings to load textures from\&. +.RE +.PP + +.PP +Definition at line 279 of file Object\&.cpp\&. +.SS "void Object::textureID (GLintnewTextureID)\fC [inline]\fP, \fC [inherited]\fP" + +.PP +Set the \fBTexture\fP ID / \fBTexture\fP Unit for this \fBObject\fP\&. \fBParameters:\fP +.RS 4 +\fInewTextureID\fP The new \fBTexture\fP Unit ID/Index for this \fBObject\fP\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +None\&. +.RE +.PP + +.PP +Definition at line 244 of file Object\&.hpp\&. +.SS "void Camera::view (void)" + +.PP +view will instruct OpenGL of the viewport we want, and then send all of our current matrices to the shader for rendering\&. \fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 434 of file Camera\&.cpp\&. +.SS "void Camera::viewport (size_t_X, size_t_Y, size_t_width, size_t_height)" + +.PP +viewport instructs this camera what his expected drawing window will be\&. This allows the camera to generate his viewing matrices with the correct aspect ratio\&. +.PP +\fBParameters:\fP +.RS 4 +\fI_X\fP The x coordinate of the lower-left corner of our viewport\&. +.br +\fI_Y\fP the y coordinate of the lower-left corner of our viewport\&. +.br +\fI_width\fP The width of our viewport\&. +.br +\fI_height\fP the height of our viewport\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 396 of file Camera\&.cpp\&. +.SS "void Camera::x (const float &in, const bool &update = \fCtrue\fP)" + +.PP +Sets the x coordinate of the camera\&. \fBParameters:\fP +.RS 4 +\fIin\fP The new x coordinate of the camera\&. +.br +\fIupdate\fP Whether or not to update the shader with the new coordinates\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 68 of file Camera\&.cpp\&. +.SS "float Camera::x (void) const" + +.PP +\fBx()\fP returns the current position of the camera in model coordinates\&. \fBReturns:\fP +.RS 4 +The current x coordinate of the camera in model coordinates\&. +.RE +.PP + +.PP +Definition at line 334 of file Camera\&.cpp\&. +.SS "void Camera::y (const float &in, const bool &update = \fCtrue\fP)" + +.PP +Sets the y coordinate of the camera\&. \fBParameters:\fP +.RS 4 +\fIin\fP The new y coordinate of the camera\&. +.br +\fIupdate\fP Whether or not to update the shader with the new coordinates\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 79 of file Camera\&.cpp\&. +.SS "float Camera::y (void) const" + +.PP +\fBy()\fP returns the current position of the camera in model coordinates\&. \fBReturns:\fP +.RS 4 +The current y coordinate of the camera in model coordinates\&. +.RE +.PP + +.PP +Definition at line 338 of file Camera\&.cpp\&. +.SS "void Camera::yaw (const float &by, const bool &fixed = \fCfalse\fP)" + +.PP +yaw adjusts the y axis rotation; left/right look\&. A positive value represents looking right, while a negative value represents looking left\&. +.PP +\fBParameters:\fP +.RS 4 +\fIby\fP A float, in degrees, to adjust the yaw by\&. +.br +\fIfixed\fP Should this rotation be fixed about the origin? +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 209 of file Camera\&.cpp\&. +.SS "void Camera::z (const float &in, const bool &update = \fCtrue\fP)" + +.PP +Sets the z coordinate of the camera\&. \fBParameters:\fP +.RS 4 +\fIin\fP The new z coordinate of the camera\&. +.br +\fIupdate\fP Whether or not to update the shader with the new coordinates\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 89 of file Camera\&.cpp\&. +.SS "float Camera::z (void) const" + +.PP +\fBz()\fP returns the current position of the camera in model coordinates\&. \fBReturns:\fP +.RS 4 +The current z coordinate of the camera in model coordinates\&. +.RE +.PP + +.PP +Definition at line 342 of file Camera\&.cpp\&. +.SH "Member Data Documentation" +.PP +.SS "GLfloat Camera::_aspectRatio\fC [private]\fP" + +.PP +Current aspect ratio for certain perspectives\&. +.PP +Definition at line 428 of file Camera\&.hpp\&. +.SS "std::vector< \fBAngel::vec4\fP > Object::_colors\fC [inherited]\fP" + +.PP +Colors buffer\&. +.PP +Definition at line 256 of file Object\&.hpp\&. +.SS "\fBTransCache\fP Camera::_ctm\fC [private]\fP" + +.PP +The Current \fBTransformation\fP state for this \fBCamera\fP\&. +.PP +Definition at line 404 of file Camera\&.hpp\&. +.SS "\fBViewType\fP Camera::_currentView\fC [private]\fP" + +.PP +The current viewing mode type\&. +.PP +Definition at line 407 of file Camera\&.hpp\&. +.SS "GLenum Object::_drawMode\fC [protected]\fP, \fC [inherited]\fP" + +.PP +Drawing mode for this object\&. GL_TRIANGLES, GL_LINE_LOOP, etc\&. +.PP +Definition at line 278 of file Object\&.hpp\&. +.SS "GLfloat Camera::_fovy\fC [private]\fP" + +.PP +Current field-of-view angle for perspective view\&. +.PP +Definition at line 431 of file Camera\&.hpp\&. +.SS "GLfloat Camera::_frictionMagnitude\fC [private]\fP" + +.PP +Friction\&. Should be less than MaxAccel\&. +.PP +Definition at line 425 of file Camera\&.hpp\&. +.SS "std::vector< GLint > Object::_handles\fC [protected]\fP, \fC [inherited]\fP" + +.PP +Handles to Uniforms on the shader\&. Protected to allow derived classes to extend it as needed\&. +.PP +Definition at line 307 of file Object\&.hpp\&. +.SS "std::vector< unsigned int > Object::_indices\fC [inherited]\fP" + +.PP +Draw Order Index buffer\&. If not used, engine assumes GL_DRAW_ARRAYS\&. +.PP +Definition at line 254 of file Object\&.hpp\&. +.SS "std::map< std::string, \fBObject\fP* > Scene::_map\fC [protected]\fP, \fC [inherited]\fP" + +.PP +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map\&. It's a little superfluous, but here it is! +.PP +Definition at line 127 of file Scene\&.hpp\&. +.SS "float Object::_morphPercentage\fC [protected]\fP, \fC [inherited]\fP" + +.PP +The percentage of the morph\&. 0\&.0 means 100% the original, current object\&. 100\&.0 means 100% the new, targeted object\&. +.PP +Definition at line 289 of file Object\&.hpp\&. +.SS "bool Camera::_motion[Camera::DIR_END]\fC [private]\fP" + +.PP +Booleans correlating to the different motion directions\&. +.PP +Definition at line 440 of file Camera\&.hpp\&. +.SS "std::string Object::_name\fC [protected]\fP, \fC [inherited]\fP" + +.PP +_name is used as an identifying handle for the object\&. +.PP +Definition at line 269 of file Object\&.hpp\&. +.SS "std::vector< \fBAngel::vec3\fP > Object::_normals\fC [inherited]\fP" + +.PP +Normals buffer\&. +.PP +Definition at line 252 of file Object\&.hpp\&. +.SS "GLfloat Camera::_speed\fC [private]\fP" + +.PP +Current Speed of camera motion\&. +.PP +Definition at line 410 of file Camera\&.hpp\&. +.SS "std::vector< \fBAngel::vec2\fP > Object::_texUVs\fC [inherited]\fP" + +.PP +\fBTexture\fP Coordinates buffer\&. +.PP +Definition at line 258 of file Object\&.hpp\&. +.SS "std::map< \fBObject::UniformEnum\fP, std::string > Object::_uniformMap\fC [protected]\fP, \fC [inherited]\fP" + +.PP +A map between Uniform variable functions and the actual uniform variable names\&. Used when linking against a shader\&. +.PP +Definition at line 300 of file Object\&.hpp\&. +.SS "GLuint Object::_vao\fC [protected]\fP, \fC [inherited]\fP" + +.PP +Vertex Array \fBObject\fP handle identifying our buffers/object\&. +.PP +Definition at line 272 of file Object\&.hpp\&. +.SS "\fBvec3\fP Camera::_velocity\fC [private]\fP" + +.PP +Current Velocity of camera motion\&. +.PP +Definition at line 413 of file Camera\&.hpp\&. +.SS "std::vector< \fBAngel::vec4\fP > Object::_vertices\fC [inherited]\fP" + +.PP +vertex buffer\&. +.PP +Definition at line 250 of file Object\&.hpp\&. +.SS "\fBmat4\fP Camera::_view\fC [private]\fP" + +.PP +The current view matrix (defaultly perspective) for this camera\&. +.PP +Definition at line 401 of file Camera\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Camera.cpp.3 b/Doxygen/Docs/man/man3/Camera.cpp.3 new file mode 100644 index 00000000..95ec3483 --- /dev/null +++ b/Doxygen/Docs/man/man3/Camera.cpp.3 @@ -0,0 +1,79 @@ +.TH "Camera.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Camera.cpp \- +.PP +Implementation for the \fBCamera\fP class\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'mat\&.hpp'\fP +.br +\fC#include 'vec\&.hpp'\fP +.br +\fC#include 'Camera\&.hpp'\fP +.br +\fC#include 'globals\&.h'\fP +.br +\fC#include 'Timer\&.hpp'\fP +.br + +.SS "Macros" + +.in +1c +.ti -1c +.RI "#define \fBROTATE_OFFSET\fP(V) (V * _ctm\&._orbit\&.matrix())" +.br +.RI "\fIROTATE_OFFSET is a macro which is used to normalize the six camera motion directions with respect to the current camera _rotation\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Implementation for the \fBCamera\fP class\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBAuthors:\fP +.RS 4 +John Huston, Nicholas StPierre, Chris Compton +.RE +.PP +\fBDate:\fP +.RS 4 +2012-12-20 +.RE +.PP + +.PP +Definition in file \fBCamera\&.cpp\fP\&. +.SH "Macro Definition Documentation" +.PP +.SS "#define ROTATE_OFFSET(V) (V * _ctm\&._orbit\&.matrix())" + +.PP +ROTATE_OFFSET is a macro which is used to normalize the six camera motion directions with respect to the current camera _rotation\&. It is used in heave(), sway() and surge()\&. +.PP +\fBParameters:\fP +.RS 4 +\fIV\fP a vec4 representing the movement _offset vector\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +A rotated vec4\&. +.RE +.PP + +.PP +Definition at line 184 of file Camera\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Camera.hpp.3 b/Doxygen/Docs/man/man3/Camera.hpp.3 new file mode 100644 index 00000000..46ca8756 --- /dev/null +++ b/Doxygen/Docs/man/man3/Camera.hpp.3 @@ -0,0 +1,53 @@ +.TH "Camera.hpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Camera.hpp \- +.PP +Header for the \fBCamera\fP class\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include 'mat\&.hpp'\fP +.br +\fC#include 'vec\&.hpp'\fP +.br +\fC#include 'Object\&.hpp'\fP +.br + +.SS "Classes" + +.in +1c +.ti -1c +.RI "class \fBCamera\fP" +.br +.RI "\fIThe \fBCamera\fP class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Header for the \fBCamera\fP class\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBAuthors:\fP +.RS 4 +John Huston, Nicholas StPierre, Chris Compton +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-13 +.RE +.PP + +.PP +Definition in file \fBCamera\&.hpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Cameras.3 b/Doxygen/Docs/man/man3/Cameras.3 new file mode 100644 index 00000000..272c8ecd --- /dev/null +++ b/Doxygen/Docs/man/man3/Cameras.3 @@ -0,0 +1,440 @@ +.TH "Cameras" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Cameras \- +.PP +The \fBCameras\fP class represents a group of logical cameras for a model view\&. Each camera possesses its own current viewing angle, and an absolute position in space\&. + +.SH SYNOPSIS +.br +.PP +.PP +\fC#include \fP +.PP +Inherits \fBScene\fP\&. +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBCameras\fP (void)" +.br +.RI "\fIDefault constructor\&. \fP" +.ti -1c +.RI "\fB~Cameras\fP (void)" +.br +.RI "\fIDefault destructor\&. \fP" +.ti -1c +.RI "\fBCamera\fP * \fBaddCamera\fP (const std::string &name)" +.br +.RI "\fIaddCamera takes a name for a camera and returns a handle to a newly created camera\&. \fP" +.ti -1c +.RI "void \fBpopCamera\fP (void)" +.br +.RI "\fIpopCamera removes the most recently added \fBCamera\fP from the scene\&. \fP" +.ti -1c +.RI "\fBCamera\fP * \fBnext\fP (void)" +.br +.RI "\fISets the active camera to the next available one in the collection\&. \fP" +.ti -1c +.RI "\fBCamera\fP * \fBprev\fP (void)" +.br +.RI "\fISets the active \fBCamera\fP to the previous available one in the collection\&. \fP" +.ti -1c +.RI "\fBCamera\fP * \fBactive\fP (void) const " +.br +.RI "\fIactive returns the \fBCamera\fP in the collection that is considered 'active'\&. \fP" +.ti -1c +.RI "size_t \fBnumCameras\fP (void) const " +.br +.RI "\fInumCameras fetches the number of \fBCameras\fP in the collection\&. \fP" +.ti -1c +.RI "void \fBidleMotion\fP (void)" +.br +.RI "\fIidleMotion calls the idle method on all child cameras\&. \fP" +.ti -1c +.RI "void \fBresize\fP (int width, int height)" +.br +.RI "\fIresize informs the \fBCameras\fP collection of the new window size\&. \fP" +.ti -1c +.RI "void \fBcalculateViewports\fP (void)" +.br +.RI "\fIFor each \fBCamera\fP in the collection, computes the position and size of that \fBCamera\fP's viewport in a split-screen, single-window configuration\&. \fP" +.ti -1c +.RI "void \fBview\fP (void(*draw_func)(void))" +.br +.RI "\fIview calls the view method on all child cameras, followed by the provided draw function\&. \fP" +.ti -1c +.RI "\fBCamera\fP * \fBobj2Cam\fP (std::list< \fBObject\fP * >::iterator &it)" +.br +.RI "\fIobj2Cam is a gross hack; the function is used as a utility to convert \fBObject\fP pointers to \fBCamera\fP pointers safely\&. \fP" +.ti -1c +.RI "virtual void \fBshader\fP (GLuint gShader)" +.br +.RI "\fISets the Default shader for the scene\&. \fP" +.ti -1c +.RI "GLuint \fBshader\fP (void)" +.br +.RI "\fIRetrieves the handle for the default shader for the scene\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBaddObject\fP (const std::string &objName, GLuint Object_Shader=0)" +.br +.RI "\fIaddObject creates a new \fBObject\fP with the given name and, optionally, a specified shader and adds it to the \fBScene\fP graph\&. \fP" +.ti -1c +.RI "void \fBdelObject\fP (const std::string &objName)" +.br +.RI "\fIdelObject will remove from the \fBScene\fP graph the object with the given name\&. \fP" +.ti -1c +.RI "void \fBdelObject\fP (void)" +.br +.RI "\fIdelObject with no parameters will delete the first \fBObject\fP in the \fBScene\fP\&. \fP" +.ti -1c +.RI "void \fBpopObject\fP (void)" +.br +.RI "\fIpopObject deletes the last \fBObject\fP in the \fBScene\fP\&. \fP" +.ti -1c +.RI "void \fBdraw\fP (void)" +.br +.ti -1c +.RI "\fBObject\fP * \fBoperator[]\fP (const std::string &objname)" +.br +.ti -1c +.RI "void \fBinsertObject\fP (\fBObject\fP *obj)" +.br +.RI "\fIRegister a created object with the scene graph\&. \fP" +.in -1c +.SS "Protected Member Functions" + +.in +1c +.ti -1c +.RI "void \fBdeleteObject\fP (\fBObject\fP *obj)" +.br +.RI "\fIVery seriously delete a child object and free his memory\&. \fP" +.in -1c +.SS "Protected Attributes" + +.in +1c +.ti -1c +.RI "std::list< \fBObject\fP * > \fB_list\fP" +.br +.RI "\fIFor the purposes of rapid propagation of scene-graph changes, \fBObject\fP pointers are stored in a regular flat list\&. \fP" +.ti -1c +.RI "std::map< std::string, \fBObject\fP * > \fB_map\fP" +.br +.RI "\fIFor the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map\&. \fP" +.ti -1c +.RI "std::list< \fBObject\fP * >::iterator \fB_currentObj\fP" +.br +.RI "\fIWe keep an iterator on-hand that references what the scene considers to be it's active, current object\&. \fP" +.ti -1c +.RI "GLuint \fB_gShader\fP" +.br +.RI "\fIA handle to a shader program to be used as the default shader for new children objects added to the scene\&. \fP" +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "\fBAngel::vec2\fP \fB_size\fP" +.br +.RI "\fI_size is a simple vec2 (x,y) that contains the size of the screen\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +The \fBCameras\fP class represents a group of logical cameras for a model view\&. Each camera possesses its own current viewing angle, and an absolute position in space\&. + +\fBAuthor:\fP +.RS 4 +John Huston, jhuston@cs.uml.edu +.RE +.PP +\fBSince:\fP +.RS 4 +28 Nov 2012 +.RE +.PP +Each \fBCamera\fP possesses its own CTM which can be resent to the GPU at will\&. +.PP +Definition at line 29 of file Cameras\&.hpp\&. +.SH "Constructor & Destructor Documentation" +.PP +.SS "Cameras::Cameras (void)" + +.PP +Default constructor\&. Nothing special\&. +.PP +Definition at line 19 of file Cameras\&.cpp\&. +.SS "Cameras::~Cameras (void)" + +.PP +Default destructor\&. Nothing special here, either\&. +.PP +Definition at line 26 of file Cameras\&.cpp\&. +.SH "Member Function Documentation" +.PP +.SS "\fBCamera\fP * Cameras::active (void) const" + +.PP +active returns the \fBCamera\fP in the collection that is considered 'active'\&. \fBReturns:\fP +.RS 4 +A pointer to the currently selected, active \fBCamera\fP\&. +.RE +.PP + +.PP +Reimplemented from \fBScene\fP\&. +.PP +Definition at line 88 of file Cameras\&.cpp\&. +.SS "\fBCamera\fP * Cameras::addCamera (const std::string &name)" + +.PP +addCamera takes a name for a camera and returns a handle to a newly created camera\&. \fBParameters:\fP +.RS 4 +\fIname\fP The name of the new camera to create\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +A Pointer to a newly created \fBCamera\fP object\&. +.RE +.PP + +.PP +Definition at line 35 of file Cameras\&.cpp\&. +.SS "\fBObject\fP * Scene::addObject (const std::string &objName, GLuintshader = \fC0\fP)\fC [inherited]\fP" + +.PP +addObject creates a new \fBObject\fP with the given name and, optionally, a specified shader and adds it to the \fBScene\fP graph\&. If no shader is given, a default shader MUST have been specified for the \fBScene\fP prior to the call\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobjName\fP The name of the new \fBObject\fP to add\&. +.br +\fIObject_Shader\fP The shader that should be used to render this object\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +A pointer to the new \fBObject\fP\&. +.RE +.PP + +.PP +Definition at line 77 of file Scene\&.cpp\&. +.SS "void Cameras::calculateViewports (void)" + +.PP +For each \fBCamera\fP in the collection, computes the position and size of that \fBCamera\fP's viewport in a split-screen, single-window configuration\&. The \fBCamera\fP object is updated with the new information\&. +.PP +\fBReturns:\fP +.RS 4 +void\&. +.PP +void\&. +.RE +.PP + +.PP +Definition at line 143 of file Cameras\&.cpp\&. +.SS "void Scene::deleteObject (\fBObject\fP *obj)\fC [protected]\fP, \fC [inherited]\fP" + +.PP +Very seriously delete a child object and free his memory\&. deleteObject is the actual implementation function that will remove an \fBObject\fP from the \fBScene\fP list and \fBScene\fP map, then free the object\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to delete\&. +.br +\fIobj\fP The pointer to the object to free\&. +.RE +.PP + +.PP +Definition at line 129 of file Scene\&.cpp\&. +.SS "void Scene::delObject (const std::string &objName)\fC [inherited]\fP" + +.PP +delObject will remove from the \fBScene\fP graph the object with the given name\&. \fBParameters:\fP +.RS 4 +\fIobjName\fP Name of the \fBObject\fP to delete\&. +.RE +.PP + +.PP +Definition at line 99 of file Scene\&.cpp\&. +.SS "void Cameras::idleMotion (void)" + +.PP +idleMotion calls the idle method on all child cameras\&. Intended to be called during the \fBidle()\fP loop in GLUT\&. +.PP +\fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 113 of file Cameras\&.cpp\&. +.SS "void Scene::insertObject (\fBObject\fP *obj)\fC [inherited]\fP" + +.PP +Register a created object with the scene graph\&. \fBParameters:\fP +.RS 4 +\fIname\fP The name of the object (For the associative map), +.br +\fIobj\fP The \fBObject\fP pointer to add to the scene\&. +.RE +.PP + +.PP +Definition at line 118 of file Scene\&.cpp\&. +.SS "\fBCamera\fP * Cameras::next (void)" + +.PP +Sets the active camera to the next available one in the collection\&. Sets the active \fBCamera\fP to the next available one in the collection\&. +.PP +\fBReturns:\fP +.RS 4 +A pointer to the newly active \fBCamera\fP\&. +.RE +.PP + +.PP +Reimplemented from \fBScene\fP\&. +.PP +Definition at line 66 of file Cameras\&.cpp\&. +.SS "size_t Cameras::numCameras (void) const" + +.PP +numCameras fetches the number of \fBCameras\fP in the collection\&. \fBReturns:\fP +.RS 4 +an unsigned integer, the number of \fBCameras\fP in the collection\&. +.RE +.PP + +.PP +Definition at line 103 of file Cameras\&.cpp\&. +.SS "\fBCamera\fP * Cameras::obj2Cam (std::list< \fBObject\fP * >::iterator &it)" + +.PP +obj2Cam is a gross hack; the function is used as a utility to convert \fBObject\fP pointers to \fBCamera\fP pointers safely\&. FIXME: Refactor the inheritance here to make this less hacky\&. +.PP +\fBParameters:\fP +.RS 4 +\fIit\fP A list iterator that points to the \fBObject\fP\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +A pointer to a \fBCamera\fP object\&. +.RE +.PP + +.PP +Definition at line 251 of file Cameras\&.cpp\&. +.SS "void Cameras::popCamera (void)" + +.PP +popCamera removes the most recently added \fBCamera\fP from the scene\&. \fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 52 of file Cameras\&.cpp\&. +.SS "\fBCamera\fP * Cameras::prev (void)" + +.PP +Sets the active \fBCamera\fP to the previous available one in the collection\&. \fBReturns:\fP +.RS 4 +A pointer to the newly active \fBCamera\fP\&. +.RE +.PP + +.PP +Reimplemented from \fBScene\fP\&. +.PP +Definition at line 77 of file Cameras\&.cpp\&. +.SS "void Cameras::resize (intwidth, intheight)" + +.PP +resize informs the \fBCameras\fP collection of the new window size\&. Intended to be called from the GLUT main loop\&. This method also invokes \fBCameras::calculateViewports\fP\&. +.PP +\fBParameters:\fP +.RS 4 +\fIwidth\fP The new window width\&. +.br +\fIheight\fP The new window height\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 130 of file Cameras\&.cpp\&. +.SS "void Scene::shader (GLuintgShader)\fC [virtual]\fP, \fC [inherited]\fP" + +.PP +Sets the Default shader for the scene\&. In the context of inheritance by objects, This sets the shader to use to render the physical object\&. +.PP +\fBParameters:\fP +.RS 4 +\fIgShader\fP The GLuint handle to the shader to use\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Reimplemented in \fBObject\fP\&. +.PP +Definition at line 52 of file Scene\&.cpp\&. +.SS "GLuint Scene::shader (void)\fC [inherited]\fP" + +.PP +Retrieves the handle for the default shader for the scene\&. In the context of inheritance by objects, This retrieves the shader handle to use to draw the object\&. +.PP +\fBReturns:\fP +.RS 4 +A GLuint handle to the shader program\&. +.RE +.PP + +.PP +Reimplemented in \fBObject\fP\&. +.PP +Definition at line 63 of file Scene\&.cpp\&. +.SS "void Cameras::view (void(*)(void)draw_func)" + +.PP +view calls the view method on all child cameras, followed by the provided draw function\&. Intended to be called during the \fBdisplay()\fP portion of the GLUT main loop\&. +.PP +\fBview()\fP is intended to 'set up' the object, but not actually draw it\&. +.PP +\fBParameters:\fP +.RS 4 +\fIdraw_func\fP A pointer to a function that will actually draw the object\&. +.RE +.PP + +.PP +Definition at line 234 of file Cameras\&.cpp\&. +.SH "Member Data Documentation" +.PP +.SS "std::map< std::string, \fBObject\fP* > Scene::_map\fC [protected]\fP, \fC [inherited]\fP" + +.PP +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map\&. It's a little superfluous, but here it is! +.PP +Definition at line 127 of file Scene\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Cameras.cpp.3 b/Doxygen/Docs/man/man3/Cameras.cpp.3 new file mode 100644 index 00000000..6168623c --- /dev/null +++ b/Doxygen/Docs/man/man3/Cameras.cpp.3 @@ -0,0 +1,49 @@ +.TH "Cameras.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Cameras.cpp \- +.PP +Implementation for the \fBCameras\fP class, which is a container for \fBCamera\fP objects\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'Camera\&.hpp'\fP +.br +\fC#include 'Cameras\&.hpp'\fP +.br +\fC#include 'globals\&.h'\fP +.br + +.SH "Detailed Description" +.PP +Implementation for the \fBCameras\fP class, which is a container for \fBCamera\fP objects\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBAuthors:\fP +.RS 4 +John Huston, Nicholas StPierre, Chris Compton +.RE +.PP +\fBDate:\fP +.RS 4 +2012-12-04 +.RE +.PP + +.PP +Definition in file \fBCameras\&.cpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Cameras.hpp.3 b/Doxygen/Docs/man/man3/Cameras.hpp.3 new file mode 100644 index 00000000..9dbe3524 --- /dev/null +++ b/Doxygen/Docs/man/man3/Cameras.hpp.3 @@ -0,0 +1,51 @@ +.TH "Cameras.hpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Cameras.hpp \- +.PP +Header for the '\fBCameras\fP' class, a collection of \fBCamera\fP objects\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include 'Camera\&.hpp'\fP +.br +\fC#include 'Scene\&.hpp'\fP +.br + +.SS "Classes" + +.in +1c +.ti -1c +.RI "class \fBCameras\fP" +.br +.RI "\fIThe \fBCameras\fP class represents a group of logical cameras for a model view\&. Each camera possesses its own current viewing angle, and an absolute position in space\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Header for the '\fBCameras\fP' class, a collection of \fBCamera\fP objects\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBAuthors:\fP +.RS 4 +John Huston, Nicholas StPierre, Chris Compton +.RE +.PP +\fBDate:\fP +.RS 4 +2012-12-04 +.RE +.PP + +.PP +Definition in file \fBCameras\&.hpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Engine.3 b/Doxygen/Docs/man/man3/Engine.3 new file mode 100644 index 00000000..64f3cbc9 --- /dev/null +++ b/Doxygen/Docs/man/man3/Engine.3 @@ -0,0 +1,286 @@ +.TH "Engine" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Engine \- +.PP +The \fBEngine\fP class is a singleton-style class which helps keep track of instances of important objects (for \fBCameras\fP, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace\&. + +.SH SYNOPSIS +.br +.PP +.PP +\fC#include \fP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBCameras\fP * \fBcams\fP (void)" +.br +.RI "\fIRetrieves a pointer to the \fBCamera\fP List\&. \fP" +.ti -1c +.RI "\fBScene\fP * \fBrootScene\fP (void)" +.br +.RI "\fIRetrieves a pointer to the Root, top-level \fBScene\fP graph\&. \fP" +.ti -1c +.RI "\fBScreen\fP * \fBmainScreen\fP (void)" +.br +.RI "\fIRetrieves a pointer to the core '\fBScreen\fP' object\&. \fP" +.ti -1c +.RI "bool \fBopt\fP (const std::string &Option)" +.br +.RI "\fIopt retrieves the current setting of an option in the \fBEngine\fP\&. \fP" +.ti -1c +.RI "void \fBopt\fP (const std::string &Option, bool setting)" +.br +.RI "\fIopt, with a second parameter, sets an \fBEngine\fP option\&. \fP" +.ti -1c +.RI "bool \fBset\fP (const std::string &Option)" +.br +.RI "\fIset checks to see if an option has been explicitly set to either True/False\&. \fP" +.ti -1c +.RI "bool \fBflip\fP (const std::string &Option)" +.br +.RI "\fIflip changes a setting from its current value to its negated form\&. \fP" +.ti -1c +.RI "\fB~Engine\fP (void)" +.br +.RI "\fIDefault, non-virtual destructor\&. \fP" +.in -1c +.SS "Static Public Member Functions" + +.in +1c +.ti -1c +.RI "static \fBEngine\fP * \fBinstance\fP (void)" +.br +.RI "\fIinstance returns, or creates and then returns, a pointer to the \fBEngine\fP object\&. \fP" +.in -1c +.SS "Private Member Functions" + +.in +1c +.ti -1c +.RI "\fBEngine\fP (void)" +.br +.RI "\fIDefault constructor\&. \fP" +.ti -1c +.RI "\fBEngine\fP (const \fBEngine\fP ©)" +.br +.RI "\fICopy constructor\&. \fP" +.ti -1c +.RI "\fBEngine\fP & \fBoperator=\fP (\fBEngine\fP &assign)" +.br +.RI "\fIAssignment operator\&. \fP" +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "\fBScene\fP \fB_scene\fP" +.br +.RI "\fIThe root \fBScene\fP graph for the \fBEngine\fP\&. \fP" +.ti -1c +.RI "\fBScreen\fP \fB_screen\fP" +.br +.RI "\fIThe core 'Screen' object for the \fBEngine\fP\&. \fP" +.ti -1c +.RI "\fBSettingsMap\fP \fB_engineSettings\fP" +.br +.RI "\fI_engineSettings is a std::map that contains a series of pairs that represent our \fBEngine\fP options\&. \fP" +.in -1c +.SS "Static Private Attributes" + +.in +1c +.ti -1c +.RI "static \fBEngine\fP * \fB_engineSingleton\fP = NULL" +.br +.RI "\fIstatic, stateful variable that is our singleton pointer\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +The \fBEngine\fP class is a singleton-style class which helps keep track of instances of important objects (for \fBCameras\fP, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace\&. + +\fBAuthor:\fP +.RS 4 +John Huston, jhuston@cs.uml.edu +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-13 +.RE +.PP + +.PP +Definition at line 32 of file Engine\&.hpp\&. +.SH "Constructor & Destructor Documentation" +.PP +.SS "Engine::Engine (void)\fC [private]\fP" + +.PP +Default constructor\&. Cannot be called, this is a singleton class\&. +.PP +Definition at line 40 of file Engine\&.cpp\&. +.SS "Engine::Engine (const \fBEngine\fP ©)\fC [private]\fP" + +.PP +Copy constructor\&. Cannot be called\&. +.PP +\fBParameters:\fP +.RS 4 +\fIcopy\fP Not used\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Will always throw an exception\&. +.RE +.PP +\fBExceptions:\fP +.RS 4 +\fIWill\fP always throw std::logic_error\&. +.RE +.PP + +.PP +Definition at line 57 of file Engine\&.cpp\&. +.SH "Member Function Documentation" +.PP +.SS "\fBCameras\fP * Engine::cams (void)" + +.PP +Retrieves a pointer to the \fBCamera\fP List\&. \fBReturns:\fP +.RS 4 +A pointer to the \fBCamera\fP List\&. +.RE +.PP + +.PP +Definition at line 76 of file Engine\&.cpp\&. +.SS "bool Engine::flip (const std::string &Option)" + +.PP +flip changes a setting from its current value to its negated form\&. \fBParameters:\fP +.RS 4 +\fIOption\fP The option to toggle\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +The new, current value of the option\&. +.RE +.PP + +.PP +Definition at line 139 of file Engine\&.cpp\&. +.SS "\fBEngine\fP * Engine::instance (void)\fC [static]\fP" + +.PP +instance returns, or creates and then returns, a pointer to the \fBEngine\fP object\&. All hail the singleton! +.PP +\fBReturns:\fP +.RS 4 +A pointer to the \fBEngine\fP object\&. +.RE +.PP + +.PP +Definition at line 29 of file Engine\&.cpp\&. +.SS "\fBScreen\fP * Engine::mainScreen (void)" + +.PP +Retrieves a pointer to the core '\fBScreen\fP' object\&. \fBReturns:\fP +.RS 4 +A pointer to the core '\fBScreen\fP' object\&. +.RE +.PP + +.PP +Definition at line 96 of file Engine\&.cpp\&. +.SS "\fBEngine\fP & Engine::operator= (\fBEngine\fP &assign)\fC [private]\fP" + +.PP +Assignment operator\&. Cannot be used\&. This is a singleton class\&. +.PP +\fBParameters:\fP +.RS 4 +\fIassign\fP Not used\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Will always throw an exception\&. +.RE +.PP +\fBExceptions:\fP +.RS 4 +\fIWill\fP always throw std::logic_error\&. +.RE +.PP + +.PP +Definition at line 67 of file Engine\&.cpp\&. +.SS "bool Engine::opt (const std::string &Option)" + +.PP +opt retrieves the current setting of an option in the \fBEngine\fP\&. \fBParameters:\fP +.RS 4 +\fIOption\fP The name of the option to access\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +A bool: the current value of the setting\&. +.RE +.PP + +.PP +Definition at line 107 of file Engine\&.cpp\&. +.SS "void Engine::opt (const std::string &Option, boolsetting)" + +.PP +opt, with a second parameter, sets an \fBEngine\fP option\&. \fBParameters:\fP +.RS 4 +\fIOption\fP The name of the option to set\&. +.br +\fIsetting\fP The value to give the option\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 117 of file Engine\&.cpp\&. +.SS "\fBScene\fP * Engine::rootScene (void)" + +.PP +Retrieves a pointer to the Root, top-level \fBScene\fP graph\&. \fBReturns:\fP +.RS 4 +A pointer to the Root-level \fBScene\fP graph\&. +.RE +.PP + +.PP +Definition at line 86 of file Engine\&.cpp\&. +.SS "bool Engine::set (const std::string &Option)" + +.PP +set checks to see if an option has been explicitly set to either True/False\&. \fBParameters:\fP +.RS 4 +\fIOption\fP The option to check the existence of +.RE +.PP +\fBReturns:\fP +.RS 4 +A boolean: True if the option has been set, False otherwise\&. +.RE +.PP + +.PP +Definition at line 127 of file Engine\&.cpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Engine.cpp.3 b/Doxygen/Docs/man/man3/Engine.cpp.3 new file mode 100644 index 00000000..142e059b --- /dev/null +++ b/Doxygen/Docs/man/man3/Engine.cpp.3 @@ -0,0 +1,51 @@ +.TH "Engine.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Engine.cpp \- +.PP +Implementation for the \fBEngine\fP class\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'Engine\&.hpp'\fP +.br +\fC#include 'Cameras\&.hpp'\fP +.br +\fC#include 'Scene\&.hpp'\fP +.br +\fC#include 'Screen\&.hpp'\fP +.br + +.SH "Detailed Description" +.PP +Implementation for the \fBEngine\fP class\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBAuthors:\fP +.RS 4 +https://github.com/UMLComputerGraphics +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-13 +.RE +.PP + +.PP +Definition in file \fBEngine\&.cpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Engine.hpp.3 b/Doxygen/Docs/man/man3/Engine.hpp.3 new file mode 100644 index 00000000..a0985319 --- /dev/null +++ b/Doxygen/Docs/man/man3/Engine.hpp.3 @@ -0,0 +1,65 @@ +.TH "Engine.hpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Engine.hpp \- +.PP +Header for the \fBEngine\fP class\&. + +.SH SYNOPSIS +.br +.PP +\fC#include 'Cameras\&.hpp'\fP +.br +\fC#include 'Scene\&.hpp'\fP +.br +\fC#include 'Screen\&.hpp'\fP +.br +\fC#include \fP +.br +\fC#include \fP +.br + +.SS "Classes" + +.in +1c +.ti -1c +.RI "class \fBEngine\fP" +.br +.RI "\fIThe \fBEngine\fP class is a singleton-style class which helps keep track of instances of important objects (for \fBCameras\fP, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace\&. \fP" +.in -1c +.SS "Typedefs" + +.in +1c +.ti -1c +.RI "typedef std::map< std::string, +.br +bool > \fBSettingsMap\fP" +.br +.RI "\fIAn alias for the type used by the Settings Map\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Header for the \fBEngine\fP class\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBAuthors:\fP +.RS 4 +https://github.com/UMLComputerGraphics +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-13 +.RE +.PP + +.PP +Definition in file \fBEngine\&.hpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/InitShader.cpp.3 b/Doxygen/Docs/man/man3/InitShader.cpp.3 new file mode 100644 index 00000000..cb80da47 --- /dev/null +++ b/Doxygen/Docs/man/man3/InitShader.cpp.3 @@ -0,0 +1,88 @@ +.TH "InitShader.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +InitShader.cpp \- +.PP +Provides a wrapper utility for quickly linking against glsl programs\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'platform\&.h'\fP +.br +\fC#include 'InitShader\&.hpp'\fP +.br +\fC#include 'eric_rules\&.hpp'\fP +.br + +.SS "Macros" + +.in +1c +.ti -1c +.RI "#define \fBGEOMETRY_VERTICES_OUT_EXT\fP 0x8DDA" +.br +.RI "\fIGEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant\&. \fP" +.ti -1c +.RI "#define \fBGL_GEOMETRY_SHADER\fP 0x8DD9" +.br +.RI "\fIGEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant\&. \fP" +.in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "static char * \fBAngel::readShaderSource\fP (const char *shaderFile)" +.br +.RI "\fIRead in a shader file into a NULL-terminated string\&. \fP" +.ti -1c +.RI "GLuint \fBAngel::InitShader\fP (const char *vShaderFile, const char *fShaderFile, const char *gShaderFile)" +.br +.RI "\fIInitShader takes two shader sourcefiles and compiles them into a shader program\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Provides a wrapper utility for quickly linking against glsl programs\&. + +\fBAuthors:\fP +.RS 4 +Ed Angel, Nick St\&.Pierre +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-13 +.RE +.PP + +.PP +Definition in file \fBInitShader\&.cpp\fP\&. +.SH "Macro Definition Documentation" +.PP +.SS "#define GEOMETRY_VERTICES_OUT_EXT 0x8DDA" + +.PP +GEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant\&. On some systems, we might need to define this manually\&. It is normally provided by OpenGL directly\&. FIXME: This seems hacky! +.PP +Definition at line 27 of file InitShader\&.cpp\&. +.SS "#define GL_GEOMETRY_SHADER 0x8DD9" + +.PP +GEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant\&. On some systems, we might need to define this manually\&. It is normally provided by OpenGL directly\&. FIXME: This seems hacky! +.PP +Definition at line 38 of file InitShader\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/InitShader.hpp.3 b/Doxygen/Docs/man/man3/InitShader.hpp.3 new file mode 100644 index 00000000..ecebba64 --- /dev/null +++ b/Doxygen/Docs/man/man3/InitShader.hpp.3 @@ -0,0 +1,50 @@ +.TH "InitShader.hpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +InitShader.hpp \- +.PP +Provides a wrapper utility for quickly linking against glsl programs\&. + +.SH SYNOPSIS +.br +.PP +.SS "Macros" + +.in +1c +.ti -1c +.RI "#define \fBGL_INVALID_SHADER\fP -1" +.br +.in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "const char * \fBAngel::InitInitShader\fP (const char *binloc)" +.br +.RI "\fIInitInitShader is a preparation step allowing executables to be invoked from working directories OTHER than the one containing the shaders directory\&. \fP" +.ti -1c +.RI "GLuint \fBAngel::InitShader\fP (const char *vShaderFile, const char *fShaderFile, const char *gShaderFile)" +.br +.RI "\fIInitShader takes two shader sourcefiles and compiles them into a shader program\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Provides a wrapper utility for quickly linking against glsl programs\&. + +\fBAuthors:\fP +.RS 4 +Ed Angel, Nick St\&.Pierre +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-13 +.RE +.PP + +.PP +Definition in file \fBInitShader\&.hpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/KinectInator.cpp.3 b/Doxygen/Docs/man/man3/KinectInator.cpp.3 new file mode 100644 index 00000000..5ee73609 --- /dev/null +++ b/Doxygen/Docs/man/man3/KinectInator.cpp.3 @@ -0,0 +1,111 @@ +.TH "KinectInator.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +KinectInator.cpp \- +.PP +FIXME: Documentation needed from Eric\&. + +.SH SYNOPSIS +.br +.PP +\fC#include 'KinectInator\&.hpp'\fP +.br + +.SS "Macros" + +.in +1c +.ti -1c +.RI "#define \fBCHECK_RC\fP(nRetVal, what)" +.br +.in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "XnBool \fBfileExists\fP (const char *fn)" +.br +.ti -1c +.RI "void \fBprinthead\fP (int user, double x, double y, double z)" +.br +.ti -1c +.RI "void \fBnoop\fP (int user, double x, double y, double z)" +.br +.in -1c +.SS "Variables" + +.in +1c +.ti -1c +.RI "boost::function< void +.br +XN_CALLBACK_TYPE(xn::UserGenerator +.br +&, XnUserID, void *)> \fBTiemSpelchk::_new_user\fP" +.br +.ti -1c +.RI "boost::function< void +.br +XN_CALLBACK_TYPE(xn::UserGenerator +.br +&, XnUserID, void *)> \fBTiemSpelchk::_lost_user\fP" +.br +.ti -1c +.RI "boost::function< void +.br +XN_CALLBACK_TYPE(xn::PoseDetectionCapability +.br +&, const XnChar *, XnUserID, +.br +void *)> \fBTiemSpelchk::_pose\fP" +.br +.ti -1c +.RI "boost::function< void +.br +XN_CALLBACK_TYPE(xn::SkeletonCapability +.br +&, XnUserID, void *)> \fBTiemSpelchk::_cal_start\fP" +.br +.ti -1c +.RI "boost::function< void +.br +XN_CALLBACK_TYPE(xn::SkeletonCapability +.br +&, XnUserID, +.br +XnCalibrationStatus, void *)> \fBTiemSpelchk::_cal_complete\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +FIXME: Documentation needed from Eric\&. + +\fBDate:\fP +.RS 4 +2013-03-13 +.RE +.PP +\fBAuthors:\fP +.RS 4 +PrimeSense Ltd, Eric McCann +.RE +.PP + +.PP +Definition in file \fBKinectInator\&.cpp\fP\&. +.SH "Macro Definition Documentation" +.PP +.SS "#define CHECK_RC(nRetVal, what)" +\fBValue:\fP +.PP +.nf +if (nRetVal != XN_STATUS_OK) \ +{ \ + printf('%s failed: %s\n', what, xnGetStatusString(nRetVal)); \ + return nRetVal; \ +} +.fi +.PP +Definition at line 99 of file KinectInator\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/KinectInator.hpp.3 b/Doxygen/Docs/man/man3/KinectInator.hpp.3 new file mode 100644 index 00000000..a7c3efac --- /dev/null +++ b/Doxygen/Docs/man/man3/KinectInator.hpp.3 @@ -0,0 +1,85 @@ +.TH "KinectInator.hpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +KinectInator.hpp \- +.PP +FIXME: Documentation needed from Eric\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br + +.SS "Classes" + +.in +1c +.ti -1c +.RI "class \fBTiemSpelchk::Lurn2SpielNub\fP" +.br +.in -1c +.SS "Macros" + +.in +1c +.ti -1c +.RI "#define \fB__OPENNIFTW\fP" +.br +.ti -1c +.RI "#define \fBSAMPLE_XML_PATH\fP 'OpenNIConfig\&.xml'" +.br +.ti -1c +.RI "#define \fBSAMPLE_XML_PATH_LOCAL\fP 'OpenNIConfig\&.xml'" +.br +.ti -1c +.RI "#define \fBMAX_NUM_USERS\fP 15" +.br +.in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBprinthead\fP (int, double, double, double)" +.br +.ti -1c +.RI "void \fBnoop\fP (int, double, double, double)" +.br +.ti -1c +.RI "void \fBnoopint\fP (int)" +.br +.in -1c +.SH "Detailed Description" +.PP +FIXME: Documentation needed from Eric\&. + +\fBDate:\fP +.RS 4 +2013-03-13 +.RE +.PP +\fBAuthor:\fP +.RS 4 +PrimeSense Ltd\&. +.RE +.PP +\fBAuthors:\fP +.RS 4 +PrimeSense Ltd\&., Eric McCann +.RE +.PP + +.PP +Definition in file \fBKinectInator\&.hpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/ObjLoader.cpp.3 b/Doxygen/Docs/man/man3/ObjLoader.cpp.3 new file mode 100644 index 00000000..9f8027ef --- /dev/null +++ b/Doxygen/Docs/man/man3/ObjLoader.cpp.3 @@ -0,0 +1,102 @@ +.TH "ObjLoader.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +ObjLoader.cpp \- +.PP +Implementation for reading in geometry from \&.OBJ files\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'vec\&.hpp'\fP +.br +\fC#include 'ObjLoader\&.hpp'\fP +.br +\fC#include 'eric_rules\&.hpp'\fP +.br + +.SS "Macros" + +.in +1c +.ti -1c +.RI "#define \fBRAND_FLOAT\fP (rand() / (float) RAND_MAX)" +.br +.RI "\fIRAND_FLOAT returns a random float from (0,1)\&. \fP" +.in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "const vector< string > \fBObjLoader::split\fP (const string &str, const char delim)" +.br +.RI "\fISplit a string by an arbitrary delimiter\&. \fP" +.ti -1c +.RI "\fBvec4\fP \fBObjLoader::parseVertex\fP (string line)" +.br +.RI "\fIObtain a vertex from a std::string line\&. \fP" +.ti -1c +.RI "\fBvec2\fP \fBObjLoader::parseTextureUV\fP (string line)" +.br +.RI "\fIObtain a 2D TexUV coordinate from a std::string line\&. \fP" +.ti -1c +.RI "\fBvec3\fP \fBObjLoader::parseNormal\fP (string line)" +.br +.RI "\fIObtain a 3D normal vector from a std::string line\&. \fP" +.ti -1c +.RI "vector< vector< int > > \fBObjLoader::parseFaceElements\fP (string line)" +.br +.RI "\fIparses face elements into a vector of 3 vectors of 3 ints from an \&.obj line \fP" +.ti -1c +.RI "void \fBObjLoader::parseElementTriple\fP (string triple, vector< int > &v_elements, vector< int > &uv_elements, vector< int > &n_elements)" +.br +.RI "\fIHelper function that splits an obj element listing (x/y/z) into their proper components (vertices, UVs, _normals\&.) \fP" +.ti -1c +.RI "\fBObject\fP * \fBObjLoader::loadObj\fP (\fBScene\fP &scene, const char *filename, const char *defaultObjName)" +.br +.RI "\fIloadObj loads all available objects from a \&.obj file into the provided scene\&. \fP" +.ti -1c +.RI "void \fBObjLoader::loadModelFromFile\fP (\fBObject\fP *object, const char *filename)" +.br +.RI "\fILegacy function until I make everything suck less: Loads a single model from an OBJ and stores it into a single \fBObject\fP instance\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Implementation for reading in geometry from \&.OBJ files\&. + +\fBDate:\fP +.RS 4 +2013-03-14 +.RE +.PP +\fBAuthors:\fP +.RS 4 +Greg Giannone, Nick VerVoort, John Huston +.RE +.PP + +.PP +Definition in file \fBObjLoader\&.cpp\fP\&. +.SH "Macro Definition Documentation" +.PP +.SS "#define RAND_FLOAT (rand() / (float) RAND_MAX)" + +.PP +RAND_FLOAT returns a random float from (0,1)\&. +.PP +Definition at line 288 of file ObjLoader\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/ObjLoader.hpp.3 b/Doxygen/Docs/man/man3/ObjLoader.hpp.3 new file mode 100644 index 00000000..f5e1de04 --- /dev/null +++ b/Doxygen/Docs/man/man3/ObjLoader.hpp.3 @@ -0,0 +1,80 @@ +.TH "ObjLoader.hpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +ObjLoader.hpp \- +.PP +Headers for functions for reading in geometry from \&.OBJ files\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'vec\&.hpp'\fP +.br +\fC#include 'Object\&.hpp'\fP +.br + +.SS "Functions" + +.in +1c +.ti -1c +.RI "const vector< string > \fBObjLoader::split\fP (const string &str, const char delim)" +.br +.RI "\fISplit a string by an arbitrary delimiter\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBObjLoader::loadObj\fP (\fBScene\fP &scene, const char *filename, const char *defaultObjName)" +.br +.RI "\fIloadObj loads all available objects from a \&.obj file into the provided scene\&. \fP" +.ti -1c +.RI "\fBvec4\fP \fBObjLoader::parseVertex\fP (string line)" +.br +.RI "\fIObtain a vertex from a std::string line\&. \fP" +.ti -1c +.RI "\fBvec2\fP \fBObjLoader::parseTextureUV\fP (string line)" +.br +.RI "\fIObtain a 2D TexUV coordinate from a std::string line\&. \fP" +.ti -1c +.RI "\fBvec3\fP \fBObjLoader::parseNormal\fP (string line)" +.br +.RI "\fIObtain a 3D normal vector from a std::string line\&. \fP" +.ti -1c +.RI "vector< vector< int > > \fBObjLoader::parseFaceElements\fP (string line)" +.br +.RI "\fIparses face elements into a vector of 3 vectors of 3 ints from an \&.obj line \fP" +.ti -1c +.RI "void \fBObjLoader::parseElementTriple\fP (string triple, vector< int > &v_elements, vector< int > &uv_elements, vector< int > &n_elements)" +.br +.RI "\fIHelper function that splits an obj element listing (x/y/z) into their proper components (vertices, UVs, _normals\&.) \fP" +.ti -1c +.RI "void \fBObjLoader::loadModelFromFile\fP (\fBObject\fP *object, const char *filename)" +.br +.RI "\fILegacy function until I make everything suck less: Loads a single model from an OBJ and stores it into a single \fBObject\fP instance\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Headers for functions for reading in geometry from \&.OBJ files\&. + +\fBDate:\fP +.RS 4 +2013-03-14 +.RE +.PP +\fBAuthors:\fP +.RS 4 +Greg Giannone, Nick VerVoort, John Huston +.RE +.PP + +.PP +Definition in file \fBObjLoader\&.hpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Object.3 b/Doxygen/Docs/man/man3/Object.3 new file mode 100644 index 00000000..bd02ab61 --- /dev/null +++ b/Doxygen/Docs/man/man3/Object.3 @@ -0,0 +1,738 @@ +.TH "Object" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Object \- +.PP +\fBObject\fP Class: Renderable \fBObject\fP Implementation\&. + +.SH SYNOPSIS +.br +.PP +.PP +\fC#include \fP +.PP +Inherits \fBScene\fP\&. +.PP +Inherited by \fBCamera\fP, and \fBParticleSystem\fP\&. +.SS "Public Types" + +.in +1c +.ti -1c +.RI "enum \fBUniforms\fP { \fBBEGIN\fP, \fBIS_TEXTURED\fP = BEGIN, \fBOBJECT_CTM\fP, \fBMORPH_PCT\fP, \fBTEX_SAMPLER\fP, \fBEND\fP }" +.br +.RI "\fIenum Uniforms describes the properties of the base object that need to be visible to the GPU\&. \fP" +.ti -1c +.RI "typedef const unsigned int \fBUniformEnum\fP" +.br +.RI "\fIThe \fBObject\fP class takes advantage of child-extendible enumerations\&. \fP" +.ti -1c +.RI "typedef std::map +.br +< \fBObject::UniformEnum\fP, +.br +std::string > \fBUniformMap\fP" +.br +.RI "\fIWe store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables\&. \fP" +.ti -1c +.RI "typedef enum \fBObject::Uniforms\fP \fBUniform\fP" +.br +.RI "\fIenum Uniforms describes the properties of the base object that need to be visible to the GPU\&. \fP" +.in -1c +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBObject\fP (const std::string &\fBname\fP, GLuint gShader)" +.br +.RI "\fIConstructor\&. \fP" +.ti -1c +.RI "virtual \fB~Object\fP (void)" +.br +.RI "\fIDefault destructor\&. \fP" +.ti -1c +.RI "void \fBdraw\fP (void)" +.br +.RI "\fIdraw method: Render this object to the screen _buffer\&. \fP" +.ti -1c +.RI "void \fBbuffer\fP (void)" +.br +.RI "\fIbuffer all of our data: Vertices, TexUVs, Normals, Indices, Colors and Morph Buffers\&. \fP" +.ti -1c +.RI "void \fBbufferMorphOnly\fP (void)" +.br +.RI "\fIbuffer only the Morph-related buffers\&. \fP" +.ti -1c +.RI "void \fBdrawMode\fP (GLenum new_mode)" +.br +.RI "\fISelect a new OpenGL draw mode for this \fBObject\fP\&. \fP" +.ti -1c +.RI "void \fBtexture\fP (const char **filename)" +.br +.RI "\fIFIXME: This is a junk, nonflexible method\&. \fP" +.ti -1c +.RI "const std::string & \fBname\fP (void) const " +.br +.RI "\fIRetrieve the _name of this \fBObject\fP\&. \fP" +.ti -1c +.RI "virtual void \fBlink\fP (\fBUniformEnum\fP which, const std::string &\fBname\fP)" +.br +.RI "\fIlink a specified Uniform against the shader's variable _name\&. \fP" +.ti -1c +.RI "virtual void \fBsend\fP (\fBUniformEnum\fP which)" +.br +.RI "\fISend a Uniform to the shader\&. \fP" +.ti -1c +.RI "virtual GLuint \fBshader\fP (void)" +.br +.RI "\fIReturns the \fBObject\fP's current shader\&. \fP" +.ti -1c +.RI "virtual void \fBshader\fP (GLuint newShader)" +.br +.RI "\fISets the shader to be used by this object\&. \fP" +.ti -1c +.RI "void \fBanimation\fP (void(*anim_func)(\fBTransCache\fP &arg))" +.br +.RI "\fIApply an animation callback function to this \fBObject\fP\&. \fP" +.ti -1c +.RI "void \fBpropagate\fP (void)" +.br +.RI "\fIScene-graph changes are not automatically applied to children\&. \fP" +.ti -1c +.RI "\fBvec4\fP \fBposition\fP () const " +.br +.RI "\fIObtain the vec4 representative of the \fBObject\fP's current position in space\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBmorphTarget\fP () const " +.br +.RI "\fIRetrieve a pointer to this object's morph target\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBgenMorphTarget\fP (GLuint \fBshader\fP)" +.br +.RI "\fIInstantiate a new morphing target\&. \fP" +.ti -1c +.RI "float \fBmorphPercentage\fP () const " +.br +.RI "\fIRetrieve the morph Percentage of this object\&. \fP" +.ti -1c +.RI "void \fBmorphPercentage\fP (const float newPercentage)" +.br +.RI "\fISet the morph percentage of this \fBObject\fP\&. \fP" +.ti -1c +.RI "void \fBdestroyMorphTarget\fP ()" +.br +.RI "\fIObliterate the morph target for this object\&. \fP" +.ti -1c +.RI "int \fBnumberOfPoints\fP ()" +.br +.RI "\fIRetrieve the number of _vertices this object has\&. \fP" +.ti -1c +.RI "void \fBtextureID\fP (GLint newTextureID)" +.br +.RI "\fISet the \fBTexture\fP ID / \fBTexture\fP Unit for this \fBObject\fP\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBaddObject\fP (const std::string &objName, GLuint Object_Shader=0)" +.br +.RI "\fIaddObject creates a new \fBObject\fP with the given name and, optionally, a specified shader and adds it to the \fBScene\fP graph\&. \fP" +.ti -1c +.RI "void \fBdelObject\fP (const std::string &objName)" +.br +.RI "\fIdelObject will remove from the \fBScene\fP graph the object with the given name\&. \fP" +.ti -1c +.RI "void \fBdelObject\fP (void)" +.br +.RI "\fIdelObject with no parameters will delete the first \fBObject\fP in the \fBScene\fP\&. \fP" +.ti -1c +.RI "void \fBpopObject\fP (void)" +.br +.RI "\fIpopObject deletes the last \fBObject\fP in the \fBScene\fP\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBnext\fP (void)" +.br +.ti -1c +.RI "\fBObject\fP * \fBprev\fP (void)" +.br +.ti -1c +.RI "\fBObject\fP * \fBactive\fP (void) const " +.br +.ti -1c +.RI "\fBObject\fP * \fBoperator[]\fP (const std::string &objname)" +.br +.ti -1c +.RI "void \fBinsertObject\fP (\fBObject\fP *obj)" +.br +.RI "\fIRegister a created object with the scene graph\&. \fP" +.in -1c +.SS "Public Attributes" + +.in +1c +.ti -1c +.RI "std::vector< \fBAngel::vec4\fP > \fB_vertices\fP" +.br +.RI "\fIvertex buffer\&. \fP" +.ti -1c +.RI "std::vector< \fBAngel::vec3\fP > \fB_normals\fP" +.br +.RI "\fINormals buffer\&. \fP" +.ti -1c +.RI "std::vector< unsigned int > \fB_indices\fP" +.br +.RI "\fIDraw Order Index buffer\&. \fP" +.ti -1c +.RI "std::vector< \fBAngel::vec4\fP > \fB_colors\fP" +.br +.RI "\fIColors buffer\&. \fP" +.ti -1c +.RI "std::vector< \fBAngel::vec2\fP > \fB_texUVs\fP" +.br +.RI "\fI\fBTexture\fP Coordinates buffer\&. \fP" +.ti -1c +.RI "\fBTransCache\fP \fB_trans\fP" +.br +.RI "\fIThe _trans cache encompasses the current transformational state of this object\&. \fP" +.in -1c +.SS "Protected Member Functions" + +.in +1c +.ti -1c +.RI "void \fBdeleteObject\fP (\fBObject\fP *obj)" +.br +.RI "\fIVery seriously delete a child object and free his memory\&. \fP" +.in -1c +.SS "Protected Attributes" + +.in +1c +.ti -1c +.RI "std::string \fB_name\fP" +.br +.RI "\fI_name is used as an identifying handle for the object\&. \fP" +.ti -1c +.RI "GLuint \fB_vao\fP" +.br +.RI "\fIVertex Array \fBObject\fP handle identifying our buffers/object\&. \fP" +.ti -1c +.RI "GLuint \fB_buffer\fP [\fBNUM_BUFFERS\fP]" +.br +.RI "\fIHandles to our buffers (Vertices, TexUVs, etc\&.) \fP" +.ti -1c +.RI "GLenum \fB_drawMode\fP" +.br +.RI "\fIDrawing mode for this object\&. \fP" +.ti -1c +.RI "bool \fB_isTextured\fP" +.br +.RI "\fIIs this object textured? \fP" +.ti -1c +.RI "float \fB_morphPercentage\fP" +.br +.RI "\fIThe percentage of the morph\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fB_morphTarget\fP" +.br +.RI "\fIA pointer to the object we wish to morph into\&. \fP" +.ti -1c +.RI "std::map< \fBObject::UniformEnum\fP, +.br +std::string > \fB_uniformMap\fP" +.br +.RI "\fIA map between Uniform variable functions and the actual uniform variable names\&. \fP" +.ti -1c +.RI "std::vector< GLint > \fB_handles\fP" +.br +.RI "\fIHandles to Uniforms on the shader\&. \fP" +.ti -1c +.RI "GLint \fB_textureID\fP" +.br +.RI "\fIThe texture unit index this \fBObject\fP uses\&. \fP" +.ti -1c +.RI "std::list< \fBObject\fP * > \fB_list\fP" +.br +.RI "\fIFor the purposes of rapid propagation of scene-graph changes, \fBObject\fP pointers are stored in a regular flat list\&. \fP" +.ti -1c +.RI "std::map< std::string, \fBObject\fP * > \fB_map\fP" +.br +.RI "\fIFor the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map\&. \fP" +.ti -1c +.RI "std::list< \fBObject\fP * >::iterator \fB_currentObj\fP" +.br +.RI "\fIWe keep an iterator on-hand that references what the scene considers to be it's active, current object\&. \fP" +.ti -1c +.RI "GLuint \fB_gShader\fP" +.br +.RI "\fIA handle to a shader program to be used as the default shader for new children objects added to the scene\&. \fP" +.in -1c +.SS "Private Types" + +.in +1c +.ti -1c +.RI "enum \fBBufferType\fP { \fBVERTICES\fP, \fBNORMALS\fP, \fBINDICES\fP, \fBCOLORS\fP, \fBTEXCOORDS\fP, \fBVERTICES_MORPH\fP, \fBNORMALS_MORPH\fP, \fBCOLORS_MORPH\fP, \fBNUM_BUFFERS\fP }" +.br +.RI "\fIThese enumerations describe the types of buffers we want on the GPU per-object\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +\fBObject\fP Class: Renderable \fBObject\fP Implementation\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-15 +.RE +.PP +The \fBObject\fP class represents 'one renderable object' in terms of the scene graph\&. It is a simple unit that is rendered with a single \fBdraw()\fP call\&. +.PP +It contains all of the necessary state for sending uniforms to the shader, all of the buffers needed to send to the card, and also contains a fully-featured scene graph within itself such that children objects can be attached\&. +.PP +Definition at line 36 of file Object\&.hpp\&. +.SH "Member Typedef Documentation" +.PP +.SS "typedef enum \fBObject::Uniforms\fP \fBObject::Uniform\fP" + +.PP +enum Uniforms describes the properties of the base object that need to be visible to the GPU\&. BEGIN and END are special sentinel enumerations that must be first and last, respectively\&. +.SS "typedef const unsigned int \fBObject::UniformEnum\fP" + +.PP +The \fBObject\fP class takes advantage of child-extendible enumerations\&. We create an alias here for sake of ease\&. +.PP +Definition at line 62 of file Object\&.hpp\&. +.SS "typedef std::map< \fBObject::UniformEnum\fP, std::string > \fBObject::UniformMap\fP" + +.PP +We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables\&. This is utilized if we ever switch this object's shader, so we can re-associate with the correct uniform locations\&. +.PP +Definition at line 70 of file Object\&.hpp\&. +.SH "Member Enumeration Documentation" +.PP +.SS "enum \fBObject::BufferType\fP\fC [private]\fP" + +.PP +These enumerations describe the types of buffers we want on the GPU per-object\&. NUM_BUFFERS is a special sentinel enumeration that must always be last\&. +.PP +\fBEnumerator: \fP +.in +1c +.TP +\fB\fIVERTICES \fP\fP +VERTICES\&. +.TP +\fB\fINORMALS \fP\fP +NORMALS\&. +.TP +\fB\fIINDICES \fP\fP +INDICES\&. +.TP +\fB\fICOLORS \fP\fP +COLORS\&. +.TP +\fB\fITEXCOORDS \fP\fP +TEXCOORDS\&. +.TP +\fB\fIVERTICES_MORPH \fP\fP +VERTICES_MORPH\&. +.TP +\fB\fINORMALS_MORPH \fP\fP +NORMALS_MORPH\&. +.TP +\fB\fICOLORS_MORPH \fP\fP +COLORS_MORPH\&. +.TP +\fB\fINUM_BUFFERS \fP\fP +NUM_BUFFERS This is a sentinel enumeration\&. +.PP +Definition at line 44 of file Object\&.hpp\&. +.SS "enum \fBObject::Uniforms\fP" + +.PP +enum Uniforms describes the properties of the base object that need to be visible to the GPU\&. BEGIN and END are special sentinel enumerations that must be first and last, respectively\&. +.PP +\fBEnumerator: \fP +.in +1c +.TP +\fB\fIBEGIN \fP\fP +BEGIN\&. +.TP +\fB\fIIS_TEXTURED \fP\fP +IS_TEXTURED\&. +.TP +\fB\fIOBJECT_CTM \fP\fP +OBJECT_CTM\&. +.TP +\fB\fIMORPH_PCT \fP\fP +MORPH_PCT\&. +.TP +\fB\fITEX_SAMPLER \fP\fP +TEX_SAMPLER\&. +.TP +\fB\fIEND \fP\fP +END\&. +.PP +Definition at line 79 of file Object\&.hpp\&. +.SH "Constructor & Destructor Documentation" +.PP +.SS "Object::Object (const std::string &name, GLuintgShader)" + +.PP +Constructor\&. Requires at minimum a _name and a shader handle\&. +.PP +\fBParameters:\fP +.RS 4 +\fIname\fP The _name of this object\&. +.br +\fIgShader\fP The shader to use to render this object\&. +.RE +.PP + +.PP +Definition at line 29 of file Object\&.cpp\&. +.SH "Member Function Documentation" +.PP +.SS "\fBObject\fP * Scene::addObject (const std::string &objName, GLuintshader = \fC0\fP)\fC [inherited]\fP" + +.PP +addObject creates a new \fBObject\fP with the given name and, optionally, a specified shader and adds it to the \fBScene\fP graph\&. If no shader is given, a default shader MUST have been specified for the \fBScene\fP prior to the call\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobjName\fP The name of the new \fBObject\fP to add\&. +.br +\fIObject_Shader\fP The shader that should be used to render this object\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +A pointer to the new \fBObject\fP\&. +.RE +.PP + +.PP +Definition at line 77 of file Scene\&.cpp\&. +.SS "void Object::animation (void(*)(\fBTransCache\fP &arg)anim_func)" + +.PP +Apply an animation callback function to this \fBObject\fP\&. Works once only: Does not save the function or automatically run on idle\&. +.PP +\fBParameters:\fP +.RS 4 +\fIanim_func\fP The transformation/animation function to apply\&. +.RE +.PP + +.PP +Definition at line 443 of file Object\&.cpp\&. +.SS "void Scene::deleteObject (\fBObject\fP *obj)\fC [protected]\fP, \fC [inherited]\fP" + +.PP +Very seriously delete a child object and free his memory\&. deleteObject is the actual implementation function that will remove an \fBObject\fP from the \fBScene\fP list and \fBScene\fP map, then free the object\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to delete\&. +.br +\fIobj\fP The pointer to the object to free\&. +.RE +.PP + +.PP +Definition at line 129 of file Scene\&.cpp\&. +.SS "void Scene::delObject (const std::string &objName)\fC [inherited]\fP" + +.PP +delObject will remove from the \fBScene\fP graph the object with the given name\&. \fBParameters:\fP +.RS 4 +\fIobjName\fP Name of the \fBObject\fP to delete\&. +.RE +.PP + +.PP +Definition at line 99 of file Scene\&.cpp\&. +.SS "void Object::drawMode (GLenumnew_mode)" + +.PP +Select a new OpenGL draw mode for this \fBObject\fP\&. Can be GL_LINES, GL_LINE_LOOP, GL_TRIANGLES, etc\&. +.PP +\fBSee Also:\fP +.RS 4 +http://www.opengl.org/wiki/Primitive +.RE +.PP +\fBParameters:\fP +.RS 4 +\fInew_mode\fP The primitive rendering mode to use\&. +.RE +.PP + +.PP +Definition at line 269 of file Object\&.cpp\&. +.SS "\fBObject\fP * Object::genMorphTarget (GLuintshader)" + +.PP +Instantiate a new morphing target\&. \fBParameters:\fP +.RS 4 +\fIshader\fP The shader to use for the new morphing target\&. NOT USED for rendering the object, but Objects cannot be instantiated without a shader, so here it is\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +A pointer to the newly created target\&. +.RE +.PP + +.PP +Definition at line 503 of file Object\&.cpp\&. +.SS "void Scene::insertObject (\fBObject\fP *obj)\fC [inherited]\fP" + +.PP +Register a created object with the scene graph\&. \fBParameters:\fP +.RS 4 +\fIname\fP The name of the object (For the associative map), +.br +\fIobj\fP The \fBObject\fP pointer to add to the scene\&. +.RE +.PP + +.PP +Definition at line 118 of file Scene\&.cpp\&. +.SS "void Object::link (\fBUniformEnum\fPwhich, const std::string &name)\fC [virtual]\fP" + +.PP +link a specified Uniform against the shader's variable _name\&. \fBParameters:\fP +.RS 4 +\fIwhich\fP The Uniform to link\&. +.br +\fIname\fP The variable _name on the shader\&. +.RE +.PP + +.PP +Definition at line 345 of file Object\&.cpp\&. +.SS "float Object::morphPercentage (void) const" + +.PP +Retrieve the morph Percentage of this object\&. \fBReturns:\fP +.RS 4 +The morph percentage, as a float\&. +.RE +.PP + +.PP +Definition at line 515 of file Object\&.cpp\&. +.SS "void Object::morphPercentage (const floatnewPercentage)" + +.PP +Set the morph percentage of this \fBObject\fP\&. \fBParameters:\fP +.RS 4 +\fInewPercentage\fP The new morphing percentage\&. +.RE +.PP + +.PP +Definition at line 524 of file Object\&.cpp\&. +.SS "\fBObject\fP * Object::morphTarget (void) const" + +.PP +Retrieve a pointer to this object's morph target\&. \fBReturns:\fP +.RS 4 +An \fBObject\fP pointer to the morph target\&. +.RE +.PP + +.PP +Definition at line 489 of file Object\&.cpp\&. +.SS "const std::string & Object::name (void) const" + +.PP +Retrieve the _name of this \fBObject\fP\&. \fBReturns:\fP +.RS 4 +The _name of this \fBObject\fP\&. +.RE +.PP + +.PP +Definition at line 333 of file Object\&.cpp\&. +.SS "int Object::numberOfPoints (void)" + +.PP +Retrieve the number of _vertices this object has\&. \fBReturns:\fP +.RS 4 +An integer representing the number of vertices the object has\&. +.RE +.PP + +.PP +Definition at line 544 of file Object\&.cpp\&. +.SS "\fBvec4\fP Object::position (void) const" + +.PP +Obtain the vec4 representative of the \fBObject\fP's current position in space\&. \fBReturns:\fP +.RS 4 +vec4 representing the \fBObject\fP's position in space\&. +.RE +.PP + +.PP +Definition at line 478 of file Object\&.cpp\&. +.SS "void Object::propagate (void)" + +.PP +Scene-graph changes are not automatically applied to children\&. For efficiency reasons, you need to call \fBpropagate()\fP manually\&. +.PP +Definition at line 452 of file Object\&.cpp\&. +.SS "void Object::send (\fBObject::UniformEnum\fPwhich)\fC [virtual]\fP" + +.PP +Send a Uniform to the shader\&. \fBParameters:\fP +.RS 4 +\fIwhich\fP The uniform to send\&. +.RE +.PP + +.PP +Reimplemented in \fBCamera\fP\&. +.PP +Definition at line 373 of file Object\&.cpp\&. +.SS "GLuint Object::shader (void)\fC [virtual]\fP" + +.PP +Returns the \fBObject\fP's current shader\&. Defined because C++ will not let you overload an overrided function, without re-overloading it in the derived class\&. +.PP +\fBReturns:\fP +.RS 4 +a GLuint handle to the shader program used by this \fBObject\fP\&. +.RE +.PP + +.PP +Reimplemented from \fBScene\fP\&. +.PP +Definition at line 406 of file Object\&.cpp\&. +.SS "void Object::shader (GLuintnewShader)\fC [virtual]\fP" + +.PP +Sets the shader to be used by this object\&. Triggers a query of the shader program, for the locations of the Uniform locations that the object needs\&. +.PP +\fBParameters:\fP +.RS 4 +\fInewShader\fP a GLuint handle to the shader program to use\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +None\&. +.RE +.PP + +.PP +Reimplemented from \fBScene\fP\&. +.PP +Definition at line 422 of file Object\&.cpp\&. +.SS "void Object::texture (const char **filename)" + +.PP +FIXME: This is a junk, nonflexible method\&. It would be better if you didn't think of this as being here\&. +.PP +\fBParameters:\fP +.RS 4 +\fIfilename\fP an array of strings to load textures from\&. +.RE +.PP + +.PP +Definition at line 279 of file Object\&.cpp\&. +.SS "void Object::textureID (GLintnewTextureID)\fC [inline]\fP" + +.PP +Set the \fBTexture\fP ID / \fBTexture\fP Unit for this \fBObject\fP\&. \fBParameters:\fP +.RS 4 +\fInewTextureID\fP The new \fBTexture\fP Unit ID/Index for this \fBObject\fP\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +None\&. +.RE +.PP + +.PP +Definition at line 244 of file Object\&.hpp\&. +.SH "Member Data Documentation" +.PP +.SS "std::vector< \fBAngel::vec4\fP > Object::_colors" + +.PP +Colors buffer\&. +.PP +Definition at line 256 of file Object\&.hpp\&. +.SS "GLenum Object::_drawMode\fC [protected]\fP" + +.PP +Drawing mode for this object\&. GL_TRIANGLES, GL_LINE_LOOP, etc\&. +.PP +Definition at line 278 of file Object\&.hpp\&. +.SS "std::vector< GLint > Object::_handles\fC [protected]\fP" + +.PP +Handles to Uniforms on the shader\&. Protected to allow derived classes to extend it as needed\&. +.PP +Definition at line 307 of file Object\&.hpp\&. +.SS "std::vector< unsigned int > Object::_indices" + +.PP +Draw Order Index buffer\&. If not used, engine assumes GL_DRAW_ARRAYS\&. +.PP +Definition at line 254 of file Object\&.hpp\&. +.SS "std::map< std::string, \fBObject\fP* > Scene::_map\fC [protected]\fP, \fC [inherited]\fP" + +.PP +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map\&. It's a little superfluous, but here it is! +.PP +Definition at line 127 of file Scene\&.hpp\&. +.SS "float Object::_morphPercentage\fC [protected]\fP" + +.PP +The percentage of the morph\&. 0\&.0 means 100% the original, current object\&. 100\&.0 means 100% the new, targeted object\&. +.PP +Definition at line 289 of file Object\&.hpp\&. +.SS "std::string Object::_name\fC [protected]\fP" + +.PP +_name is used as an identifying handle for the object\&. +.PP +Definition at line 269 of file Object\&.hpp\&. +.SS "std::vector< \fBAngel::vec3\fP > Object::_normals" + +.PP +Normals buffer\&. +.PP +Definition at line 252 of file Object\&.hpp\&. +.SS "std::vector< \fBAngel::vec2\fP > Object::_texUVs" + +.PP +\fBTexture\fP Coordinates buffer\&. +.PP +Definition at line 258 of file Object\&.hpp\&. +.SS "std::map< \fBObject::UniformEnum\fP, std::string > Object::_uniformMap\fC [protected]\fP" + +.PP +A map between Uniform variable functions and the actual uniform variable names\&. Used when linking against a shader\&. +.PP +Definition at line 300 of file Object\&.hpp\&. +.SS "GLuint Object::_vao\fC [protected]\fP" + +.PP +Vertex Array \fBObject\fP handle identifying our buffers/object\&. +.PP +Definition at line 272 of file Object\&.hpp\&. +.SS "std::vector< \fBAngel::vec4\fP > Object::_vertices" + +.PP +vertex buffer\&. +.PP +Definition at line 250 of file Object\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Object.cpp.3 b/Doxygen/Docs/man/man3/Object.cpp.3 new file mode 100644 index 00000000..5b407001 --- /dev/null +++ b/Doxygen/Docs/man/man3/Object.cpp.3 @@ -0,0 +1,59 @@ +.TH "Object.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Object.cpp \- +.PP +Implementation for the \fBObject\fP class\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'Texture\&.hpp'\fP +.br +\fC#include \fP +.br +\fC#include 'platform\&.h'\fP +.br +\fC#include 'Engine\&.hpp'\fP +.br +\fC#include 'vec\&.hpp'\fP +.br +\fC#include 'mat\&.hpp'\fP +.br +\fC#include 'Object\&.hpp'\fP +.br +\fC#include 'globals\&.h'\fP +.br +\fC#include 'Timer\&.hpp'\fP +.br + +.SH "Detailed Description" +.PP +Implementation for the \fBObject\fP class\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBAuthors:\fP +.RS 4 +Nick St\&.Pierre, Nick VerVoort, Chris Compton +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-15 +.RE +.PP + +.PP +Definition in file \fBObject\&.cpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Object.hpp.3 b/Doxygen/Docs/man/man3/Object.hpp.3 new file mode 100644 index 00000000..56a6ae1f --- /dev/null +++ b/Doxygen/Docs/man/man3/Object.hpp.3 @@ -0,0 +1,59 @@ +.TH "Object.hpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Object.hpp \- +.PP +Header for the \fBObject\fP class\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'platform\&.h'\fP +.br +\fC#include 'vec\&.hpp'\fP +.br +\fC#include 'mat\&.hpp'\fP +.br +\fC#include 'Scene\&.hpp'\fP +.br +\fC#include 'TransCache\&.hpp'\fP +.br + +.SS "Classes" + +.in +1c +.ti -1c +.RI "class \fBObject\fP" +.br +.RI "\fI\fBObject\fP Class: Renderable \fBObject\fP Implementation\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Header for the \fBObject\fP class\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBAuthors:\fP +.RS 4 +Nick St\&.Pierre, Nick VerVoort, Chris Compton +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-15 +.RE +.PP + +.PP +Definition in file \fBObject\&.hpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/OpenGL.h.3 b/Doxygen/Docs/man/man3/OpenGL.h.3 new file mode 100644 index 00000000..0dcfd651 --- /dev/null +++ b/Doxygen/Docs/man/man3/OpenGL.h.3 @@ -0,0 +1,38 @@ +.TH "OpenGL.h" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +OpenGL.h \- +.PP +Core OpenGL includes needed for basic functionality\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br + +.SH "Detailed Description" +.PP +Core OpenGL includes needed for basic functionality\&. + +\fBDate:\fP +.RS 4 +2013-03-15 +.RE +.PP +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +Includes platform-dependent macros that need to be supported by the Makefile in order to function correctly on both Linux and OSX\&. +.PP +Definition in file \fBOpenGL\&.h\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Particle.3 b/Doxygen/Docs/man/man3/Particle.3 new file mode 100644 index 00000000..4eabb17e --- /dev/null +++ b/Doxygen/Docs/man/man3/Particle.3 @@ -0,0 +1,98 @@ +.TH "Particle" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Particle \- +.PP +TODO: You know you've been bad\&. + +.SH SYNOPSIS +.br +.PP +.PP +\fC#include \fP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBParticle\fP (\fBvec4\fP position, float scale, float lifeSpan)" +.br +.ti -1c +.RI "void \fBchangeVel\fP (\fBvec3\fP newVel)" +.br +.ti -1c +.RI "float \fBgetLifespan\fP (void)" +.br +.ti -1c +.RI "void \fBsetAlpha\fP (float newAlpha)" +.br +.ti -1c +.RI "void \fBsetColor\fP (\fBvec4\fP newColor)" +.br +.ti -1c +.RI "void \fBsetLifespan\fP (float newLifespan)" +.br +.ti -1c +.RI "void \fBsetPos\fP (\fBvec4\fP newPos)" +.br +.ti -1c +.RI "void \fBsetScale\fP (\fBvec3\fP newScale)" +.br +.ti -1c +.RI "void \fBsetSpin\fP (float newSpin)" +.br +.ti -1c +.RI "void \fBsetVel\fP (\fBvec3\fP newVel)" +.br +.ti -1c +.RI "void \fBsetTexFile\fP (string newFilename)" +.br +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "\fBvec4\fP \fBmPos\fP" +.br +.ti -1c +.RI "\fBvec3\fP \fBmScale\fP" +.br +.ti -1c +.RI "\fBvec3\fP \fBmVel\fP" +.br +.ti -1c +.RI "\fBvec4\fP \fBcolor\fP" +.br +.ti -1c +.RI "float \fBlifespan\fP" +.br +.ti -1c +.RI "string \fBtexFilename\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +TODO: You know you've been bad\&. + +\fBAuthor:\fP +.RS 4 +Nick Ver Voort, nicholas_vervoort@student.uml.edu +.RE +.PP +\fBSince:\fP +.RS 4 +23 Feb 2013 +.RE +.PP +\fBAuthors:\fP +.RS 4 +Nick Ver Voort, Chris Compton nicholas_vervoort@student.uml.edu, christopher_compton@student.uml.edu +.RE +.PP + +.PP +Definition at line 31 of file Particle\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Particle.cpp.3 b/Doxygen/Docs/man/man3/Particle.cpp.3 new file mode 100644 index 00000000..0eef161e --- /dev/null +++ b/Doxygen/Docs/man/man3/Particle.cpp.3 @@ -0,0 +1,59 @@ +.TH "Particle.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Particle.cpp \- +.PP +FIXME: Needs documentation from NVV/CC\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'globals\&.h'\fP +.br +\fC#include 'mat\&.hpp'\fP +.br +\fC#include 'model\&.hpp'\fP +.br +\fC#include 'Object\&.hpp'\fP +.br +\fC#include 'Particle\&.hpp'\fP +.br +\fC#include 'platform\&.h'\fP +.br +\fC#include 'Timer\&.hpp'\fP +.br +\fC#include 'vec\&.hpp'\fP +.br + +.SH "Detailed Description" +.PP +FIXME: Needs documentation from NVV/CC\&. + +\fBAuthor:\fP +.RS 4 +FIXME +.RE +.PP +\fBAuthors:\fP +.RS 4 +FIXME +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-15 +.RE +.PP + +.PP +Definition in file \fBParticle\&.cpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Particle.hpp.3 b/Doxygen/Docs/man/man3/Particle.hpp.3 new file mode 100644 index 00000000..704c4867 --- /dev/null +++ b/Doxygen/Docs/man/man3/Particle.hpp.3 @@ -0,0 +1,53 @@ +.TH "Particle.hpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Particle.hpp \- +.PP +FIXME: Needs documentation from NVV/CC\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include 'mat\&.hpp'\fP +.br +\fC#include 'vec\&.hpp'\fP +.br +\fC#include 'Object\&.hpp'\fP +.br + +.SS "Classes" + +.in +1c +.ti -1c +.RI "class \fBParticle\fP" +.br +.RI "\fITODO: You know you've been bad\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +FIXME: Needs documentation from NVV/CC\&. + +\fBAuthor:\fP +.RS 4 +FIXME +.RE +.PP +\fBAuthors:\fP +.RS 4 +FIXME +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-15 +.RE +.PP + +.PP +Definition in file \fBParticle\&.hpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/RotMat.3 b/Doxygen/Docs/man/man3/RotMat.3 new file mode 100644 index 00000000..63fa04dc --- /dev/null +++ b/Doxygen/Docs/man/man3/RotMat.3 @@ -0,0 +1,59 @@ +.TH "RotMat" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +RotMat \- +.PP +Rotations\&. + +.SH SYNOPSIS +.br +.PP +.PP +\fC#include \fP +.PP +Inherits \fBTransformation\fP\&. +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "const \fBRotMat\fP & \fBreset\fP (const \fBAngel::mat4\fP &NewState)" +.br +.ti -1c +.RI "const \fBRotMat\fP & \fBrotateX\fP (const GLfloat theta, bool postmult=true)" +.br +.ti -1c +.RI "const \fBRotMat\fP & \fBrotateY\fP (const GLfloat theta, bool postmult=true)" +.br +.ti -1c +.RI "const \fBRotMat\fP & \fBrotateZ\fP (const GLfloat theta, bool postmult=true)" +.br +.ti -1c +.RI "const \fBRotMat\fP & \fBadjust\fP (const \fBAngel::mat4\fP &Adjustment, bool postmult=true)" +.br +.ti -1c +.RI "const \fBAngel::mat4\fP & \fBmatrix\fP (void) const " +.br +.ti -1c +.RI "\fBAngel::mat4\fP \fBoperator*\fP (const \fBAngel::mat4\fP &rhs) const " +.br +.ti -1c +.RI "\fBAngel::mat4\fP \fBoperator*\fP (const \fBTransformation\fP &rhs) const " +.br +.in -1c +.SS "Protected Attributes" + +.in +1c +.ti -1c +.RI "\fBAngel::mat4\fP \fBmat\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +Rotations\&. +.PP +Definition at line 40 of file Transformation\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/ScaleMat.3 b/Doxygen/Docs/man/man3/ScaleMat.3 new file mode 100644 index 00000000..b9f23167 --- /dev/null +++ b/Doxygen/Docs/man/man3/ScaleMat.3 @@ -0,0 +1,49 @@ +.TH "ScaleMat" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +ScaleMat \- +.SH SYNOPSIS +.br +.PP +.PP +Inherits \fBTransformation\fP\&. +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "const \fBScaleMat\fP & \fBset\fP (const float x, const float y, const float z)" +.br +.ti -1c +.RI "const \fBScaleMat\fP & \fBset\fP (const float pct)" +.br +.ti -1c +.RI "const \fBScaleMat\fP & \fBadjust\fP (const float x, const float y, const float z)" +.br +.ti -1c +.RI "const \fBScaleMat\fP & \fBadjust\fP (const float pct)" +.br +.ti -1c +.RI "const \fBAngel::mat4\fP & \fBmatrix\fP (void) const " +.br +.ti -1c +.RI "\fBAngel::mat4\fP \fBoperator*\fP (const \fBAngel::mat4\fP &rhs) const " +.br +.ti -1c +.RI "\fBAngel::mat4\fP \fBoperator*\fP (const \fBTransformation\fP &rhs) const " +.br +.in -1c +.SS "Protected Attributes" + +.in +1c +.ti -1c +.RI "\fBAngel::mat4\fP \fBmat\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 70 of file Transformation\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Scene.3 b/Doxygen/Docs/man/man3/Scene.3 new file mode 100644 index 00000000..91c76486 --- /dev/null +++ b/Doxygen/Docs/man/man3/Scene.3 @@ -0,0 +1,239 @@ +.TH "Scene" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Scene \- +.PP +The \fBScene\fP object keeps track of a list of objects considered to be 'children' of the \fBScene\fP\&. + +.SH SYNOPSIS +.br +.PP +.PP +\fC#include \fP +.PP +Inherited by \fBCameras\fP, and \fBObject\fP\&. +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBScene\fP ()" +.br +.RI "\fINullary constructor\&. \fP" +.ti -1c +.RI "virtual \fB~Scene\fP ()" +.br +.RI "\fIDestructor! Will traverse its list and delete all objects! !! CAUTION !! If you have registered your own Objects manually, note that the scene will delete them for you! \fP" +.ti -1c +.RI "virtual void \fBshader\fP (GLuint gShader)" +.br +.RI "\fISets the Default shader for the scene\&. \fP" +.ti -1c +.RI "GLuint \fBshader\fP (void)" +.br +.RI "\fIRetrieves the handle for the default shader for the scene\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBaddObject\fP (const std::string &objName, GLuint Object_Shader=0)" +.br +.RI "\fIaddObject creates a new \fBObject\fP with the given name and, optionally, a specified shader and adds it to the \fBScene\fP graph\&. \fP" +.ti -1c +.RI "void \fBdelObject\fP (const std::string &objName)" +.br +.RI "\fIdelObject will remove from the \fBScene\fP graph the object with the given name\&. \fP" +.ti -1c +.RI "void \fBdelObject\fP (void)" +.br +.RI "\fIdelObject with no parameters will delete the first \fBObject\fP in the \fBScene\fP\&. \fP" +.ti -1c +.RI "void \fBpopObject\fP (void)" +.br +.RI "\fIpopObject deletes the last \fBObject\fP in the \fBScene\fP\&. \fP" +.ti -1c +.RI "\fBObject\fP * \fBnext\fP (void)" +.br +.ti -1c +.RI "\fBObject\fP * \fBprev\fP (void)" +.br +.ti -1c +.RI "\fBObject\fP * \fBactive\fP (void) const " +.br +.ti -1c +.RI "void \fBdraw\fP (void)" +.br +.ti -1c +.RI "\fBObject\fP * \fBoperator[]\fP (const std::string &objname)" +.br +.ti -1c +.RI "\fBScene\fP (const \fBScene\fP ©)" +.br +.ti -1c +.RI "\fBScene\fP & \fBoperator=\fP (const \fBScene\fP ©)" +.br +.ti -1c +.RI "void \fBinsertObject\fP (\fBObject\fP *obj)" +.br +.RI "\fIRegister a created object with the scene graph\&. \fP" +.in -1c +.SS "Protected Member Functions" + +.in +1c +.ti -1c +.RI "void \fBdeleteObject\fP (\fBObject\fP *obj)" +.br +.RI "\fIVery seriously delete a child object and free his memory\&. \fP" +.in -1c +.SS "Protected Attributes" + +.in +1c +.ti -1c +.RI "std::list< \fBObject\fP * > \fB_list\fP" +.br +.RI "\fIFor the purposes of rapid propagation of scene-graph changes, \fBObject\fP pointers are stored in a regular flat list\&. \fP" +.ti -1c +.RI "std::map< std::string, \fBObject\fP * > \fB_map\fP" +.br +.RI "\fIFor the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map\&. \fP" +.ti -1c +.RI "std::list< \fBObject\fP * >::iterator \fB_currentObj\fP" +.br +.RI "\fIWe keep an iterator on-hand that references what the scene considers to be it's active, current object\&. \fP" +.ti -1c +.RI "GLuint \fB_gShader\fP" +.br +.RI "\fIA handle to a shader program to be used as the default shader for new children objects added to the scene\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +The \fBScene\fP object keeps track of a list of objects considered to be 'children' of the \fBScene\fP\&. + +The \fBScene\fP itself has no physical representation or presence otherwise on the GPU, it is purely a logical CPU entity\&. +.PP +\fBDate:\fP +.RS 4 +2013-03-16 +.RE +.PP +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP + +.PP +Definition at line 30 of file Scene\&.hpp\&. +.SH "Constructor & Destructor Documentation" +.PP +.SS "Scene::~Scene ()\fC [virtual]\fP" + +.PP +Destructor! Will traverse its list and delete all objects! !! CAUTION !! If you have registered your own Objects manually, note that the scene will delete them for you! You should, of course, never register objects from the stack\&. +.PP +Definition at line 34 of file Scene\&.cpp\&. +.SH "Member Function Documentation" +.PP +.SS "\fBObject\fP * Scene::addObject (const std::string &objName, GLuintshader = \fC0\fP)" + +.PP +addObject creates a new \fBObject\fP with the given name and, optionally, a specified shader and adds it to the \fBScene\fP graph\&. If no shader is given, a default shader MUST have been specified for the \fBScene\fP prior to the call\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobjName\fP The name of the new \fBObject\fP to add\&. +.br +\fIObject_Shader\fP The shader that should be used to render this object\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +A pointer to the new \fBObject\fP\&. +.RE +.PP + +.PP +Definition at line 77 of file Scene\&.cpp\&. +.SS "void Scene::deleteObject (\fBObject\fP *obj)\fC [protected]\fP" + +.PP +Very seriously delete a child object and free his memory\&. deleteObject is the actual implementation function that will remove an \fBObject\fP from the \fBScene\fP list and \fBScene\fP map, then free the object\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to delete\&. +.br +\fIobj\fP The pointer to the object to free\&. +.RE +.PP + +.PP +Definition at line 129 of file Scene\&.cpp\&. +.SS "void Scene::delObject (const std::string &objName)" + +.PP +delObject will remove from the \fBScene\fP graph the object with the given name\&. \fBParameters:\fP +.RS 4 +\fIobjName\fP Name of the \fBObject\fP to delete\&. +.RE +.PP + +.PP +Definition at line 99 of file Scene\&.cpp\&. +.SS "void Scene::insertObject (\fBObject\fP *obj)" + +.PP +Register a created object with the scene graph\&. \fBParameters:\fP +.RS 4 +\fIname\fP The name of the object (For the associative map), +.br +\fIobj\fP The \fBObject\fP pointer to add to the scene\&. +.RE +.PP + +.PP +Definition at line 118 of file Scene\&.cpp\&. +.SS "void Scene::shader (GLuintgShader)\fC [virtual]\fP" + +.PP +Sets the Default shader for the scene\&. In the context of inheritance by objects, This sets the shader to use to render the physical object\&. +.PP +\fBParameters:\fP +.RS 4 +\fIgShader\fP The GLuint handle to the shader to use\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Reimplemented in \fBObject\fP\&. +.PP +Definition at line 52 of file Scene\&.cpp\&. +.SS "GLuint Scene::shader (void)" + +.PP +Retrieves the handle for the default shader for the scene\&. In the context of inheritance by objects, This retrieves the shader handle to use to draw the object\&. +.PP +\fBReturns:\fP +.RS 4 +A GLuint handle to the shader program\&. +.RE +.PP + +.PP +Reimplemented in \fBObject\fP\&. +.PP +Definition at line 63 of file Scene\&.cpp\&. +.SH "Member Data Documentation" +.PP +.SS "std::map< std::string, \fBObject\fP* > Scene::_map\fC [protected]\fP" + +.PP +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map\&. It's a little superfluous, but here it is! +.PP +Definition at line 127 of file Scene\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Screen.3 b/Doxygen/Docs/man/man3/Screen.3 new file mode 100644 index 00000000..3273155d --- /dev/null +++ b/Doxygen/Docs/man/man3/Screen.3 @@ -0,0 +1,66 @@ +.TH "Screen" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Screen \- +.SH SYNOPSIS +.br +.PP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBScreen\fP (int x=0, int y=0)" +.br +.ti -1c +.RI "\fBScreen\fP (const \fBvec2\fP &newSize)" +.br +.ti -1c +.RI "void \fBsize\fP (int x, int y)" +.br +.ti -1c +.RI "void \fBsize\fP (const \fBvec2\fP &newSize)" +.br +.ti -1c +.RI "const \fBvec2\fP & \fBsize\fP (void)" +.br +.ti -1c +.RI "int \fBwidth\fP (void)" +.br +.ti -1c +.RI "int \fBheight\fP (void)" +.br +.ti -1c +.RI "const \fBvec2\fP & \fBcenter\fP (void)" +.br +.ti -1c +.RI "int \fBmidpointX\fP (void)" +.br +.ti -1c +.RI "int \fBmidpointY\fP (void)" +.br +.in -1c +.SS "Public Attributes" + +.in +1c +.ti -1c +.RI "\fBCameras\fP \fB_camList\fP" +.br +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "\fBvec2\fP \fB_size\fP" +.br +.ti -1c +.RI "\fBvec2\fP \fB_center\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 15 of file Screen\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/SpelchkCamera.3 b/Doxygen/Docs/man/man3/SpelchkCamera.3 new file mode 100644 index 00000000..01214ea3 --- /dev/null +++ b/Doxygen/Docs/man/man3/SpelchkCamera.3 @@ -0,0 +1,168 @@ +.TH "SpelchkCamera" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +SpelchkCamera \- +.SH SYNOPSIS +.br +.PP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "\fBSpelchkCamera\fP (\fBvec4\fP initialTranslationVector)" +.br +.ti -1c +.RI "\fBmat4\fP \fBgetProjectionMatrix\fP ()" +.br +.ti -1c +.RI "\fBmat4\fP \fBgetModelViewMatrix\fP ()" +.br +.ti -1c +.RI "\fBvec4\fP \fBgetTranslationVector\fP ()" +.br +.ti -1c +.RI "void \fBmoveCamera\fP (float xDepth, float yDepth, float zDepth)" +.br +.ti -1c +.RI "void \fBrotateCamera\fP (float xAngle, float yAngle, float zAngle)" +.br +.ti -1c +.RI "void \fBsetScreenSize\fP (int width, int height)" +.br +.ti -1c +.RI "void \fBsetProjection\fP (int projectionType)" +.br +.ti -1c +.RI "void \fBreset\fP ()" +.br +.ti -1c +.RI "void \fBsetLightMovementRef\fP (GLuint ref)" +.br +.ti -1c +.RI "void \fBsetLightMovementTime\fP (float elapsed)" +.br +.ti -1c +.RI "void \fBgetReadyForZero\fP (int usernum)" +.br +.ti -1c +.RI "void \fBheadMovement\fP (int usernum, double x, double y, double z)" +.br +.in -1c +.SS "Private Member Functions" + +.in +1c +.ti -1c +.RI "void \fBcalculateTranslationVector\fP ()" +.br +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "int \fB_projectionType\fP" +.br +.ti -1c +.RI "GLfloat \fB_fovy\fP" +.br +.ti -1c +.RI "GLfloat \fB_aspect\fP" +.br +.ti -1c +.RI "GLfloat \fB_left\fP" +.br +.ti -1c +.RI "GLfloat \fB_right\fP" +.br +.ti -1c +.RI "GLfloat \fB_bottom\fP" +.br +.ti -1c +.RI "GLfloat \fB_top\fP" +.br +.ti -1c +.RI "GLfloat \fB_zNear\fP" +.br +.ti -1c +.RI "GLfloat \fB_zFar\fP" +.br +.ti -1c +.RI "GLuint \fB_timeRef\fP" +.br +.ti -1c +.RI "int \fB_screenWidth\fP" +.br +.ti -1c +.RI "int \fB_screenHeight\fP" +.br +.ti -1c +.RI "GLfloat \fB_xDepth\fP" +.br +.ti -1c +.RI "GLfloat \fB_yDepth\fP" +.br +.ti -1c +.RI "GLfloat \fB_zDepth\fP" +.br +.ti -1c +.RI "GLfloat \fB_xAngle\fP" +.br +.ti -1c +.RI "GLfloat \fB_yAngle\fP" +.br +.ti -1c +.RI "GLfloat \fB_zAngle\fP" +.br +.ti -1c +.RI "GLfloat \fB_xHead\fP" +.br +.ti -1c +.RI "GLfloat \fB_yHead\fP" +.br +.ti -1c +.RI "GLfloat \fB_zHead\fP" +.br +.ti -1c +.RI "float \fB_xHeadStart\fP" +.br +.ti -1c +.RI "float \fB_yHeadStart\fP" +.br +.ti -1c +.RI "float \fB_zHeadStart\fP" +.br +.ti -1c +.RI "GLfloat \fB_xHeadAngle\fP" +.br +.ti -1c +.RI "GLfloat \fB_yHeadAngle\fP" +.br +.ti -1c +.RI "GLfloat \fB_zHeadAngle\fP" +.br +.ti -1c +.RI "\fBvec4\fP \fB_initialTranslationVector\fP" +.br +.ti -1c +.RI "\fBvec4\fP \fB_translationVector\fP" +.br +.ti -1c +.RI "\fBvec4\fP \fB_oldTranslationVector\fP" +.br +.ti -1c +.RI "\fBmat4\fP \fB_modelViewMatrix\fP" +.br +.ti -1c +.RI "int \fB_inboundHeadData\fP" +.br +.ti -1c +.RI "\fBvec4\fP \fB_initialHeadPosition\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 17 of file SpelchkCamera\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/TiemSpelchk_Lurn2SpielNub.3 b/Doxygen/Docs/man/man3/TiemSpelchk_Lurn2SpielNub.3 new file mode 100644 index 00000000..bb8cac23 --- /dev/null +++ b/Doxygen/Docs/man/man3/TiemSpelchk_Lurn2SpielNub.3 @@ -0,0 +1,102 @@ +.TH "TiemSpelchk::Lurn2SpielNub" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +TiemSpelchk::Lurn2SpielNub \- +.SH SYNOPSIS +.br +.PP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "void \fBsetCallback\fP (boost::function< void(int, double, double, double) > headCB)" +.br +.ti -1c +.RI "int \fBStart\fP ()" +.br +.ti -1c +.RI "void \fBShutdown\fP ()" +.br +.in -1c +.SS "Static Public Member Functions" + +.in +1c +.ti -1c +.RI "static void XN_CALLBACK_TYPE \fBnew_user\fP (xn::UserGenerator &, XnUserID, void *)" +.br +.ti -1c +.RI "static void XN_CALLBACK_TYPE \fBlost_user\fP (xn::UserGenerator &, XnUserID, void *)" +.br +.ti -1c +.RI "static void XN_CALLBACK_TYPE \fBpose\fP (xn::PoseDetectionCapability &, const XnChar *, XnUserID, void *)" +.br +.ti -1c +.RI "static void XN_CALLBACK_TYPE \fBcal_start\fP (xn::SkeletonCapability &, XnUserID, void *)" +.br +.ti -1c +.RI "static void XN_CALLBACK_TYPE \fBcal_complete\fP (xn::SkeletonCapability &, XnUserID, XnCalibrationStatus, void *)" +.br +.in -1c +.SS "Private Member Functions" + +.in +1c +.ti -1c +.RI "void \fBFUNKMASTER_thread_func\fP ()" +.br +.ti -1c +.RI "void XN_CALLBACK_TYPE \fBUser_NewUser\fP (xn::UserGenerator &, XnUserID nId, void *)" +.br +.ti -1c +.RI "void XN_CALLBACK_TYPE \fBUser_LostUser\fP (xn::UserGenerator &, XnUserID nId, void *)" +.br +.ti -1c +.RI "void XN_CALLBACK_TYPE \fBUserPose_PoseDetected\fP (xn::PoseDetectionCapability &, const XnChar *strPose, XnUserID nId, void *)" +.br +.ti -1c +.RI "void XN_CALLBACK_TYPE \fBUserCalibration_CalibrationStart\fP (xn::SkeletonCapability &, XnUserID nId, void *)" +.br +.ti -1c +.RI "void XN_CALLBACK_TYPE \fBUserCalibration_CalibrationComplete\fP (xn::SkeletonCapability &, XnUserID nId, XnCalibrationStatus eStatus, void *)" +.br +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "boost::function< void(int, +.br +double, double, double) > \fB_cb\fP" +.br +.ti -1c +.RI "boost::thread \fB_thread\fP" +.br +.ti -1c +.RI "bool \fBneedsToSeppuku\fP" +.br +.ti -1c +.RI "xn::Context \fBg_Context\fP" +.br +.ti -1c +.RI "xn::ScriptNode \fBg_scriptNode\fP" +.br +.ti -1c +.RI "xn::DepthGenerator \fBg_DepthGenerator\fP" +.br +.ti -1c +.RI "xn::UserGenerator \fBg_UserGenerator\fP" +.br +.ti -1c +.RI "XnBool \fBg_bNeedPose\fP" +.br +.ti -1c +.RI "XnChar \fBg_strPose\fP [20]" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 56 of file KinectInator\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Timer.3 b/Doxygen/Docs/man/man3/Timer.3 new file mode 100644 index 00000000..874d86b6 --- /dev/null +++ b/Doxygen/Docs/man/man3/Timer.3 @@ -0,0 +1,110 @@ +.TH "Timer" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Timer \- +.SH SYNOPSIS +.br +.PP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "unsigned long \fBtick\fP ()" +.br +.RI "\fItick is an alias for tock\&. \fP" +.ti -1c +.RI "unsigned long \fBtock\fP ()" +.br +.RI "\fItock returns the time elapsed since the last tock\&. \fP" +.ti -1c +.RI "unsigned long \fBdelta\fP () const " +.br +.RI "\fIdelta returns the time elapsed between the last tick and the last tock\&. \fP" +.ti -1c +.RI "float \fBkeyFrameRate\fP () const " +.br +.ti -1c +.RI "float \fBkeyFrameRate\fP (float newFrameRate)" +.br +.ti -1c +.RI "double \fBscale\fP () const " +.br +.RI "\fIscale returns the relative lateness or eagerness of the \fBTimer\fP, Relative to a benchmark or Key Frame Rate (The default is 60FPS, or 16667 msec\&.) \fP" +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "struct timeval \fB_t1\fP" +.br +.ti -1c +.RI "struct timeval \fB_t2\fP" +.br +.ti -1c +.RI "unsigned long \fB_delta\fP" +.br +.ti -1c +.RI "double \fB_scale\fP" +.br +.ti -1c +.RI "float \fB_keyFrameRate\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 14 of file Timer\&.hpp\&. +.SH "Member Function Documentation" +.PP +.SS "unsigned long Timer::delta (void) const" + +.PP +delta returns the time elapsed between the last tick and the last tock\&. Does not start a new timer\&. +.PP +\fBReturns:\fP +.RS 4 +Time elapsed in Microseconds, or Nanoseconds if _RT was enabled\&. +.RE +.PP + +.PP +Definition at line 74 of file Timer\&.cpp\&. +.SS "double Timer::scale (void) const" + +.PP +scale returns the relative lateness or eagerness of the \fBTimer\fP, Relative to a benchmark or Key Frame Rate (The default is 60FPS, or 16667 msec\&.) \fBReturns:\fP +.RS 4 +A non-zero float that ranges from (0,1) indicating that the program is rendering faster than 60FPS, or from the range [1,+inf) indicating that the program is rendering slower than 60FPS\&. +.RE +.PP + +.PP +Definition at line 87 of file Timer\&.cpp\&. +.SS "unsigned long Timer::tick (void)" + +.PP +tick is an alias for tock\&. Ha, Ha, Ha\&. +.PP +\fBReturns:\fP +.RS 4 +An unsigned long corresponding to how much time has passed since the last tick\&. Microseconds normally, Nanoseconds if _RT was enabled\&. +.RE +.PP + +.PP +Definition at line 44 of file Timer\&.cpp\&. +.SS "unsigned long Timer::tock (void)" + +.PP +tock returns the time elapsed since the last tock\&. \fBReturns:\fP +.RS 4 +An unsigned long corresponding to how much time has passed since the last tock\&. Microseconds normally, Nanoseconds if _RT was enabled\&. +.RE +.PP + +.PP +Definition at line 54 of file Timer\&.cpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/TransCache.3 b/Doxygen/Docs/man/man3/TransCache.3 new file mode 100644 index 00000000..2c70f225 --- /dev/null +++ b/Doxygen/Docs/man/man3/TransCache.3 @@ -0,0 +1,72 @@ +.TH "TransCache" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +TransCache \- +.SH SYNOPSIS +.br +.PP +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "void \fBptm\fP (const \fBAngel::mat4\fP &ptm_in, bool postmult=true)" +.br +.ti -1c +.RI "const \fBAngel::mat4\fP & \fBptm\fP (void) const " +.br +.ti -1c +.RI "const \fBAngel::mat4\fP & \fBctm\fP (void) const " +.br +.ti -1c +.RI "const \fBAngel::mat4\fP & \fBotm\fP (void) const " +.br +.ti -1c +.RI "void \fBcalcCTM\fP (bool postmult=true)" +.br +.in -1c +.SS "Public Attributes" + +.in +1c +.ti -1c +.RI "\fBTransMat\fP \fB_preOffset\fP" +.br +.ti -1c +.RI "\fBRotMat\fP \fB_preRotation\fP" +.br +.ti -1c +.RI "\fBScaleMat\fP \fB_scale\fP" +.br +.ti -1c +.RI "\fBRotMat\fP \fB_rotation\fP" +.br +.ti -1c +.RI "\fBTransMat\fP \fB_offset\fP" +.br +.ti -1c +.RI "\fBRotMat\fP \fB_orbit\fP" +.br +.ti -1c +.RI "\fBTransMat\fP \fB_displacement\fP" +.br +.in -1c +.SS "Private Attributes" + +.in +1c +.ti -1c +.RI "\fBAngel::mat4\fP \fB_ptm\fP" +.br +.ti -1c +.RI "\fBAngel::mat4\fP \fB_ctm\fP" +.br +.ti -1c +.RI "\fBAngel::mat4\fP \fB_otm\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 14 of file TransCache\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/TransMat.3 b/Doxygen/Docs/man/man3/TransMat.3 new file mode 100644 index 00000000..09997749 --- /dev/null +++ b/Doxygen/Docs/man/man3/TransMat.3 @@ -0,0 +1,65 @@ +.TH "TransMat" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +TransMat \- +.PP +Translations\&. + +.SH SYNOPSIS +.br +.PP +.PP +\fC#include \fP +.PP +Inherits \fBTransformation\fP\&. +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "const \fBTransMat\fP & \fBsetX\fP (const float x)" +.br +.ti -1c +.RI "const \fBTransMat\fP & \fBsetY\fP (const float y)" +.br +.ti -1c +.RI "const \fBTransMat\fP & \fBsetZ\fP (const float z)" +.br +.ti -1c +.RI "const \fBTransMat\fP & \fBset\fP (const float x, const float y, const float z)" +.br +.ti -1c +.RI "const \fBTransMat\fP & \fBset\fP (const \fBAngel::vec3\fP &arg)" +.br +.ti -1c +.RI "const \fBTransMat\fP & \fBdelta\fP (const float x, const float y, const float z)" +.br +.ti -1c +.RI "const \fBTransMat\fP & \fBdelta\fP (const \fBAngel::vec3\fP &arg)" +.br +.ti -1c +.RI "const \fBAngel::mat4\fP & \fBmatrix\fP (void) const " +.br +.ti -1c +.RI "\fBAngel::mat4\fP \fBoperator*\fP (const \fBAngel::mat4\fP &rhs) const " +.br +.ti -1c +.RI "\fBAngel::mat4\fP \fBoperator*\fP (const \fBTransformation\fP &rhs) const " +.br +.in -1c +.SS "Protected Attributes" + +.in +1c +.ti -1c +.RI "\fBAngel::mat4\fP \fBmat\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +Translations\&. +.PP +Definition at line 54 of file Transformation\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/Transformation.3 b/Doxygen/Docs/man/man3/Transformation.3 new file mode 100644 index 00000000..40cc365e --- /dev/null +++ b/Doxygen/Docs/man/man3/Transformation.3 @@ -0,0 +1,37 @@ +.TH "Transformation" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +Transformation \- +.SH SYNOPSIS +.br +.PP +.PP +Inherited by \fBRotMat\fP, \fBScaleMat\fP, and \fBTransMat\fP\&. +.SS "Public Member Functions" + +.in +1c +.ti -1c +.RI "const \fBAngel::mat4\fP & \fBmatrix\fP (void) const " +.br +.ti -1c +.RI "\fBAngel::mat4\fP \fBoperator*\fP (const \fBAngel::mat4\fP &rhs) const " +.br +.ti -1c +.RI "\fBAngel::mat4\fP \fBoperator*\fP (const \fBTransformation\fP &rhs) const " +.br +.in -1c +.SS "Protected Attributes" + +.in +1c +.ti -1c +.RI "\fBAngel::mat4\fP \fBmat\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 16 of file Transformation\&.hpp\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_.3 b/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_.3 new file mode 100644 index 00000000..edddfe95 --- /dev/null +++ b/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_.3 @@ -0,0 +1,24 @@ +.TH "/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/ Directory Reference" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/ Directory Reference \- +.SH SYNOPSIS +.br +.PP +.SS "Directories" + +.in +1c +.ti -1c +.RI "directory \fBBinaries\fP" +.br +.ti -1c +.RI "directory \fBClasses\fP" +.br +.ti -1c +.RI "directory \fBCommon\fP" +.br +.ti -1c +.RI "directory \fBinclude\fP" +.br +.in -1c diff --git a/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_Binaries_.3 b/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_Binaries_.3 new file mode 100644 index 00000000..b8c0dd1a --- /dev/null +++ b/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_Binaries_.3 @@ -0,0 +1,44 @@ +.TH "/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/ Directory Reference" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/ Directory Reference \- +.SH SYNOPSIS +.br +.PP +.SS "Files" + +.in +1c +.ti -1c +.RI "file \fBds\&.cpp\fP" +.br +.RI "\fIDual-shader demo\&. \fP" +.ti -1c +.RI "file \fBmelt\&.cpp\fP" +.br +.RI "\fIMelting Candle Demo\&. \fP" +.ti -1c +.RI "file \fBMONOLITH\&.cpp\fP" +.br +.RI "\fIThis is a monolith of every component\&. \fP" +.ti -1c +.RI "file \fBmorphlite\&.cpp\fP" +.br +.RI "\fIThis is a derivative of HSC's Fall 2012 project\&. \fP" +.ti -1c +.RI "file \fBpartTest\&.cpp\fP" +.br +.RI "\fIThis is a derivative of our main project file, fly\&.cpp\&. \fP" +.ti -1c +.RI "file \fBraytrace1\&.cpp\fP" +.br +.RI "\fIGeometric Raytracing Demo\&. \fP" +.ti -1c +.RI "file \fBterrain\&.cpp\fP" +.br +.RI "\fIThis is a trimmed version of our Fall 2012 project\&. \fP" +.ti -1c +.RI "file \fBzachMorphDemo\&.cpp\fP" +.br +.RI "\fIZach's Bottle Morphing Demo\&. \fP" +.in -1c diff --git a/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_Classes_.3 b/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_Classes_.3 new file mode 100644 index 00000000..9a4ffe1b --- /dev/null +++ b/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_Classes_.3 @@ -0,0 +1,76 @@ +.TH "/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/ Directory Reference" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/ Directory Reference \- +.SH SYNOPSIS +.br +.PP +.SS "Files" + +.in +1c +.ti -1c +.RI "file \fBCamera\&.cpp\fP" +.br +.RI "\fIImplementation for the \fBCamera\fP class\&. \fP" +.ti -1c +.RI "file \fBCameras\&.cpp\fP" +.br +.RI "\fIImplementation for the \fBCameras\fP class, which is a container for \fBCamera\fP objects\&. \fP" +.ti -1c +.RI "file \fBEngine\&.cpp\fP" +.br +.RI "\fIImplementation for the \fBEngine\fP class\&. \fP" +.ti -1c +.RI "file \fBKinectInator\&.cpp\fP" +.br +.RI "\fIFIXME: Documentation needed from Eric\&. \fP" +.ti -1c +.RI "file \fBmat\&.cpp\fP" +.br +.RI "\fIImplementation for the mat2, mat3, and mat4 classes\&. \fP" +.ti -1c +.RI "file \fBObject\&.cpp\fP" +.br +.RI "\fIImplementation for the \fBObject\fP class\&. \fP" +.ti -1c +.RI "file \fBParticle\&.cpp\fP" +.br +.RI "\fIFIXME: Needs documentation from NVV/CC\&. \fP" +.ti -1c +.RI "file \fBParticleSystem\&.cpp\fP" +.br +.RI "\fI\fBParticleSystem\fP implementation\&. \fP" +.ti -1c +.RI "file \fBScene\&.cpp\fP" +.br +.RI "\fI\fBScene\fP graph implementation\&. \fP" +.ti -1c +.RI "file \fBScreen\&.cpp\fP" +.br +.RI "\fI\fBScreen\fP class implementation\&. \fP" +.ti -1c +.RI "file \fBSpelchkCamera\&.cpp\fP" +.br +.RI "\fITiem Spelchk \fBCamera\fP Implementation\&. \fP" +.ti -1c +.RI "file \fBTexture\&.cpp\fP" +.br +.RI "\fITexturing Module! \fP" +.ti -1c +.RI "file \fBTimer\&.cpp\fP" +.br +.RI "\fIImplementation for global \fBTimer\fP object\&. \fP" +.ti -1c +.RI "file \fBTransCache\&.cpp\fP" +.br +.RI "\fI\fBTransCache\fP Implementation\&. \fP" +.ti -1c +.RI "file \fBTransformation\&.cpp\fP" +.br +.RI "\fI\fBTransformation\fP Superclass Implementation\&. \fP" +.ti -1c +.RI "file \fBvec\&.cpp\fP" +.br +.RI "\fIImplementation for the vec2, vec3, and vec4 classes\&. \fP" +.in -1c diff --git a/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_Common_.3 b/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_Common_.3 new file mode 100644 index 00000000..fda822d4 --- /dev/null +++ b/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_Common_.3 @@ -0,0 +1,39 @@ +.TH "/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/ Directory Reference" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/ Directory Reference \- +.SH SYNOPSIS +.br +.PP +.SS "Files" + +.in +1c +.ti -1c +.RI "file \fBeric_rules\&.cpp\fP" +.br +.ti -1c +.RI "file \fBglut_callbacks\&.cpp\fP" +.br +.RI "\fIglut_callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions\&. \fP" +.ti -1c +.RI "file \fBInitShader\&.cpp\fP" +.br +.RI "\fIProvides a wrapper utility for quickly linking against glsl programs\&. \fP" +.ti -1c +.RI "file \fBmodel\&.cpp\fP" +.br +.RI "\fIFunctions related to constructing simple geometry\&. \fP" +.ti -1c +.RI "file \fBmodelFunctions\&.cpp\fP" +.br +.RI "\fIFIXME: Documentation needed from Zach\&. \fP" +.ti -1c +.RI "file \fBObjLoader\&.cpp\fP" +.br +.RI "\fIImplementation for reading in geometry from \&.OBJ files\&. \fP" +.ti -1c +.RI "file \fBWiiUtil\&.cpp\fP" +.br +.RI "\fIWii Remote Utility Files\&. \fP" +.in -1c diff --git a/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_include_.3 b/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_include_.3 new file mode 100644 index 00000000..6e32dd49 --- /dev/null +++ b/Doxygen/Docs/man/man3/_home_nago_Dropbox_Spring 2013_Graphics II_S2_src_include_.3 @@ -0,0 +1,115 @@ +.TH "/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ Directory Reference" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ Directory Reference \- +.SH SYNOPSIS +.br +.PP +.SS "Files" + +.in +1c +.ti -1c +.RI "file \fBCamera\&.hpp\fP" +.br +.RI "\fIHeader for the \fBCamera\fP class\&. \fP" +.ti -1c +.RI "file \fBCameras\&.hpp\fP" +.br +.RI "\fIHeader for the '\fBCameras\fP' class, a collection of \fBCamera\fP objects\&. \fP" +.ti -1c +.RI "file \fBEngine\&.hpp\fP" +.br +.RI "\fIHeader for the \fBEngine\fP class\&. \fP" +.ti -1c +.RI "file \fBeric_rules\&.hpp\fP" +.br +.ti -1c +.RI "file \fBglobals\&.h\fP" +.br +.RI "\fIUseful global constants, macros, debugging utilities and preprocessor settings\&. \fP" +.ti -1c +.RI "file \fBglut_callbacks\&.h\fP" +.br +.RI "\fI\fBglut_callbacks\&.h\fP provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions\&. \fP" +.ti -1c +.RI "file \fBInitShader\&.hpp\fP" +.br +.RI "\fIProvides a wrapper utility for quickly linking against glsl programs\&. \fP" +.ti -1c +.RI "file \fBKinectInator\&.hpp\fP" +.br +.RI "\fIFIXME: Documentation needed from Eric\&. \fP" +.ti -1c +.RI "file \fBmat\&.hpp\fP" +.br +.RI "\fIHeaders for the mat2, mat3, and mat4 classes and related utilities\&. \fP" +.ti -1c +.RI "file \fBmodel\&.hpp\fP" +.br +.RI "\fIHeaders for Functions related to constructing simple geometry\&. \fP" +.ti -1c +.RI "file \fBmodelFunctions\&.hpp\fP" +.br +.RI "\fIFIXME: Documentation needed from Zach\&. \fP" +.ti -1c +.RI "file \fBObject\&.hpp\fP" +.br +.RI "\fIHeader for the \fBObject\fP class\&. \fP" +.ti -1c +.RI "file \fBObjLoader\&.hpp\fP" +.br +.RI "\fIHeaders for functions for reading in geometry from \&.OBJ files\&. \fP" +.ti -1c +.RI "file \fBOpenGL\&.h\fP" +.br +.RI "\fICore OpenGL includes needed for basic functionality\&. \fP" +.ti -1c +.RI "file \fBParticle\&.hpp\fP" +.br +.RI "\fIFIXME: Needs documentation from NVV/CC\&. \fP" +.ti -1c +.RI "file \fBParticleSystem\&.hpp\fP" +.br +.RI "\fITODO: Documentation from CC/NVV\&. \fP" +.ti -1c +.RI "file \fBplatform\&.h\fP" +.br +.RI "\fICovertly re-defines functions that conflict between Linux and OSX\&. \fP" +.ti -1c +.RI "file \fBScene\&.hpp\fP" +.br +.RI "\fIHeader for the \fBScene\fP class\&. \fP" +.ti -1c +.RI "file \fBScreen\&.hpp\fP" +.br +.RI "\fI\fBScreen\fP class header file\&. \fP" +.ti -1c +.RI "file \fBSpelchkCamera\&.hpp\fP" +.br +.RI "\fITeam Spelchk \fBCamera\fP Header\&. \fP" +.ti -1c +.RI "file \fBTexture\&.hpp\fP" +.br +.RI "\fITexturing Module! \fP" +.ti -1c +.RI "file \fBTimer\&.hpp\fP" +.br +.RI "\fI\fBTimer\fP class header\&. \fP" +.ti -1c +.RI "file \fBTransCache\&.hpp\fP" +.br +.RI "\fIHeader for the 'Transformation Cache' class\&. \fP" +.ti -1c +.RI "file \fBTransformation\&.hpp\fP" +.br +.RI "\fIHeaders for \fBTransformation\fP, \fBRotMat\fP, \fBTransMat\fP and \fBScaleMat\fP\&. \fP" +.ti -1c +.RI "file \fBvec\&.hpp\fP" +.br +.RI "\fIHeaders for vec2, vec3, and vec4\&. \fP" +.ti -1c +.RI "file \fBWiiUtil\&.h\fP" +.br +.RI "\fIWii Support Utility Header\&. \fP" +.in -1c diff --git a/Doxygen/Docs/man/man3/ds.cpp.3 b/Doxygen/Docs/man/man3/ds.cpp.3 new file mode 100644 index 00000000..1a5abe67 --- /dev/null +++ b/Doxygen/Docs/man/man3/ds.cpp.3 @@ -0,0 +1,121 @@ +.TH "ds.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +ds.cpp \- +.PP +Dual-shader demo\&. + +.SH SYNOPSIS +.br +.PP +\fC#include 'globals\&.h'\fP +.br +\fC#include 'platform\&.h'\fP +.br +\fC#include 'Camera\&.hpp'\fP +.br +\fC#include 'Cameras\&.hpp'\fP +.br +\fC#include 'Screen\&.hpp'\fP +.br +\fC#include 'Object\&.hpp'\fP +.br +\fC#include 'Timer\&.hpp'\fP +.br +\fC#include 'Scene\&.hpp'\fP +.br +\fC#include 'Engine\&.hpp'\fP +.br +\fC#include 'Texture\&.hpp'\fP +.br +\fC#include 'model\&.hpp'\fP +.br +\fC#include 'InitShader\&.hpp'\fP +.br +\fC#include 'glut_callbacks\&.h'\fP +.br +\fC#include 'eric_rules\&.hpp'\fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br + +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBinit\fP ()" +.br +.RI "\fIInitialization: load and compile shaders, initialize camera(s), load models\&. \fP" +.ti -1c +.RI "void \fBcleanup\fP (void)" +.br +.RI "\fICleans up our scene graph\&. \fP" +.ti -1c +.RI "void \fBdraw\fP (void)" +.br +.RI "\fIImplementation of drawing the display with regards to a single viewport\&. \fP" +.ti -1c +.RI "void \fBdisplay\fP (void)" +.br +.RI "\fIDisplay/Render the entire screen\&. \fP" +.ti -1c +.RI "void \fBidle\fP (void)" +.br +.RI "\fICompute time since last idle, update camera positions, redisplay\&. \fP" +.ti -1c +.RI "int \fBmain\fP (int argc, char **argv)" +.br +.RI "\fIThis is a dual-shader demo! It looks very simple, but it illustrates quickly and effectively how to use two shaders\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Dual-shader demo\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBAuthors:\fP +.RS 4 +John Huston, Greg Giannone +.RE +.PP +\fBDate:\fP +.RS 4 +2013-02-20 +.RE +.PP +Work in progress! Based loosely on Ed Angel's tutorials\&. +.PP +Definition in file \fBds\&.cpp\fP\&. +.SH "Function Documentation" +.PP +.SS "int main (intargc, char **argv)" + +.PP +This is a dual-shader demo! It looks very simple, but it illustrates quickly and effectively how to use two shaders\&. \fBParameters:\fP +.RS 4 +\fIargc\fP Not used\&. +.br +\fIargv\fP Not used\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +EXIT_SUCCESS\&. +.RE +.PP + +.PP +Definition at line 167 of file ds\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/globals.h.3 b/Doxygen/Docs/man/man3/globals.h.3 new file mode 100644 index 00000000..d31efb85 --- /dev/null +++ b/Doxygen/Docs/man/man3/globals.h.3 @@ -0,0 +1,118 @@ +.TH "globals.h" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +globals.h \- +.PP +Useful global constants, macros, debugging utilities and preprocessor settings\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br + +.SS "Macros" + +.in +1c +.ti -1c +.RI "#define \fBDEGREES_TO_RADIANS\fP (M_PI/180)" +.br +.RI "\fIA constant factor of conversion for Degrees to Radians\&. \fP" +.ti -1c +.RI "#define \fBSQRT2\fP (1\&.41421356237)" +.br +.RI "\fIA constant for the square root of 2\&. \fP" +.ti -1c +.RI "#define \fBSQRT3\fP (1\&.73205080757)" +.br +.RI "\fIA constant for the square root of 3\&. \fP" +.ti -1c +.RI "#define \fBPOW5\fP(X) ((X)*(X)*(X)*(X)*(X))" +.br +.RI "\fI\fBPOW5(X)\fP returns X^5\&. \fP" +.ti -1c +.RI "#define \fBDEBUG\fP false" +.br +.RI "\fIDEBUG Controls whether or not extra DEBUG messages are printed out\&. \fP" +.ti -1c +.RI "#define \fBDEBUG_MOTION\fP (false)" +.br +.RI "\fIDEBUG_MOTION controls some additional debug messages for acceleration/velocity\&. \fP" +.in -1c +.SS "Variables" + +.in +1c +.ti -1c +.RI "const float \fBDIVIDE_BY_ZERO_TOLERANCE\fP = float( 1\&.0e-07 )" +.br +.RI "\fIHow close can a number be to zero before it should be considered 'zero'? \fP" +.ti -1c +.RI "static const bool \fBPOSTMULT\fP = true" +.br +.RI "\fIdefines if we are, or are not using a Post-Multiplication system\&. \fP" +.ti -1c +.RI "static const bool \fBPREMULT\fP = false" +.br +.RI "\fIdefines if we are, or are not using a Pre-Multiplication system\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Useful global constants, macros, debugging utilities and preprocessor settings\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-13 +.RE +.PP + +.PP +Definition in file \fBglobals\&.h\fP\&. +.SH "Macro Definition Documentation" +.PP +.SS "#define DEGREES_TO_RADIANS (M_PI/180)" + +.PP +A constant factor of conversion for Degrees to Radians\&. +.PP +Definition at line 14 of file globals\&.h\&. +.SS "#define POW5(X) ((X)*(X)*(X)*(X)*(X))" + +.PP +\fBPOW5(X)\fP returns X^5\&. It's quicker than pow(x,5)! +.PP +Definition at line 20 of file globals\&.h\&. +.SS "#define SQRT2 (1\&.41421356237)" + +.PP +A constant for the square root of 2\&. +.PP +Definition at line 16 of file globals\&.h\&. +.SS "#define SQRT3 (1\&.73205080757)" + +.PP +A constant for the square root of 3\&. +.PP +Definition at line 18 of file globals\&.h\&. +.SH "Variable Documentation" +.PP +.SS "const bool POSTMULT = true\fC [static]\fP" + +.PP +defines if we are, or are not using a Post-Multiplication system\&. +.PP +Definition at line 43 of file globals\&.h\&. +.SS "const bool PREMULT = false\fC [static]\fP" + +.PP +defines if we are, or are not using a Pre-Multiplication system\&. +.PP +Definition at line 45 of file globals\&.h\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/glut_callbacks.cpp.3 b/Doxygen/Docs/man/man3/glut_callbacks.cpp.3 new file mode 100644 index 00000000..0939cfca --- /dev/null +++ b/Doxygen/Docs/man/man3/glut_callbacks.cpp.3 @@ -0,0 +1,203 @@ +.TH "glut_callbacks.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +glut_callbacks.cpp \- +.PP +glut_callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions\&. + +.SH SYNOPSIS +.br +.PP +\fC#include 'globals\&.h'\fP +.br +\fC#include 'Camera\&.hpp'\fP +.br +\fC#include 'Scene\&.hpp'\fP +.br +\fC#include 'Screen\&.hpp'\fP +.br +\fC#include 'Engine\&.hpp'\fP +.br +\fC#include \fP +.br + +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBkeylift\fP (unsigned char key, int x, int y)" +.br +.RI "\fIkeylift is registered as a GLUT callback for when a user releases a depressed key\&. \fP" +.ti -1c +.RI "void \fBkeyboard\fP (unsigned char key, int x, int y)" +.br +.RI "\fIkeyboard is a callback registered with GLUT\&. \fP" +.ti -1c +.RI "void \fBkeyboard_ctrl\fP (int key, int x, int y)" +.br +.RI "\fIkeyboard_ctrl is registered as a GLUT callback\&. \fP" +.ti -1c +.RI "void \fBmouse\fP (int button, int state, int x, int y)" +.br +.RI "\fImouse is registered as a GLUT callback\&. \fP" +.ti -1c +.RI "void \fBmouseroll\fP (int x, int y)" +.br +.RI "\fImouseroll is registered as a GLUT callback\&. \fP" +.ti -1c +.RI "void \fBmouselook\fP (int x, int y)" +.br +.RI "\fImouselook is registered as a GLUT callback\&. \fP" +.ti -1c +.RI "void \fBresizeEvent\fP (int width, int height)" +.br +.RI "\fIresizeEvent is registered as a glut callback for when the screen is resized\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +glut_callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBAuthors:\fP +.RS 4 +John Huston, Nick St\&.Pierre, Chris Compton +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-13 +.RE +.PP + +.PP +Definition in file \fBglut_callbacks\&.cpp\fP\&. +.SH "Function Documentation" +.PP +.SS "void keyboard (unsigned charkey, intx, inty)" + +.PP +keyboard is a callback registered with GLUT\&. It handles (surprise!) keyboard input\&. +.PP +\fBParameters:\fP +.RS 4 +\fIkey\fP The key pressed by the user\&. +.br +\fIx\fP The x coordinate of the mouse when the key was pressed\&. +.br +\fIy\fP The y coordinate of the mouse when the key was pressed\&. +.RE +.PP + +.PP +Definition at line 66 of file glut_callbacks\&.cpp\&. +.SS "void keyboard_ctrl (intkey, intx, inty)" + +.PP +keyboard_ctrl is registered as a GLUT callback\&. It is responsible for catching when special keys are pressed\&. +.PP +\fBParameters:\fP +.RS 4 +\fIkey\fP The key pressed\&. +.br +\fIx\fP The x coordinate of the mouse when the key was pressed\&. +.br +\fIy\fP The y coordinate of the mouse when the key was pressed\&. +.RE +.PP + +.PP +Definition at line 172 of file glut_callbacks\&.cpp\&. +.SS "void keylift (unsigned charkey, intx, inty)" + +.PP +keylift is registered as a GLUT callback for when a user releases a depressed key\&. \fBParameters:\fP +.RS 4 +\fIkey\fP The key that was lifted\&. +.br +\fIx\fP The x coordinate of the mouse at the time the key was released\&. +.br +\fIy\fP The y coordinate of the mouse at the time the key was released\&. +.RE +.PP + +.PP +Definition at line 29 of file glut_callbacks\&.cpp\&. +.SS "void mouse (intbutton, intstate, intx, inty)" + +.PP +mouse is registered as a GLUT callback\&. It handles input from, primarily, the scrollwheel\&. +.PP +\fBParameters:\fP +.RS 4 +\fIbutton\fP The mouse button being pressed\&. +.br +\fIstate\fP the state of the aforementioned mouse button\&. +.br +\fIx\fP the x coordinate of the mouse\&. +.br +\fIy\fP the y coordinate of the mouse\&. +.RE +.PP + +.PP +Definition at line 224 of file glut_callbacks\&.cpp\&. +.SS "void mouselook (intx, inty)" + +.PP +mouselook is registered as a GLUT callback\&. mouselook implements FPS-like controls where the camera moves proportional to the direction of the mouse\&. +.PP +\fBParameters:\fP +.RS 4 +\fIx\fP the x coordinate of the mouse pointer\&. +.br +\fIy\fP the y coordinate of the mouse pointer\&. +.RE +.PP + +.PP +Definition at line 270 of file glut_callbacks\&.cpp\&. +.SS "void mouseroll (intx, inty)" + +.PP +mouseroll is registered as a GLUT callback\&. mouseroll is called when the mouse is moved while a button is depressed\&. It is used here to implement barrel-rolls while left-clicking\&. +.PP +\fBParameters:\fP +.RS 4 +\fIx\fP the x coordinate of the mouse pointer\&. +.br +\fIy\fP the y coordinate of the mouse pointer\&. +.RE +.PP + +.PP +Definition at line 250 of file glut_callbacks\&.cpp\&. +.SS "void resizeEvent (intwidth, intheight)" + +.PP +resizeEvent is registered as a glut callback for when the screen is resized\&. It instructs the screen object of the new size, which informs all of the children cameras to recompute their aspect ratios, viewport positions, and so on\&. +.PP +We also warp the pointer to the center of the screen, for compatibility with mouselook( void )\&. +.PP +\fBParameters:\fP +.RS 4 +\fIwidth\fP The new width of the window\&. +.br +\fIheight\fP The new height of the window\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 304 of file glut_callbacks\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/glut_callbacks.h.3 b/Doxygen/Docs/man/man3/glut_callbacks.h.3 new file mode 100644 index 00000000..6ff699d2 --- /dev/null +++ b/Doxygen/Docs/man/man3/glut_callbacks.h.3 @@ -0,0 +1,190 @@ +.TH "glut_callbacks.h" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +glut_callbacks.h \- +.PP +\fBglut_callbacks\&.h\fP provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions\&. + +.SH SYNOPSIS +.br +.PP +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBkeylift\fP (unsigned char key, int x, int y)" +.br +.RI "\fIkeylift is registered as a GLUT callback for when a user releases a depressed key\&. \fP" +.ti -1c +.RI "void \fBkeyboard\fP (unsigned char key, int x, int y)" +.br +.RI "\fIkeyboard is a callback registered with GLUT\&. \fP" +.ti -1c +.RI "void \fBkeyboard_ctrl\fP (int key, int x, int y)" +.br +.RI "\fIkeyboard_ctrl is registered as a GLUT callback\&. \fP" +.ti -1c +.RI "void \fBmouse\fP (int button, int state, int x, int y)" +.br +.RI "\fImouse is registered as a GLUT callback\&. \fP" +.ti -1c +.RI "void \fBmouseroll\fP (int x, int y)" +.br +.RI "\fImouseroll is registered as a GLUT callback\&. \fP" +.ti -1c +.RI "void \fBmouselook\fP (int x, int y)" +.br +.RI "\fImouselook is registered as a GLUT callback\&. \fP" +.ti -1c +.RI "void \fBresizeEvent\fP (int width, int height)" +.br +.RI "\fIresizeEvent is registered as a glut callback for when the screen is resized\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +\fBglut_callbacks\&.h\fP provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions\&. + +\fBAuthor:\fP +.RS 4 +John Huston +.RE +.PP +\fBAuthors:\fP +.RS 4 +John Huston, Nick St\&.Pierre, Chris Compton +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-13 +.RE +.PP + +.PP +Definition in file \fBglut_callbacks\&.h\fP\&. +.SH "Function Documentation" +.PP +.SS "void keyboard (unsigned charkey, intx, inty)" + +.PP +keyboard is a callback registered with GLUT\&. It handles (surprise!) keyboard input\&. +.PP +\fBParameters:\fP +.RS 4 +\fIkey\fP The key pressed by the user\&. +.br +\fIx\fP The x coordinate of the mouse when the key was pressed\&. +.br +\fIy\fP The y coordinate of the mouse when the key was pressed\&. +.RE +.PP + +.PP +Definition at line 66 of file glut_callbacks\&.cpp\&. +.SS "void keyboard_ctrl (intkey, intx, inty)" + +.PP +keyboard_ctrl is registered as a GLUT callback\&. It is responsible for catching when special keys are pressed\&. +.PP +\fBParameters:\fP +.RS 4 +\fIkey\fP The key pressed\&. +.br +\fIx\fP The x coordinate of the mouse when the key was pressed\&. +.br +\fIy\fP The y coordinate of the mouse when the key was pressed\&. +.RE +.PP + +.PP +Definition at line 172 of file glut_callbacks\&.cpp\&. +.SS "void keylift (unsigned charkey, intx, inty)" + +.PP +keylift is registered as a GLUT callback for when a user releases a depressed key\&. \fBParameters:\fP +.RS 4 +\fIkey\fP The key that was lifted\&. +.br +\fIx\fP The x coordinate of the mouse at the time the key was released\&. +.br +\fIy\fP The y coordinate of the mouse at the time the key was released\&. +.RE +.PP + +.PP +Definition at line 29 of file glut_callbacks\&.cpp\&. +.SS "void mouse (intbutton, intstate, intx, inty)" + +.PP +mouse is registered as a GLUT callback\&. It handles input from, primarily, the scrollwheel\&. +.PP +\fBParameters:\fP +.RS 4 +\fIbutton\fP The mouse button being pressed\&. +.br +\fIstate\fP the state of the aforementioned mouse button\&. +.br +\fIx\fP the x coordinate of the mouse\&. +.br +\fIy\fP the y coordinate of the mouse\&. +.RE +.PP + +.PP +Definition at line 224 of file glut_callbacks\&.cpp\&. +.SS "void mouselook (intx, inty)" + +.PP +mouselook is registered as a GLUT callback\&. mouselook implements FPS-like controls where the camera moves proportional to the direction of the mouse\&. +.PP +\fBParameters:\fP +.RS 4 +\fIx\fP the x coordinate of the mouse pointer\&. +.br +\fIy\fP the y coordinate of the mouse pointer\&. +.RE +.PP + +.PP +Definition at line 270 of file glut_callbacks\&.cpp\&. +.SS "void mouseroll (intx, inty)" + +.PP +mouseroll is registered as a GLUT callback\&. mouseroll is called when the mouse is moved while a button is depressed\&. It is used here to implement barrel-rolls while left-clicking\&. +.PP +\fBParameters:\fP +.RS 4 +\fIx\fP the x coordinate of the mouse pointer\&. +.br +\fIy\fP the y coordinate of the mouse pointer\&. +.RE +.PP + +.PP +Definition at line 250 of file glut_callbacks\&.cpp\&. +.SS "void resizeEvent (intwidth, intheight)" + +.PP +resizeEvent is registered as a glut callback for when the screen is resized\&. It instructs the screen object of the new size, which informs all of the children cameras to recompute their aspect ratios, viewport positions, and so on\&. +.PP +We also warp the pointer to the center of the screen, for compatibility with mouselook( void )\&. +.PP +\fBParameters:\fP +.RS 4 +\fIwidth\fP The new width of the window\&. +.br +\fIheight\fP The new height of the window\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 304 of file glut_callbacks\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/mat.cpp.3 b/Doxygen/Docs/man/man3/mat.cpp.3 new file mode 100644 index 00000000..a2cd39a9 --- /dev/null +++ b/Doxygen/Docs/man/man3/mat.cpp.3 @@ -0,0 +1,133 @@ +.TH "mat.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +mat.cpp \- +.PP +Implementation for the mat2, mat3, and mat4 classes\&. + +.SH SYNOPSIS +.br +.PP +\fC#include 'platform\&.h'\fP +.br +\fC#include 'vec\&.hpp'\fP +.br +\fC#include 'mat\&.hpp'\fP +.br +\fC#include \fP +.br +\fC#include 'globals\&.h'\fP +.br + +.SS "Functions" + +.in +1c +.ti -1c +.RI "mat2 \fBAngel::operator*\fP (const GLfloat s, const mat2 &m)" +.br +.ti -1c +.RI "std::ostream & \fBAngel::operator<<\fP (std::ostream &os, const mat2 &m)" +.br +.ti -1c +.RI "std::istream & \fBAngel::operator>>\fP (std::istream &is, mat2 &m)" +.br +.ti -1c +.RI "mat2 \fBAngel::matrixCompMult\fP (const mat2 &A, const mat2 &B)" +.br +.ti -1c +.RI "mat2 \fBAngel::transpose\fP (const mat2 &A)" +.br +.ti -1c +.RI "mat3 \fBAngel::operator*\fP (const GLfloat s, const mat3 &m)" +.br +.ti -1c +.RI "std::ostream & \fBAngel::operator<<\fP (std::ostream &os, const mat3 &m)" +.br +.ti -1c +.RI "std::istream & \fBAngel::operator>>\fP (std::istream &is, mat3 &m)" +.br +.ti -1c +.RI "mat3 \fBAngel::matrixCompMult\fP (const mat3 &A, const mat3 &B)" +.br +.ti -1c +.RI "mat3 \fBAngel::transpose\fP (const mat3 &A)" +.br +.ti -1c +.RI "mat4 \fBAngel::operator*\fP (const GLfloat s, const mat4 &m)" +.br +.ti -1c +.RI "vec4 \fBAngel::operator*\fP (const vec4 &v, const mat4 &_m)" +.br +.ti -1c +.RI "std::ostream & \fBAngel::operator<<\fP (std::ostream &os, const mat4 &m)" +.br +.ti -1c +.RI "std::istream & \fBAngel::operator>>\fP (std::istream &is, mat4 &m)" +.br +.ti -1c +.RI "mat4 \fBAngel::matrixCompMult\fP (const mat4 &A, const mat4 &B)" +.br +.ti -1c +.RI "mat4 \fBAngel::transpose\fP (const mat4 &A)" +.br +.ti -1c +.RI "mat4 \fBAngel::RotateX\fP (const GLfloat theta)" +.br +.ti -1c +.RI "mat4 \fBAngel::RotateY\fP (const GLfloat theta)" +.br +.ti -1c +.RI "mat4 \fBAngel::RotateZ\fP (const GLfloat theta)" +.br +.ti -1c +.RI "mat4 \fBAngel::Translate\fP (const GLfloat x, const GLfloat y, const GLfloat z)" +.br +.ti -1c +.RI "mat4 \fBAngel::Translate\fP (const vec3 &v)" +.br +.ti -1c +.RI "mat4 \fBAngel::Translate\fP (const vec4 &v)" +.br +.ti -1c +.RI "mat4 \fBAngel::Scale\fP (const GLfloat x, const GLfloat y, const GLfloat z)" +.br +.ti -1c +.RI "mat4 \fBAngel::Scale\fP (const vec3 &v)" +.br +.ti -1c +.RI "mat4 \fBAngel::Ortho\fP (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar)" +.br +.ti -1c +.RI "mat4 \fBAngel::Ortho2D\fP (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top)" +.br +.ti -1c +.RI "mat4 \fBAngel::Frustum\fP (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar)" +.br +.ti -1c +.RI "mat4 \fBAngel::Perspective\fP (const GLfloat fovy, const GLfloat aspect, const GLfloat zNear, const GLfloat zFar)" +.br +.ti -1c +.RI "mat4 \fBAngel::LookAt\fP (const vec4 &eye, const vec4 &at, const vec4 &up)" +.br +.in -1c +.SH "Detailed Description" +.PP +Implementation for the mat2, mat3, and mat4 classes\&. + +\fBAuthor:\fP +.RS 4 +Ed Angel +.RE +.PP +\fBDate:\fP +.RS 4 +2012-12-04 +.RE +.PP +Modified heavily from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition Addison-Wesley 2012 +.PP +Definition in file \fBmat\&.cpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/mat.hpp.3 b/Doxygen/Docs/man/man3/mat.hpp.3 new file mode 100644 index 00000000..ed25da3c --- /dev/null +++ b/Doxygen/Docs/man/man3/mat.hpp.3 @@ -0,0 +1,137 @@ +.TH "mat.hpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +mat.hpp \- +.PP +Headers for the mat2, mat3, and mat4 classes and related utilities\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include 'vec\&.hpp'\fP +.br + +.SS "Classes" + +.in +1c +.ti -1c +.RI "class \fBAngel::mat2\fP" +.br +.RI "\fI\fBmat2\fP - 2D square matrix\&. \fP" +.ti -1c +.RI "class \fBAngel::mat3\fP" +.br +.RI "\fI\fBmat3\fP - 3D square matrix\&. \fP" +.ti -1c +.RI "class \fBAngel::mat4\fP" +.br +.RI "\fI\fBmat4\fP - 4D square matrix\&. \fP" +.in -1c +.SS "Macros" + +.in +1c +.ti -1c +.RI "#define \fBERROR\fP(str)" +.br +.in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "mat2 \fBAngel::matrixCompMult\fP (const mat2 &A, const mat2 &B)" +.br +.ti -1c +.RI "mat2 \fBAngel::transpose\fP (const mat2 &A)" +.br +.ti -1c +.RI "mat3 \fBAngel::matrixCompMult\fP (const mat3 &A, const mat3 &B)" +.br +.ti -1c +.RI "mat3 \fBAngel::transpose\fP (const mat3 &A)" +.br +.ti -1c +.RI "mat4 \fBAngel::matrixCompMult\fP (const mat4 &A, const mat4 &B)" +.br +.ti -1c +.RI "mat4 \fBAngel::transpose\fP (const mat4 &A)" +.br +.ti -1c +.RI "mat4 \fBAngel::RotateX\fP (const GLfloat theta)" +.br +.ti -1c +.RI "mat4 \fBAngel::RotateY\fP (const GLfloat theta)" +.br +.ti -1c +.RI "mat4 \fBAngel::RotateZ\fP (const GLfloat theta)" +.br +.ti -1c +.RI "mat4 \fBAngel::Translate\fP (const GLfloat x, const GLfloat y, const GLfloat z)" +.br +.ti -1c +.RI "mat4 \fBAngel::Translate\fP (const vec3 &v)" +.br +.ti -1c +.RI "mat4 \fBAngel::Translate\fP (const vec4 &v)" +.br +.ti -1c +.RI "mat4 \fBAngel::Scale\fP (const GLfloat x, const GLfloat y, const GLfloat z)" +.br +.ti -1c +.RI "mat4 \fBAngel::Scale\fP (const vec3 &v)" +.br +.ti -1c +.RI "mat4 \fBAngel::Ortho\fP (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar)" +.br +.ti -1c +.RI "mat4 \fBAngel::Ortho2D\fP (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top)" +.br +.ti -1c +.RI "mat4 \fBAngel::Frustum\fP (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar)" +.br +.ti -1c +.RI "mat4 \fBAngel::Perspective\fP (const GLfloat fovy, const GLfloat aspect, const GLfloat zNear, const GLfloat zFar)" +.br +.ti -1c +.RI "mat4 \fBAngel::LookAt\fP (const vec4 &eye, const vec4 &at, const vec4 &up)" +.br +.in -1c +.SH "Detailed Description" +.PP +Headers for the mat2, mat3, and mat4 classes and related utilities\&. + +\fBAuthor:\fP +.RS 4 +Ed Angel +.RE +.PP +\fBAuthors:\fP +.RS 4 +Ed Angel, John Huston +.RE +.PP +\fBDate:\fP +.RS 4 +2012-12-04 +.RE +.PP +Modified from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition Addison-Wesley 2012 +.PP +Definition in file \fBmat\&.hpp\fP\&. +.SH "Macro Definition Documentation" +.PP +.SS "#define ERROR(str)" +\fBValue:\fP +.PP +.nf +do { \ + std::cerr << '[' __FILE__ ':' << __LINE__ << '] ' \ + << str << std::endl; } while(0) +.fi +.PP +Definition at line 206 of file mat\&.hpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/model.cpp.3 b/Doxygen/Docs/man/man3/model.cpp.3 new file mode 100644 index 00000000..279ae68c --- /dev/null +++ b/Doxygen/Docs/man/man3/model.cpp.3 @@ -0,0 +1,465 @@ +.TH "model.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +model.cpp \- +.PP +Functions related to constructing simple geometry\&. + +.SH SYNOPSIS +.br +.PP +\fC#include 'globals\&.h'\fP +.br +\fC#include 'Object\&.hpp'\fP +.br +\fC#include 'Timer\&.hpp'\fP +.br +\fC#include 'vec\&.hpp'\fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br + +.SS "Macros" + +.in +1c +.ti -1c +.RI "#define \fBQUAD\fP(A, B, C, D)" +.br +.RI "\fIA macro to help quickly call \fBquad()\fP with correct parameters\&. \fP" +.ti -1c +.RI "#define \fBOFFSET_AT\fP(X, Z) ((X)*S+(Z))" +.br +.RI "\fIGives the one-dimensional index offset for a buffer given the terrain's X,Z coordinates\&. \fP" +.ti -1c +.RI "#define \fBVERTEX_AT\fP(X, Z) (vec\&.at(\fBOFFSET_AT\fP(X,Z)))" +.br +.RI "\fIGives the vertex for the terrain data at (X,Z)\&. \fP" +.ti -1c +.RI "#define \fBHEIGHT_AT\fP(X, Z) (\fBVERTEX_AT\fP(X,Z)\&.y)" +.br +.RI "\fIReturns the height as a float for these terrain coordinates\&. \fP" +.ti -1c +.RI "#define \fBCOLOR_AT\fP(X, Z) (col\&.at(\fBOFFSET_AT\fP(X,Z)))" +.br +.RI "\fIReturns the color vector for the terrain data at (X,Z)\&. \fP" +.ti -1c +.RI "#define \fBTEX_UV_AT\fP(X, Z) (txy\&.at(\fBOFFSET_AT\fP(X,Z)))" +.br +.RI "\fIReturns the \fBTexture\fP UV (vec2) for the terrain at (X,Z)\&. \fP" +.ti -1c +.RI "#define \fBNORMAL_AT\fP(X, Z) (nor\&.at(\fBOFFSET_AT\fP(X,Z)))" +.br +.RI "\fIReturns the Normal vec3 for the terrain at (X,Z)\&. \fP" +.in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBcreatePoint\fP (\fBObject\fP *obj, \fBPoint4\fP const &the_point, \fBColor4\fP const &the_color, \fBvec3\fP const &the_normal)" +.br +.RI "\fIAdds another vertex to the specified object\&. \fP" +.ti -1c +.RI "void \fBtriangle\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const int color)" +.br +.RI "\fICreates a triangle primitive from three spatial coordinates\&. \fP" +.ti -1c +.RI "\fBPoint4\fP \fBunit\fP (const \fBPoint4\fP &p)" +.br +.RI "\fIEd Angel utility function: Used to normalize a vector\&. \fP" +.ti -1c +.RI "void \fBdivideTriangle\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, int timesToRecurse, int color)" +.br +.RI "\fIUsed in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles\&. \fP" +.ti -1c +.RI "void \fBtetra\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d)" +.br +.RI "\fICreates a tetrahedron using four triangles\&. \fP" +.ti -1c +.RI "void \fBsierpinskiPyramid\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, int count)" +.br +.RI "\fIForms a Sierpinski Pyramid object given four 4D _vertices in space\&. \fP" +.ti -1c +.RI "void \fBrecursiveModelGen\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, int timesToRecurse, int color)" +.br +.RI "\fIGiven a quadrilateral, splits it up into smaller quadrilaterals\&. \fP" +.ti -1c +.RI "void \fBsphere\fP (\fBObject\fP *obj)" +.br +.RI "\fICreates a white sphere\&. \fP" +.ti -1c +.RI "void \fBquad\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, const \fBColor4\fP &A, const \fBColor4\fP &B, const \fBColor4\fP &C, const \fBColor4\fP &D)" +.br +.RI "\fICreate a quadrilateral from four _vertices and four _colors\&. \fP" +.ti -1c +.RI "void \fBcube\fP (\fBObject\fP *obj, const GLfloat &size, const \fBColor4\fP colors[8])" +.br +.RI "\fICreate a cube of a given size fixed at the origin, using the eight _colors specified\&. \fP" +.ti -1c +.RI "void \fBcolorCube\fP (\fBObject\fP *obj, GLfloat size)" +.br +.RI "\fICreates a cube of a given size fixed at the origin, using all eight primary _colors\&. \fP" +.ti -1c +.RI "float \fBrandFloat\fP (void)" +.br +.RI "\fIReturn a randomized float value! \fP" +.ti -1c +.RI "double \fBjitter\fP (double H)" +.br +.RI "\fIReturns a random float between [-H,H]\&. \fP" +.ti -1c +.RI "\fBvec3\fP \fBcalcNormal\fP (\fBPoint4\fP &a, \fBPoint4\fP &b, \fBPoint4\fP &c)" +.br +.RI "\fICalculate the vector normal to the triangle formed by three _vertices\&. \fP" +.ti -1c +.RI "double \fBlandGen\fP (\fBObject\fP *obj, int N, float H)" +.br +.RI "\fIUse the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc\&. \fP" +.ti -1c +.RI "void \fBmakeAgua\fP (\fBObject\fP *land_obj, \fBObject\fP *agua_obj)" +.br +.RI "\fIAdds a blue quadrilateral to an already-generated terrain object to create the appearance of water\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Functions related to constructing simple geometry\&. + +\fBAuthors:\fP +.RS 4 +Ed Angel, John Huston, Chris Compton, Nick St\&.Pierre +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-14 +.RE +.PP + +.PP +Definition in file \fBmodel\&.cpp\fP\&. +.SH "Macro Definition Documentation" +.PP +.SS "#define QUAD(A, B, C, D)" +\fBValue:\fP +.PP +.nf +quad( obj, vertices[A], vertices[B], vertices[C], vertices[D], \ + colors[A], colors[B], colors[C], colors[D] ); +.fi +.PP +A macro to help quickly call \fBquad()\fP with correct parameters\&. \fBSee Also:\fP +.RS 4 +\fBquad()\fP\&. +.RE +.PP + +.PP +Definition at line 263 of file model\&.cpp\&. +.SH "Function Documentation" +.PP +.SS "\fBvec3\fP calcNormal (\fBPoint4\fP &a, \fBPoint4\fP &b, \fBPoint4\fP &c)" + +.PP +Calculate the vector normal to the triangle formed by three _vertices\&. \fBParameters:\fP +.RS 4 +\fIa\fP First vertex\&. +.br +\fIb\fP Second vertex\&. +.br +\fIc\fP Third vertex\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +The vector normal to the plane formed by the triangle a,b,c\&. +.RE +.PP + +.PP +Definition at line 347 of file model\&.cpp\&. +.SS "void colorCube (\fBObject\fP *obj, GLfloatsize)" + +.PP +Creates a cube of a given size fixed at the origin, using all eight primary _colors\&. Creates a cube of a given size fixed at the origin, using all eight primary colors\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIsize\fP The size of the cube to create\&. +.RE +.PP + +.PP +Definition at line 305 of file model\&.cpp\&. +.SS "void createPoint (\fBObject\fP *obj, \fBPoint4\fP const &the_point, \fBColor4\fP const &the_color, \fBvec3\fP const &the_normal)" + +.PP +Adds another vertex to the specified object\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the vertex to\&. +.br +\fIthe_point\fP The 4d spatial coordinate of the vertex\&. +.br +\fIthe_color\fP The vec4 specifying the RGBA color value of the vertex\&. +.br +\fIthe_normal\fP The vec3 that specifies the normal for this vertex\&. +.RE +.PP + +.PP +Definition at line 37 of file model\&.cpp\&. +.SS "void cube (\fBObject\fP *obj, const GLfloat &size, const \fBColor4\fPcolors[8])" + +.PP +Create a cube of a given size fixed at the origin, using the eight _colors specified\&. Create a cube of a given size fixed at the origin, using the eight colors specified\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIsize\fP The size of the cube to create\&. +.br +\fIcolors\fP An array of eight _colors for the vertices\&. +.RE +.PP + +.PP +Definition at line 275 of file model\&.cpp\&. +.SS "void divideTriangle (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, inttimesToRecurse, intcolor)" + +.PP +Used in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the triangles to\&. +.br +\fIa\fP The first spatial coordinate for the triangle\&. +.br +\fIb\fP The second spatial coordinate for the triangle\&. +.br +\fIc\fP The third spatial coordinate for the triangle\&. +.br +\fItimesToRecurse\fP The number of times to subdivide\&. +.br +\fIcolor\fP An index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White } +.RE +.PP + +.PP +Definition at line 118 of file model\&.cpp\&. +.SS "double jitter (doubleH)" + +.PP +Returns a random float between [-H,H]\&. \fBParameters:\fP +.RS 4 +\fIH\fP The range for the random float\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +a random float between [-H,H]\&. +.RE +.PP + +.PP +Definition at line 335 of file model\&.cpp\&. +.SS "double landGen (\fBObject\fP *obj, intN, floatH)" + +.PP +Use the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIN\fP The size of the terrain: Will be n^2 x n^2 evenly spaced vertices\&. +.br +\fIH\fP The height 'randomness' factor\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +The maximum height actually achieved in this terrain generation\&. +.RE +.PP + +.PP +Definition at line 397 of file model\&.cpp\&. +.SS "void makeAgua (\fBObject\fP *land_obj, \fBObject\fP *agua_obj)" + +.PP +Adds a blue quadrilateral to an already-generated terrain object to create the appearance of water\&. \fBParameters:\fP +.RS 4 +\fIland_obj\fP +.br +\fIagua_obj\fP +.RE +.PP +What should the water's height be? +.PP +Definition at line 558 of file model\&.cpp\&. +.SS "void quad (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, const \fBColor4\fP &A, const \fBColor4\fP &B, const \fBColor4\fP &C, const \fBColor4\fP &D)" + +.PP +Create a quadrilateral from four _vertices and four _colors\&. Create a quadrilateral from four points and four colors\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIa\fP The first spatial point\&. +.br +\fIb\fP The second spatial point\&. +.br +\fIc\fP The third spatial point\&. +.br +\fId\fP The fourth spatial point\&. +.br +\fIA\fP The color of the first point\&. +.br +\fIB\fP The color of the second point\&. +.br +\fIC\fP The color of the third point\&. +.br +\fID\fP The color of the fourth point\&. +.RE +.PP + +.PP +Definition at line 237 of file model\&.cpp\&. +.SS "float randFloat (void)" + +.PP +Return a randomized float value! \fBReturns:\fP +.RS 4 +A random float, just for you! +.RE +.PP + +.PP +Definition at line 326 of file model\&.cpp\&. +.SS "void recursiveModelGen (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, inttimesToRecurse, intcolor)" + +.PP +Given a quadrilateral, splits it up into smaller quadrilaterals\&. Used in the generation of spheres! FIXME: Nick St\&.Pierre (Documentation!) +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIa\fP The first spatial coordinate\&. +.br +\fIb\fP The second spatial coordinate\&. +.br +\fIc\fP The third spatial coordinate\&. +.br +\fId\fP The fourth spatial coordinate\&. +.br +\fItimesToRecurse\fP The number of subdivisions to make\&. +.br +\fIcolor\fP An index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White } +.RE +.PP + +.PP +Definition at line 195 of file model\&.cpp\&. +.SS "void sierpinskiPyramid (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, intcount)" + +.PP +Forms a Sierpinski Pyramid object given four 4D _vertices in space\&. Forms a Sierpinski Pyramid object given four 4D points in space\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIa\fP The first coordinate\&. +.br +\fIb\fP The second coordinate\&. +.br +\fIc\fP The third coordinate\&. +.br +\fId\fP The fourth coordinate\&. +.br +\fIcount\fP The number of recursions to perform to construct the gasket\&. +.RE +.PP + +.PP +Definition at line 163 of file model\&.cpp\&. +.SS "void sphere (\fBObject\fP *obj)" + +.PP +Creates a white sphere\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.RE +.PP + +.PP +Definition at line 210 of file model\&.cpp\&. +.SS "void tetra (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d)" + +.PP +Creates a tetrahedron using four triangles\&. (12 vertices\&.) +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the Tetrahedron to/ +.br +\fIa\fP The first spatial coordinate for the tetrahedron\&. +.br +\fIb\fP The second spatial coordinate for the tetrahedron\&. +.br +\fIc\fP The third spatial coordinate for the tetrahedron\&. +.br +\fId\fP The fourth spatial coordinate for the tetrahedron\&. +.RE +.PP + +.PP +Definition at line 144 of file model\&.cpp\&. +.SS "void triangle (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const intcolor)" + +.PP +Creates a triangle primitive from three spatial coordinates\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the triangle to\&. +.br +\fIa\fP The location of the first vertex\&. +.br +\fIb\fP The location of the second vertex\&. +.br +\fIc\fP The location of the third vertex\&. +.br +\fIcolor\fP An index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White } +.RE +.PP + +.PP +Definition at line 56 of file model\&.cpp\&. +.SS "\fBPoint4\fP unit (const \fBPoint4\fP &p)" + +.PP +Ed Angel utility function: Used to normalize a vector\&. TODO: Is this a redundant version of Angel::normalize? +.PP +\fBParameters:\fP +.RS 4 +\fIp\fP +.RE +.PP +\fBReturns:\fP +.RS 4 +.RE +.PP + +.PP +Definition at line 88 of file model\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/model.hpp.3 b/Doxygen/Docs/man/man3/model.hpp.3 new file mode 100644 index 00000000..fa1a5a1b --- /dev/null +++ b/Doxygen/Docs/man/man3/model.hpp.3 @@ -0,0 +1,373 @@ +.TH "model.hpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +model.hpp \- +.PP +Headers for Functions related to constructing simple geometry\&. + +.SH SYNOPSIS +.br +.PP +\fC#include 'vec\&.hpp'\fP +.br +\fC#include 'Object\&.hpp'\fP +.br + +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBcreatePoint\fP (\fBObject\fP *obj, \fBPoint4\fP const &the_point, \fBColor4\fP const &the_color, \fBvec3\fP const &the_normal)" +.br +.RI "\fIAdds another vertex to the specified object\&. \fP" +.ti -1c +.RI "void \fBtriangle\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const int color)" +.br +.RI "\fICreates a triangle primitive from three spatial coordinates\&. \fP" +.ti -1c +.RI "void \fBdivideTriangle\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, int timesToRecurse, int color)" +.br +.RI "\fIUsed in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles\&. \fP" +.ti -1c +.RI "void \fBtetra\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d)" +.br +.RI "\fICreates a tetrahedron using four triangles\&. \fP" +.ti -1c +.RI "void \fBsierpinskiPyramid\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, int count)" +.br +.RI "\fIForms a Sierpinski Pyramid object given four 4D points in space\&. \fP" +.ti -1c +.RI "void \fBrecursiveModelGen\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, int timesToRecurse, int color)" +.br +.RI "\fIGiven a quadrilateral, splits it up into smaller quadrilaterals\&. \fP" +.ti -1c +.RI "void \fBsphere\fP (\fBObject\fP *obj)" +.br +.RI "\fICreates a white sphere\&. \fP" +.ti -1c +.RI "void \fBquad\fP (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, const \fBColor4\fP &A, const \fBColor4\fP &B, const \fBColor4\fP &C, const \fBColor4\fP &D)" +.br +.RI "\fICreate a quadrilateral from four points and four colors\&. \fP" +.ti -1c +.RI "void \fBcube\fP (\fBObject\fP *obj, const GLfloat &size, const \fBColor4\fP colors[8])" +.br +.RI "\fICreate a cube of a given size fixed at the origin, using the eight colors specified\&. \fP" +.ti -1c +.RI "void \fBcolorCube\fP (\fBObject\fP *obj, GLfloat size)" +.br +.RI "\fICreates a cube of a given size fixed at the origin, using all eight primary colors\&. \fP" +.ti -1c +.RI "double \fBlandGen\fP (\fBObject\fP *obj, int N, float H)" +.br +.RI "\fIUse the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc\&. \fP" +.ti -1c +.RI "void \fBmakeAgua\fP (\fBObject\fP *land_obj, \fBObject\fP *agua_obj)" +.br +.RI "\fIAdds a blue quadrilateral to an already-generated terrain object to create the appearance of water\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Headers for Functions related to constructing simple geometry\&. + +\fBAuthors:\fP +.RS 4 +Ed Angel, John Huston, Chris Compton, Nick St\&.Pierre +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-14 +.RE +.PP + +.PP +Definition in file \fBmodel\&.hpp\fP\&. +.SH "Function Documentation" +.PP +.SS "void colorCube (\fBObject\fP *obj, GLfloatsize)" + +.PP +Creates a cube of a given size fixed at the origin, using all eight primary colors\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIsize\fP The size of the cube to create\&. +.RE +.PP +Creates a cube of a given size fixed at the origin, using all eight primary colors\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIsize\fP The size of the cube to create\&. +.RE +.PP + +.PP +Definition at line 305 of file model\&.cpp\&. +.SS "void createPoint (\fBObject\fP *obj, \fBPoint4\fP const &the_point, \fBColor4\fP const &the_color, \fBvec3\fP const &the_normal)" + +.PP +Adds another vertex to the specified object\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the vertex to\&. +.br +\fIthe_point\fP The 4d spatial coordinate of the vertex\&. +.br +\fIthe_color\fP The vec4 specifying the RGBA color value of the vertex\&. +.br +\fIthe_normal\fP The vec3 that specifies the normal for this vertex\&. +.RE +.PP + +.PP +Definition at line 37 of file model\&.cpp\&. +.SS "void cube (\fBObject\fP *obj, const GLfloat &size, const \fBColor4\fPcolors[8])" + +.PP +Create a cube of a given size fixed at the origin, using the eight colors specified\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIsize\fP The size of the cube to create\&. +.br +\fIcolors\fP An array of eight colors for the vertices\&. +.RE +.PP +Create a cube of a given size fixed at the origin, using the eight colors specified\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIsize\fP The size of the cube to create\&. +.br +\fIcolors\fP An array of eight _colors for the vertices\&. +.RE +.PP + +.PP +Definition at line 275 of file model\&.cpp\&. +.SS "void divideTriangle (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, inttimesToRecurse, intcolor)" + +.PP +Used in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the triangles to\&. +.br +\fIa\fP The first spatial coordinate for the triangle\&. +.br +\fIb\fP The second spatial coordinate for the triangle\&. +.br +\fIc\fP The third spatial coordinate for the triangle\&. +.br +\fItimesToRecurse\fP The number of times to subdivide\&. +.br +\fIcolor\fP An index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White } +.RE +.PP + +.PP +Definition at line 118 of file model\&.cpp\&. +.SS "double landGen (\fBObject\fP *obj, intN, floatH)" + +.PP +Use the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIN\fP The size of the terrain: Will be n^2 x n^2 evenly spaced vertices\&. +.br +\fIH\fP The height 'randomness' factor\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +The maximum height actually achieved in this terrain generation\&. +.RE +.PP + +.PP +Definition at line 397 of file model\&.cpp\&. +.SS "void makeAgua (\fBObject\fP *land_obj, \fBObject\fP *agua_obj)" + +.PP +Adds a blue quadrilateral to an already-generated terrain object to create the appearance of water\&. \fBParameters:\fP +.RS 4 +\fIland_obj\fP +.br +\fIagua_obj\fP +.RE +.PP +What should the water's height be? +.PP +Definition at line 558 of file model\&.cpp\&. +.SS "void quad (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, const \fBColor4\fP &A, const \fBColor4\fP &B, const \fBColor4\fP &C, const \fBColor4\fP &D)" + +.PP +Create a quadrilateral from four points and four colors\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIa\fP The first spatial point\&. +.br +\fIb\fP The second spatial point\&. +.br +\fIc\fP The third spatial point\&. +.br +\fId\fP The fourth spatial point\&. +.br +\fIA\fP The color of the first point\&. +.br +\fIB\fP The color of the second point\&. +.br +\fIC\fP The color of the third point\&. +.br +\fID\fP The color of the fourth point\&. +.RE +.PP +Create a quadrilateral from four points and four colors\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIa\fP The first spatial point\&. +.br +\fIb\fP The second spatial point\&. +.br +\fIc\fP The third spatial point\&. +.br +\fId\fP The fourth spatial point\&. +.br +\fIA\fP The color of the first point\&. +.br +\fIB\fP The color of the second point\&. +.br +\fIC\fP The color of the third point\&. +.br +\fID\fP The color of the fourth point\&. +.RE +.PP + +.PP +Definition at line 237 of file model\&.cpp\&. +.SS "void recursiveModelGen (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, inttimesToRecurse, intcolor)" + +.PP +Given a quadrilateral, splits it up into smaller quadrilaterals\&. Used in the generation of spheres! FIXME: Nick St\&.Pierre (Documentation!) +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIa\fP The first spatial coordinate\&. +.br +\fIb\fP The second spatial coordinate\&. +.br +\fIc\fP The third spatial coordinate\&. +.br +\fId\fP The fourth spatial coordinate\&. +.br +\fItimesToRecurse\fP The number of subdivisions to make\&. +.br +\fIcolor\fP An index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White } +.RE +.PP + +.PP +Definition at line 195 of file model\&.cpp\&. +.SS "void sierpinskiPyramid (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d, intcount)" + +.PP +Forms a Sierpinski Pyramid object given four 4D points in space\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIa\fP The first coordinate\&. +.br +\fIb\fP The second coordinate\&. +.br +\fIc\fP The third coordinate\&. +.br +\fId\fP The fourth coordinate\&. +.br +\fIcount\fP The number of recursions to perform to construct the gasket\&. +.RE +.PP +Forms a Sierpinski Pyramid object given four 4D points in space\&. +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.br +\fIa\fP The first coordinate\&. +.br +\fIb\fP The second coordinate\&. +.br +\fIc\fP The third coordinate\&. +.br +\fId\fP The fourth coordinate\&. +.br +\fIcount\fP The number of recursions to perform to construct the gasket\&. +.RE +.PP + +.PP +Definition at line 163 of file model\&.cpp\&. +.SS "void sphere (\fBObject\fP *obj)" + +.PP +Creates a white sphere\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the geometry to\&. +.RE +.PP + +.PP +Definition at line 210 of file model\&.cpp\&. +.SS "void tetra (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const \fBPoint4\fP &d)" + +.PP +Creates a tetrahedron using four triangles\&. (12 vertices\&.) +.PP +\fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the Tetrahedron to/ +.br +\fIa\fP The first spatial coordinate for the tetrahedron\&. +.br +\fIb\fP The second spatial coordinate for the tetrahedron\&. +.br +\fIc\fP The third spatial coordinate for the tetrahedron\&. +.br +\fId\fP The fourth spatial coordinate for the tetrahedron\&. +.RE +.PP + +.PP +Definition at line 144 of file model\&.cpp\&. +.SS "void triangle (\fBObject\fP *obj, const \fBPoint4\fP &a, const \fBPoint4\fP &b, const \fBPoint4\fP &c, const intcolor)" + +.PP +Creates a triangle primitive from three spatial coordinates\&. \fBParameters:\fP +.RS 4 +\fIobj\fP The object to add the triangle to\&. +.br +\fIa\fP The location of the first vertex\&. +.br +\fIb\fP The location of the second vertex\&. +.br +\fIc\fP The location of the third vertex\&. +.br +\fIcolor\fP An index for the color to use for the triangle: { Red, Green, Blue, Yellow, Pink, White } +.RE +.PP + +.PP +Definition at line 56 of file model\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/modelFunctions.cpp.3 b/Doxygen/Docs/man/man3/modelFunctions.cpp.3 new file mode 100644 index 00000000..0f798644 --- /dev/null +++ b/Doxygen/Docs/man/man3/modelFunctions.cpp.3 @@ -0,0 +1,51 @@ +.TH "modelFunctions.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +modelFunctions.cpp \- +.PP +FIXME: Documentation needed from Zach\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include 'modelFunctions\&.hpp'\fP +.br +\fC#include 'Object\&.hpp'\fP +.br + +.SS "Functions" + +.in +1c +.ti -1c +.RI "float \fBthreeDimensionalDistance\fP (\fBvec4\fP points1, \fBvec4\fP points2)" +.br +.ti -1c +.RI "int \fBfindTriangleWithMinimumDistance\fP (\fBObject\fP *largerModel, \fBObject\fP *smallerModel, int index)" +.br +.ti -1c +.RI "void \fBmakeModelsSameSize\fP (\fBObject\fP *model1, \fBObject\fP *model2)" +.br +.in -1c +.SH "Detailed Description" +.PP +FIXME: Documentation needed from Zach\&. + +\fBDate:\fP +.RS 4 +2013-03-15 +.RE +.PP +\fBAuthor:\fP +.RS 4 +Zach Maybury +.RE +.PP +Functions related to morphing\&. +.PP +Definition in file \fBmodelFunctions\&.cpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/modelFunctions.hpp.3 b/Doxygen/Docs/man/man3/modelFunctions.hpp.3 new file mode 100644 index 00000000..c766aa61 --- /dev/null +++ b/Doxygen/Docs/man/man3/modelFunctions.hpp.3 @@ -0,0 +1,59 @@ +.TH "modelFunctions.hpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +modelFunctions.hpp \- +.PP +FIXME: Documentation needed from Zach\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'platform\&.h'\fP +.br +\fC#include 'vec\&.hpp'\fP +.br +\fC#include 'mat\&.hpp'\fP +.br +\fC#include 'Scene\&.hpp'\fP +.br + +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBmakeModelsSameSize\fP (\fBObject\fP *model1, \fBObject\fP *model2)" +.br +.ti -1c +.RI "int \fBfindTriangleWithMinimumDistance\fP (\fBObject\fP *largerModel, \fBObject\fP *smallerModel, int index)" +.br +.ti -1c +.RI "float \fBthreeDimensionalDistance\fP (\fBvec4\fP points1, \fBvec4\fP points2)" +.br +.in -1c +.SH "Detailed Description" +.PP +FIXME: Documentation needed from Zach\&. + +\fBDate:\fP +.RS 4 +2013-03-15 +.RE +.PP +\fBAuthor:\fP +.RS 4 +Zach Maybury +.RE +.PP +Headers for functions related to morphing\&. +.PP +Definition in file \fBmodelFunctions\&.hpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/morphlite.cpp.3 b/Doxygen/Docs/man/man3/morphlite.cpp.3 new file mode 100644 index 00000000..19810339 --- /dev/null +++ b/Doxygen/Docs/man/man3/morphlite.cpp.3 @@ -0,0 +1,126 @@ +.TH "morphlite.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +morphlite.cpp \- +.PP +This is a derivative of HSC's Fall 2012 project\&. + +.SH SYNOPSIS +.br +.PP +\fC#include 'globals\&.h'\fP +.br +\fC#include 'platform\&.h'\fP +.br +\fC#include 'Camera\&.hpp'\fP +.br +\fC#include 'Cameras\&.hpp'\fP +.br +\fC#include 'Screen\&.hpp'\fP +.br +\fC#include 'Object\&.hpp'\fP +.br +\fC#include 'Timer\&.hpp'\fP +.br +\fC#include 'Scene\&.hpp'\fP +.br +\fC#include 'Engine\&.hpp'\fP +.br +\fC#include 'model\&.hpp'\fP +.br +\fC#include 'InitShader\&.hpp'\fP +.br +\fC#include 'glut_callbacks\&.h'\fP +.br +\fC#include 'ObjLoader\&.hpp'\fP +.br +\fC#include 'eric_rules\&.hpp'\fP +.br + +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBinit\fP ()" +.br +.RI "\fIInitialization: load and compile shaders, initialize camera(s), load models\&. \fP" +.ti -1c +.RI "void \fBcleanup\fP (void)" +.br +.RI "\fICleans up our scene graph\&. \fP" +.ti -1c +.RI "void \fBdraw\fP (void)" +.br +.RI "\fIImplementation of drawing the display with regards to a single viewport\&. \fP" +.ti -1c +.RI "void \fBdisplay\fP (void)" +.br +.RI "\fIDisplay/Render the entire screen\&. \fP" +.ti -1c +.RI "void \fBidle\fP (void)" +.br +.RI "\fICompute time since last idle, update camera positions, redisplay\&. \fP" +.ti -1c +.RI "int \fBmain\fP (int argc, char **argv)" +.br +.RI "\fIThis is a bottle morphing demo! It illustrates simply how to do a simple linear interpolation morph\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +This is a derivative of HSC's Fall 2012 project\&. + +\fBAuthor:\fP +.RS 4 +Nicholas St\&.Pierre +.RE +.PP +\fBAuthors:\fP +.RS 4 +John Huston, Nicholas VerVoort, Chris Compton +.RE +.PP +\fBDate:\fP +.RS 4 +2012-12-06 +.RE +.PP +This is a tech demo for morphing two objects back and forth\&. Original engine based on Ed Angel's book code\&. This file features a severely reduced linecount for demo purposes\&. +.PP +\fBSee Also:\fP +.RS 4 +\fBterrain\&.cpp\fP for a fully-featured example\&. +.RE +.PP + +.PP +Definition in file \fBmorphlite\&.cpp\fP\&. +.SH "Function Documentation" +.PP +.SS "void idle (void)" + +.PP +Compute time since last idle, update camera positions, redisplay\&. Apply new animations\&. +.PP +Definition at line 128 of file morphlite\&.cpp\&. +.SS "int main (intargc, char **argv)" + +.PP +This is a bottle morphing demo! It illustrates simply how to do a simple linear interpolation morph\&. \fBParameters:\fP +.RS 4 +\fIargc\fP Not used\&. +.br +\fIargv\fP Not used\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +EXIT_SUCCESS\&. +.RE +.PP + +.PP +Definition at line 166 of file morphlite\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/platform.h.3 b/Doxygen/Docs/man/man3/platform.h.3 new file mode 100644 index 00000000..339dc086 --- /dev/null +++ b/Doxygen/Docs/man/man3/platform.h.3 @@ -0,0 +1,54 @@ +.TH "platform.h" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +platform.h \- +.PP +Covertly re-defines functions that conflict between Linux and OSX\&. + +.SH SYNOPSIS +.br +.PP +\fC#include 'OpenGL\&.h'\fP +.br + +.SS "Macros" + +.in +1c +.ti -1c +.RI "#define \fBGLEW_INIT\fP()" +.br +.RI "\fIA macro defined to initialize GLEW on Linux, but do nothing on Apple OSX\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Covertly re-defines functions that conflict between Linux and OSX\&. + +\fBAuthor:\fP +.RS 4 +John Huston, Chris Compton +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-15 +.RE +.PP + +.PP +Definition in file \fBplatform\&.h\fP\&. +.SH "Macro Definition Documentation" +.PP +.SS "#define GLEW_INIT()" +\fBValue:\fP +.PP +.nf +glewExperimental = GL_FALSE; \ + GLenum rc = glewInit(); \ + if (rc) fprintf( stderr, '%s\n', glewGetErrorString(rc) ); +.fi +.PP +A macro defined to initialize GLEW on Linux, but do nothing on Apple OSX\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/raytrace1.cpp.3 b/Doxygen/Docs/man/man3/raytrace1.cpp.3 new file mode 100644 index 00000000..80df2012 --- /dev/null +++ b/Doxygen/Docs/man/man3/raytrace1.cpp.3 @@ -0,0 +1,295 @@ +.TH "raytrace1.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +raytrace1.cpp \- +.PP +Geometric Raytracing Demo\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'SpelchkCamera\&.hpp'\fP +.br +\fC#include 'InitShader\&.hpp'\fP +.br +\fC#include 'eric_rules\&.hpp'\fP +.br + +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBidle\fP (void)" +.br +.RI "\fIRedraw the scene\&. \fP" +.ti -1c +.RI "void \fBreshape\fP (int width, int height)" +.br +.RI "\fI\fBScreen\fP resize handler\&. \fP" +.ti -1c +.RI "void \fBcustomkeyboard\fP (unsigned char key, int x, int y)" +.br +.RI "\fIKeyboard Conrol Handler\&. \fP" +.ti -1c +.RI "void \fBcustommouse\fP (int button, int state, int x, int y)" +.br +.RI "\fIMouse click handler\&. \fP" +.ti -1c +.RI "void \fBmotion\fP (int x, int y)" +.br +.RI "\fIHandle mouse and camera movement\&. \fP" +.ti -1c +.RI "void \fBdisplay\fP (void)" +.br +.RI "\fIHandle the re-display of the scene\&. \fP" +.ti -1c +.RI "void \fBinit\fP (void)" +.br +.RI "\fIInitialization of objects and OpenGL state\&. \fP" +.ti -1c +.RI "int \fBmain\fP (int argc, char **argv)" +.br +.RI "\fISimple raytracer demo by Hoanh Nguyen\&. \fP" +.in -1c +.SS "Variables" + +.in +1c +.ti -1c +.RI "GLuint \fBprogram\fP" +.br +.RI "\fIGlobal shader object\&. \fP" +.ti -1c +.RI "GLuint \fBmodelView\fP = -1" +.br +.RI "\fImodel-view matrix uniform shader variable location \fP" +.ti -1c +.RI "GLuint \fBdethklok\fP" +.br +.ti -1c +.RI "GLint \fBvRayPosition\fP = -1" +.br +.ti -1c +.RI "GLint \fBuCameraPosition\fP = -1" +.br +.RI "\fIHandle to uniform that will contain the position of the \fBCamera\fP\&. \fP" +.ti -1c +.RI "\fBSpelchkCamera\fP \fBcamera\fP (\fBvec4\fP(0\&.0, 0\&.0, 0\&.0, 0\&.0))" +.br +.RI "\fILogical camera object\&. \fP" +.ti -1c +.RI "GLint \fBuSphereCenterPoints\fP = -1" +.br +.ti -1c +.RI "GLint \fBuSphereRadius\fP = -1" +.br +.ti -1c +.RI "GLint \fBuSphereColors\fP = -1" +.br +.ti -1c +.RI "GLint \fBuNumOfSpheres\fP = -1" +.br +.ti -1c +.RI "GLfloat \fBsphereCenterPoints\fP []" +.br +.ti -1c +.RI "GLfloat \fBsphereRadius\fP [] = { 0\&.5, 0\&.6, 0\&.7, 0\&.8 }" +.br +.ti -1c +.RI "GLfloat \fBsphereColors\fP []" +.br +.ti -1c +.RI "int \fBscreenHeight\fP" +.br +.RI "\fIcurrent Height of the screen\&. \fP" +.ti -1c +.RI "int \fBscreenWidth\fP" +.br +.RI "\fIcurrent Width of the screen\&. \fP" +.ti -1c +.RI "bool \fBleftDown\fP = false" +.br +.RI "\fIIs the left mouse button being pressed? \fP" +.ti -1c +.RI "bool \fBrightDown\fP = false" +.br +.RI "\fIIs the right mouse button being pressed? \fP" +.ti -1c +.RI "int \fBmouseDownX\fP" +.br +.RI "\fILast known x coordinate of the mouse pointer\&. \fP" +.ti -1c +.RI "int \fBmouseDownY\fP" +.br +.RI "\fILast known y coordinate of the mouse pointer\&. \fP" +.ti -1c +.RI "float \fBrotationFactor\fP = 45\&.0" +.br +.RI "\fIMagic constant to adjust the rate of rotation when re-orienting the camera\&. \fP" +.ti -1c +.RI "float \fBtranslationFactor\fP = 5\&.0" +.br +.RI "\fIMagic constant to adjust the rate of translation when re-orienting the camera\&. \fP" +.in -1c +.SH "Detailed Description" +.PP +Geometric Raytracing Demo\&. + +\fBAuthor:\fP +.RS 4 +Hoanh Nguyen +.RE +.PP +\fBDate:\fP +.RS 4 +2013-03-15 +.RE +.PP + +.PP +Definition in file \fBraytrace1\&.cpp\fP\&. +.SH "Function Documentation" +.PP +.SS "void customkeyboard (unsigned charkey, intx, inty)" + +.PP +Keyboard Conrol Handler\&. \fBParameters:\fP +.RS 4 +\fIkey\fP The key that was pressed\&. +.br +\fIx\fP X coordinate of the mouse when a key was pressed\&. +.br +\fIy\fP Y coordinate of the mouse when a key was pressed\&. +.RE +.PP + +.PP +Definition at line 75 of file raytrace1\&.cpp\&. +.SS "void custommouse (intbutton, intstate, intx, inty)" + +.PP +Mouse click handler\&. \fBParameters:\fP +.RS 4 +\fIbutton\fP The mouse button that was pressed\&. +.br +\fIstate\fP The current state of that button\&. +.br +\fIx\fP X coordinate of the mouse\&. +.br +\fIy\fP Y coordinate of the mouse\&. +.RE +.PP + +.PP +Definition at line 131 of file raytrace1\&.cpp\&. +.SS "int main (intargc, char **argv)" + +.PP +Simple raytracer demo by Hoanh Nguyen\&. \fBParameters:\fP +.RS 4 +\fIargc\fP Not used\&. +.br +\fIargv\fP Not used\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +0\&. +.RE +.PP + +.PP +Definition at line 280 of file raytrace1\&.cpp\&. +.SS "void motion (intx, inty)" + +.PP +Handle mouse and camera movement\&. \fBParameters:\fP +.RS 4 +\fIx\fP X coordinate of the mouse\&. +.br +\fIy\fP Y coordinate of the mouse\&. +.RE +.PP + +.PP +Definition at line 171 of file raytrace1\&.cpp\&. +.SS "void reshape (intwidth, intheight)" + +.PP +\fBScreen\fP resize handler\&. \fBParameters:\fP +.RS 4 +\fIwidth\fP New screen width\&. +.br +\fIheight\fP New screen height\&. +.RE +.PP + +.PP +Definition at line 64 of file raytrace1\&.cpp\&. +.SH "Variable Documentation" +.PP +.SS "\fBSpelchkCamera\fP camera(\fBvec4\fP(0\&.0, 0\&.0, 0\&.0, 0\&.0))" + +.PP +Logical camera object\&. +.SS "float rotationFactor = 45\&.0" + +.PP +Magic constant to adjust the rate of rotation when re-orienting the camera\&. +.PP +Definition at line 162 of file raytrace1\&.cpp\&. +.SS "int screenHeight" + +.PP +current Height of the screen\&. +.PP +Definition at line 55 of file raytrace1\&.cpp\&. +.SS "int screenWidth" + +.PP +current Width of the screen\&. +.PP +Definition at line 57 of file raytrace1\&.cpp\&. +.SS "GLfloat sphereCenterPoints[]" +\fBInitial value:\fP +.PP +.nf + { -1\&.0, -1\&.0, -2\&.0, 1\&.0, -1\&.0, -2\&.0, -1\&.0, 1\&.0, + -2\&.0, 1\&.0, 1\&.0, -2\&.0 } +.fi +.PP +Definition at line 39 of file raytrace1\&.cpp\&. +.SS "GLfloat sphereColors[]" +\fBInitial value:\fP +.PP +.nf + { 1\&.0, 0\&.3, 0\&.3, 0\&.3, 1\&.0, 0\&.3, 0\&.3, 0\&.3, 1\&.0, 1\&.0, + 0\&.3, 0\&.3 } +.fi +.PP +Definition at line 44 of file raytrace1\&.cpp\&. +.SS "float translationFactor = 5\&.0" + +.PP +Magic constant to adjust the rate of translation when re-orienting the camera\&. +.PP +Definition at line 164 of file raytrace1\&.cpp\&. +.SS "GLint uCameraPosition = -1" + +.PP +Handle to uniform that will contain the position of the \fBCamera\fP\&. +.PP +Definition at line 27 of file raytrace1\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/terrain.cpp.3 b/Doxygen/Docs/man/man3/terrain.cpp.3 new file mode 100644 index 00000000..ddcbc8b0 --- /dev/null +++ b/Doxygen/Docs/man/man3/terrain.cpp.3 @@ -0,0 +1,255 @@ +.TH "terrain.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +terrain.cpp \- +.PP +This is a trimmed version of our Fall 2012 project\&. + +.SH SYNOPSIS +.br +.PP +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include \fP +.br +\fC#include 'platform\&.h'\fP +.br +\fC#include 'globals\&.h'\fP +.br +\fC#include 'vec\&.hpp'\fP +.br +\fC#include 'mat\&.hpp'\fP +.br +\fC#include 'Engine\&.hpp'\fP +.br +\fC#include 'Camera\&.hpp'\fP +.br +\fC#include 'Cameras\&.hpp'\fP +.br +\fC#include 'Screen\&.hpp'\fP +.br +\fC#include 'Object\&.hpp'\fP +.br +\fC#include 'Timer\&.hpp'\fP +.br +\fC#include 'Scene\&.hpp'\fP +.br +\fC#include 'model\&.hpp'\fP +.br +\fC#include 'InitShader\&.hpp'\fP +.br +\fC#include 'glut_callbacks\&.h'\fP +.br +\fC#include 'ObjLoader\&.hpp'\fP +.br +\fC#include 'eric_rules\&.hpp'\fP +.br + +.SS "Functions" + +.in +1c +.ti -1c +.RI "void \fBrandomize_terrain\fP ()" +.br +.RI "\fIrandomize_terrain is called to regenerate the terrain in this application\&. \fP" +.ti -1c +.RI "void \fBinit\fP ()" +.br +.RI "\fIinit will initialize this particular flythrough, by creating and instantiating a shader, a camera, and a number of initial objects\&. \fP" +.ti -1c +.RI "void \fBcleanup\fP (void)" +.br +.RI "\fIcleanup is a routine to call at exit time that will free up the resources the application is using\&. \fP" +.ti -1c +.RI "void \fBdisplayViewport\fP (void)" +.br +.RI "\fIdisplayViewport is responsible for drawing a single viewport\&. \fP" +.ti -1c +.RI "void \fBdisplay\fP (void)" +.br +.RI "\fIdisplay is responsible for drawing an entire screen\&. \fP" +.ti -1c +.RI "void \fBTerrainGenerationAnimation\fP (\fBTransCache\fP &obj)" +.br +.RI "\fITerrainGenerationAnimation is an animation callback that will: (A) If triggered, begin to shrink the object into a flat plane, (B) Order a re-generation of the terrain data (C) will grow the object back into its new, final shape\&. \fP" +.ti -1c +.RI "void \fBwiilook\fP (\fBCamera\fP &WiiCamera, const \fBAngel::vec3\fP &NewTheta, const \fBAngel::vec3\fP &MovementRates)" +.br +.RI "\fIwiilook is an analog of mouselook, for wii remote controls\&. \fP" +.ti -1c +.RI "void \fBsimpleRotateY\fP (\fBTransCache\fP &obj)" +.br +.ti -1c +.RI "void \fBsimpleRotateAnim\fP (\fBTransCache\fP &obj)" +.br +.ti -1c +.RI "void \fBanimationTest\fP (\fBTransCache\fP &obj)" +.br +.ti -1c +.RI "void \fBidle\fP (void)" +.br +.ti -1c +.RI "void \fBmenufunc\fP (int value)" +.br +.ti -1c +.RI "int \fBmain\fP (int argc, char **argv)" +.br +.in -1c +.SS "Variables" + +.in +1c +.ti -1c +.RI "const char * \fBterrainTex\fP []" +.br +.ti -1c +.RI "bool \fBswitchingTerrain\fP = false" +.br +.ti -1c +.RI "float \fBheightScale\fP = 0\&.0" +.br +.RI "\fIhackity hack hack hackey doo! \fP" +.ti -1c +.RI "float \fBticker\fP = 0\&.0" +.br +.in -1c +.SH "Detailed Description" +.PP +This is a trimmed version of our Fall 2012 project\&. + +\fBAuthors:\fP +.RS 4 +John Huston, Nicholas StPierre, Chris Compton +.RE +.PP +\fBDate:\fP +.RS 4 +2013-02-23 +.RE +.PP +This is a tech demo for terrain generation using an udpated engine derived from Ed Angel's code from his book\&. +.PP +Definition in file \fBterrain\&.cpp\fP\&. +.SH "Function Documentation" +.PP +.SS "void cleanup (void)" + +.PP +cleanup is a routine to call at exit time that will free up the resources the application is using\&. While not critical, it does aid in using debuggers to not have any memory leaks at exit time\&. +.PP +\fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 224 of file terrain\&.cpp\&. +.SS "void display (void)" + +.PP +display is responsible for drawing an entire screen\&. \fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 249 of file terrain\&.cpp\&. +.SS "void displayViewport (void)" + +.PP +displayViewport is responsible for drawing a single viewport\&. \fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 235 of file terrain\&.cpp\&. +.SS "void init (void)" + +.PP +init will initialize this particular flythrough, by creating and instantiating a shader, a camera, and a number of initial objects\&. \fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 88 of file terrain\&.cpp\&. +.SS "void randomize_terrain ()" + +.PP +randomize_terrain is called to regenerate the terrain in this application\&. It assumes the terrain is named 'terrain' and is located as a direct child of the main scene graph\&. +.PP +\fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 65 of file terrain\&.cpp\&. +.SS "void TerrainGenerationAnimation (\fBTransCache\fP &obj)" + +.PP +TerrainGenerationAnimation is an animation callback that will: (A) If triggered, begin to shrink the object into a flat plane, (B) Order a re-generation of the terrain data (C) will grow the object back into its new, final shape\&. \fBParameters:\fP +.RS 4 +\fIobj\fP A reference to an object's transformation state\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +void\&. +.RE +.PP + +.PP +Definition at line 273 of file terrain\&.cpp\&. +.SS "void wiilook (\fBCamera\fP &WiiCamera, const \fBAngel::vec3\fP &NewTheta, const \fBAngel::vec3\fP &MovementRates)" + +.PP +wiilook is an analog of mouselook, for wii remote controls\&. It takes a reference to a \fBCamera\fP, and two vec3s, and uses the information to adjust the \fBCamera\fP's _rotation\&. +.PP +\fBParameters:\fP +.RS 4 +\fIWiiCamera\fP The camera to adjust the _rotation of\&. +.br +\fINewTheta\fP The X,Y,Z angles of the Wii Remote\&. +.br +\fIMovementRates\fP The X, Y, Z angular velocities of the Wii Remote\&. +.RE +.PP +\fBReturns:\fP +.RS 4 +Void\&. +.RE +.PP + +.PP +Definition at line 336 of file terrain\&.cpp\&. +.SH "Variable Documentation" +.PP +.SS "const char* terrainTex[]" +\fBInitial value:\fP +.PP +.nf + { '\&.\&./Textures/GoodTextures_0013423\&.jpg', + '\&.\&./Textures/GoodTextures_0013779\&.jpg', + '\&.\&./Textures/GrassGreenTexture0002\&.jpg', + '\&.\&./Textures/GoodTextures_0013418\&.jpg', + '\&.\&./Textures/GoodTextures_0013291\&.jpg' + } +.fi +.PP +Definition at line 51 of file terrain\&.cpp\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/vec.cpp.3 b/Doxygen/Docs/man/man3/vec.cpp.3 new file mode 100644 index 00000000..b81b8389 --- /dev/null +++ b/Doxygen/Docs/man/man3/vec.cpp.3 @@ -0,0 +1,105 @@ +.TH "vec.cpp" 3 "Fri Mar 29 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +vec.cpp \- +.PP +Implementation for the vec2, vec3, and vec4 classes\&. + +.SH SYNOPSIS +.br +.PP +\fC#include 'vec\&.hpp'\fP +.br +\fC#include \fP +.br +\fC#include 'globals\&.h'\fP +.br + +.SS "Functions" + +.in +1c +.ti -1c +.RI "vec2 \fBAngel::operator*\fP (const GLfloat s, const vec2 &v)" +.br +.ti -1c +.RI "std::ostream & \fBAngel::operator<<\fP (std::ostream &os, const vec2 &v)" +.br +.ti -1c +.RI "std::istream & \fBAngel::operator>>\fP (std::istream &is, vec2 &v)" +.br +.ti -1c +.RI "GLfloat \fBAngel::dot\fP (const vec2 &u, const vec2 &v)" +.br +.ti -1c +.RI "GLfloat \fBAngel::length\fP (const vec2 &v)" +.br +.ti -1c +.RI "vec2 \fBAngel::normalize\fP (const vec2 &v)" +.br +.ti -1c +.RI "vec3 \fBAngel::operator*\fP (const GLfloat s, const vec3 &v)" +.br +.ti -1c +.RI "std::ostream & \fBAngel::operator<<\fP (std::ostream &os, const vec3 &v)" +.br +.ti -1c +.RI "std::istream & \fBAngel::operator>>\fP (std::istream &is, vec3 &v)" +.br +.ti -1c +.RI "GLfloat \fBAngel::dot\fP (const vec3 &u, const vec3 &v)" +.br +.ti -1c +.RI "GLfloat \fBAngel::length\fP (const vec3 &v)" +.br +.ti -1c +.RI "vec3 \fBAngel::normalize\fP (const vec3 &v)" +.br +.ti -1c +.RI "vec3 \fBAngel::cross\fP (const vec3 &a, const vec3 &b)" +.br +.ti -1c +.RI "vec4 \fBAngel::operator*\fP (const GLfloat s, const vec4 &v)" +.br +.ti -1c +.RI "std::ostream & \fBAngel::operator<<\fP (std::ostream &os, const vec4 &v)" +.br +.ti -1c +.RI "std::istream & \fBAngel::operator>>\fP (std::istream &is, vec4 &v)" +.br +.ti -1c +.RI "GLfloat \fBAngel::dot\fP (const vec4 &u, const vec4 &v)" +.br +.ti -1c +.RI "GLfloat \fBAngel::length\fP (const vec4 &v)" +.br +.ti -1c +.RI "vec4 \fBAngel::normalize\fP (const vec4 &v)" +.br +.ti -1c +.RI "vec3 \fBAngel::cross\fP (const vec4 &a, const vec4 &b)" +.br +.ti -1c +.RI "vec3 \fBAngel::xyz\fP (const vec4 &a)" +.br +.in -1c +.SH "Detailed Description" +.PP +Implementation for the vec2, vec3, and vec4 classes\&. + +\fBAuthor:\fP +.RS 4 +Ed Angel +.RE +.PP +\fBDate:\fP +.RS 4 +2012-12-04 +.RE +.PP +Modified heavily from code available from Ed Angel's website, http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/ Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition Addison-Wesley 2012 +.PP +Definition in file \fBvec\&.cpp\fP\&. +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/man/man3/wiiPollData.3 b/Doxygen/Docs/man/man3/wiiPollData.3 new file mode 100644 index 00000000..4ce51b34 --- /dev/null +++ b/Doxygen/Docs/man/man3/wiiPollData.3 @@ -0,0 +1,31 @@ +.TH "wiiPollData" 3 "Thu Mar 28 2013" "Version 31337" "HyperGrafx" \" -*- nroff -*- +.ad l +.nh +.SH NAME +wiiPollData \- +.SH SYNOPSIS +.br +.PP +.SS "Public Attributes" + +.in +1c +.ti -1c +.RI "\fBAngel::vec3\fP \fBbb_magnitudes\fP" +.br +.ti -1c +.RI "\fBAngel::vec3\fP \fBwr_thetas\fP" +.br +.ti -1c +.RI "\fBAngel::vec3\fP \fBwr_rates\fP" +.br +.ti -1c +.RI "bool \fBReset_Camera\fP" +.br +.in -1c +.SH "Detailed Description" +.PP +Definition at line 7 of file WiiUtil\&.h\&. + +.SH "Author" +.PP +Generated automatically by Doxygen for HyperGrafx from the source code\&. diff --git a/Doxygen/Docs/rtf/class_camera.png b/Doxygen/Docs/rtf/class_camera.png new file mode 100644 index 00000000..089ed6b6 Binary files /dev/null and b/Doxygen/Docs/rtf/class_camera.png differ diff --git a/Doxygen/Docs/rtf/class_cameras.png b/Doxygen/Docs/rtf/class_cameras.png new file mode 100644 index 00000000..48490832 Binary files /dev/null and b/Doxygen/Docs/rtf/class_cameras.png differ diff --git a/Doxygen/Docs/rtf/class_object.png b/Doxygen/Docs/rtf/class_object.png new file mode 100644 index 00000000..924841e0 Binary files /dev/null and b/Doxygen/Docs/rtf/class_object.png differ diff --git a/Doxygen/Docs/rtf/class_particle.png b/Doxygen/Docs/rtf/class_particle.png new file mode 100644 index 00000000..15c7a3bd Binary files /dev/null and b/Doxygen/Docs/rtf/class_particle.png differ diff --git a/Doxygen/Docs/rtf/class_rot_mat.png b/Doxygen/Docs/rtf/class_rot_mat.png new file mode 100644 index 00000000..4e6b55dc Binary files /dev/null and b/Doxygen/Docs/rtf/class_rot_mat.png differ diff --git a/Doxygen/Docs/rtf/class_scale_mat.png b/Doxygen/Docs/rtf/class_scale_mat.png new file mode 100644 index 00000000..882e961e Binary files /dev/null and b/Doxygen/Docs/rtf/class_scale_mat.png differ diff --git a/Doxygen/Docs/rtf/class_scene.png b/Doxygen/Docs/rtf/class_scene.png new file mode 100644 index 00000000..4209fa41 Binary files /dev/null and b/Doxygen/Docs/rtf/class_scene.png differ diff --git a/Doxygen/Docs/rtf/class_trans_mat.png b/Doxygen/Docs/rtf/class_trans_mat.png new file mode 100644 index 00000000..2a7c5025 Binary files /dev/null and b/Doxygen/Docs/rtf/class_trans_mat.png differ diff --git a/Doxygen/Docs/rtf/class_transformation.png b/Doxygen/Docs/rtf/class_transformation.png new file mode 100644 index 00000000..3996c077 Binary files /dev/null and b/Doxygen/Docs/rtf/class_transformation.png differ diff --git a/Doxygen/Docs/rtf/dir_68267d1309a1af8e8297ef4c3efbcdba.rtf b/Doxygen/Docs/rtf/dir_68267d1309a1af8e8297ef4c3efbcdba.rtf new file mode 100644 index 00000000..569cdf04 --- /dev/null +++ b/Doxygen/Docs/rtf/dir_68267d1309a1af8e8297ef4c3efbcdba.rtf @@ -0,0 +1,104 @@ +{\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033 +{\fonttbl {\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;} +{\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;} +{\f3\froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;} +} +{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;} +{\stylesheet +{\widctlpar\adjustright \fs20\cgrid \snext0 Normal;} +{\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid \sbasedon0 \snext0 heading 1;} +{\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid \sbasedon0 \snext0 heading 2;} +{\s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid \sbasedon0 \snext0 heading 3;} +{\s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 4;}{\*\cs10 \additive Default Paragraph Font;} +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 5;}{\*\cs10 \additive Default Paragraph Font;} +{\s15\qc\sb240\sa60\widctlpar\outlinelevel0\adjustright \b\f1\fs32\kerning28\cgrid \sbasedon0 \snext15 Title;} +{\s16\qc\sa60\widctlpar\outlinelevel1\adjustright \f1\cgrid \sbasedon0 \snext16 Subtitle;} +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid \sbasedon0 \snext17 BodyText;} +{\s18\widctlpar\fs22\cgrid \sbasedon0 \snext18 DenseText;} +{\s28\widctlpar\tqc\tx4320\tqr\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext28 header;} +{\s29\widctlpar\tqc\tx4320\tqr\tx8640\qr\adjustright \fs20\cgrid \sbasedon0 \snext29 footer;} +{\s30\li360\sa60\sb120\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext30 GroupHeader;} +{\s40\li0\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext41 Code Example 0;} +{\s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext42 Code Example 1;} +{\s42\li720\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext43 Code Example 2;} +{\s43\li1080\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext44 Code Example 3;} +{\s44\li1440\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext45 Code Example 4;} +{\s45\li1800\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext46 Code Example 5;} +{\s46\li2160\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext47 Code Example 6;} +{\s47\li2520\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext48 Code Example 7;} +{\s48\li2880\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 8;} +{\s49\li3240\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 9;} +{\s50\li0\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext51 List Continue 0;} +{\s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext52 List Continue 1;} +{\s52\li720\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext53 List Continue 2;} +{\s53\li1080\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext54 List Continue 3;} +{\s54\li1440\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext55 List Continue 4;} +{\s55\li1800\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext56 List Continue 5;} +{\s56\li2160\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext57 List Continue 6;} +{\s57\li2520\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext58 List Continue 7;} +{\s58\li2880\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 8;} +{\s59\li3240\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 9;} +{\s60\li0\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext61 DescContinue 0;} +{\s61\li360\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext62 DescContinue 1;} +{\s62\li720\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext63 DescContinue 2;} +{\s63\li1080\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext64 DescContinue 3;} +{\s64\li1440\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext65 DescContinue 4;} +{\s65\li1800\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext66 DescContinue 5;} +{\s66\li2160\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext67 DescContinue 6;} +{\s67\li2520\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext68 DescContinue 7;} +{\s68\li2880\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 8;} +{\s69\li3240\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 9;} +{\s70\li0\sa30\sb30\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext81 LatexTOC 0;} +{\s71\li360\sa27\sb27\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext82 LatexTOC 1;} +{\s72\li720\sa24\sb24\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext83 LatexTOC 2;} +{\s73\li1080\sa21\sb21\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext84 LatexTOC 3;} +{\s74\li1440\sa18\sb18\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext85 LatexTOC 4;} +{\s75\li1800\sa15\sb15\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext86 LatexTOC 5;} +{\s76\li2160\sa12\sb12\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext87 LatexTOC 6;} +{\s77\li2520\sa9\sb9\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext88 LatexTOC 7;} +{\s78\li2880\sa6\sb6\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 8;} +{\s79\li3240\sa3\sb3\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 9;} +{\s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid \sbasedon0 \snext81 \sautoupd List Bullet 0;} +{\s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid \sbasedon0 \snext82 \sautoupd List Bullet 1;} +{\s82\fi-360\li1080\widctlpar\jclisttab\tx1080{\*\pn \pnlvlbody\ilvl0\ls3\pnrnot0\pndec }\ls3\adjustright \fs20\cgrid \sbasedon0 \snext83 \sautoupd List Bullet 2;} +{\s83\fi-360\li1440\widctlpar\jclisttab\tx1440{\*\pn \pnlvlbody\ilvl0\ls4\pnrnot0\pndec }\ls4\adjustright \fs20\cgrid \sbasedon0 \snext84 \sautoupd List Bullet 3;} +{\s84\fi-360\li1800\widctlpar\jclisttab\tx1800{\*\pn \pnlvlbody\ilvl0\ls5\pnrnot0\pndec }\ls5\adjustright \fs20\cgrid \sbasedon0 \snext85 \sautoupd List Bullet 4;} +{\s85\fi-360\li2160\widctlpar\jclisttab\tx2160{\*\pn \pnlvlbody\ilvl0\ls6\pnrnot0\pndec }\ls6\adjustright \fs20\cgrid \sbasedon0 \snext86 \sautoupd List Bullet 5;} +{\s86\fi-360\li2520\widctlpar\jclisttab\tx2520{\*\pn \pnlvlbody\ilvl0\ls7\pnrnot0\pndec }\ls7\adjustright \fs20\cgrid \sbasedon0 \snext87 \sautoupd List Bullet 6;} +{\s87\fi-360\li2880\widctlpar\jclisttab\tx2880{\*\pn \pnlvlbody\ilvl0\ls8\pnrnot0\pndec }\ls8\adjustright \fs20\cgrid \sbasedon0 \snext88 \sautoupd List Bullet 7;} +{\s88\fi-360\li3240\widctlpar\jclisttab\tx3240{\*\pn \pnlvlbody\ilvl0\ls9\pnrnot0\pndec }\ls9\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 8;} +{\s89\fi-360\li3600\widctlpar\jclisttab\tx3600{\*\pn \pnlvlbody\ilvl0\ls10\pnrnot0\pndec }\ls10\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 9;} +{\s90\fi-360\li360\widctlpar\fs20\cgrid \sbasedon0 \snext91 \sautoupd List Enum 0;} +{\s91\fi-360\li720\widctlpar\fs20\cgrid \sbasedon0 \snext92 \sautoupd List Enum 1;} +{\s92\fi-360\li1080\widctlpar\fs20\cgrid \sbasedon0 \snext93 \sautoupd List Enum 2;} +{\s93\fi-360\li1440\widctlpar\fs20\cgrid \sbasedon0 \snext94 \sautoupd List Enum 3;} +{\s94\fi-360\li1800\widctlpar\fs20\cgrid \sbasedon0 \snext95 \sautoupd List Enum 4;} +{\s95\fi-360\li2160\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s96\fi-360\li2520\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s97\fi-360\li2880\widctlpar\fs20\cgrid \sbasedon0 \snext98 \sautoupd List Enum 7;} +{\s98\fi-360\li3240\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 8;} +{\s99\fi-360\li3600\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 9;} +} +{\comment begin body} +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/ Directory Reference\par \pard\plain +{\tc\tcl2 \v /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/ Directory Reference} +{\xe \v /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/ Directory Reference} +{\bkmkstart AAAAAAABGJ} +{\bkmkend AAAAAAABGJ} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Directories\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +directory {\b Binaries}\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +directory {\b Classes}\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +directory {\b Common}\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +directory {\b include}\par +} +} \ No newline at end of file diff --git a/Doxygen/Docs/rtf/dir_afec2d0f263cd02a2f4d5f4df058549c.rtf b/Doxygen/Docs/rtf/dir_afec2d0f263cd02a2f4d5f4df058549c.rtf new file mode 100644 index 00000000..8eede6fa --- /dev/null +++ b/Doxygen/Docs/rtf/dir_afec2d0f263cd02a2f4d5f4df058549c.rtf @@ -0,0 +1,176 @@ +{\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033 +{\fonttbl {\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;} +{\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;} +{\f3\froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;} +} +{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;} +{\stylesheet +{\widctlpar\adjustright \fs20\cgrid \snext0 Normal;} +{\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid \sbasedon0 \snext0 heading 1;} +{\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid \sbasedon0 \snext0 heading 2;} +{\s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid \sbasedon0 \snext0 heading 3;} +{\s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 4;}{\*\cs10 \additive Default Paragraph Font;} +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 5;}{\*\cs10 \additive Default Paragraph Font;} +{\s15\qc\sb240\sa60\widctlpar\outlinelevel0\adjustright \b\f1\fs32\kerning28\cgrid \sbasedon0 \snext15 Title;} +{\s16\qc\sa60\widctlpar\outlinelevel1\adjustright \f1\cgrid \sbasedon0 \snext16 Subtitle;} +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid \sbasedon0 \snext17 BodyText;} +{\s18\widctlpar\fs22\cgrid \sbasedon0 \snext18 DenseText;} +{\s28\widctlpar\tqc\tx4320\tqr\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext28 header;} +{\s29\widctlpar\tqc\tx4320\tqr\tx8640\qr\adjustright \fs20\cgrid \sbasedon0 \snext29 footer;} +{\s30\li360\sa60\sb120\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext30 GroupHeader;} +{\s40\li0\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext41 Code Example 0;} +{\s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext42 Code Example 1;} +{\s42\li720\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext43 Code Example 2;} +{\s43\li1080\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext44 Code Example 3;} +{\s44\li1440\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext45 Code Example 4;} +{\s45\li1800\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext46 Code Example 5;} +{\s46\li2160\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext47 Code Example 6;} +{\s47\li2520\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext48 Code Example 7;} +{\s48\li2880\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 8;} +{\s49\li3240\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 9;} +{\s50\li0\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext51 List Continue 0;} +{\s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext52 List Continue 1;} +{\s52\li720\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext53 List Continue 2;} +{\s53\li1080\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext54 List Continue 3;} +{\s54\li1440\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext55 List Continue 4;} +{\s55\li1800\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext56 List Continue 5;} +{\s56\li2160\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext57 List Continue 6;} +{\s57\li2520\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext58 List Continue 7;} +{\s58\li2880\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 8;} +{\s59\li3240\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 9;} +{\s60\li0\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext61 DescContinue 0;} +{\s61\li360\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext62 DescContinue 1;} +{\s62\li720\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext63 DescContinue 2;} +{\s63\li1080\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext64 DescContinue 3;} +{\s64\li1440\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext65 DescContinue 4;} +{\s65\li1800\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext66 DescContinue 5;} +{\s66\li2160\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext67 DescContinue 6;} +{\s67\li2520\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext68 DescContinue 7;} +{\s68\li2880\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 8;} +{\s69\li3240\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 9;} +{\s70\li0\sa30\sb30\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext81 LatexTOC 0;} +{\s71\li360\sa27\sb27\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext82 LatexTOC 1;} +{\s72\li720\sa24\sb24\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext83 LatexTOC 2;} +{\s73\li1080\sa21\sb21\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext84 LatexTOC 3;} +{\s74\li1440\sa18\sb18\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext85 LatexTOC 4;} +{\s75\li1800\sa15\sb15\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext86 LatexTOC 5;} +{\s76\li2160\sa12\sb12\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext87 LatexTOC 6;} +{\s77\li2520\sa9\sb9\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext88 LatexTOC 7;} +{\s78\li2880\sa6\sb6\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 8;} +{\s79\li3240\sa3\sb3\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 9;} +{\s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid \sbasedon0 \snext81 \sautoupd List Bullet 0;} +{\s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid \sbasedon0 \snext82 \sautoupd List Bullet 1;} +{\s82\fi-360\li1080\widctlpar\jclisttab\tx1080{\*\pn \pnlvlbody\ilvl0\ls3\pnrnot0\pndec }\ls3\adjustright \fs20\cgrid \sbasedon0 \snext83 \sautoupd List Bullet 2;} +{\s83\fi-360\li1440\widctlpar\jclisttab\tx1440{\*\pn \pnlvlbody\ilvl0\ls4\pnrnot0\pndec }\ls4\adjustright \fs20\cgrid \sbasedon0 \snext84 \sautoupd List Bullet 3;} +{\s84\fi-360\li1800\widctlpar\jclisttab\tx1800{\*\pn \pnlvlbody\ilvl0\ls5\pnrnot0\pndec }\ls5\adjustright \fs20\cgrid \sbasedon0 \snext85 \sautoupd List Bullet 4;} +{\s85\fi-360\li2160\widctlpar\jclisttab\tx2160{\*\pn \pnlvlbody\ilvl0\ls6\pnrnot0\pndec }\ls6\adjustright \fs20\cgrid \sbasedon0 \snext86 \sautoupd List Bullet 5;} +{\s86\fi-360\li2520\widctlpar\jclisttab\tx2520{\*\pn \pnlvlbody\ilvl0\ls7\pnrnot0\pndec }\ls7\adjustright \fs20\cgrid \sbasedon0 \snext87 \sautoupd List Bullet 6;} +{\s87\fi-360\li2880\widctlpar\jclisttab\tx2880{\*\pn \pnlvlbody\ilvl0\ls8\pnrnot0\pndec }\ls8\adjustright \fs20\cgrid \sbasedon0 \snext88 \sautoupd List Bullet 7;} +{\s88\fi-360\li3240\widctlpar\jclisttab\tx3240{\*\pn \pnlvlbody\ilvl0\ls9\pnrnot0\pndec }\ls9\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 8;} +{\s89\fi-360\li3600\widctlpar\jclisttab\tx3600{\*\pn \pnlvlbody\ilvl0\ls10\pnrnot0\pndec }\ls10\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 9;} +{\s90\fi-360\li360\widctlpar\fs20\cgrid \sbasedon0 \snext91 \sautoupd List Enum 0;} +{\s91\fi-360\li720\widctlpar\fs20\cgrid \sbasedon0 \snext92 \sautoupd List Enum 1;} +{\s92\fi-360\li1080\widctlpar\fs20\cgrid \sbasedon0 \snext93 \sautoupd List Enum 2;} +{\s93\fi-360\li1440\widctlpar\fs20\cgrid \sbasedon0 \snext94 \sautoupd List Enum 3;} +{\s94\fi-360\li1800\widctlpar\fs20\cgrid \sbasedon0 \snext95 \sautoupd List Enum 4;} +{\s95\fi-360\li2160\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s96\fi-360\li2520\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s97\fi-360\li2880\widctlpar\fs20\cgrid \sbasedon0 \snext98 \sautoupd List Enum 7;} +{\s98\fi-360\li3240\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 8;} +{\s99\fi-360\li3600\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 9;} +} +{\comment begin body} +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/ Directory Reference\par \pard\plain +{\tc\tcl2 \v /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/ Directory Reference} +{\xe \v /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/ Directory Reference} +{\bkmkstart AAAAAAABGG} +{\bkmkend AAAAAAABGG} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Files\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Camera.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Camera} class. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Cameras.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Cameras} class, which is a container for {\b Camera} objects. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Engine.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Engine} class. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b KinectInator.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Eric. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b mat.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the mat2, mat3, and mat4 classes. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Object.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Object} class. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Particle.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Needs documentation from NVV/CC. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b ParticleSystem.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b ParticleSystem} implementation. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Scene.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Scene} graph implementation. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Screen.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Screen} class implementation. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b SpelchkCamera.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Tiem Spelchk {\b Camera} Implementation. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Texture.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Texturing Module! }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Timer.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for global {\b Timer} object. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b TransCache.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b TransCache} Implementation. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Transformation.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Transformation} Superclass Implementation. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b vec.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the vec2, vec3, and vec4 classes. }}} +} +} \ No newline at end of file diff --git a/Doxygen/Docs/rtf/dir_b0856f6b0d80ccb263b2f415c91f9e17.rtf b/Doxygen/Docs/rtf/dir_b0856f6b0d80ccb263b2f415c91f9e17.rtf new file mode 100644 index 00000000..5dd2a410 --- /dev/null +++ b/Doxygen/Docs/rtf/dir_b0856f6b0d80ccb263b2f415c91f9e17.rtf @@ -0,0 +1,223 @@ +{\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033 +{\fonttbl {\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;} +{\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;} +{\f3\froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;} +} +{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;} +{\stylesheet +{\widctlpar\adjustright \fs20\cgrid \snext0 Normal;} +{\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid \sbasedon0 \snext0 heading 1;} +{\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid \sbasedon0 \snext0 heading 2;} +{\s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid \sbasedon0 \snext0 heading 3;} +{\s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 4;}{\*\cs10 \additive Default Paragraph Font;} +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 5;}{\*\cs10 \additive Default Paragraph Font;} +{\s15\qc\sb240\sa60\widctlpar\outlinelevel0\adjustright \b\f1\fs32\kerning28\cgrid \sbasedon0 \snext15 Title;} +{\s16\qc\sa60\widctlpar\outlinelevel1\adjustright \f1\cgrid \sbasedon0 \snext16 Subtitle;} +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid \sbasedon0 \snext17 BodyText;} +{\s18\widctlpar\fs22\cgrid \sbasedon0 \snext18 DenseText;} +{\s28\widctlpar\tqc\tx4320\tqr\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext28 header;} +{\s29\widctlpar\tqc\tx4320\tqr\tx8640\qr\adjustright \fs20\cgrid \sbasedon0 \snext29 footer;} +{\s30\li360\sa60\sb120\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext30 GroupHeader;} +{\s40\li0\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext41 Code Example 0;} +{\s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext42 Code Example 1;} +{\s42\li720\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext43 Code Example 2;} +{\s43\li1080\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext44 Code Example 3;} +{\s44\li1440\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext45 Code Example 4;} +{\s45\li1800\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext46 Code Example 5;} +{\s46\li2160\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext47 Code Example 6;} +{\s47\li2520\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext48 Code Example 7;} +{\s48\li2880\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 8;} +{\s49\li3240\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 9;} +{\s50\li0\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext51 List Continue 0;} +{\s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext52 List Continue 1;} +{\s52\li720\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext53 List Continue 2;} +{\s53\li1080\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext54 List Continue 3;} +{\s54\li1440\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext55 List Continue 4;} +{\s55\li1800\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext56 List Continue 5;} +{\s56\li2160\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext57 List Continue 6;} +{\s57\li2520\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext58 List Continue 7;} +{\s58\li2880\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 8;} +{\s59\li3240\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 9;} +{\s60\li0\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext61 DescContinue 0;} +{\s61\li360\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext62 DescContinue 1;} +{\s62\li720\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext63 DescContinue 2;} +{\s63\li1080\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext64 DescContinue 3;} +{\s64\li1440\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext65 DescContinue 4;} +{\s65\li1800\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext66 DescContinue 5;} +{\s66\li2160\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext67 DescContinue 6;} +{\s67\li2520\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext68 DescContinue 7;} +{\s68\li2880\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 8;} +{\s69\li3240\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 9;} +{\s70\li0\sa30\sb30\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext81 LatexTOC 0;} +{\s71\li360\sa27\sb27\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext82 LatexTOC 1;} +{\s72\li720\sa24\sb24\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext83 LatexTOC 2;} +{\s73\li1080\sa21\sb21\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext84 LatexTOC 3;} +{\s74\li1440\sa18\sb18\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext85 LatexTOC 4;} +{\s75\li1800\sa15\sb15\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext86 LatexTOC 5;} +{\s76\li2160\sa12\sb12\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext87 LatexTOC 6;} +{\s77\li2520\sa9\sb9\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext88 LatexTOC 7;} +{\s78\li2880\sa6\sb6\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 8;} +{\s79\li3240\sa3\sb3\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 9;} +{\s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid \sbasedon0 \snext81 \sautoupd List Bullet 0;} +{\s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid \sbasedon0 \snext82 \sautoupd List Bullet 1;} +{\s82\fi-360\li1080\widctlpar\jclisttab\tx1080{\*\pn \pnlvlbody\ilvl0\ls3\pnrnot0\pndec }\ls3\adjustright \fs20\cgrid \sbasedon0 \snext83 \sautoupd List Bullet 2;} +{\s83\fi-360\li1440\widctlpar\jclisttab\tx1440{\*\pn \pnlvlbody\ilvl0\ls4\pnrnot0\pndec }\ls4\adjustright \fs20\cgrid \sbasedon0 \snext84 \sautoupd List Bullet 3;} +{\s84\fi-360\li1800\widctlpar\jclisttab\tx1800{\*\pn \pnlvlbody\ilvl0\ls5\pnrnot0\pndec }\ls5\adjustright \fs20\cgrid \sbasedon0 \snext85 \sautoupd List Bullet 4;} +{\s85\fi-360\li2160\widctlpar\jclisttab\tx2160{\*\pn \pnlvlbody\ilvl0\ls6\pnrnot0\pndec }\ls6\adjustright \fs20\cgrid \sbasedon0 \snext86 \sautoupd List Bullet 5;} +{\s86\fi-360\li2520\widctlpar\jclisttab\tx2520{\*\pn \pnlvlbody\ilvl0\ls7\pnrnot0\pndec }\ls7\adjustright \fs20\cgrid \sbasedon0 \snext87 \sautoupd List Bullet 6;} +{\s87\fi-360\li2880\widctlpar\jclisttab\tx2880{\*\pn \pnlvlbody\ilvl0\ls8\pnrnot0\pndec }\ls8\adjustright \fs20\cgrid \sbasedon0 \snext88 \sautoupd List Bullet 7;} +{\s88\fi-360\li3240\widctlpar\jclisttab\tx3240{\*\pn \pnlvlbody\ilvl0\ls9\pnrnot0\pndec }\ls9\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 8;} +{\s89\fi-360\li3600\widctlpar\jclisttab\tx3600{\*\pn \pnlvlbody\ilvl0\ls10\pnrnot0\pndec }\ls10\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 9;} +{\s90\fi-360\li360\widctlpar\fs20\cgrid \sbasedon0 \snext91 \sautoupd List Enum 0;} +{\s91\fi-360\li720\widctlpar\fs20\cgrid \sbasedon0 \snext92 \sautoupd List Enum 1;} +{\s92\fi-360\li1080\widctlpar\fs20\cgrid \sbasedon0 \snext93 \sautoupd List Enum 2;} +{\s93\fi-360\li1440\widctlpar\fs20\cgrid \sbasedon0 \snext94 \sautoupd List Enum 3;} +{\s94\fi-360\li1800\widctlpar\fs20\cgrid \sbasedon0 \snext95 \sautoupd List Enum 4;} +{\s95\fi-360\li2160\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s96\fi-360\li2520\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s97\fi-360\li2880\widctlpar\fs20\cgrid \sbasedon0 \snext98 \sautoupd List Enum 7;} +{\s98\fi-360\li3240\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 8;} +{\s99\fi-360\li3600\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 9;} +} +{\comment begin body} +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ Directory Reference\par \pard\plain +{\tc\tcl2 \v /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ Directory Reference} +{\xe \v /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ Directory Reference} +{\bkmkstart AAAAAAABGI} +{\bkmkend AAAAAAABGI} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Files\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Camera.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Camera} class. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Cameras.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the '{\b Cameras}' class, a collection of {\b Camera} objects. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Engine.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Engine} class. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b eric_rules.hpp}\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b globals.h}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Useful global constants, macros, debugging utilities and preprocessor settings. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b glut_callbacks.h}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b glut_callbacks.h} provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b InitShader.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Provides a wrapper utility for quickly linking against glsl programs. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b KinectInator.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Eric. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b mat.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for the mat2, mat3, and mat4 classes and related utilities. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b model.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for Functions related to constructing simple geometry. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b modelFunctions.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Zach. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Object.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Object} class. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b ObjLoader.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for functions for reading in geometry from .OBJ files. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b OpenGL.h}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Core OpenGL includes needed for basic functionality. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Particle.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Needs documentation from NVV/CC. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b ParticleSystem.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TODO: Documentation from CC/NVV. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b platform.h}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Covertly re-defines functions that conflict between Linux and OSX. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Scene.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Scene} class. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Screen.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Screen} class header file. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b SpelchkCamera.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Team Spelchk {\b Camera} Header. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Texture.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Texturing Module! }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Timer.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Timer} class header. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b TransCache.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the "Transformation Cache" class. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b Transformation.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for {\b Transformation}, {\b RotMat}, {\b TransMat} and {\b ScaleMat}. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b vec.hpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for vec2, vec3, and vec4. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b WiiUtil.h}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Wii Support Utility Header. }}} +} +} \ No newline at end of file diff --git a/Doxygen/Docs/rtf/dir_ba210d1fa67db7bee1bb22e0a3c11d9f.rtf b/Doxygen/Docs/rtf/dir_ba210d1fa67db7bee1bb22e0a3c11d9f.rtf new file mode 100644 index 00000000..52ee3146 --- /dev/null +++ b/Doxygen/Docs/rtf/dir_ba210d1fa67db7bee1bb22e0a3c11d9f.rtf @@ -0,0 +1,128 @@ +{\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033 +{\fonttbl {\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;} +{\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;} +{\f3\froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;} +} +{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;} +{\stylesheet +{\widctlpar\adjustright \fs20\cgrid \snext0 Normal;} +{\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid \sbasedon0 \snext0 heading 1;} +{\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid \sbasedon0 \snext0 heading 2;} +{\s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid \sbasedon0 \snext0 heading 3;} +{\s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 4;}{\*\cs10 \additive Default Paragraph Font;} +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 5;}{\*\cs10 \additive Default Paragraph Font;} +{\s15\qc\sb240\sa60\widctlpar\outlinelevel0\adjustright \b\f1\fs32\kerning28\cgrid \sbasedon0 \snext15 Title;} +{\s16\qc\sa60\widctlpar\outlinelevel1\adjustright \f1\cgrid \sbasedon0 \snext16 Subtitle;} +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid \sbasedon0 \snext17 BodyText;} +{\s18\widctlpar\fs22\cgrid \sbasedon0 \snext18 DenseText;} +{\s28\widctlpar\tqc\tx4320\tqr\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext28 header;} +{\s29\widctlpar\tqc\tx4320\tqr\tx8640\qr\adjustright \fs20\cgrid \sbasedon0 \snext29 footer;} +{\s30\li360\sa60\sb120\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext30 GroupHeader;} +{\s40\li0\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext41 Code Example 0;} +{\s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext42 Code Example 1;} +{\s42\li720\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext43 Code Example 2;} +{\s43\li1080\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext44 Code Example 3;} +{\s44\li1440\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext45 Code Example 4;} +{\s45\li1800\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext46 Code Example 5;} +{\s46\li2160\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext47 Code Example 6;} +{\s47\li2520\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext48 Code Example 7;} +{\s48\li2880\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 8;} +{\s49\li3240\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 9;} +{\s50\li0\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext51 List Continue 0;} +{\s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext52 List Continue 1;} +{\s52\li720\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext53 List Continue 2;} +{\s53\li1080\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext54 List Continue 3;} +{\s54\li1440\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext55 List Continue 4;} +{\s55\li1800\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext56 List Continue 5;} +{\s56\li2160\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext57 List Continue 6;} +{\s57\li2520\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext58 List Continue 7;} +{\s58\li2880\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 8;} +{\s59\li3240\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 9;} +{\s60\li0\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext61 DescContinue 0;} +{\s61\li360\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext62 DescContinue 1;} +{\s62\li720\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext63 DescContinue 2;} +{\s63\li1080\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext64 DescContinue 3;} +{\s64\li1440\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext65 DescContinue 4;} +{\s65\li1800\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext66 DescContinue 5;} +{\s66\li2160\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext67 DescContinue 6;} +{\s67\li2520\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext68 DescContinue 7;} +{\s68\li2880\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 8;} +{\s69\li3240\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 9;} +{\s70\li0\sa30\sb30\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext81 LatexTOC 0;} +{\s71\li360\sa27\sb27\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext82 LatexTOC 1;} +{\s72\li720\sa24\sb24\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext83 LatexTOC 2;} +{\s73\li1080\sa21\sb21\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext84 LatexTOC 3;} +{\s74\li1440\sa18\sb18\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext85 LatexTOC 4;} +{\s75\li1800\sa15\sb15\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext86 LatexTOC 5;} +{\s76\li2160\sa12\sb12\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext87 LatexTOC 6;} +{\s77\li2520\sa9\sb9\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext88 LatexTOC 7;} +{\s78\li2880\sa6\sb6\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 8;} +{\s79\li3240\sa3\sb3\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 9;} +{\s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid \sbasedon0 \snext81 \sautoupd List Bullet 0;} +{\s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid \sbasedon0 \snext82 \sautoupd List Bullet 1;} +{\s82\fi-360\li1080\widctlpar\jclisttab\tx1080{\*\pn \pnlvlbody\ilvl0\ls3\pnrnot0\pndec }\ls3\adjustright \fs20\cgrid \sbasedon0 \snext83 \sautoupd List Bullet 2;} +{\s83\fi-360\li1440\widctlpar\jclisttab\tx1440{\*\pn \pnlvlbody\ilvl0\ls4\pnrnot0\pndec }\ls4\adjustright \fs20\cgrid \sbasedon0 \snext84 \sautoupd List Bullet 3;} +{\s84\fi-360\li1800\widctlpar\jclisttab\tx1800{\*\pn \pnlvlbody\ilvl0\ls5\pnrnot0\pndec }\ls5\adjustright \fs20\cgrid \sbasedon0 \snext85 \sautoupd List Bullet 4;} +{\s85\fi-360\li2160\widctlpar\jclisttab\tx2160{\*\pn \pnlvlbody\ilvl0\ls6\pnrnot0\pndec }\ls6\adjustright \fs20\cgrid \sbasedon0 \snext86 \sautoupd List Bullet 5;} +{\s86\fi-360\li2520\widctlpar\jclisttab\tx2520{\*\pn \pnlvlbody\ilvl0\ls7\pnrnot0\pndec }\ls7\adjustright \fs20\cgrid \sbasedon0 \snext87 \sautoupd List Bullet 6;} +{\s87\fi-360\li2880\widctlpar\jclisttab\tx2880{\*\pn \pnlvlbody\ilvl0\ls8\pnrnot0\pndec }\ls8\adjustright \fs20\cgrid \sbasedon0 \snext88 \sautoupd List Bullet 7;} +{\s88\fi-360\li3240\widctlpar\jclisttab\tx3240{\*\pn \pnlvlbody\ilvl0\ls9\pnrnot0\pndec }\ls9\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 8;} +{\s89\fi-360\li3600\widctlpar\jclisttab\tx3600{\*\pn \pnlvlbody\ilvl0\ls10\pnrnot0\pndec }\ls10\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 9;} +{\s90\fi-360\li360\widctlpar\fs20\cgrid \sbasedon0 \snext91 \sautoupd List Enum 0;} +{\s91\fi-360\li720\widctlpar\fs20\cgrid \sbasedon0 \snext92 \sautoupd List Enum 1;} +{\s92\fi-360\li1080\widctlpar\fs20\cgrid \sbasedon0 \snext93 \sautoupd List Enum 2;} +{\s93\fi-360\li1440\widctlpar\fs20\cgrid \sbasedon0 \snext94 \sautoupd List Enum 3;} +{\s94\fi-360\li1800\widctlpar\fs20\cgrid \sbasedon0 \snext95 \sautoupd List Enum 4;} +{\s95\fi-360\li2160\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s96\fi-360\li2520\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s97\fi-360\li2880\widctlpar\fs20\cgrid \sbasedon0 \snext98 \sautoupd List Enum 7;} +{\s98\fi-360\li3240\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 8;} +{\s99\fi-360\li3600\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 9;} +} +{\comment begin body} +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/ Directory Reference\par \pard\plain +{\tc\tcl2 \v /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/ Directory Reference} +{\xe \v /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/ Directory Reference} +{\bkmkstart AAAAAAABGH} +{\bkmkend AAAAAAABGH} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Files\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b eric_rules.cpp}\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b glut_callbacks.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +glut_callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b InitShader.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Provides a wrapper utility for quickly linking against glsl programs. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b model.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Functions related to constructing simple geometry. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b modelFunctions.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Zach. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b ObjLoader.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for reading in geometry from .OBJ files. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b WiiUtil.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Wii Remote Utility Files. }}} +} +} \ No newline at end of file diff --git a/Doxygen/Docs/rtf/dir_c773cd679a84e10ba93793c9e581b8a0.rtf b/Doxygen/Docs/rtf/dir_c773cd679a84e10ba93793c9e581b8a0.rtf new file mode 100644 index 00000000..a33a185a --- /dev/null +++ b/Doxygen/Docs/rtf/dir_c773cd679a84e10ba93793c9e581b8a0.rtf @@ -0,0 +1,136 @@ +{\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033 +{\fonttbl {\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;} +{\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;} +{\f3\froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;} +} +{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;} +{\stylesheet +{\widctlpar\adjustright \fs20\cgrid \snext0 Normal;} +{\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid \sbasedon0 \snext0 heading 1;} +{\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid \sbasedon0 \snext0 heading 2;} +{\s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid \sbasedon0 \snext0 heading 3;} +{\s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 4;}{\*\cs10 \additive Default Paragraph Font;} +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 5;}{\*\cs10 \additive Default Paragraph Font;} +{\s15\qc\sb240\sa60\widctlpar\outlinelevel0\adjustright \b\f1\fs32\kerning28\cgrid \sbasedon0 \snext15 Title;} +{\s16\qc\sa60\widctlpar\outlinelevel1\adjustright \f1\cgrid \sbasedon0 \snext16 Subtitle;} +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid \sbasedon0 \snext17 BodyText;} +{\s18\widctlpar\fs22\cgrid \sbasedon0 \snext18 DenseText;} +{\s28\widctlpar\tqc\tx4320\tqr\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext28 header;} +{\s29\widctlpar\tqc\tx4320\tqr\tx8640\qr\adjustright \fs20\cgrid \sbasedon0 \snext29 footer;} +{\s30\li360\sa60\sb120\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext30 GroupHeader;} +{\s40\li0\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext41 Code Example 0;} +{\s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext42 Code Example 1;} +{\s42\li720\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext43 Code Example 2;} +{\s43\li1080\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext44 Code Example 3;} +{\s44\li1440\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext45 Code Example 4;} +{\s45\li1800\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext46 Code Example 5;} +{\s46\li2160\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext47 Code Example 6;} +{\s47\li2520\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext48 Code Example 7;} +{\s48\li2880\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 8;} +{\s49\li3240\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 9;} +{\s50\li0\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext51 List Continue 0;} +{\s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext52 List Continue 1;} +{\s52\li720\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext53 List Continue 2;} +{\s53\li1080\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext54 List Continue 3;} +{\s54\li1440\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext55 List Continue 4;} +{\s55\li1800\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext56 List Continue 5;} +{\s56\li2160\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext57 List Continue 6;} +{\s57\li2520\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext58 List Continue 7;} +{\s58\li2880\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 8;} +{\s59\li3240\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 9;} +{\s60\li0\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext61 DescContinue 0;} +{\s61\li360\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext62 DescContinue 1;} +{\s62\li720\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext63 DescContinue 2;} +{\s63\li1080\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext64 DescContinue 3;} +{\s64\li1440\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext65 DescContinue 4;} +{\s65\li1800\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext66 DescContinue 5;} +{\s66\li2160\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext67 DescContinue 6;} +{\s67\li2520\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext68 DescContinue 7;} +{\s68\li2880\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 8;} +{\s69\li3240\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 9;} +{\s70\li0\sa30\sb30\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext81 LatexTOC 0;} +{\s71\li360\sa27\sb27\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext82 LatexTOC 1;} +{\s72\li720\sa24\sb24\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext83 LatexTOC 2;} +{\s73\li1080\sa21\sb21\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext84 LatexTOC 3;} +{\s74\li1440\sa18\sb18\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext85 LatexTOC 4;} +{\s75\li1800\sa15\sb15\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext86 LatexTOC 5;} +{\s76\li2160\sa12\sb12\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext87 LatexTOC 6;} +{\s77\li2520\sa9\sb9\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext88 LatexTOC 7;} +{\s78\li2880\sa6\sb6\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 8;} +{\s79\li3240\sa3\sb3\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 9;} +{\s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid \sbasedon0 \snext81 \sautoupd List Bullet 0;} +{\s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid \sbasedon0 \snext82 \sautoupd List Bullet 1;} +{\s82\fi-360\li1080\widctlpar\jclisttab\tx1080{\*\pn \pnlvlbody\ilvl0\ls3\pnrnot0\pndec }\ls3\adjustright \fs20\cgrid \sbasedon0 \snext83 \sautoupd List Bullet 2;} +{\s83\fi-360\li1440\widctlpar\jclisttab\tx1440{\*\pn \pnlvlbody\ilvl0\ls4\pnrnot0\pndec }\ls4\adjustright \fs20\cgrid \sbasedon0 \snext84 \sautoupd List Bullet 3;} +{\s84\fi-360\li1800\widctlpar\jclisttab\tx1800{\*\pn \pnlvlbody\ilvl0\ls5\pnrnot0\pndec }\ls5\adjustright \fs20\cgrid \sbasedon0 \snext85 \sautoupd List Bullet 4;} +{\s85\fi-360\li2160\widctlpar\jclisttab\tx2160{\*\pn \pnlvlbody\ilvl0\ls6\pnrnot0\pndec }\ls6\adjustright \fs20\cgrid \sbasedon0 \snext86 \sautoupd List Bullet 5;} +{\s86\fi-360\li2520\widctlpar\jclisttab\tx2520{\*\pn \pnlvlbody\ilvl0\ls7\pnrnot0\pndec }\ls7\adjustright \fs20\cgrid \sbasedon0 \snext87 \sautoupd List Bullet 6;} +{\s87\fi-360\li2880\widctlpar\jclisttab\tx2880{\*\pn \pnlvlbody\ilvl0\ls8\pnrnot0\pndec }\ls8\adjustright \fs20\cgrid \sbasedon0 \snext88 \sautoupd List Bullet 7;} +{\s88\fi-360\li3240\widctlpar\jclisttab\tx3240{\*\pn \pnlvlbody\ilvl0\ls9\pnrnot0\pndec }\ls9\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 8;} +{\s89\fi-360\li3600\widctlpar\jclisttab\tx3600{\*\pn \pnlvlbody\ilvl0\ls10\pnrnot0\pndec }\ls10\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 9;} +{\s90\fi-360\li360\widctlpar\fs20\cgrid \sbasedon0 \snext91 \sautoupd List Enum 0;} +{\s91\fi-360\li720\widctlpar\fs20\cgrid \sbasedon0 \snext92 \sautoupd List Enum 1;} +{\s92\fi-360\li1080\widctlpar\fs20\cgrid \sbasedon0 \snext93 \sautoupd List Enum 2;} +{\s93\fi-360\li1440\widctlpar\fs20\cgrid \sbasedon0 \snext94 \sautoupd List Enum 3;} +{\s94\fi-360\li1800\widctlpar\fs20\cgrid \sbasedon0 \snext95 \sautoupd List Enum 4;} +{\s95\fi-360\li2160\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s96\fi-360\li2520\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s97\fi-360\li2880\widctlpar\fs20\cgrid \sbasedon0 \snext98 \sautoupd List Enum 7;} +{\s98\fi-360\li3240\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 8;} +{\s99\fi-360\li3600\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 9;} +} +{\comment begin body} +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/ Directory Reference\par \pard\plain +{\tc\tcl2 \v /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/ Directory Reference} +{\xe \v /home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/ Directory Reference} +{\bkmkstart AAAAAAABGF} +{\bkmkend AAAAAAABGF} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Files\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b ds.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Dual-shader demo. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b melt.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Melting Candle Demo. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b MONOLITH.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a monolith of every component. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b morphlite.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a derivative of HSC's Fall 2012 project. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b partTest.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a derivative of our main project file, fly.cpp. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b raytrace1.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Geometric Raytracing Demo. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b terrain.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a trimmed version of our Fall 2012 project. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +file {\b zachMorphDemo.cpp}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Zach's Bottle Morphing Demo. }}} +} +} \ No newline at end of file diff --git a/Doxygen/Docs/rtf/refman.rtf b/Doxygen/Docs/rtf/refman.rtf new file mode 100644 index 00000000..65888232 --- /dev/null +++ b/Doxygen/Docs/rtf/refman.rtf @@ -0,0 +1,18862 @@ +{\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033 +{\fonttbl {\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;} +{\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;} +{\f3\froman\fcharset2\fprq2{\*\panose 05050102010706020507}Symbol;} +} +{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;} +{\stylesheet +{\widctlpar\adjustright \fs20\cgrid \snext0 Normal;} +{\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid \sbasedon0 \snext0 heading 1;} +{\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid \sbasedon0 \snext0 heading 2;} +{\s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid \sbasedon0 \snext0 heading 3;} +{\s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 4;}{\*\cs10 \additive Default Paragraph Font;} +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext0 heading 5;}{\*\cs10 \additive Default Paragraph Font;} +{\s15\qc\sb240\sa60\widctlpar\outlinelevel0\adjustright \b\f1\fs32\kerning28\cgrid \sbasedon0 \snext15 Title;} +{\s16\qc\sa60\widctlpar\outlinelevel1\adjustright \f1\cgrid \sbasedon0 \snext16 Subtitle;} +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid \sbasedon0 \snext17 BodyText;} +{\s18\widctlpar\fs22\cgrid \sbasedon0 \snext18 DenseText;} +{\s28\widctlpar\tqc\tx4320\tqr\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext28 header;} +{\s29\widctlpar\tqc\tx4320\tqr\tx8640\qr\adjustright \fs20\cgrid \sbasedon0 \snext29 footer;} +{\s30\li360\sa60\sb120\keepn\widctlpar\adjustright \b\f1\fs20\cgrid \sbasedon0 \snext30 GroupHeader;} +{\s40\li0\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext41 Code Example 0;} +{\s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext42 Code Example 1;} +{\s42\li720\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext43 Code Example 2;} +{\s43\li1080\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext44 Code Example 3;} +{\s44\li1440\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext45 Code Example 4;} +{\s45\li1800\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext46 Code Example 5;} +{\s46\li2160\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext47 Code Example 6;} +{\s47\li2520\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext48 Code Example 7;} +{\s48\li2880\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 8;} +{\s49\li3240\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \sbasedon0 \snext49 Code Example 9;} +{\s50\li0\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext51 List Continue 0;} +{\s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext52 List Continue 1;} +{\s52\li720\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext53 List Continue 2;} +{\s53\li1080\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext54 List Continue 3;} +{\s54\li1440\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext55 List Continue 4;} +{\s55\li1800\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext56 List Continue 5;} +{\s56\li2160\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext57 List Continue 6;} +{\s57\li2520\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext58 List Continue 7;} +{\s58\li2880\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 8;} +{\s59\li3240\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid \sbasedon0 \snext59 List Continue 9;} +{\s60\li0\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext61 DescContinue 0;} +{\s61\li360\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext62 DescContinue 1;} +{\s62\li720\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext63 DescContinue 2;} +{\s63\li1080\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext64 DescContinue 3;} +{\s64\li1440\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext65 DescContinue 4;} +{\s65\li1800\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext66 DescContinue 5;} +{\s66\li2160\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext67 DescContinue 6;} +{\s67\li2520\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext68 DescContinue 7;} +{\s68\li2880\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 8;} +{\s69\li3240\widctlpar\ql\adjustright \fs20\cgrid \sbasedon0 \snext69 DescContinue 9;} +{\s70\li0\sa30\sb30\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext81 LatexTOC 0;} +{\s71\li360\sa27\sb27\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext82 LatexTOC 1;} +{\s72\li720\sa24\sb24\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext83 LatexTOC 2;} +{\s73\li1080\sa21\sb21\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext84 LatexTOC 3;} +{\s74\li1440\sa18\sb18\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext85 LatexTOC 4;} +{\s75\li1800\sa15\sb15\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext86 LatexTOC 5;} +{\s76\li2160\sa12\sb12\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext87 LatexTOC 6;} +{\s77\li2520\sa9\sb9\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext88 LatexTOC 7;} +{\s78\li2880\sa6\sb6\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 8;} +{\s79\li3240\sa3\sb3\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid \sbasedon0 \snext89 LatexTOC 9;} +{\s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid \sbasedon0 \snext81 \sautoupd List Bullet 0;} +{\s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid \sbasedon0 \snext82 \sautoupd List Bullet 1;} +{\s82\fi-360\li1080\widctlpar\jclisttab\tx1080{\*\pn \pnlvlbody\ilvl0\ls3\pnrnot0\pndec }\ls3\adjustright \fs20\cgrid \sbasedon0 \snext83 \sautoupd List Bullet 2;} +{\s83\fi-360\li1440\widctlpar\jclisttab\tx1440{\*\pn \pnlvlbody\ilvl0\ls4\pnrnot0\pndec }\ls4\adjustright \fs20\cgrid \sbasedon0 \snext84 \sautoupd List Bullet 3;} +{\s84\fi-360\li1800\widctlpar\jclisttab\tx1800{\*\pn \pnlvlbody\ilvl0\ls5\pnrnot0\pndec }\ls5\adjustright \fs20\cgrid \sbasedon0 \snext85 \sautoupd List Bullet 4;} +{\s85\fi-360\li2160\widctlpar\jclisttab\tx2160{\*\pn \pnlvlbody\ilvl0\ls6\pnrnot0\pndec }\ls6\adjustright \fs20\cgrid \sbasedon0 \snext86 \sautoupd List Bullet 5;} +{\s86\fi-360\li2520\widctlpar\jclisttab\tx2520{\*\pn \pnlvlbody\ilvl0\ls7\pnrnot0\pndec }\ls7\adjustright \fs20\cgrid \sbasedon0 \snext87 \sautoupd List Bullet 6;} +{\s87\fi-360\li2880\widctlpar\jclisttab\tx2880{\*\pn \pnlvlbody\ilvl0\ls8\pnrnot0\pndec }\ls8\adjustright \fs20\cgrid \sbasedon0 \snext88 \sautoupd List Bullet 7;} +{\s88\fi-360\li3240\widctlpar\jclisttab\tx3240{\*\pn \pnlvlbody\ilvl0\ls9\pnrnot0\pndec }\ls9\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 8;} +{\s89\fi-360\li3600\widctlpar\jclisttab\tx3600{\*\pn \pnlvlbody\ilvl0\ls10\pnrnot0\pndec }\ls10\adjustright \fs20\cgrid \sbasedon0 \snext89 \sautoupd List Bullet 9;} +{\s90\fi-360\li360\widctlpar\fs20\cgrid \sbasedon0 \snext91 \sautoupd List Enum 0;} +{\s91\fi-360\li720\widctlpar\fs20\cgrid \sbasedon0 \snext92 \sautoupd List Enum 1;} +{\s92\fi-360\li1080\widctlpar\fs20\cgrid \sbasedon0 \snext93 \sautoupd List Enum 2;} +{\s93\fi-360\li1440\widctlpar\fs20\cgrid \sbasedon0 \snext94 \sautoupd List Enum 3;} +{\s94\fi-360\li1800\widctlpar\fs20\cgrid \sbasedon0 \snext95 \sautoupd List Enum 4;} +{\s95\fi-360\li2160\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s96\fi-360\li2520\widctlpar\fs20\cgrid \sbasedon0 \snext96 \sautoupd List Enum 5;} +{\s97\fi-360\li2880\widctlpar\fs20\cgrid \sbasedon0 \snext98 \sautoupd List Enum 7;} +{\s98\fi-360\li3240\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 8;} +{\s99\fi-360\li3600\widctlpar\fs20\cgrid \sbasedon0 \snext99 \sautoupd List Enum 9;} +} +{\comment begin body} +{\info +{\title {\comment HyperGrafx {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +31337 \par +}}HyperGrafx} +{\comment Generated byDoxgyen. } +{\creatim \yr2013\mo3\dy29\hr18\min41\sec22} +}\pard\plain +\sectd\pgnlcrm +{\footer \s29\widctlpar\tqc\tx4320\tqr\tx8640\qr\adjustright \fs20\cgrid {\chpgn}} +\pard\plain \s16\qc\sa60\widctlpar\outlinelevel1\adjustright \f1\cgrid +\vertalc\qc\par\par\par\par\par\par\par +\pard\plain \s15\qc\sb240\sa60\widctlpar\outlinelevel0\adjustright \b\f1\fs32\kerning28\cgrid +{\field\fldedit {\*\fldinst TITLE \\*MERGEFORMAT}{\fldrslt TITLE}}\par +\pard\plain \s16\qc\sa60\widctlpar\outlinelevel1\adjustright \f1\cgrid +\par +\par\par\par\par\par\par\par\par\par\par\par\par +\pard\plain \s16\qc\sa60\widctlpar\outlinelevel1\adjustright \f1\cgrid +{\field\fldedit {\*\fldinst AUTHOR \\*MERGEFORMAT}{\fldrslt AUTHOR}}\par +Version 31337\par{\field\fldedit {\*\fldinst CREATEDATE \\*MERGEFORMAT}{\fldrslt CREATEDATE}}\par +\page\page\vertalt +\pard\plain +\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid Table of Contents\par +\pard\plain \par +{\field\fldedit {\*\fldinst TOC \\f \\*MERGEFORMAT}{\fldrslt Table of contents}}\par +\pard\plain +\sect \sbkpage \pgndec \pgnrestart +\sect \sectd \sbknone +{\footer \s29\widctlpar\tqc\tx4320\tqr\tx8640\qr\adjustright \fs20\cgrid {\chpgn}} + +\pard\plain \sect\sbkpage +\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid +Class Index\par \pard\plain +{\tc \v Hierarchical Index} +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Class Hierarchy\par \pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid This inheritance list is sorted roughly, but not completely, alphabetically:} +{ +\par +\pard\plain \s71\li360\sa27\sb27\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid +Engine\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAARO \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +TiemSpelchk::Lurn2SpielNub\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABFH \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +Angel::mat2\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAZM \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +Angel::mat3\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABAK \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +Angel::mat4\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABBI \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +Particle\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAATA \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +Scene\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAARD \\*MERGEFORMAT}{\fldrslt pagenum}} +{ +\par +\pard\plain \s72\li720\sa24\sb24\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid +Cameras\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAQX \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +Object\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAASF \\*MERGEFORMAT}{\fldrslt pagenum}} +{ +\par +\pard\plain \s73\li1080\sa21\sb21\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid +Camera\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAML \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +ParticleSystem\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAATS \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +}\par +}\par +Screen\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAVD \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +SpelchkCamera\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAVR \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +Texture\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAXN \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +Timer\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAXW \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +TransCache\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAYI \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +Transformation\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAYY \\*MERGEFORMAT}{\fldrslt pagenum}} +{ +\par +\pard\plain \s72\li720\sa24\sb24\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid +RotMat\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAUK \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +ScaleMat\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAUU \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +TransMat\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAYZ \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +}\par +Angel::vec2\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABCH \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +Angel::vec3\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABDF \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +Angel::vec4\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABEF \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +WiiPollData\tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAZH \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +} +\pard\plain \sect\sbkpage +\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid +Class Index\par \pard\plain +{\tc \v Class Index} +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Class List\par \pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid Here are the classes, structs, unions and interfaces with brief descriptions:} +{ +\par +\pard\plain \s71\li360\sa27\sb27\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid +{\b {\b Camera} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAML \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Cameras} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Group of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAQX \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Engine} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Singleton-style class which helps keep track of instances of important objects (for {\b Cameras}, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAARO \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b TiemSpelchk::Lurn2SpielNub} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABFH \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Angel::mat2} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Mat2 - 2D square matrix })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAZM \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Angel::mat3} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Mat3 - 3D square matrix })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABAK \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Angel::mat4} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Mat4 - 4D square matrix })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABBI \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Object} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Object} Class: Renderable {\b Object} Implementation })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAASF \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Particle} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TODO: You know you've been bad })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAATA \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b ParticleSystem} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAATS \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b RotMat} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Rotations })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAUK \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b ScaleMat} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAUU \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Scene} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Scene} object keeps track of a list of objects considered to be "children" of the {\b Scene} })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAARD \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Screen} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAVD \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b SpelchkCamera} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAVR \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Texture} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAXN \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Timer} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAXW \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b TransCache} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAYI \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Transformation} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAYY \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b TransMat} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Translations })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAYZ \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Angel::vec2} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABCH \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Angel::vec3} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABDF \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Angel::vec4} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABEF \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b WiiPollData} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAZH \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +\par} +\pard\plain \sect\sbkpage +\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid +File Index\par \pard\plain +{\tc \v File Index} +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +File List\par \pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid Here is a list of all documented files with brief descriptions:} +{ +\par +\pard\plain \s71\li360\sa27\sb27\widctlpar\tqr\tldot\tx8640\adjustright \fs20\cgrid +{\b {\b Camera.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Camera} class })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAAA \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Camera.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Camera} class })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAAC \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Cameras.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Cameras} class, which is a container for {\b Camera} objects })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAAD \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Cameras.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the '{\b Cameras}' class, a collection of {\b Camera} objects })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAAE \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b ds.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Dual-shader demo })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAAF \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Engine.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Engine} class })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAAM \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Engine.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Engine} class })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAAN \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b eric_rules.cpp} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABGK \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b eric_rules.hpp} } \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAABGL \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b globals.h} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Useful global constants, macros, debugging utilities and preprocessor settings })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAAP \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b glut_callbacks.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Glut_callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAAZ \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b glut_callbacks.h} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Glut_callbacks.h provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAABH \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b InitShader.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Provides a wrapper utility for quickly linking against glsl programs })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAABP \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b InitShader.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Provides a wrapper utility for quickly linking against glsl programs })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAABS \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b KinectInator.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Eric })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAABU \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b KinectInator.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Eric })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAACE \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b mat.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the mat2, mat3, and mat4 classes })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAACM \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b mat.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for the mat2, mat3, and mat4 classes and related utilities })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAADQ \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b melt.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Melting Candle Demo })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAADS \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b model.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Functions related to constructing simple geometry })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAEP \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b model.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for Functions related to constructing simple geometry })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAFN \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b modelFunctions.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Zach })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGA \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b modelFunctions.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Zach })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGE \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b MONOLITH.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a monolith of every component })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGI \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b morphlite.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a derivative of HSC's Fall 2012 project })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGP \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Object.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Object} class })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGW \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Object.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Object} class })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGX \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b ObjLoader.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for reading in geometry from .OBJ files })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAGY \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b ObjLoader.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for functions for reading in geometry from .OBJ files })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHA \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b OpenGL.h} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Core OpenGL includes needed for basic functionality })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHB \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Particle.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Needs documentation from NVV/CC })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHC \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Particle.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Needs documentation from NVV/CC })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHD \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b ParticleSystem.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b ParticleSystem} implementation })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHE \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b ParticleSystem.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TODO: Documentation from CC/NVV })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHF \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b partTest.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a derivative of our main project file, fly.cpp })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHH \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b platform.h} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Covertly re-defines functions that conflict between Linux and OSX })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHS \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b raytrace1.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Geometric Raytracing Demo })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAHU \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Scene.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Scene} graph implementation })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAIY \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Scene.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Scene} class })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAJA \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Screen.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Screen} class implementation })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAJB \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Screen.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Screen} class header file })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAJC \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b SpelchkCamera.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Tiem Spelchk {\b Camera} Implementation })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAJD \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b SpelchkCamera.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Team Spelchk {\b Camera} Header })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAJE \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b terrain.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a trimmed version of our Fall 2012 project })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAJF \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Texture.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Texturing Module! })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAJX \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Texture.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Texturing Module! })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAJY \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Timer.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for global {\b Timer} object })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAJZ \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Timer.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Timer} class header })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAKE \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b TransCache.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b TransCache} Implementation })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAKH \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b TransCache.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the "Transformation Cache" class })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAKI \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Transformation.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Transformation} Superclass Implementation })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAKJ \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b Transformation.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for {\b Transformation}, {\b RotMat}, {\b TransMat} and {\b ScaleMat} })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAKL \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b vec.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the vec2, vec3, and vec4 classes })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAKN \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b vec.hpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for vec2, vec3, and vec4 })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAALJ \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b WiiUtil.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Wii Remote Utility Files })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAALM \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b WiiUtil.h} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Wii Support Utility Header })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAALV \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +{\b {\b zachMorphDemo.cpp} ({\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Zach's Bottle Morphing Demo })} \tab {\field\fldedit {\*\fldinst PAGEREF AAAAAAAAMD \\*MERGEFORMAT}{\fldrslt pagenum}} +\par +\par} +\pard\plain \sect\sbkpage +\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid +Class Documentation{\tc \v Class Documentation} +\par \pard\plain +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Camera Class Reference\par \pard\plain +{\tc\tcl2 \v Camera} +{\xe \v Camera} +{\bkmkstart AAAAAAAAML} +{\bkmkend AAAAAAAAML} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Camera} class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state. }}\par +{ +{\f2 #include }}\par +Inheritance diagram for Camera:{ +\pard\plain +\par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "class_camera.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Types\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +enum {\b Direction} \{ {\b DIR_FORWARD}, +{\b DIR_BACKWARD}, +{\b DIR_LEFT}, +{\b DIR_RIGHT}, +{\b DIR_UP}, +{\b DIR_DOWN}, +{\b DIR_END}, +{\b DIR_BEGIN} = DIR_FORWARD + \}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The Direction enumeration lists all of the possible directions the camera may travel in. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +enum {\b ViewType} \{ {\b PERSPECTIVE}, +{\b ORTHO}, +{\b ORTHO2D}, +{\b IDENTITY}, +{\b FRUSTUM} + \}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +enum {\b Uniforms} \{ {\b BEGIN} = Object::END, +{\b TRANSLATION} = BEGIN, +{\b ROTATION}, +{\b VIEW}, +{\b CTM}, +{\b END} + \}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The glsl_var enumeration lists the various variables the {\b Camera} class is capable of sending to the shader. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef enum {\b Camera::Direction} {\b Direction}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The Direction enumeration lists all of the possible directions the camera may travel in. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef enum {\b Camera::ViewType} {\b ViewType}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef enum {\b Camera::Uniforms} {\b Uniform}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The glsl_var enumeration lists the various variables the {\b Camera} class is capable of sending to the shader. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef const unsigned int {\b UniformEnum}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Object} class takes advantage of child-extendible enumerations. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef std::map\par +< {\b Object::UniformEnum}, \par +std::string > {\b UniformMap}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Camera} (const std::string &{\b name}, GLuint gShader, float {\b x}=0.0, float {\b y}=0.0, float {\b z}=0.0)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Initialization Constructor; sets the x,y,z coordinates explicitly. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Camera} (const std::string &{\b name}, GLuint gShader, {\b vec3} &in)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Initialization Constructor, uses a vec3 as its initial coordinates. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Camera} (const std::string &{\b name}, GLuint gShader, {\b vec4} &in)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Initialization Constructor, uses a vec4 as its initial coordinates. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual {\b ~Camera} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Default destructor. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b x} (const float &in, const bool &update=true)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the x coordinate of the camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b y} (const float &in, const bool &update=true)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the y coordinate of the camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b z} (const float &in, const bool &update=true)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the z coordinate of the camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b pos} (const float &{\b x}, const float &{\b y}, const float &{\b z}, const bool &update=true)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the absolute position of the camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b pos} (const {\b vec3} &in, const bool &update=true)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the absolute position of the camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b pos} (const {\b vec4} &in, const bool &update=true)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the absolute position of the camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b dX} (const float &by, const bool &update=true)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the x axis. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b dY} (const float &by, const bool &update=true)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the y axis. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b dZ} (const float &by, const bool &update=true)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the z axis. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b dPos} (const float &{\b x}, const float &{\b y}, const float &{\b z})\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the x, y, and z axes. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b dPos} (const {\b vec3} &by)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the x, y, and z axes. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b dPos} (const {\b vec4} &by)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the x, y, and z axes. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b fieldOfView} (const float &fovy)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +fieldOfView sets the current camera Field-of-view angle. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b fieldOfView} (void) const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b fieldOfView()} gets the current camera Field-of-view angle. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b adjustFieldOfView} (const float &by)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +adjustFieldOfView adjusts the field of view angle up or down by an amount. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b changePerspective} (const {\b ViewType} &vType)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +changePerspective changes the current perspective of the camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b refreshPerspective} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +refreshPerspective re-generates the current view/perspective matrix of the camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b viewport} (size_t _X, size_t _Y, size_t _width, size_t _height)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +viewport instructs this camera what his expected drawing window will be. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b sway} (const float &by)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adjusts the camera's x coordinate relative to its current position. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b surge} (const float &by)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adjusts the camera's z coordinate relative to its current position. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b heave} (const float &by)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adjusts the camera's y coordinate relative to its current position. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b pitch} (const float &by, const bool &fixed=false)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +pitch adjusts the x axis rotation; up/down look. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b yaw} (const float &by, const bool &fixed=false)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +yaw adjusts the y axis rotation; left/right look. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b roll} (const float &by, const bool &fixed=false)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +roll adjusts the z axis rotation; tilt or lean left/right. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b move} (const {\b Camera::Direction} &Dir)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +move instructs the camera to begin moving in the specified direction. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b stop} (const {\b Camera::Direction} &Dir)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +stop instructs the camera to stop moving in the specified direction. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b idle} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +idle moves the camera forward in whichever directions it is configured to move in. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b accel} (const {\b vec3} &accel)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +accel takes an input vec2 which represents an acceleration, and applies it to the motion vectors with regards to the maximum acceleration and the maximum speed of the camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b x} (void) const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b x()} returns the current position of the camera in model coordinates. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b y} (void) const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b y()} returns the current position of the camera in model coordinates. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b z} (void) const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b z()} returns the current position of the camera in model coordinates. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec4} {\b pos} (void) const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b pos()} gets the current camera position in model coordinates. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual void {\b send} ({\b Object::UniformEnum} which)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +send will send a glsl variable to the shader. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b view} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +view will instruct OpenGL of the viewport we want, and then send all of our current matrices to the shader for rendering. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b resetRotation} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +resetRotation adjusts the camera's rotational state back to its default state (The Identity Matrix.) }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b draw} (void){\bkmkstart AAAAAAAAMM} +{\bkmkend AAAAAAAAMM} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +draw method: Render this object to the screen _buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b buffer} (void){\bkmkstart AAAAAAAAMN} +{\bkmkend AAAAAAAAMN} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +buffer all of our data: Vertices, TexUVs, Normals, Indices, Colors and Morph Buffers. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b bufferMorphOnly} (void){\bkmkstart AAAAAAAAMO} +{\bkmkend AAAAAAAAMO} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +buffer only the Morph-related buffers. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b drawMode} (GLenum new_mode)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Select a new OpenGL draw mode for this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b texture} (const char **filename)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: This is a junk, nonflexible method. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +const std::string & {\b name} (void) const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the _name of this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual void {\b link} ({\b UniformEnum} which, const std::string &{\b name})\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +link a specified Uniform against the shader's variable _name. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual GLuint {\b shader} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the {\b Object}'s current shader. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual void {\b shader} (GLuint newShader)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the shader to be used by this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b animation} (void(*anim_func)({\b TransCache} &arg))\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Apply an animation callback function to this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b propagate} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Scene-graph changes are not automatically applied to children. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec4} {\b position} () const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain the vec4 representative of the {\b Object}'s current position in space. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b morphTarget} () const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve a pointer to this object's morph target. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b genMorphTarget} (GLuint {\b shader})\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Instantiate a new morphing target. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b morphPercentage} () const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the morph Percentage of this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b morphPercentage} (const float newPercentage)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the morph percentage of this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b destroyMorphTarget} (){\bkmkstart AAAAAAAAMP} +{\bkmkend AAAAAAAAMP} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obliterate the morph target for this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +int {\b numberOfPoints} ()\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the number of _vertices this object has. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b textureID} (GLint newTextureID)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the {\b Texture} ID / {\b Texture} Unit for this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b addObject} (const std::string &objName, GLuint Object_Shader=0)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addObject creates a new {\b Object} with the given name and, optionally, a specified shader and adds it to the {\b Scene} graph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b delObject} (const std::string &objName)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject will remove from the {\b Scene} graph the object with the given name. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b delObject} (void){\bkmkstart AAAAAAAAMQ} +{\bkmkend AAAAAAAAMQ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject with no parameters will delete the first {\b Object} in the {\b Scene}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b popObject} (void){\bkmkstart AAAAAAAAMR} +{\bkmkend AAAAAAAAMR} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +popObject deletes the last {\b Object} in the {\b Scene}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b next} (void){\bkmkstart AAAAAAAAMS} +{\bkmkend AAAAAAAAMS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b prev} (void){\bkmkstart AAAAAAAAMT} +{\bkmkend AAAAAAAAMT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b active} (void) const {\bkmkstart AAAAAAAAMU} +{\bkmkend AAAAAAAAMU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b operator[]} (const std::string &objname){\bkmkstart AAAAAAAAMV} +{\bkmkend AAAAAAAAMV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b insertObject} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Register a created object with the scene graph. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec4} > {\b _vertices}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +vertex buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec3} > {\b _normals}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Normals buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< unsigned int > {\b _indices}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Draw Order Index buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec4} > {\b _colors}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Colors buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec2} > {\b _texUVs}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Texture} Coordinates buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b TransCache} {\b _trans}{\bkmkstart AAAAAAAAMW} +{\bkmkend AAAAAAAAMW} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The _trans cache encompasses the current transformational state of this object. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b deleteObject} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Very seriously delete a child object and free his memory. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::string {\b _name}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +_name is used as an identifying handle for the object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLuint {\b _vao}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Vertex Array {\b Object} handle identifying our buffers/object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b _buffer} [{\b NUM_BUFFERS}]{\bkmkstart AAAAAAAAMX} +{\bkmkend AAAAAAAAMX} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handles to our buffers (Vertices, TexUVs, etc.) }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLenum {\b _drawMode}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Drawing mode for this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b _isTextured}{\bkmkstart AAAAAAAAMY} +{\bkmkend AAAAAAAAMY} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Is this object textured? }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b _morphPercentage}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The percentage of the morph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b _morphTarget}{\bkmkstart AAAAAAAAMZ} +{\bkmkend AAAAAAAAMZ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A pointer to the object we wish to morph into. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::map< {\b Object::UniformEnum}, \par +std::string > {\b _uniformMap}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A map between Uniform variable functions and the actual uniform variable names. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< GLint > {\b _handles}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handles to Uniforms on the shader. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLint {\b _textureID}{\bkmkstart AAAAAAAANA} +{\bkmkend AAAAAAAANA} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The texture unit index this {\b Object} uses. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::list< {\b Object} * > {\b _list}{\bkmkstart AAAAAAAANB} +{\bkmkend AAAAAAAANB} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of rapid propagation of scene-graph changes, {\b Object} pointers are stored in a regular flat list. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::map< std::string, {\b Object} * > {\b _map}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::list< {\b Object} * >::iterator {\b _currentObj}{\bkmkstart AAAAAAAANC} +{\bkmkend AAAAAAAANC} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We keep an iterator on-hand that references what the scene considers to be it's active, current object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b _gShader}{\bkmkstart AAAAAAAAND} +{\bkmkend AAAAAAAAND} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A handle to a shader program to be used as the default shader for new children objects added to the scene. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b adjustRotation} (const {\b mat4} &adjustment, const bool &fixed=false)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +adjustRotation is an internal function that rotates the camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b commonInit} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +commonInit is a private function that initializes local object attributes. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b mat4} {\b _view}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The current view matrix (defaultly perspective) for this camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b TransCache} {\b _ctm}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The Current {\b Transformation} state for this {\b Camera}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b ViewType} {\b _currentView}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The current viewing mode type. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLfloat {\b _speed}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Current Speed of camera motion. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec3} {\b _velocity}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Current Velocity of camera motion. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _speed_cap}{\bkmkstart AAAAAAAANE} +{\bkmkend AAAAAAAANE} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Current Speed Capacity: (speed/MaxSpeed) }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _maxAccel}{\bkmkstart AAAAAAAANF} +{\bkmkend AAAAAAAANF} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Maximum Acceleration Magnitude. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _maxSpeed}{\bkmkstart AAAAAAAANG} +{\bkmkend AAAAAAAANG} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Maximum Speed. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLfloat {\b _frictionMagnitude}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Friction. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLfloat {\b _aspectRatio}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Current aspect ratio for certain perspectives. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLfloat {\b _fovy}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Current field-of-view angle for perspective view. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::vec2} {\b _viewportSize}{\bkmkstart AAAAAAAANH} +{\bkmkend AAAAAAAANH} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Camera}'s Drawbox Width and Height. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::vec2} {\b _viewportPosition}{\bkmkstart AAAAAAAANI} +{\bkmkend AAAAAAAANI} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Camera}'s Drawbox x,y Coordinate (Upper-Left Pixel) }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +bool {\b _motion} [Camera::DIR_END]\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Booleans correlating to the different motion directions. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Camera} class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state. \par +} + +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, {\f2 jhuston@cs.uml.edu} \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Since:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 16 Nov 2012\par +}Functions are provided to adjust the rotation according to {\b pitch()}, {\b yaw()} and {\b roll()} motions; {\b surge()}, {\b sway()}, and {\b heave()} are provided to adjust position in space.\par +{\b move()}, {\b stop()}, and {\b idle()} are provided to help the camera automatically move along the x, y, or z axes. \par +}{ +Definition at line 37 of file Camera.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Typedef Documentation\par +\pard\plain +{\xe \v Direction\:Camera} +{\xe \v Camera\:Direction} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef enum {\b Camera::Direction} {\b Camera::Direction}}} +\par +{\bkmkstart AAAAAAAANJ} +{\bkmkend AAAAAAAANJ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The Direction enumeration lists all of the possible directions the camera may travel in. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +'BEGIN' and 'END' are special sentinel directions for the purposes of iteration, and are ignored by any functions that accept a Direction. \par +}} +{\xe \v Uniform\:Camera} +{\xe \v Camera\:Uniform} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef enum {\b Camera::Uniforms} {\b Camera::Uniform}}} +\par +{\bkmkstart AAAAAAAANK} +{\bkmkend AAAAAAAANK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The glsl_var enumeration lists the various variables the {\b Camera} class is capable of sending to the shader. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The NumGlslVars variable is a sentinel value that is ignored by any functions that accept a glsl_var. \par +}} +{\xe \v UniformEnum\:Camera} +{\xe \v Camera\:UniformEnum} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef const unsigned int {\b Object::UniformEnum}{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAANL} +{\bkmkend AAAAAAAANL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Object} class takes advantage of child-extendible enumerations. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We create an alias here for sake of ease. \par +}{ +Definition at line 62 of file Object.hpp.}\par +} +{\xe \v UniformMap\:Camera} +{\xe \v Camera\:UniformMap} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef std::map< {\b Object::UniformEnum}, std::string > {\b Object::UniformMap}{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAANM} +{\bkmkend AAAAAAAANM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is utilized if we ever switch this object's shader, so we can re-associate with the correct uniform locations. \par +}{ +Definition at line 70 of file Object.hpp.}\par +} +{\xe \v ViewType\:Camera} +{\xe \v Camera\:ViewType} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef enum {\b Camera::ViewType} {\b Camera::ViewType}}} +\par +{\bkmkstart AAAAAAAANN} +{\bkmkend AAAAAAAANN} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The default is PERSPECTIVE. \par +}} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Enumeration Documentation\par +\pard\plain +{\xe \v Direction\:Camera} +{\xe \v Camera\:Direction} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +enum {\b Camera::Direction}}} +\par +{\bkmkstart AAAAAAAANO} +{\bkmkend AAAAAAAANO} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The Direction enumeration lists all of the possible directions the camera may travel in. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +'BEGIN' and 'END' are special sentinel directions for the purposes of iteration, and are ignored by any functions that accept a Direction. \par +}{ +Definition at line 47 of file Camera.hpp.}\par +} +{\xe \v Uniforms\:Camera} +{\xe \v Camera\:Uniforms} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +enum {\b Camera::Uniforms}}} +\par +{\bkmkstart AAAAAAAANP} +{\bkmkend AAAAAAAANP} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The glsl_var enumeration lists the various variables the {\b Camera} class is capable of sending to the shader. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The NumGlslVars variable is a sentinel value that is ignored by any functions that accept a glsl_var. \par +}{ +Definition at line 73 of file Camera.hpp.}\par +} +{\xe \v ViewType\:Camera} +{\xe \v Camera\:ViewType} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +enum {\b Camera::ViewType}}} +\par +{\bkmkstart AAAAAAAANQ} +{\bkmkend AAAAAAAANQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The ViewType enumeration lists the various possibilities for the current viewing mode that can be switched between. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The default is PERSPECTIVE. \par +}{ +Definition at line 63 of file Camera.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Constructor & Destructor Documentation\par +\pard\plain +{\xe \v Camera\:Camera} +{\xe \v Camera\:Camera} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +Camera::Camera (const std::string & {\i name}, GLuint {\i gShader}, float {\i x} = {\f2 0.0}, float {\i y} = {\f2 0.0}, float {\i z} = {\f2 0.0})}} +\par +{\bkmkstart AAAAAAAANR} +{\bkmkend AAAAAAAANR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Initialization Constructor; sets the x,y,z coordinates explicitly. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The name of this Camera/Object. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i gShader} \cell }{A handle to this camera's associated shader object. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{The initial x coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{The initial y coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i z} \cell }{The initial z coordinate. \cell } +{\row } +} +}{ +Definition at line 45 of file Camera.cpp.}\par +} +{\xe \v Camera\:Camera} +{\xe \v Camera\:Camera} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +Camera::Camera (const std::string & {\i name}, GLuint {\i gShader}, {\b vec3} & {\i in})}} +\par +{\bkmkstart AAAAAAAANS} +{\bkmkend AAAAAAAANS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Initialization Constructor, uses a vec3 as its initial coordinates. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The name of this Camera/Object. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i gShader} \cell }{A handle to this camera's associated shader object. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i in} \cell }{A vec3 representing the initial coordinates. \cell } +{\row } +} +}{ +Definition at line 52 of file Camera.cpp.}\par +} +{\xe \v Camera\:Camera} +{\xe \v Camera\:Camera} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +Camera::Camera (const std::string & {\i name}, GLuint {\i gShader}, {\b vec4} & {\i in})}} +\par +{\bkmkstart AAAAAAAANT} +{\bkmkend AAAAAAAANT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Initialization Constructor, uses a vec4 as its initial coordinates. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The name of this Camera/Object. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i gShader} \cell }{A handle to this camera's associated shader object. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i in} \cell }{A vec4 representing the initial coordinates. The w component is ignored. \cell } +{\row } +} +}{ +Definition at line 58 of file Camera.cpp.}\par +} +{\xe \v ~Camera\:Camera} +{\xe \v Camera\:~Camera} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +Camera::~Camera (void ){\f2 [virtual]}}} +\par +{\bkmkstart AAAAAAAANU} +{\bkmkend AAAAAAAANU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Default destructor. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Defined only to allow inheritance. \par +}{ +Definition at line 64 of file Camera.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Function Documentation\par +\pard\plain +{\xe \v accel\:Camera} +{\xe \v Camera\:accel} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::accel (const {\b vec3} & {\i accel})}} +\par +{\bkmkstart AAAAAAAANV} +{\bkmkend AAAAAAAANV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +accel takes an input vec2 which represents an acceleration, and applies it to the motion vectors with regards to the maximum acceleration and the maximum speed of the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i accel} \cell }{The vec3 which represents the (x,y,z) acceleration, where x,y,z are [-1,1]. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 223 of file Camera.cpp.}\par +} +{\xe \v addObject\:Camera} +{\xe \v Camera\:addObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Object} * Scene::addObject (const std::string & {\i objName}, GLuint {\i shader} = {\f2 0}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAANW} +{\bkmkend AAAAAAAANW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addObject creates a new {\b Object} with the given name and, optionally, a specified shader and adds it to the {\b Scene} graph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +If no shader is given, a default shader MUST have been specified for the {\b Scene} prior to the call.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i objName} \cell }{The name of the new {\b Object} to add. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Object_Shader} \cell }{The shader that should be used to render this object. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the new {\b Object}. \par +}}{ +Definition at line 77 of file Scene.cpp.}\par +} +{\xe \v adjustFieldOfView\:Camera} +{\xe \v Camera\:adjustFieldOfView} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::adjustFieldOfView (const float & {\i by})}} +\par +{\bkmkstart AAAAAAAANX} +{\bkmkend AAAAAAAANX} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +adjustFieldOfView adjusts the field of view angle up or down by an amount. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{The float to adjust the fieldOfView angle by. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 392 of file Camera.cpp.}\par +} +{\xe \v adjustRotation\:Camera} +{\xe \v Camera\:adjustRotation} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::adjustRotation (const {\b mat4} & {\i adjustment}, const bool & {\i fixed} = {\f2 false}){\f2 [private]}}} +\par +{\bkmkstart AAAAAAAANY} +{\bkmkend AAAAAAAANY} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +adjustRotation is an internal function that rotates the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Technically, any transformation, not just a rotation, is possible. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i adjustment} \cell }{The 4x4 matrix to transform the CTM by. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i fixed} \cell }{Should this rotation be fixed about the origin? \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 148 of file Camera.cpp.}\par +} +{\xe \v animation\:Camera} +{\xe \v Camera\:animation} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::animation (void(*)({\b TransCache} &arg) {\i anim_func}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAANZ} +{\bkmkend AAAAAAAANZ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Apply an animation callback function to this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Works once only: Does not save the function or automatically run on idle. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i anim_func} \cell }{The transformation/animation function to apply. \cell } +{\row } +} +}{ +Definition at line 443 of file Object.cpp.}\par +} +{\xe \v changePerspective\:Camera} +{\xe \v Camera\:changePerspective} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::changePerspective (const {\b ViewType} & {\i vType})}} +\par +{\bkmkstart AAAAAAAAOA} +{\bkmkend AAAAAAAAOA} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +changePerspective changes the current perspective of the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i vType} \cell }{Which perspective to use. see enum ViewType for possibilities. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 359 of file Camera.cpp.}\par +} +{\xe \v commonInit\:Camera} +{\xe \v Camera\:commonInit} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::commonInit (void ){\f2 [private]}}} +\par +{\bkmkstart AAAAAAAAOB} +{\bkmkend AAAAAAAAOB} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +commonInit is a private function that initializes local object attributes. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It should be called by all available constructors. \par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 19 of file Camera.cpp.}\par +} +{\xe \v deleteObject\:Camera} +{\xe \v Camera\:deleteObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::deleteObject ({\b Object} * {\i obj}){\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOC} +{\bkmkend AAAAAAAAOC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Very seriously delete a child object and free his memory. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +deleteObject is the actual implementation function that will remove an {\b Object} from the {\b Scene} list and {\b Scene} map, then free the object.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to delete.\cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The pointer to the object to free. \cell } +{\row } +} +}{ +Definition at line 129 of file Scene.cpp.}\par +} +{\xe \v delObject\:Camera} +{\xe \v Camera\:delObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::delObject (const std::string & {\i objName}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOD} +{\bkmkend AAAAAAAAOD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject will remove from the {\b Scene} graph the object with the given name. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i objName} \cell }{Name of the {\b Object} to delete. \cell } +{\row } +} +}{ +Definition at line 99 of file Scene.cpp.}\par +} +{\xe \v dPos\:Camera} +{\xe \v Camera\:dPos} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::dPos (const float & {\i x}, const float & {\i y}, const float & {\i z})}} +\par +{\bkmkstart AAAAAAAAOE} +{\bkmkend AAAAAAAAOE} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the x, y, and z axes. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{the x-axis displacement. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{the y-axis displacement. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i z} \cell }{the z-axis displacement. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 131 of file Camera.cpp.}\par +} +{\xe \v dPos\:Camera} +{\xe \v Camera\:dPos} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::dPos (const {\b vec3} & {\i by})}} +\par +{\bkmkstart AAAAAAAAOF} +{\bkmkend AAAAAAAAOF} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the x, y, and z axes. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{A vec3 containing the x, y, and z axis displacements. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 140 of file Camera.cpp.}\par +} +{\xe \v dPos\:Camera} +{\xe \v Camera\:dPos} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::dPos (const {\b vec4} & {\i by})}} +\par +{\bkmkstart AAAAAAAAOG} +{\bkmkend AAAAAAAAOG} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the x, y, and z axes. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{A vec4 containing the x, y, and z axis displacements. The w component is ignored. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 144 of file Camera.cpp.}\par +} +{\xe \v drawMode\:Camera} +{\xe \v Camera\:drawMode} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::drawMode (GLenum {\i new_mode}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOH} +{\bkmkend AAAAAAAAOH} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Select a new OpenGL draw mode for this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Can be GL_LINES, GL_LINE_LOOP, GL_TRIANGLES, etc. \par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +See Also:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid {\f2 http://www.opengl.org/wiki/Primitive} \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i new_mode} \cell }{The primitive rendering mode to use. \cell } +{\row } +} +}{ +Definition at line 269 of file Object.cpp.}\par +} +{\xe \v dX\:Camera} +{\xe \v Camera\:dX} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::dX (const float & {\i by}, const bool & {\i update} = {\f2 true})}} +\par +{\bkmkstart AAAAAAAAOI} +{\bkmkend AAAAAAAAOI} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the x axis. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{The float value of the x-axis displacement. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i update} \cell }{A boolean indicating whether or not to update the shader. update defaults to true. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 119 of file Camera.cpp.}\par +} +{\xe \v dY\:Camera} +{\xe \v Camera\:dY} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::dY (const float & {\i by}, const bool & {\i update} = {\f2 true})}} +\par +{\bkmkstart AAAAAAAAOJ} +{\bkmkend AAAAAAAAOJ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the y axis. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{The float value of the y-axis displacement. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i update} \cell }{A boolean indicating whether or not to update the shader. update defaults to true. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 123 of file Camera.cpp.}\par +} +{\xe \v dZ\:Camera} +{\xe \v Camera\:dZ} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::dZ (const float & {\i by}, const bool & {\i update} = {\f2 true})}} +\par +{\bkmkstart AAAAAAAAOK} +{\bkmkend AAAAAAAAOK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Moves the camera along the z axis. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{The float value of the z-axis displacement. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i update} \cell }{A boolean indicating whether or not to update the shader. update defaults to true. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 127 of file Camera.cpp.}\par +} +{\xe \v fieldOfView\:Camera} +{\xe \v Camera\:fieldOfView} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::fieldOfView (const float & {\i fovy})}} +\par +{\bkmkstart AAAAAAAAOL} +{\bkmkend AAAAAAAAOL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +fieldOfView sets the current camera Field-of-view angle. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This function will send the new perspective matrix to the shader. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i fovy} \cell }{The new field of view angle. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 354 of file Camera.cpp.}\par +} +{\xe \v fieldOfView\:Camera} +{\xe \v Camera\:fieldOfView} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float Camera::fieldOfView (void ) const}} +\par +{\bkmkstart AAAAAAAAOM} +{\bkmkend AAAAAAAAOM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b fieldOfView()} gets the current camera Field-of-view angle. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A float that is the y axis viewing angle. \par +}}{ +Definition at line 350 of file Camera.cpp.}\par +} +{\xe \v genMorphTarget\:Camera} +{\xe \v Camera\:genMorphTarget} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Object} * Object::genMorphTarget (GLuint {\i shader}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAON} +{\bkmkend AAAAAAAAON} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Instantiate a new morphing target. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i shader} \cell }{The shader to use for the new morphing target. NOT USED for rendering the object, but Objects cannot be instantiated without a shader, so here it is.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the newly created target. \par +}}{ +Definition at line 503 of file Object.cpp.}\par +} +{\xe \v heave\:Camera} +{\xe \v Camera\:heave} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::heave (const float & {\i by})}} +\par +{\bkmkstart AAAAAAAAOO} +{\bkmkend AAAAAAAAOO} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adjusts the camera's y coordinate relative to its current position. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Positive values move the camera up, and negative values move the camera down. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{The float to adjust the y coordinate by. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 194 of file Camera.cpp.}\par +} +{\xe \v idle\:Camera} +{\xe \v Camera\:idle} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::idle (void )}} +\par +{\bkmkstart AAAAAAAAOP} +{\bkmkend AAAAAAAAOP} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +idle moves the camera forward in whichever directions it is configured to move in. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Call it in the glut idle function. \par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 280 of file Camera.cpp.}\par +} +{\xe \v insertObject\:Camera} +{\xe \v Camera\:insertObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::insertObject ({\b Object} * {\i obj}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOQ} +{\bkmkend AAAAAAAAOQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Register a created object with the scene graph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The name of the object (For the associative map), \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The {\b Object} pointer to add to the scene. \cell } +{\row } +} +}{ +Definition at line 118 of file Scene.cpp.}\par +} +{\xe \v link\:Camera} +{\xe \v Camera\:link} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::link ({\b UniformEnum} {\i which}, const std::string & {\i name}){\f2 [virtual]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOR} +{\bkmkend AAAAAAAAOR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +link a specified Uniform against the shader's variable _name. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i which} \cell }{The Uniform to link. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The variable _name on the shader. \cell } +{\row } +} +}{ +Definition at line 345 of file Object.cpp.}\par +} +{\xe \v morphPercentage\:Camera} +{\xe \v Camera\:morphPercentage} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float Object::morphPercentage (void ) const{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOS} +{\bkmkend AAAAAAAAOS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the morph Percentage of this object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The morph percentage, as a float. \par +}}{ +Definition at line 515 of file Object.cpp.}\par +} +{\xe \v morphPercentage\:Camera} +{\xe \v Camera\:morphPercentage} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::morphPercentage (const float {\i newPercentage}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOT} +{\bkmkend AAAAAAAAOT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the morph percentage of this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i newPercentage} \cell }{The new morphing percentage. \cell } +{\row } +} +}{ +Definition at line 524 of file Object.cpp.}\par +} +{\xe \v morphTarget\:Camera} +{\xe \v Camera\:morphTarget} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Object} * Object::morphTarget (void ) const{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOU} +{\bkmkend AAAAAAAAOU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve a pointer to this object's morph target. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid An {\b Object} pointer to the morph target. \par +}}{ +Definition at line 489 of file Object.cpp.}\par +} +{\xe \v move\:Camera} +{\xe \v Camera\:move} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::move (const {\b Camera::Direction} & {\i Dir})}} +\par +{\bkmkstart AAAAAAAAOV} +{\bkmkend AAAAAAAAOV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +move instructs the camera to begin moving in the specified direction. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Dir} \cell }{The direction in which to move. Can be any direction in the enumerated type {\b Camera::Direction}. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 272 of file Camera.cpp.}\par +} +{\xe \v name\:Camera} +{\xe \v Camera\:name} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +const std::string & Object::name (void ) const{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOW} +{\bkmkend AAAAAAAAOW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the _name of this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The _name of this {\b Object}. \par +}}{ +Definition at line 333 of file Object.cpp.}\par +} +{\xe \v numberOfPoints\:Camera} +{\xe \v Camera\:numberOfPoints} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +int Object::numberOfPoints (void ){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOX} +{\bkmkend AAAAAAAAOX} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the number of _vertices this object has. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid An integer representing the number of vertices the object has. \par +}}{ +Definition at line 544 of file Object.cpp.}\par +} +{\xe \v pitch\:Camera} +{\xe \v Camera\:pitch} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::pitch (const float & {\i by}, const bool & {\i fixed} = {\f2 false})}} +\par +{\bkmkstart AAAAAAAAOY} +{\bkmkend AAAAAAAAOY} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +pitch adjusts the x axis rotation; up/down look. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A positive value represents looking up, while a negative value represents looking down. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{A float, in degrees, to adjust the pitch by. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i fixed} \cell }{Should this rotation be fixed about the origin? \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 198 of file Camera.cpp.}\par +} +{\xe \v pos\:Camera} +{\xe \v Camera\:pos} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::pos (const float & {\i x}, const float & {\i y}, const float & {\i z}, const bool & {\i update} = {\f2 true})}} +\par +{\bkmkstart AAAAAAAAOZ} +{\bkmkend AAAAAAAAOZ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the absolute position of the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{The new x coordinate of the camera. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{The new y coordinate of the camera. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i z} \cell }{The new z coordinate of the camera. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i update} \cell }{Whether or not to update the shader with the new coordinates. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 99 of file Camera.cpp.}\par +} +{\xe \v pos\:Camera} +{\xe \v Camera\:pos} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::pos (const {\b vec3} & {\i in}, const bool & {\i update} = {\f2 true})}} +\par +{\bkmkstart AAAAAAAAPA} +{\bkmkend AAAAAAAAPA} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the absolute position of the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i in} \cell }{A vec3 containing the x, y, and z coordinates to set the camera to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i update} \cell }{Whether or not to update the shader with the new coordinates. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 115 of file Camera.cpp.}\par +} +{\xe \v pos\:Camera} +{\xe \v Camera\:pos} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::pos (const {\b vec4} & {\i in}, const bool & {\i update} = {\f2 true})}} +\par +{\bkmkstart AAAAAAAAPB} +{\bkmkend AAAAAAAAPB} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the absolute position of the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i in} \cell }{A vec4 containing the x, y, and z coordinates to set the camera to. The w coordinate is ignored. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i update} \cell }{Whether or not to update the shader with the new coordinates. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 111 of file Camera.cpp.}\par +} +{\xe \v pos\:Camera} +{\xe \v Camera\:pos} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b vec4} Camera::pos (void ) const}} +\par +{\bkmkstart AAAAAAAAPC} +{\bkmkend AAAAAAAAPC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b pos()} gets the current camera position in model coordinates. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A vec4 that represents the current camera coordinates. \par +}}{ +Definition at line 346 of file Camera.cpp.}\par +} +{\xe \v position\:Camera} +{\xe \v Camera\:position} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b vec4} Object::position (void ) const{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPD} +{\bkmkend AAAAAAAAPD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain the vec4 representative of the {\b Object}'s current position in space. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid vec4 representing the {\b Object}'s position in space. \par +}}{ +Definition at line 478 of file Object.cpp.}\par +} +{\xe \v propagate\:Camera} +{\xe \v Camera\:propagate} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::propagate (void ){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPE} +{\bkmkend AAAAAAAAPE} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Scene-graph changes are not automatically applied to children. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For efficiency reasons, you need to call {\b propagate()} manually. \par +}{ +Definition at line 452 of file Object.cpp.}\par +} +{\xe \v refreshPerspective\:Camera} +{\xe \v Camera\:refreshPerspective} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::refreshPerspective (void )}} +\par +{\bkmkstart AAAAAAAAPF} +{\bkmkend AAAAAAAAPF} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +refreshPerspective re-generates the current view/perspective matrix of the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This function should be called after physical or virtual (viewport) screen resizes. \par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 366 of file Camera.cpp.}\par +} +{\xe \v resetRotation\:Camera} +{\xe \v Camera\:resetRotation} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::resetRotation (void )}} +\par +{\bkmkstart AAAAAAAAPG} +{\bkmkend AAAAAAAAPG} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +resetRotation adjusts the camera's rotational state back to its default state (The Identity Matrix.) }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 446 of file Camera.cpp.}\par +} +{\xe \v roll\:Camera} +{\xe \v Camera\:roll} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::roll (const float & {\i by}, const bool & {\i fixed} = {\f2 false})}} +\par +{\bkmkstart AAAAAAAAPH} +{\bkmkend AAAAAAAAPH} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +roll adjusts the z axis rotation; tilt or lean left/right. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A positive value represents leaning right, while a negative value represents leaning left. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{A float, in degrees, to adjust the roll by. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i fixed} \cell }{Should this rotation be fixed about the origin? \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 219 of file Camera.cpp.}\par +} +{\xe \v send\:Camera} +{\xe \v Camera\:send} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::send ({\b Object::UniformEnum} {\i which}){\f2 [virtual]}}} +\par +{\bkmkstart AAAAAAAAPI} +{\bkmkend AAAAAAAAPI} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +send will send a glsl variable to the shader. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i which} \cell }{The parameter to send. Can be any from enum glsl_var. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Reimplemented from {\b Object} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPJ \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 403 of file Camera.cpp.}\par +} +{\xe \v shader\:Camera} +{\xe \v Camera\:shader} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLuint Object::shader (void ){\f2 [virtual]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPK} +{\bkmkend AAAAAAAAPK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the {\b Object}'s current shader. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Defined because C++ will not let you overload an overrided function, without re-overloading it in the derived class.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid a GLuint handle to the shader program used by this {\b Object}. \par +}}{ +Reimplemented from {\b Scene} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPL \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 406 of file Object.cpp.}\par +} +{\xe \v shader\:Camera} +{\xe \v Camera\:shader} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::shader (GLuint {\i newShader}){\f2 [virtual]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPM} +{\bkmkend AAAAAAAAPM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the shader to be used by this object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Triggers a query of the shader program, for the locations of the Uniform locations that the object needs.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i newShader} \cell }{a GLuint handle to the shader program to use.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid None. \par +}}{ +Reimplemented from {\b Scene} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPN \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 422 of file Object.cpp.}\par +} +{\xe \v stop\:Camera} +{\xe \v Camera\:stop} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::stop (const {\b Camera::Direction} & {\i Dir})}} +\par +{\bkmkstart AAAAAAAAPO} +{\bkmkend AAAAAAAAPO} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +stop instructs the camera to stop moving in the specified direction. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Dir} \cell }{The direction in which to stop moving. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 276 of file Camera.cpp.}\par +} +{\xe \v surge\:Camera} +{\xe \v Camera\:surge} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::surge (const float & {\i by})}} +\par +{\bkmkstart AAAAAAAAPP} +{\bkmkend AAAAAAAAPP} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adjusts the camera's z coordinate relative to its current position. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Positive values move the camera forward, and negative values move the camera backward. Note that the camera uses model coordinates internally, so moving forward will increase the camera's z position negatively. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{The float to adjust the z coordinate by. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 190 of file Camera.cpp.}\par +} +{\xe \v sway\:Camera} +{\xe \v Camera\:sway} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::sway (const float & {\i by})}} +\par +{\bkmkstart AAAAAAAAPQ} +{\bkmkend AAAAAAAAPQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adjusts the camera's x coordinate relative to its current position. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Negative values move the camera left, and positive values move the camera right. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{The float to adjust the x coordinate by. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 186 of file Camera.cpp.}\par +} +{\xe \v texture\:Camera} +{\xe \v Camera\:texture} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::texture (const char ** {\i filename}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPR} +{\bkmkend AAAAAAAAPR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: This is a junk, nonflexible method. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It would be better if you didn't think of this as being here.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i filename} \cell }{an array of strings to load textures from. \cell } +{\row } +} +}{ +Definition at line 279 of file Object.cpp.}\par +} +{\xe \v textureID\:Camera} +{\xe \v Camera\:textureID} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::textureID (GLint {\i newTextureID}){\f2 [inline]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPS} +{\bkmkend AAAAAAAAPS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the {\b Texture} ID / {\b Texture} Unit for this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i newTextureID} \cell }{The new {\b Texture} Unit ID/Index for this {\b Object}. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid None. \par +}}{ +Definition at line 244 of file Object.hpp.}\par +} +{\xe \v view\:Camera} +{\xe \v Camera\:view} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::view (void )}} +\par +{\bkmkstart AAAAAAAAPT} +{\bkmkend AAAAAAAAPT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +view will instruct OpenGL of the viewport we want, and then send all of our current matrices to the shader for rendering. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 434 of file Camera.cpp.}\par +} +{\xe \v viewport\:Camera} +{\xe \v Camera\:viewport} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::viewport (size_t {\i _X}, size_t {\i _Y}, size_t {\i _width}, size_t {\i _height})}} +\par +{\bkmkstart AAAAAAAAPU} +{\bkmkend AAAAAAAAPU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +viewport instructs this camera what his expected drawing window will be. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This allows the camera to generate his viewing matrices with the correct aspect ratio. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i _X} \cell }{The x coordinate of the lower-left corner of our viewport. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i _Y} \cell }{the y coordinate of the lower-left corner of our viewport. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i _width} \cell }{The width of our viewport. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i _height} \cell }{the height of our viewport. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 396 of file Camera.cpp.}\par +} +{\xe \v x\:Camera} +{\xe \v Camera\:x} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::x (const float & {\i in}, const bool & {\i update} = {\f2 true})}} +\par +{\bkmkstart AAAAAAAAPV} +{\bkmkend AAAAAAAAPV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the x coordinate of the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i in} \cell }{The new x coordinate of the camera. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i update} \cell }{Whether or not to update the shader with the new coordinates. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 68 of file Camera.cpp.}\par +} +{\xe \v x\:Camera} +{\xe \v Camera\:x} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float Camera::x (void ) const}} +\par +{\bkmkstart AAAAAAAAPW} +{\bkmkend AAAAAAAAPW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b x()} returns the current position of the camera in model coordinates. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The current x coordinate of the camera in model coordinates. \par +}}{ +Definition at line 334 of file Camera.cpp.}\par +} +{\xe \v y\:Camera} +{\xe \v Camera\:y} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::y (const float & {\i in}, const bool & {\i update} = {\f2 true})}} +\par +{\bkmkstart AAAAAAAAPX} +{\bkmkend AAAAAAAAPX} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the y coordinate of the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i in} \cell }{The new y coordinate of the camera. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i update} \cell }{Whether or not to update the shader with the new coordinates. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 79 of file Camera.cpp.}\par +} +{\xe \v y\:Camera} +{\xe \v Camera\:y} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float Camera::y (void ) const}} +\par +{\bkmkstart AAAAAAAAPY} +{\bkmkend AAAAAAAAPY} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b y()} returns the current position of the camera in model coordinates. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The current y coordinate of the camera in model coordinates. \par +}}{ +Definition at line 338 of file Camera.cpp.}\par +} +{\xe \v yaw\:Camera} +{\xe \v Camera\:yaw} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::yaw (const float & {\i by}, const bool & {\i fixed} = {\f2 false})}} +\par +{\bkmkstart AAAAAAAAPZ} +{\bkmkend AAAAAAAAPZ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +yaw adjusts the y axis rotation; left/right look. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A positive value represents looking right, while a negative value represents looking left. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i by} \cell }{A float, in degrees, to adjust the yaw by. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i fixed} \cell }{Should this rotation be fixed about the origin? \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 209 of file Camera.cpp.}\par +} +{\xe \v z\:Camera} +{\xe \v Camera\:z} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Camera::z (const float & {\i in}, const bool & {\i update} = {\f2 true})}} +\par +{\bkmkstart AAAAAAAAQA} +{\bkmkend AAAAAAAAQA} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the z coordinate of the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i in} \cell }{The new z coordinate of the camera. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i update} \cell }{Whether or not to update the shader with the new coordinates. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 89 of file Camera.cpp.}\par +} +{\xe \v z\:Camera} +{\xe \v Camera\:z} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float Camera::z (void ) const}} +\par +{\bkmkstart AAAAAAAAQB} +{\bkmkend AAAAAAAAQB} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b z()} returns the current position of the camera in model coordinates. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The current z coordinate of the camera in model coordinates. \par +}}{ +Definition at line 342 of file Camera.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Data Documentation\par +\pard\plain +{\xe \v _aspectRatio\:Camera} +{\xe \v Camera\:_aspectRatio} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLfloat Camera::_aspectRatio{\f2 [private]}}} +\par +{\bkmkstart AAAAAAAAQC} +{\bkmkend AAAAAAAAQC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Current aspect ratio for certain perspectives. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 428 of file Camera.hpp.}\par +} +{\xe \v _colors\:Camera} +{\xe \v Camera\:_colors} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec4} > Object::_colors{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQD} +{\bkmkend AAAAAAAAQD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Colors buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 256 of file Object.hpp.}\par +} +{\xe \v _ctm\:Camera} +{\xe \v Camera\:_ctm} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b TransCache} Camera::_ctm{\f2 [private]}}} +\par +{\bkmkstart AAAAAAAAQE} +{\bkmkend AAAAAAAAQE} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The Current {\b Transformation} state for this {\b Camera}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 404 of file Camera.hpp.}\par +} +{\xe \v _currentView\:Camera} +{\xe \v Camera\:_currentView} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b ViewType} Camera::_currentView{\f2 [private]}}} +\par +{\bkmkstart AAAAAAAAQF} +{\bkmkend AAAAAAAAQF} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The current viewing mode type. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 407 of file Camera.hpp.}\par +} +{\xe \v _drawMode\:Camera} +{\xe \v Camera\:_drawMode} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLenum Object::_drawMode{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQG} +{\bkmkend AAAAAAAAQG} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Drawing mode for this object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +GL_TRIANGLES, GL_LINE_LOOP, etc. \par +}{ +Definition at line 278 of file Object.hpp.}\par +} +{\xe \v _fovy\:Camera} +{\xe \v Camera\:_fovy} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLfloat Camera::_fovy{\f2 [private]}}} +\par +{\bkmkstart AAAAAAAAQH} +{\bkmkend AAAAAAAAQH} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Current field-of-view angle for perspective view. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 431 of file Camera.hpp.}\par +} +{\xe \v _frictionMagnitude\:Camera} +{\xe \v Camera\:_frictionMagnitude} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLfloat Camera::_frictionMagnitude{\f2 [private]}}} +\par +{\bkmkstart AAAAAAAAQI} +{\bkmkend AAAAAAAAQI} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Friction. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Should be less than MaxAccel. \par +}{ +Definition at line 425 of file Camera.hpp.}\par +} +{\xe \v _handles\:Camera} +{\xe \v Camera\:_handles} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< GLint > Object::_handles{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQJ} +{\bkmkend AAAAAAAAQJ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handles to Uniforms on the shader. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Protected to allow derived classes to extend it as needed. \par +}{ +Definition at line 307 of file Object.hpp.}\par +} +{\xe \v _indices\:Camera} +{\xe \v Camera\:_indices} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< unsigned int > Object::_indices{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQK} +{\bkmkend AAAAAAAAQK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Draw Order Index buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +If not used, engine assumes GL_DRAW_ARRAYS. \par +}{ +Definition at line 254 of file Object.hpp.}\par +} +{\xe \v _map\:Camera} +{\xe \v Camera\:_map} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::map< std::string, {\b Object}* > Scene::_map{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQL} +{\bkmkend AAAAAAAAQL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It's a little superfluous, but here it is! \par +}{ +Definition at line 127 of file Scene.hpp.}\par +} +{\xe \v _morphPercentage\:Camera} +{\xe \v Camera\:_morphPercentage} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float Object::_morphPercentage{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQM} +{\bkmkend AAAAAAAAQM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The percentage of the morph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +0.0 means 100% the original, current object. 100.0 means 100% the new, targeted object. \par +}{ +Definition at line 289 of file Object.hpp.}\par +} +{\xe \v _motion\:Camera} +{\xe \v Camera\:_motion} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +bool Camera::_motion[Camera::DIR_END]{\f2 [private]}}} +\par +{\bkmkstart AAAAAAAAQN} +{\bkmkend AAAAAAAAQN} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Booleans correlating to the different motion directions. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 440 of file Camera.hpp.}\par +} +{\xe \v _name\:Camera} +{\xe \v Camera\:_name} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::string Object::_name{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQO} +{\bkmkend AAAAAAAAQO} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +_name is used as an identifying handle for the object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 269 of file Object.hpp.}\par +} +{\xe \v _normals\:Camera} +{\xe \v Camera\:_normals} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec3} > Object::_normals{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQP} +{\bkmkend AAAAAAAAQP} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Normals buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 252 of file Object.hpp.}\par +} +{\xe \v _speed\:Camera} +{\xe \v Camera\:_speed} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLfloat Camera::_speed{\f2 [private]}}} +\par +{\bkmkstart AAAAAAAAQQ} +{\bkmkend AAAAAAAAQQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Current Speed of camera motion. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 410 of file Camera.hpp.}\par +} +{\xe \v _texUVs\:Camera} +{\xe \v Camera\:_texUVs} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec2} > Object::_texUVs{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQR} +{\bkmkend AAAAAAAAQR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Texture} Coordinates buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 258 of file Object.hpp.}\par +} +{\xe \v _uniformMap\:Camera} +{\xe \v Camera\:_uniformMap} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::map< {\b Object::UniformEnum}, std::string > Object::_uniformMap{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQS} +{\bkmkend AAAAAAAAQS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A map between Uniform variable functions and the actual uniform variable names. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Used when linking against a shader. \par +}{ +Definition at line 300 of file Object.hpp.}\par +} +{\xe \v _vao\:Camera} +{\xe \v Camera\:_vao} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLuint Object::_vao{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQT} +{\bkmkend AAAAAAAAQT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Vertex Array {\b Object} handle identifying our buffers/object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 272 of file Object.hpp.}\par +} +{\xe \v _velocity\:Camera} +{\xe \v Camera\:_velocity} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b vec3} Camera::_velocity{\f2 [private]}}} +\par +{\bkmkstart AAAAAAAAQU} +{\bkmkend AAAAAAAAQU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Current Velocity of camera motion. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 413 of file Camera.hpp.}\par +} +{\xe \v _vertices\:Camera} +{\xe \v Camera\:_vertices} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec4} > Object::_vertices{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQV} +{\bkmkend AAAAAAAAQV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +vertex buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 250 of file Object.hpp.}\par +} +{\xe \v _view\:Camera} +{\xe \v Camera\:_view} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b mat4} Camera::_view{\f2 [private]}}} +\par +{\bkmkstart AAAAAAAAQW} +{\bkmkend AAAAAAAAQW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The current view matrix (defaultly perspective) for this camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 401 of file Camera.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Camera.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Camera.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Cameras Class Reference\par \pard\plain +{\tc\tcl2 \v Cameras} +{\xe \v Cameras} +{\bkmkstart AAAAAAAAQX} +{\bkmkend AAAAAAAAQX} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Cameras} class represents a group of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space. }}\par +{ +{\f2 #include }}\par +Inheritance diagram for Cameras:{ +\pard\plain +\par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "class_cameras.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Cameras} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Default constructor. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b ~Cameras} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Default destructor. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Camera} * {\b addCamera} (const std::string &name)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addCamera takes a name for a camera and returns a handle to a newly created camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b popCamera} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +popCamera removes the most recently added {\b Camera} from the scene. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Camera} * {\b next} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the active camera to the next available one in the collection. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Camera} * {\b prev} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the active {\b Camera} to the previous available one in the collection. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Camera} * {\b active} (void) const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +active returns the {\b Camera} in the collection that is considered 'active'. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +size_t {\b numCameras} (void) const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +numCameras fetches the number of {\b Cameras} in the collection. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b idleMotion} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +idleMotion calls the idle method on all child cameras. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b resize} (int width, int height)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +resize informs the {\b Cameras} collection of the new window size. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b calculateViewports} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For each {\b Camera} in the collection, computes the position and size of that {\b Camera}'s viewport in a split-screen, single-window configuration. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b view} (void(*draw_func)(void))\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +view calls the view method on all child cameras, followed by the provided draw function. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Camera} * {\b obj2Cam} (std::list< {\b Object} * >::iterator &it)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +obj2Cam is a gross hack; the function is used as a utility to convert {\b Object} pointers to {\b Camera} pointers safely. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual void {\b shader} (GLuint gShader)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the Default shader for the scene. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLuint {\b shader} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieves the handle for the default shader for the scene. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b addObject} (const std::string &objName, GLuint Object_Shader=0)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addObject creates a new {\b Object} with the given name and, optionally, a specified shader and adds it to the {\b Scene} graph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b delObject} (const std::string &objName)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject will remove from the {\b Scene} graph the object with the given name. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b delObject} (void){\bkmkstart AAAAAAAAMQ} +{\bkmkend AAAAAAAAMQ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject with no parameters will delete the first {\b Object} in the {\b Scene}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b popObject} (void){\bkmkstart AAAAAAAAMR} +{\bkmkend AAAAAAAAMR} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +popObject deletes the last {\b Object} in the {\b Scene}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b draw} (void){\bkmkstart AAAAAAAAQY} +{\bkmkend AAAAAAAAQY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b operator[]} (const std::string &objname){\bkmkstart AAAAAAAAMV} +{\bkmkend AAAAAAAAMV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b insertObject} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Register a created object with the scene graph. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b deleteObject} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Very seriously delete a child object and free his memory. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::list< {\b Object} * > {\b _list}{\bkmkstart AAAAAAAANB} +{\bkmkend AAAAAAAANB} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of rapid propagation of scene-graph changes, {\b Object} pointers are stored in a regular flat list. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::map< std::string, {\b Object} * > {\b _map}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::list< {\b Object} * >::iterator {\b _currentObj}{\bkmkstart AAAAAAAANC} +{\bkmkend AAAAAAAANC} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We keep an iterator on-hand that references what the scene considers to be it's active, current object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b _gShader}{\bkmkstart AAAAAAAAND} +{\bkmkend AAAAAAAAND} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A handle to a shader program to be used as the default shader for new children objects added to the scene. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::vec2} {\b _size}{\bkmkstart AAAAAAAAQZ} +{\bkmkend AAAAAAAAQZ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +_size is a simple vec2 (x,y) that contains the size of the screen. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Cameras} class represents a group of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space. \par +} + +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, {\f2 jhuston@cs.uml.edu} \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Since:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 28 Nov 2012\par +}Each {\b Camera} possesses its own CTM which can be resent to the GPU at will. \par +}{ +Definition at line 29 of file Cameras.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Constructor & Destructor Documentation\par +\pard\plain +{\xe \v Cameras\:Cameras} +{\xe \v Cameras\:Cameras} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +Cameras::Cameras (void )}} +\par +{\bkmkstart AAAAAAAARA} +{\bkmkend AAAAAAAARA} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Default constructor. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Nothing special. \par +}{ +Definition at line 19 of file Cameras.cpp.}\par +} +{\xe \v ~Cameras\:Cameras} +{\xe \v Cameras\:~Cameras} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +Cameras::~Cameras (void )}} +\par +{\bkmkstart AAAAAAAARB} +{\bkmkend AAAAAAAARB} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Default destructor. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Nothing special here, either. \par +}{ +Definition at line 26 of file Cameras.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Function Documentation\par +\pard\plain +{\xe \v active\:Cameras} +{\xe \v Cameras\:active} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Camera} * Cameras::active (void ) const}} +\par +{\bkmkstart AAAAAAAARC} +{\bkmkend AAAAAAAARC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +active returns the {\b Camera} in the collection that is considered 'active'. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the currently selected, active {\b Camera}. \par +}}{ +Reimplemented from {\b Scene} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAARD \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 88 of file Cameras.cpp.}\par +} +{\xe \v addCamera\:Cameras} +{\xe \v Cameras\:addCamera} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Camera} * Cameras::addCamera (const std::string & {\i name})}} +\par +{\bkmkstart AAAAAAAARE} +{\bkmkend AAAAAAAARE} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addCamera takes a name for a camera and returns a handle to a newly created camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The name of the new camera to create. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A Pointer to a newly created {\b Camera} object. \par +}}{ +Definition at line 35 of file Cameras.cpp.}\par +} +{\xe \v addObject\:Cameras} +{\xe \v Cameras\:addObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Object} * Scene::addObject (const std::string & {\i objName}, GLuint {\i shader} = {\f2 0}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAANW} +{\bkmkend AAAAAAAANW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addObject creates a new {\b Object} with the given name and, optionally, a specified shader and adds it to the {\b Scene} graph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +If no shader is given, a default shader MUST have been specified for the {\b Scene} prior to the call.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i objName} \cell }{The name of the new {\b Object} to add. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Object_Shader} \cell }{The shader that should be used to render this object. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the new {\b Object}. \par +}}{ +Definition at line 77 of file Scene.cpp.}\par +} +{\xe \v calculateViewports\:Cameras} +{\xe \v Cameras\:calculateViewports} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Cameras::calculateViewports (void )}} +\par +{\bkmkstart AAAAAAAARF} +{\bkmkend AAAAAAAARF} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For each {\b Camera} in the collection, computes the position and size of that {\b Camera}'s viewport in a split-screen, single-window configuration. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Camera} object is updated with the new information.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void.\par +void. \par +}}{ +Definition at line 143 of file Cameras.cpp.}\par +} +{\xe \v deleteObject\:Cameras} +{\xe \v Cameras\:deleteObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::deleteObject ({\b Object} * {\i obj}){\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOC} +{\bkmkend AAAAAAAAOC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Very seriously delete a child object and free his memory. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +deleteObject is the actual implementation function that will remove an {\b Object} from the {\b Scene} list and {\b Scene} map, then free the object.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to delete.\cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The pointer to the object to free. \cell } +{\row } +} +}{ +Definition at line 129 of file Scene.cpp.}\par +} +{\xe \v delObject\:Cameras} +{\xe \v Cameras\:delObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::delObject (const std::string & {\i objName}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOD} +{\bkmkend AAAAAAAAOD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject will remove from the {\b Scene} graph the object with the given name. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i objName} \cell }{Name of the {\b Object} to delete. \cell } +{\row } +} +}{ +Definition at line 99 of file Scene.cpp.}\par +} +{\xe \v idleMotion\:Cameras} +{\xe \v Cameras\:idleMotion} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Cameras::idleMotion (void )}} +\par +{\bkmkstart AAAAAAAARG} +{\bkmkend AAAAAAAARG} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +idleMotion calls the idle method on all child cameras. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Intended to be called during the {\b idle()} loop in GLUT.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 113 of file Cameras.cpp.}\par +} +{\xe \v insertObject\:Cameras} +{\xe \v Cameras\:insertObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::insertObject ({\b Object} * {\i obj}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOQ} +{\bkmkend AAAAAAAAOQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Register a created object with the scene graph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The name of the object (For the associative map), \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The {\b Object} pointer to add to the scene. \cell } +{\row } +} +}{ +Definition at line 118 of file Scene.cpp.}\par +} +{\xe \v next\:Cameras} +{\xe \v Cameras\:next} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Camera} * Cameras::next (void )}} +\par +{\bkmkstart AAAAAAAARH} +{\bkmkend AAAAAAAARH} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the active camera to the next available one in the collection. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the active {\b Camera} to the next available one in the collection.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the newly active {\b Camera}. \par +}}{ +Reimplemented from {\b Scene} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAARD \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 66 of file Cameras.cpp.}\par +} +{\xe \v numCameras\:Cameras} +{\xe \v Cameras\:numCameras} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +size_t Cameras::numCameras (void ) const}} +\par +{\bkmkstart AAAAAAAARI} +{\bkmkend AAAAAAAARI} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +numCameras fetches the number of {\b Cameras} in the collection. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid an unsigned integer, the number of {\b Cameras} in the collection. \par +}}{ +Definition at line 103 of file Cameras.cpp.}\par +} +{\xe \v obj2Cam\:Cameras} +{\xe \v Cameras\:obj2Cam} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Camera} * Cameras::obj2Cam (std::list< {\b Object} * >::iterator & {\i it})}} +\par +{\bkmkstart AAAAAAAARJ} +{\bkmkend AAAAAAAARJ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +obj2Cam is a gross hack; the function is used as a utility to convert {\b Object} pointers to {\b Camera} pointers safely. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Refactor the inheritance here to make this less hacky.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i it} \cell }{A list iterator that points to the {\b Object}.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to a {\b Camera} object. \par +}}{ +Definition at line 251 of file Cameras.cpp.}\par +} +{\xe \v popCamera\:Cameras} +{\xe \v Cameras\:popCamera} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Cameras::popCamera (void )}} +\par +{\bkmkstart AAAAAAAARK} +{\bkmkend AAAAAAAARK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +popCamera removes the most recently added {\b Camera} from the scene. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 52 of file Cameras.cpp.}\par +} +{\xe \v prev\:Cameras} +{\xe \v Cameras\:prev} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Camera} * Cameras::prev (void )}} +\par +{\bkmkstart AAAAAAAARL} +{\bkmkend AAAAAAAARL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the active {\b Camera} to the previous available one in the collection. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the newly active {\b Camera}. \par +}}{ +Reimplemented from {\b Scene} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAARD \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 77 of file Cameras.cpp.}\par +} +{\xe \v resize\:Cameras} +{\xe \v Cameras\:resize} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Cameras::resize (int {\i width}, int {\i height})}} +\par +{\bkmkstart AAAAAAAARM} +{\bkmkend AAAAAAAARM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +resize informs the {\b Cameras} collection of the new window size. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Intended to be called from the GLUT main loop. This method also invokes {\b Cameras::calculateViewports}.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i width} \cell }{The new window width. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i height} \cell }{The new window height.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 130 of file Cameras.cpp.}\par +} +{\xe \v shader\:Cameras} +{\xe \v Cameras\:shader} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::shader (GLuint {\i gShader}){\f2 [virtual]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPN} +{\bkmkend AAAAAAAAPN} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the Default shader for the scene. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +In the context of inheritance by objects, This sets the shader to use to render the physical object.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i gShader} \cell }{The GLuint handle to the shader to use.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Reimplemented in {\b Object} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPM \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 52 of file Scene.cpp.}\par +} +{\xe \v shader\:Cameras} +{\xe \v Cameras\:shader} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLuint Scene::shader (void ){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPL} +{\bkmkend AAAAAAAAPL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieves the handle for the default shader for the scene. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +In the context of inheritance by objects, This retrieves the shader handle to use to draw the object.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A GLuint handle to the shader program. \par +}}{ +Reimplemented in {\b Object} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPK \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 63 of file Scene.cpp.}\par +} +{\xe \v view\:Cameras} +{\xe \v Cameras\:view} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Cameras::view (void(*)(void) {\i draw_func})}} +\par +{\bkmkstart AAAAAAAARN} +{\bkmkend AAAAAAAARN} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +view calls the view method on all child cameras, followed by the provided draw function. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Intended to be called during the {\b display()} portion of the GLUT main loop.\par +{\b view()} is intended to "set up" the object, but not actually draw it.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i draw_func} \cell }{A pointer to a function that will actually draw the object. \cell } +{\row } +} +}{ +Definition at line 234 of file Cameras.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Data Documentation\par +\pard\plain +{\xe \v _map\:Cameras} +{\xe \v Cameras\:_map} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::map< std::string, {\b Object}* > Scene::_map{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQL} +{\bkmkend AAAAAAAAQL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It's a little superfluous, but here it is! \par +}{ +Definition at line 127 of file Scene.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Cameras.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Cameras.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Engine Class Reference\par \pard\plain +{\tc\tcl2 \v Engine} +{\xe \v Engine} +{\bkmkstart AAAAAAAARO} +{\bkmkend AAAAAAAARO} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Engine} class is a singleton-style class which helps keep track of instances of important objects (for {\b Cameras}, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace. }}\par +{ +{\f2 #include }}\par +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Cameras} * {\b cams} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieves a pointer to the {\b Camera} List. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Scene} * {\b rootScene} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieves a pointer to the Root, top-level {\b Scene} graph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Screen} * {\b mainScreen} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieves a pointer to the core '{\b Screen}' object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +bool {\b opt} (const std::string &Option)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +opt retrieves the current setting of an option in the {\b Engine}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b opt} (const std::string &Option, bool setting)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +opt, with a second parameter, sets an {\b Engine} option. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +bool {\b set} (const std::string &Option)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +set checks to see if an option has been explicitly set to either True/False. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +bool {\b flip} (const std::string &Option)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +flip changes a setting from its current value to its negated form. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b ~Engine} (void){\bkmkstart AAAAAAAARP} +{\bkmkend AAAAAAAARP} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Default, non-virtual destructor. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Static Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +static {\b Engine} * {\b instance} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +instance returns, or creates and then returns, a pointer to the {\b Engine} object. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Engine} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Default constructor. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Engine} (const {\b Engine} ©)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Copy constructor. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Engine} & {\b operator=} ({\b Engine} &assign)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Assignment operator. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Scene} {\b _scene}{\bkmkstart AAAAAAAARQ} +{\bkmkend AAAAAAAARQ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The root {\b Scene} graph for the {\b Engine}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Screen} {\b _screen}{\bkmkstart AAAAAAAARR} +{\bkmkend AAAAAAAARR} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The core "Screen" object for the {\b Engine}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b SettingsMap} {\b _engineSettings}{\bkmkstart AAAAAAAARS} +{\bkmkend AAAAAAAARS} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +_engineSettings is a std::map that contains a series of pairs that represent our {\b Engine} options. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Static Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +static {\b Engine} * {\b _engineSingleton} = NULL{\bkmkstart AAAAAAAART} +{\bkmkend AAAAAAAART} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +static, stateful variable that is our singleton pointer. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Engine} class is a singleton-style class which helps keep track of instances of important objects (for {\b Cameras}, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace. \par +} + +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, {\f2 jhuston@cs.uml.edu} \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-13 \par +}}{ +Definition at line 32 of file Engine.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Constructor & Destructor Documentation\par +\pard\plain +{\xe \v Engine\:Engine} +{\xe \v Engine\:Engine} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +Engine::Engine (void ){\f2 [private]}}} +\par +{\bkmkstart AAAAAAAARU} +{\bkmkend AAAAAAAARU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Default constructor. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Cannot be called, this is a singleton class. \par +}{ +Definition at line 40 of file Engine.cpp.}\par +} +{\xe \v Engine\:Engine} +{\xe \v Engine\:Engine} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +Engine::Engine (const {\b Engine} & {\i copy}){\f2 [private]}}} +\par +{\bkmkstart AAAAAAAARV} +{\bkmkend AAAAAAAARV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Copy constructor. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Cannot be called. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i copy} \cell }{Not used. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Will always throw an exception. \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Exceptions:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Will} \cell }{always throw std::logic_error. \cell } +{\row } +} +}{ +Definition at line 57 of file Engine.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Function Documentation\par +\pard\plain +{\xe \v cams\:Engine} +{\xe \v Engine\:cams} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Cameras} * Engine::cams (void )}} +\par +{\bkmkstart AAAAAAAARW} +{\bkmkend AAAAAAAARW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieves a pointer to the {\b Camera} List. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the {\b Camera} List. \par +}}{ +Definition at line 76 of file Engine.cpp.}\par +} +{\xe \v flip\:Engine} +{\xe \v Engine\:flip} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +bool Engine::flip (const std::string & {\i Option})}} +\par +{\bkmkstart AAAAAAAARX} +{\bkmkend AAAAAAAARX} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +flip changes a setting from its current value to its negated form. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Option} \cell }{The option to toggle. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The new, current value of the option. \par +}}{ +Definition at line 139 of file Engine.cpp.}\par +} +{\xe \v instance\:Engine} +{\xe \v Engine\:instance} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Engine} * Engine::instance (void ){\f2 [static]}}} +\par +{\bkmkstart AAAAAAAARY} +{\bkmkend AAAAAAAARY} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +instance returns, or creates and then returns, a pointer to the {\b Engine} object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +All hail the singleton!\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the {\b Engine} object. \par +}}{ +Definition at line 29 of file Engine.cpp.}\par +} +{\xe \v mainScreen\:Engine} +{\xe \v Engine\:mainScreen} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Screen} * Engine::mainScreen (void )}} +\par +{\bkmkstart AAAAAAAARZ} +{\bkmkend AAAAAAAARZ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieves a pointer to the core '{\b Screen}' object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the core '{\b Screen}' object. \par +}}{ +Definition at line 96 of file Engine.cpp.}\par +} +{\xe \v operator=\:Engine} +{\xe \v Engine\:operator=} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Engine} & Engine::operator= ({\b Engine} & {\i assign}){\f2 [private]}}} +\par +{\bkmkstart AAAAAAAASA} +{\bkmkend AAAAAAAASA} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Assignment operator. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Cannot be used. This is a singleton class. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i assign} \cell }{Not used. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Will always throw an exception. \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Exceptions:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Will} \cell }{always throw std::logic_error. \cell } +{\row } +} +}{ +Definition at line 67 of file Engine.cpp.}\par +} +{\xe \v opt\:Engine} +{\xe \v Engine\:opt} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +bool Engine::opt (const std::string & {\i Option})}} +\par +{\bkmkstart AAAAAAAASB} +{\bkmkend AAAAAAAASB} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +opt retrieves the current setting of an option in the {\b Engine}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Option} \cell }{The name of the option to access. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A bool: the current value of the setting. \par +}}{ +Definition at line 107 of file Engine.cpp.}\par +} +{\xe \v opt\:Engine} +{\xe \v Engine\:opt} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Engine::opt (const std::string & {\i Option}, bool {\i setting})}} +\par +{\bkmkstart AAAAAAAASC} +{\bkmkend AAAAAAAASC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +opt, with a second parameter, sets an {\b Engine} option. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Option} \cell }{The name of the option to set. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i setting} \cell }{The value to give the option. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 117 of file Engine.cpp.}\par +} +{\xe \v rootScene\:Engine} +{\xe \v Engine\:rootScene} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Scene} * Engine::rootScene (void )}} +\par +{\bkmkstart AAAAAAAASD} +{\bkmkend AAAAAAAASD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieves a pointer to the Root, top-level {\b Scene} graph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the Root-level {\b Scene} graph. \par +}}{ +Definition at line 86 of file Engine.cpp.}\par +} +{\xe \v set\:Engine} +{\xe \v Engine\:set} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +bool Engine::set (const std::string & {\i Option})}} +\par +{\bkmkstart AAAAAAAASE} +{\bkmkend AAAAAAAASE} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +set checks to see if an option has been explicitly set to either True/False. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Option} \cell }{The option to check the existence of \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A boolean: True if the option has been set, False otherwise. \par +}}{ +Definition at line 127 of file Engine.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Engine.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Engine.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +TiemSpelchk::Lurn2SpielNub Class Reference\par \pard\plain +{\tc\tcl2 \v TiemSpelchk::Lurn2SpielNub} +{\xe \v TiemSpelchk::Lurn2SpielNub} +{\bkmkstart AAAAAAABFH} +{\bkmkend AAAAAAABFH} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setCallback} (boost::function< void(int, double, double, double) > headCB){\bkmkstart AAAAAAABFI} +{\bkmkend AAAAAAABFI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b Start} (){\bkmkstart AAAAAAABFJ} +{\bkmkend AAAAAAABFJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b Shutdown} (){\bkmkstart AAAAAAABFK} +{\bkmkend AAAAAAABFK} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Static Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +static void XN_CALLBACK_TYPE {\b new_user} (xn::UserGenerator &, XnUserID, void *){\bkmkstart AAAAAAABFL} +{\bkmkend AAAAAAABFL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +static void XN_CALLBACK_TYPE {\b lost_user} (xn::UserGenerator &, XnUserID, void *){\bkmkstart AAAAAAABFM} +{\bkmkend AAAAAAABFM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +static void XN_CALLBACK_TYPE {\b pose} (xn::PoseDetectionCapability &, const XnChar *, XnUserID, void *){\bkmkstart AAAAAAABFN} +{\bkmkend AAAAAAABFN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +static void XN_CALLBACK_TYPE {\b cal_start} (xn::SkeletonCapability &, XnUserID, void *){\bkmkstart AAAAAAABFO} +{\bkmkend AAAAAAABFO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +static void XN_CALLBACK_TYPE {\b cal_complete} (xn::SkeletonCapability &, XnUserID, XnCalibrationStatus, void *){\bkmkstart AAAAAAABFP} +{\bkmkend AAAAAAABFP} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b FUNKMASTER_thread_func} (){\bkmkstart AAAAAAABFQ} +{\bkmkend AAAAAAABFQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void XN_CALLBACK_TYPE {\b User_NewUser} (xn::UserGenerator &, XnUserID nId, void *){\bkmkstart AAAAAAABFR} +{\bkmkend AAAAAAABFR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void XN_CALLBACK_TYPE {\b User_LostUser} (xn::UserGenerator &, XnUserID nId, void *){\bkmkstart AAAAAAABFS} +{\bkmkend AAAAAAABFS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void XN_CALLBACK_TYPE {\b UserPose_PoseDetected} (xn::PoseDetectionCapability &, const XnChar *strPose, XnUserID nId, void *){\bkmkstart AAAAAAABFT} +{\bkmkend AAAAAAABFT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void XN_CALLBACK_TYPE {\b UserCalibration_CalibrationStart} (xn::SkeletonCapability &, XnUserID nId, void *){\bkmkstart AAAAAAABFU} +{\bkmkend AAAAAAABFU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void XN_CALLBACK_TYPE {\b UserCalibration_CalibrationComplete} (xn::SkeletonCapability &, XnUserID nId, XnCalibrationStatus eStatus, void *){\bkmkstart AAAAAAABFV} +{\bkmkend AAAAAAABFV} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +boost::function< void(int, \par +double, double, double) > {\b _cb}{\bkmkstart AAAAAAABFW} +{\bkmkend AAAAAAABFW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +boost::thread {\b _thread}{\bkmkstart AAAAAAABFX} +{\bkmkend AAAAAAABFX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b needsToSeppuku}{\bkmkstart AAAAAAABFY} +{\bkmkend AAAAAAABFY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +xn::Context {\b g_Context}{\bkmkstart AAAAAAABFZ} +{\bkmkend AAAAAAABFZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +xn::ScriptNode {\b g_scriptNode}{\bkmkstart AAAAAAABGA} +{\bkmkend AAAAAAABGA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +xn::DepthGenerator {\b g_DepthGenerator}{\bkmkstart AAAAAAABGB} +{\bkmkend AAAAAAABGB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +xn::UserGenerator {\b g_UserGenerator}{\bkmkstart AAAAAAABGC} +{\bkmkend AAAAAAABGC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +XnBool {\b g_bNeedPose}{\bkmkstart AAAAAAABGD} +{\bkmkend AAAAAAABGD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +XnChar {\b g_strPose} [20]{\bkmkstart AAAAAAABGE} +{\bkmkend AAAAAAABGE} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 56 of file KinectInator.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b KinectInator.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b KinectInator.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Angel::mat2 Class Reference\par \pard\plain +{\tc\tcl2 \v Angel::mat2} +{\xe \v Angel::mat2} +{\bkmkstart AAAAAAAAZM} +{\bkmkend AAAAAAAAZM} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b mat2} - 2D square matrix. }}\par +{ +{\f2 #include }}\par +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} (const GLfloat d=GLfloat(1.0)){\bkmkstart AAAAAAAAZN} +{\bkmkend AAAAAAAAZN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} (const {\b vec2} &a, const {\b vec2} &b){\bkmkstart AAAAAAAAZO} +{\bkmkend AAAAAAAAZO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} (GLfloat m00, GLfloat m10, GLfloat m01, GLfloat m11){\bkmkstart AAAAAAAAZP} +{\bkmkend AAAAAAAAZP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} (const {\b mat2} &m){\bkmkstart AAAAAAAAZQ} +{\bkmkend AAAAAAAAZQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} & {\b operator[]} (int i){\bkmkstart AAAAAAAAZR} +{\bkmkend AAAAAAAAZR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b vec2} & {\b operator[]} (int i) const {\bkmkstart AAAAAAAAZS} +{\bkmkend AAAAAAAAZS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} {\b operator+} (const {\b mat2} &m) const {\bkmkstart AAAAAAAAZT} +{\bkmkend AAAAAAAAZT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} {\b operator-} (const {\b mat2} &m) const {\bkmkstart AAAAAAAAZU} +{\bkmkend AAAAAAAAZU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} {\b operator*} (const GLfloat s) const {\bkmkstart AAAAAAAAZV} +{\bkmkend AAAAAAAAZV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} {\b operator/} (const GLfloat s) const {\bkmkstart AAAAAAAAZW} +{\bkmkend AAAAAAAAZW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} {\b operator*} (const {\b mat2} &m) const {\bkmkstart AAAAAAAAZX} +{\bkmkend AAAAAAAAZX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} & {\b operator+=} (const {\b mat2} &m){\bkmkstart AAAAAAAAZY} +{\bkmkend AAAAAAAAZY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} & {\b operator-=} (const {\b mat2} &m){\bkmkstart AAAAAAAAZZ} +{\bkmkend AAAAAAAAZZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} & {\b operator*=} (const GLfloat s){\bkmkstart AAAAAAABAA} +{\bkmkend AAAAAAABAA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} & {\b operator*=} (const {\b mat2} &m){\bkmkstart AAAAAAABAB} +{\bkmkend AAAAAAABAB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} & {\b operator/=} (const GLfloat s){\bkmkstart AAAAAAABAC} +{\bkmkend AAAAAAABAC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec2} {\b operator*} (const {\b vec2} &v) const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the result of the operation M*v. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator const GLfloat *} () const {\bkmkstart AAAAAAABAD} +{\bkmkend AAAAAAABAD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator GLfloat *} (){\bkmkstart AAAAAAABAE} +{\bkmkend AAAAAAABAE} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec2} {\b _m} [2]\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The data is stored as an array of two vectors. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Friends\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat2} {\b operator*} (const GLfloat s, const {\b mat2} &m){\bkmkstart AAAAAAABAF} +{\bkmkend AAAAAAABAF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b operator<<} (std::ostream &os, const {\b mat2} &m){\bkmkstart AAAAAAABAG} +{\bkmkend AAAAAAABAG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b operator>>} (std::istream &is, {\b mat2} &m){\bkmkstart AAAAAAABAH} +{\bkmkend AAAAAAABAH} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b mat2} - 2D square matrix. \par +} + +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel Class for a 2x2 matrix. Modified from code available from Ed Angel's website, {\f2 http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/} Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition \par +}}{ +Definition at line 36 of file mat.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Function Documentation\par +\pard\plain +{\xe \v operator*\:Angel::mat2} +{\xe \v Angel::mat2\:operator*} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b vec2} Angel::mat2::operator* (const {\b vec2} & {\i v}) const}} +\par +{\bkmkstart AAAAAAABAI} +{\bkmkend AAAAAAABAI} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the result of the operation M*v. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Assumes v is a one column, two row matrix. \par +}{ +Definition at line 154 of file mat.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Data Documentation\par +\pard\plain +{\xe \v _m\:Angel::mat2} +{\xe \v Angel::mat2\:_m} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b vec2} Angel::mat2::_m[2]{\f2 [private]}}} +\par +{\bkmkstart AAAAAAABAJ} +{\bkmkend AAAAAAABAJ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The data is stored as an array of two vectors. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 39 of file mat.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b mat.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b mat.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Angel::mat3 Class Reference\par \pard\plain +{\tc\tcl2 \v Angel::mat3} +{\xe \v Angel::mat3} +{\bkmkstart AAAAAAABAK} +{\bkmkend AAAAAAABAK} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b mat3} - 3D square matrix. }}\par +{ +{\f2 #include }}\par +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} (const GLfloat d=GLfloat(1.0)){\bkmkstart AAAAAAABAL} +{\bkmkend AAAAAAABAL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} (const {\b vec3} &a, const {\b vec3} &b, const {\b vec3} &c){\bkmkstart AAAAAAABAM} +{\bkmkend AAAAAAABAM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} (GLfloat m00, GLfloat m10, GLfloat m20, GLfloat m01, GLfloat m11, GLfloat m21, GLfloat m02, GLfloat m12, GLfloat m22){\bkmkstart AAAAAAABAN} +{\bkmkend AAAAAAABAN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} (const {\b mat3} &m){\bkmkstart AAAAAAABAO} +{\bkmkend AAAAAAABAO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} & {\b operator[]} (int i){\bkmkstart AAAAAAABAP} +{\bkmkend AAAAAAABAP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b vec3} & {\b operator[]} (int i) const {\bkmkstart AAAAAAABAQ} +{\bkmkend AAAAAAABAQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} {\b operator+} (const {\b mat3} &m) const {\bkmkstart AAAAAAABAR} +{\bkmkend AAAAAAABAR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} {\b operator-} (const {\b mat3} &m) const {\bkmkstart AAAAAAABAS} +{\bkmkend AAAAAAABAS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} {\b operator*} (const GLfloat s) const {\bkmkstart AAAAAAABAT} +{\bkmkend AAAAAAABAT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} {\b operator/} (const GLfloat s) const {\bkmkstart AAAAAAABAU} +{\bkmkend AAAAAAABAU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} {\b operator*} (const {\b mat3} &m) const {\bkmkstart AAAAAAABAV} +{\bkmkend AAAAAAABAV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} & {\b operator+=} (const {\b mat3} &m){\bkmkstart AAAAAAABAW} +{\bkmkend AAAAAAABAW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} & {\b operator-=} (const {\b mat3} &m){\bkmkstart AAAAAAABAX} +{\bkmkend AAAAAAABAX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} & {\b operator*=} (const GLfloat s){\bkmkstart AAAAAAABAY} +{\bkmkend AAAAAAABAY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} & {\b operator*=} (const {\b mat3} &m){\bkmkstart AAAAAAABAZ} +{\bkmkend AAAAAAABAZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} & {\b operator/=} (const GLfloat s){\bkmkstart AAAAAAABBA} +{\bkmkend AAAAAAABBA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b operator*} (const {\b vec3} &v) const {\bkmkstart AAAAAAABBB} +{\bkmkend AAAAAAABBB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator const GLfloat *} () const {\bkmkstart AAAAAAABBC} +{\bkmkend AAAAAAABBC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator GLfloat *} (){\bkmkstart AAAAAAABBD} +{\bkmkend AAAAAAABBD} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b _m} [3]{\bkmkstart AAAAAAABBE} +{\bkmkend AAAAAAABBE} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Friends\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat3} {\b operator*} (const GLfloat s, const {\b mat3} &m){\bkmkstart AAAAAAABBF} +{\bkmkend AAAAAAABBF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b operator<<} (std::ostream &os, const {\b mat3} &m){\bkmkstart AAAAAAABBG} +{\bkmkend AAAAAAABBG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b operator>>} (std::istream &is, {\b mat3} &m){\bkmkstart AAAAAAABBH} +{\bkmkend AAAAAAABBH} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b mat3} - 3D square matrix. \par +} + +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel Class for a 2x2 matrix. Modified from code available from Ed Angel's website, {\f2 http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/} Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition \par +}}{ +Definition at line 94 of file mat.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b mat.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b mat.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Angel::mat4 Class Reference\par \pard\plain +{\tc\tcl2 \v Angel::mat4} +{\xe \v Angel::mat4} +{\bkmkstart AAAAAAABBI} +{\bkmkend AAAAAAABBI} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b mat4} - 4D square matrix. }}\par +{ +{\f2 #include }}\par +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} (const GLfloat d=GLfloat(1.0)){\bkmkstart AAAAAAABBJ} +{\bkmkend AAAAAAABBJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} (const {\b vec4} &a, const {\b vec4} &b, const {\b vec4} &c, const {\b vec4} &d){\bkmkstart AAAAAAABBK} +{\bkmkend AAAAAAABBK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} (GLfloat m00, GLfloat m01, GLfloat m02, GLfloat m03, GLfloat m10, GLfloat m11, GLfloat m12, GLfloat m13, GLfloat m20, GLfloat m21, GLfloat m22, GLfloat m23, GLfloat m30, GLfloat m31, GLfloat m32, GLfloat m33){\bkmkstart AAAAAAABBL} +{\bkmkend AAAAAAABBL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} (const {\b mat4} &m){\bkmkstart AAAAAAABBM} +{\bkmkend AAAAAAABBM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} & {\b operator[]} (int i){\bkmkstart AAAAAAABBN} +{\bkmkend AAAAAAABBN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b vec4} & {\b operator[]} (int i) const {\bkmkstart AAAAAAABBO} +{\bkmkend AAAAAAABBO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} {\b operator+} (const {\b mat4} &m) const {\bkmkstart AAAAAAABBP} +{\bkmkend AAAAAAABBP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} {\b operator-} (const {\b mat4} &m) const {\bkmkstart AAAAAAABBQ} +{\bkmkend AAAAAAABBQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} {\b operator*} (const GLfloat s) const {\bkmkstart AAAAAAABBR} +{\bkmkend AAAAAAABBR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} {\b operator/} (const GLfloat s) const {\bkmkstart AAAAAAABBS} +{\bkmkend AAAAAAABBS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} {\b operator*} (const {\b mat4} &m) const {\bkmkstart AAAAAAABBT} +{\bkmkend AAAAAAABBT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} & {\b operator+=} (const {\b mat4} &m){\bkmkstart AAAAAAABBU} +{\bkmkend AAAAAAABBU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} & {\b operator-=} (const {\b mat4} &m){\bkmkstart AAAAAAABBV} +{\bkmkend AAAAAAABBV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} & {\b operator*=} (const GLfloat s){\bkmkstart AAAAAAABBW} +{\bkmkend AAAAAAABBW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} & {\b operator*=} (const {\b mat4} &m){\bkmkstart AAAAAAABBX} +{\bkmkend AAAAAAABBX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} & {\b operator/=} (const GLfloat s){\bkmkstart AAAAAAABBY} +{\bkmkend AAAAAAABBY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b operator*} (const {\b vec4} &v) const {\bkmkstart AAAAAAABBZ} +{\bkmkend AAAAAAABBZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator const GLfloat *} () const {\bkmkstart AAAAAAABCA} +{\bkmkend AAAAAAABCA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator GLfloat *} (){\bkmkstart AAAAAAABCB} +{\bkmkend AAAAAAABCB} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b _m} [4]{\bkmkstart AAAAAAABCC} +{\bkmkend AAAAAAABCC} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Friends\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} {\b operator*} (const GLfloat s, const {\b mat4} &m){\bkmkstart AAAAAAABCD} +{\bkmkend AAAAAAABCD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b operator*} (const {\b vec4} &v, const {\b mat4} &_m){\bkmkstart AAAAAAABCE} +{\bkmkend AAAAAAABCE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b operator<<} (std::ostream &os, const {\b mat4} &m){\bkmkstart AAAAAAABCF} +{\bkmkend AAAAAAABCF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b operator>>} (std::istream &is, {\b mat4} &m){\bkmkstart AAAAAAABCG} +{\bkmkend AAAAAAABCG} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b mat4} - 4D square matrix. \par +} + +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel Class for a 2x2 matrix. Modified from code available from Ed Angel's website, {\f2 http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/} Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition \par +}}{ +Definition at line 150 of file mat.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b mat.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b mat.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Object Class Reference\par \pard\plain +{\tc\tcl2 \v Object} +{\xe \v Object} +{\bkmkstart AAAAAAAASF} +{\bkmkend AAAAAAAASF} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Object} Class: Renderable {\b Object} Implementation. }}\par +{ +{\f2 #include }}\par +Inheritance diagram for Object:{ +\pard\plain +\par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "class_object.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Types\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +enum {\b Uniforms} \{ {\b BEGIN}, +{\b IS_TEXTURED} = BEGIN, +{\b OBJECT_CTM}, +{\b MORPH_PCT}, +{\b TEX_SAMPLER}, +{\b END} + \}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +enum Uniforms describes the properties of the base object that need to be visible to the GPU. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef const unsigned int {\b UniformEnum}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Object} class takes advantage of child-extendible enumerations. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef std::map\par +< {\b Object::UniformEnum}, \par +std::string > {\b UniformMap}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef enum {\b Object::Uniforms} {\b Uniform}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +enum Uniforms describes the properties of the base object that need to be visible to the GPU. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} (const std::string &{\b name}, GLuint gShader)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Constructor. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +virtual {\b ~Object} (void){\bkmkstart AAAAAAAASG} +{\bkmkend AAAAAAAASG} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Default destructor. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b draw} (void){\bkmkstart AAAAAAAAMM} +{\bkmkend AAAAAAAAMM} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +draw method: Render this object to the screen _buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b buffer} (void){\bkmkstart AAAAAAAAMN} +{\bkmkend AAAAAAAAMN} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +buffer all of our data: Vertices, TexUVs, Normals, Indices, Colors and Morph Buffers. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b bufferMorphOnly} (void){\bkmkstart AAAAAAAAMO} +{\bkmkend AAAAAAAAMO} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +buffer only the Morph-related buffers. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b drawMode} (GLenum new_mode)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Select a new OpenGL draw mode for this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b texture} (const char **filename)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: This is a junk, nonflexible method. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +const std::string & {\b name} (void) const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the _name of this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual void {\b link} ({\b UniformEnum} which, const std::string &{\b name})\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +link a specified Uniform against the shader's variable _name. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual void {\b send} ({\b UniformEnum} which)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Send a Uniform to the shader. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual GLuint {\b shader} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the {\b Object}'s current shader. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual void {\b shader} (GLuint newShader)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the shader to be used by this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b animation} (void(*anim_func)({\b TransCache} &arg))\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Apply an animation callback function to this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b propagate} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Scene-graph changes are not automatically applied to children. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec4} {\b position} () const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain the vec4 representative of the {\b Object}'s current position in space. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b morphTarget} () const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve a pointer to this object's morph target. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b genMorphTarget} (GLuint {\b shader})\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Instantiate a new morphing target. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b morphPercentage} () const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the morph Percentage of this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b morphPercentage} (const float newPercentage)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the morph percentage of this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b destroyMorphTarget} (){\bkmkstart AAAAAAAAMP} +{\bkmkend AAAAAAAAMP} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obliterate the morph target for this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +int {\b numberOfPoints} ()\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the number of _vertices this object has. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b textureID} (GLint newTextureID)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the {\b Texture} ID / {\b Texture} Unit for this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b addObject} (const std::string &objName, GLuint Object_Shader=0)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addObject creates a new {\b Object} with the given name and, optionally, a specified shader and adds it to the {\b Scene} graph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b delObject} (const std::string &objName)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject will remove from the {\b Scene} graph the object with the given name. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b delObject} (void){\bkmkstart AAAAAAAAMQ} +{\bkmkend AAAAAAAAMQ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject with no parameters will delete the first {\b Object} in the {\b Scene}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b popObject} (void){\bkmkstart AAAAAAAAMR} +{\bkmkend AAAAAAAAMR} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +popObject deletes the last {\b Object} in the {\b Scene}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b next} (void){\bkmkstart AAAAAAAAMS} +{\bkmkend AAAAAAAAMS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b prev} (void){\bkmkstart AAAAAAAAMT} +{\bkmkend AAAAAAAAMT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b active} (void) const {\bkmkstart AAAAAAAAMU} +{\bkmkend AAAAAAAAMU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b operator[]} (const std::string &objname){\bkmkstart AAAAAAAAMV} +{\bkmkend AAAAAAAAMV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b insertObject} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Register a created object with the scene graph. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec4} > {\b _vertices}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +vertex buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec3} > {\b _normals}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Normals buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< unsigned int > {\b _indices}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Draw Order Index buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec4} > {\b _colors}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Colors buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec2} > {\b _texUVs}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Texture} Coordinates buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b TransCache} {\b _trans}{\bkmkstart AAAAAAAAMW} +{\bkmkend AAAAAAAAMW} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The _trans cache encompasses the current transformational state of this object. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b deleteObject} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Very seriously delete a child object and free his memory. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::string {\b _name}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +_name is used as an identifying handle for the object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLuint {\b _vao}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Vertex Array {\b Object} handle identifying our buffers/object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b _buffer} [{\b NUM_BUFFERS}]{\bkmkstart AAAAAAAAMX} +{\bkmkend AAAAAAAAMX} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handles to our buffers (Vertices, TexUVs, etc.) }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLenum {\b _drawMode}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Drawing mode for this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b _isTextured}{\bkmkstart AAAAAAAAMY} +{\bkmkend AAAAAAAAMY} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Is this object textured? }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b _morphPercentage}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The percentage of the morph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b _morphTarget}{\bkmkstart AAAAAAAAMZ} +{\bkmkend AAAAAAAAMZ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A pointer to the object we wish to morph into. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::map< {\b Object::UniformEnum}, \par +std::string > {\b _uniformMap}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A map between Uniform variable functions and the actual uniform variable names. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< GLint > {\b _handles}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handles to Uniforms on the shader. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLint {\b _textureID}{\bkmkstart AAAAAAAANA} +{\bkmkend AAAAAAAANA} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The texture unit index this {\b Object} uses. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::list< {\b Object} * > {\b _list}{\bkmkstart AAAAAAAANB} +{\bkmkend AAAAAAAANB} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of rapid propagation of scene-graph changes, {\b Object} pointers are stored in a regular flat list. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::map< std::string, {\b Object} * > {\b _map}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::list< {\b Object} * >::iterator {\b _currentObj}{\bkmkstart AAAAAAAANC} +{\bkmkend AAAAAAAANC} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We keep an iterator on-hand that references what the scene considers to be it's active, current object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b _gShader}{\bkmkstart AAAAAAAAND} +{\bkmkend AAAAAAAAND} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A handle to a shader program to be used as the default shader for new children objects added to the scene. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Types\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +enum {\b BufferType} \{ {\b VERTICES}, +{\b NORMALS}, +{\b INDICES}, +{\b COLORS}, +{\b TEXCOORDS}, +{\b VERTICES_MORPH}, +{\b NORMALS_MORPH}, +{\b COLORS_MORPH}, +{\b NUM_BUFFERS} + \}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +These enumerations describe the types of buffers we want on the GPU per-object. }}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Object} Class: Renderable {\b Object} Implementation. \par +} + +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-15\par +}The {\b Object} class represents "one renderable object" in terms of the scene graph. It is a simple unit that is rendered with a single {\b draw()} call.\par +It contains all of the necessary state for sending uniforms to the shader, all of the buffers needed to send to the card, and also contains a fully-featured scene graph within itself such that children objects can be attached. \par +}{ +Definition at line 36 of file Object.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Typedef Documentation\par +\pard\plain +{\xe \v Uniform\:Object} +{\xe \v Object\:Uniform} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef enum {\b Object::Uniforms} {\b Object::Uniform}}} +\par +{\bkmkstart AAAAAAAASH} +{\bkmkend AAAAAAAASH} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +enum Uniforms describes the properties of the base object that need to be visible to the GPU. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +BEGIN and END are special sentinel enumerations that must be first and last, respectively. \par +}} +{\xe \v UniformEnum\:Object} +{\xe \v Object\:UniformEnum} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef const unsigned int {\b Object::UniformEnum}}} +\par +{\bkmkstart AAAAAAAANL} +{\bkmkend AAAAAAAANL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Object} class takes advantage of child-extendible enumerations. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We create an alias here for sake of ease. \par +}{ +Definition at line 62 of file Object.hpp.}\par +} +{\xe \v UniformMap\:Object} +{\xe \v Object\:UniformMap} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef std::map< {\b Object::UniformEnum}, std::string > {\b Object::UniformMap}}} +\par +{\bkmkstart AAAAAAAANM} +{\bkmkend AAAAAAAANM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is utilized if we ever switch this object's shader, so we can re-associate with the correct uniform locations. \par +}{ +Definition at line 70 of file Object.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Enumeration Documentation\par +\pard\plain +{\xe \v BufferType\:Object} +{\xe \v Object\:BufferType} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +enum {\b Object::BufferType}{\f2 [private]}}} +\par +{\bkmkstart AAAAAAAASI} +{\bkmkend AAAAAAAASI} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +These enumerations describe the types of buffers we want on the GPU per-object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +NUM_BUFFERS is a special sentinel enumeration that must always be last. \par +}{{{\b Enumerator: }}\par +\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid {\xe \v VERTICES\:Object} +{\xe \v Object\:VERTICES} +{\b {\i VERTICES{\bkmkstart AAAAAAAASJ} +{\bkmkend AAAAAAAASJ} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +VERTICES. \par +}{\xe \v NORMALS\:Object} +{\xe \v Object\:NORMALS} +{\b {\i NORMALS{\bkmkstart AAAAAAAASK} +{\bkmkend AAAAAAAASK} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +NORMALS. \par +}{\xe \v INDICES\:Object} +{\xe \v Object\:INDICES} +{\b {\i INDICES{\bkmkstart AAAAAAAASL} +{\bkmkend AAAAAAAASL} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +INDICES. \par +}{\xe \v COLORS\:Object} +{\xe \v Object\:COLORS} +{\b {\i COLORS{\bkmkstart AAAAAAAASM} +{\bkmkend AAAAAAAASM} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +COLORS. \par +}{\xe \v TEXCOORDS\:Object} +{\xe \v Object\:TEXCOORDS} +{\b {\i TEXCOORDS{\bkmkstart AAAAAAAASN} +{\bkmkend AAAAAAAASN} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TEXCOORDS. \par +}{\xe \v VERTICES_MORPH\:Object} +{\xe \v Object\:VERTICES_MORPH} +{\b {\i VERTICES_MORPH{\bkmkstart AAAAAAAASO} +{\bkmkend AAAAAAAASO} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +VERTICES_MORPH. \par +}{\xe \v NORMALS_MORPH\:Object} +{\xe \v Object\:NORMALS_MORPH} +{\b {\i NORMALS_MORPH{\bkmkstart AAAAAAAASP} +{\bkmkend AAAAAAAASP} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +NORMALS_MORPH. \par +}{\xe \v COLORS_MORPH\:Object} +{\xe \v Object\:COLORS_MORPH} +{\b {\i COLORS_MORPH{\bkmkstart AAAAAAAASQ} +{\bkmkend AAAAAAAASQ} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +COLORS_MORPH. \par +}{\xe \v NUM_BUFFERS\:Object} +{\xe \v Object\:NUM_BUFFERS} +{\b {\i NUM_BUFFERS{\bkmkstart AAAAAAAASR} +{\bkmkend AAAAAAAASR} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +NUM_BUFFERS This is a sentinel enumeration. \par +}} +\par +{ +Definition at line 44 of file Object.hpp.}\par +} +{\xe \v Uniforms\:Object} +{\xe \v Object\:Uniforms} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +enum {\b Object::Uniforms}}} +\par +{\bkmkstart AAAAAAAASS} +{\bkmkend AAAAAAAASS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +enum Uniforms describes the properties of the base object that need to be visible to the GPU. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +BEGIN and END are special sentinel enumerations that must be first and last, respectively. \par +}{{{\b Enumerator: }}\par +\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid {\xe \v BEGIN\:Object} +{\xe \v Object\:BEGIN} +{\b {\i BEGIN{\bkmkstart AAAAAAAAST} +{\bkmkend AAAAAAAAST} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +BEGIN. \par +}{\xe \v IS_TEXTURED\:Object} +{\xe \v Object\:IS_TEXTURED} +{\b {\i IS_TEXTURED{\bkmkstart AAAAAAAASU} +{\bkmkend AAAAAAAASU} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +IS_TEXTURED. \par +}{\xe \v OBJECT_CTM\:Object} +{\xe \v Object\:OBJECT_CTM} +{\b {\i OBJECT_CTM{\bkmkstart AAAAAAAASV} +{\bkmkend AAAAAAAASV} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +OBJECT_CTM. \par +}{\xe \v MORPH_PCT\:Object} +{\xe \v Object\:MORPH_PCT} +{\b {\i MORPH_PCT{\bkmkstart AAAAAAAASW} +{\bkmkend AAAAAAAASW} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +MORPH_PCT. \par +}{\xe \v TEX_SAMPLER\:Object} +{\xe \v Object\:TEX_SAMPLER} +{\b {\i TEX_SAMPLER{\bkmkstart AAAAAAAASX} +{\bkmkend AAAAAAAASX} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TEX_SAMPLER. \par +}{\xe \v END\:Object} +{\xe \v Object\:END} +{\b {\i END{\bkmkstart AAAAAAAASY} +{\bkmkend AAAAAAAASY} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +END. \par +}} +\par +{ +Definition at line 79 of file Object.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Constructor & Destructor Documentation\par +\pard\plain +{\xe \v Object\:Object} +{\xe \v Object\:Object} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +Object::Object (const std::string & {\i name}, GLuint {\i gShader})}} +\par +{\bkmkstart AAAAAAAASZ} +{\bkmkend AAAAAAAASZ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Constructor. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Requires at minimum a _name and a shader handle. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The _name of this object. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i gShader} \cell }{The shader to use to render this object. \cell } +{\row } +} +}{ +Definition at line 29 of file Object.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Function Documentation\par +\pard\plain +{\xe \v addObject\:Object} +{\xe \v Object\:addObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Object} * Scene::addObject (const std::string & {\i objName}, GLuint {\i shader} = {\f2 0}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAANW} +{\bkmkend AAAAAAAANW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addObject creates a new {\b Object} with the given name and, optionally, a specified shader and adds it to the {\b Scene} graph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +If no shader is given, a default shader MUST have been specified for the {\b Scene} prior to the call.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i objName} \cell }{The name of the new {\b Object} to add. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Object_Shader} \cell }{The shader that should be used to render this object. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the new {\b Object}. \par +}}{ +Definition at line 77 of file Scene.cpp.}\par +} +{\xe \v animation\:Object} +{\xe \v Object\:animation} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::animation (void(*)({\b TransCache} &arg) {\i anim_func})}} +\par +{\bkmkstart AAAAAAAANZ} +{\bkmkend AAAAAAAANZ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Apply an animation callback function to this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Works once only: Does not save the function or automatically run on idle. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i anim_func} \cell }{The transformation/animation function to apply. \cell } +{\row } +} +}{ +Definition at line 443 of file Object.cpp.}\par +} +{\xe \v deleteObject\:Object} +{\xe \v Object\:deleteObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::deleteObject ({\b Object} * {\i obj}){\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOC} +{\bkmkend AAAAAAAAOC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Very seriously delete a child object and free his memory. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +deleteObject is the actual implementation function that will remove an {\b Object} from the {\b Scene} list and {\b Scene} map, then free the object.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to delete.\cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The pointer to the object to free. \cell } +{\row } +} +}{ +Definition at line 129 of file Scene.cpp.}\par +} +{\xe \v delObject\:Object} +{\xe \v Object\:delObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::delObject (const std::string & {\i objName}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOD} +{\bkmkend AAAAAAAAOD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject will remove from the {\b Scene} graph the object with the given name. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i objName} \cell }{Name of the {\b Object} to delete. \cell } +{\row } +} +}{ +Definition at line 99 of file Scene.cpp.}\par +} +{\xe \v drawMode\:Object} +{\xe \v Object\:drawMode} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::drawMode (GLenum {\i new_mode})}} +\par +{\bkmkstart AAAAAAAAOH} +{\bkmkend AAAAAAAAOH} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Select a new OpenGL draw mode for this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Can be GL_LINES, GL_LINE_LOOP, GL_TRIANGLES, etc. \par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +See Also:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid {\f2 http://www.opengl.org/wiki/Primitive} \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i new_mode} \cell }{The primitive rendering mode to use. \cell } +{\row } +} +}{ +Definition at line 269 of file Object.cpp.}\par +} +{\xe \v genMorphTarget\:Object} +{\xe \v Object\:genMorphTarget} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Object} * Object::genMorphTarget (GLuint {\i shader})}} +\par +{\bkmkstart AAAAAAAAON} +{\bkmkend AAAAAAAAON} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Instantiate a new morphing target. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i shader} \cell }{The shader to use for the new morphing target. NOT USED for rendering the object, but Objects cannot be instantiated without a shader, so here it is.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the newly created target. \par +}}{ +Definition at line 503 of file Object.cpp.}\par +} +{\xe \v insertObject\:Object} +{\xe \v Object\:insertObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::insertObject ({\b Object} * {\i obj}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOQ} +{\bkmkend AAAAAAAAOQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Register a created object with the scene graph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The name of the object (For the associative map), \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The {\b Object} pointer to add to the scene. \cell } +{\row } +} +}{ +Definition at line 118 of file Scene.cpp.}\par +} +{\xe \v link\:Object} +{\xe \v Object\:link} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::link ({\b UniformEnum} {\i which}, const std::string & {\i name}){\f2 [virtual]}}} +\par +{\bkmkstart AAAAAAAAOR} +{\bkmkend AAAAAAAAOR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +link a specified Uniform against the shader's variable _name. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i which} \cell }{The Uniform to link. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The variable _name on the shader. \cell } +{\row } +} +}{ +Definition at line 345 of file Object.cpp.}\par +} +{\xe \v morphPercentage\:Object} +{\xe \v Object\:morphPercentage} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float Object::morphPercentage (void ) const}} +\par +{\bkmkstart AAAAAAAAOS} +{\bkmkend AAAAAAAAOS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the morph Percentage of this object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The morph percentage, as a float. \par +}}{ +Definition at line 515 of file Object.cpp.}\par +} +{\xe \v morphPercentage\:Object} +{\xe \v Object\:morphPercentage} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::morphPercentage (const float {\i newPercentage})}} +\par +{\bkmkstart AAAAAAAAOT} +{\bkmkend AAAAAAAAOT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the morph percentage of this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i newPercentage} \cell }{The new morphing percentage. \cell } +{\row } +} +}{ +Definition at line 524 of file Object.cpp.}\par +} +{\xe \v morphTarget\:Object} +{\xe \v Object\:morphTarget} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Object} * Object::morphTarget (void ) const}} +\par +{\bkmkstart AAAAAAAAOU} +{\bkmkend AAAAAAAAOU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve a pointer to this object's morph target. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid An {\b Object} pointer to the morph target. \par +}}{ +Definition at line 489 of file Object.cpp.}\par +} +{\xe \v name\:Object} +{\xe \v Object\:name} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +const std::string & Object::name (void ) const}} +\par +{\bkmkstart AAAAAAAAOW} +{\bkmkend AAAAAAAAOW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the _name of this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The _name of this {\b Object}. \par +}}{ +Definition at line 333 of file Object.cpp.}\par +} +{\xe \v numberOfPoints\:Object} +{\xe \v Object\:numberOfPoints} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +int Object::numberOfPoints (void )}} +\par +{\bkmkstart AAAAAAAAOX} +{\bkmkend AAAAAAAAOX} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the number of _vertices this object has. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid An integer representing the number of vertices the object has. \par +}}{ +Definition at line 544 of file Object.cpp.}\par +} +{\xe \v position\:Object} +{\xe \v Object\:position} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b vec4} Object::position (void ) const}} +\par +{\bkmkstart AAAAAAAAPD} +{\bkmkend AAAAAAAAPD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain the vec4 representative of the {\b Object}'s current position in space. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid vec4 representing the {\b Object}'s position in space. \par +}}{ +Definition at line 478 of file Object.cpp.}\par +} +{\xe \v propagate\:Object} +{\xe \v Object\:propagate} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::propagate (void )}} +\par +{\bkmkstart AAAAAAAAPE} +{\bkmkend AAAAAAAAPE} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Scene-graph changes are not automatically applied to children. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For efficiency reasons, you need to call {\b propagate()} manually. \par +}{ +Definition at line 452 of file Object.cpp.}\par +} +{\xe \v send\:Object} +{\xe \v Object\:send} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::send ({\b Object::UniformEnum} {\i which}){\f2 [virtual]}}} +\par +{\bkmkstart AAAAAAAAPJ} +{\bkmkend AAAAAAAAPJ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Send a Uniform to the shader. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i which} \cell }{The uniform to send. \cell } +{\row } +} +}{ +Reimplemented in {\b Camera} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPI \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 373 of file Object.cpp.}\par +} +{\xe \v shader\:Object} +{\xe \v Object\:shader} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLuint Object::shader (void ){\f2 [virtual]}}} +\par +{\bkmkstart AAAAAAAAPK} +{\bkmkend AAAAAAAAPK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the {\b Object}'s current shader. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Defined because C++ will not let you overload an overrided function, without re-overloading it in the derived class.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid a GLuint handle to the shader program used by this {\b Object}. \par +}}{ +Reimplemented from {\b Scene} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPL \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 406 of file Object.cpp.}\par +} +{\xe \v shader\:Object} +{\xe \v Object\:shader} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::shader (GLuint {\i newShader}){\f2 [virtual]}}} +\par +{\bkmkstart AAAAAAAAPM} +{\bkmkend AAAAAAAAPM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the shader to be used by this object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Triggers a query of the shader program, for the locations of the Uniform locations that the object needs.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i newShader} \cell }{a GLuint handle to the shader program to use.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid None. \par +}}{ +Reimplemented from {\b Scene} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPN \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 422 of file Object.cpp.}\par +} +{\xe \v texture\:Object} +{\xe \v Object\:texture} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::texture (const char ** {\i filename})}} +\par +{\bkmkstart AAAAAAAAPR} +{\bkmkend AAAAAAAAPR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: This is a junk, nonflexible method. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It would be better if you didn't think of this as being here.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i filename} \cell }{an array of strings to load textures from. \cell } +{\row } +} +}{ +Definition at line 279 of file Object.cpp.}\par +} +{\xe \v textureID\:Object} +{\xe \v Object\:textureID} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::textureID (GLint {\i newTextureID}){\f2 [inline]}}} +\par +{\bkmkstart AAAAAAAAPS} +{\bkmkend AAAAAAAAPS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the {\b Texture} ID / {\b Texture} Unit for this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i newTextureID} \cell }{The new {\b Texture} Unit ID/Index for this {\b Object}. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid None. \par +}}{ +Definition at line 244 of file Object.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Data Documentation\par +\pard\plain +{\xe \v _colors\:Object} +{\xe \v Object\:_colors} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec4} > Object::_colors}} +\par +{\bkmkstart AAAAAAAAQD} +{\bkmkend AAAAAAAAQD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Colors buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 256 of file Object.hpp.}\par +} +{\xe \v _drawMode\:Object} +{\xe \v Object\:_drawMode} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLenum Object::_drawMode{\f2 [protected]}}} +\par +{\bkmkstart AAAAAAAAQG} +{\bkmkend AAAAAAAAQG} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Drawing mode for this object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +GL_TRIANGLES, GL_LINE_LOOP, etc. \par +}{ +Definition at line 278 of file Object.hpp.}\par +} +{\xe \v _handles\:Object} +{\xe \v Object\:_handles} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< GLint > Object::_handles{\f2 [protected]}}} +\par +{\bkmkstart AAAAAAAAQJ} +{\bkmkend AAAAAAAAQJ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handles to Uniforms on the shader. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Protected to allow derived classes to extend it as needed. \par +}{ +Definition at line 307 of file Object.hpp.}\par +} +{\xe \v _indices\:Object} +{\xe \v Object\:_indices} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< unsigned int > Object::_indices}} +\par +{\bkmkstart AAAAAAAAQK} +{\bkmkend AAAAAAAAQK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Draw Order Index buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +If not used, engine assumes GL_DRAW_ARRAYS. \par +}{ +Definition at line 254 of file Object.hpp.}\par +} +{\xe \v _map\:Object} +{\xe \v Object\:_map} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::map< std::string, {\b Object}* > Scene::_map{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQL} +{\bkmkend AAAAAAAAQL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It's a little superfluous, but here it is! \par +}{ +Definition at line 127 of file Scene.hpp.}\par +} +{\xe \v _morphPercentage\:Object} +{\xe \v Object\:_morphPercentage} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float Object::_morphPercentage{\f2 [protected]}}} +\par +{\bkmkstart AAAAAAAAQM} +{\bkmkend AAAAAAAAQM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The percentage of the morph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +0.0 means 100% the original, current object. 100.0 means 100% the new, targeted object. \par +}{ +Definition at line 289 of file Object.hpp.}\par +} +{\xe \v _name\:Object} +{\xe \v Object\:_name} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::string Object::_name{\f2 [protected]}}} +\par +{\bkmkstart AAAAAAAAQO} +{\bkmkend AAAAAAAAQO} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +_name is used as an identifying handle for the object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 269 of file Object.hpp.}\par +} +{\xe \v _normals\:Object} +{\xe \v Object\:_normals} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec3} > Object::_normals}} +\par +{\bkmkstart AAAAAAAAQP} +{\bkmkend AAAAAAAAQP} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Normals buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 252 of file Object.hpp.}\par +} +{\xe \v _texUVs\:Object} +{\xe \v Object\:_texUVs} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec2} > Object::_texUVs}} +\par +{\bkmkstart AAAAAAAAQR} +{\bkmkend AAAAAAAAQR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Texture} Coordinates buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 258 of file Object.hpp.}\par +} +{\xe \v _uniformMap\:Object} +{\xe \v Object\:_uniformMap} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::map< {\b Object::UniformEnum}, std::string > Object::_uniformMap{\f2 [protected]}}} +\par +{\bkmkstart AAAAAAAAQS} +{\bkmkend AAAAAAAAQS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A map between Uniform variable functions and the actual uniform variable names. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Used when linking against a shader. \par +}{ +Definition at line 300 of file Object.hpp.}\par +} +{\xe \v _vao\:Object} +{\xe \v Object\:_vao} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLuint Object::_vao{\f2 [protected]}}} +\par +{\bkmkstart AAAAAAAAQT} +{\bkmkend AAAAAAAAQT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Vertex Array {\b Object} handle identifying our buffers/object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 272 of file Object.hpp.}\par +} +{\xe \v _vertices\:Object} +{\xe \v Object\:_vertices} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec4} > Object::_vertices}} +\par +{\bkmkstart AAAAAAAAQV} +{\bkmkend AAAAAAAAQV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +vertex buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 250 of file Object.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Object.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Object.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Particle Class Reference\par \pard\plain +{\tc\tcl2 \v Particle} +{\xe \v Particle} +{\bkmkstart AAAAAAAATA} +{\bkmkend AAAAAAAATA} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TODO: You know you've been bad. }}\par +{ +{\f2 #include }}\par +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Particle} ({\b vec4} position, float scale, float lifeSpan){\bkmkstart AAAAAAAATB} +{\bkmkend AAAAAAAATB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b changeVel} ({\b vec3} newVel){\bkmkstart AAAAAAAATC} +{\bkmkend AAAAAAAATC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b getLifespan} (void){\bkmkstart AAAAAAAATD} +{\bkmkend AAAAAAAATD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setAlpha} (float newAlpha){\bkmkstart AAAAAAAATE} +{\bkmkend AAAAAAAATE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setColor} ({\b vec4} newColor){\bkmkstart AAAAAAAATF} +{\bkmkend AAAAAAAATF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setLifespan} (float newLifespan){\bkmkstart AAAAAAAATG} +{\bkmkend AAAAAAAATG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setPos} ({\b vec4} newPos){\bkmkstart AAAAAAAATH} +{\bkmkend AAAAAAAATH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setScale} ({\b vec3} newScale){\bkmkstart AAAAAAAATI} +{\bkmkend AAAAAAAATI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setSpin} (float newSpin){\bkmkstart AAAAAAAATJ} +{\bkmkend AAAAAAAATJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setVel} ({\b vec3} newVel){\bkmkstart AAAAAAAATK} +{\bkmkend AAAAAAAATK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setTexFile} (string newFilename){\bkmkstart AAAAAAAATL} +{\bkmkend AAAAAAAATL} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b mPos}{\bkmkstart AAAAAAAATM} +{\bkmkend AAAAAAAATM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b mScale}{\bkmkstart AAAAAAAATN} +{\bkmkend AAAAAAAATN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b mVel}{\bkmkstart AAAAAAAATO} +{\bkmkend AAAAAAAATO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b color}{\bkmkstart AAAAAAAATP} +{\bkmkend AAAAAAAATP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b lifespan}{\bkmkstart AAAAAAAATQ} +{\bkmkend AAAAAAAATQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +string {\b texFilename}{\bkmkstart AAAAAAAATR} +{\bkmkend AAAAAAAATR} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TODO: You know you've been bad. \par +} + +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Nick Ver Voort, {\f2 nicholas_vervoort@student.uml.edu} \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Since:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 23 Feb 2013 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Nick Ver Voort, Chris Compton {\f2 nicholas_vervoort@student.uml.edu}, {\f2 christopher_compton@student.uml.edu} \par +}}{ +Definition at line 31 of file Particle.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Particle.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Particle.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +ParticleSystem Class Reference\par \pard\plain +{\tc\tcl2 \v ParticleSystem} +{\xe \v ParticleSystem} +{\bkmkstart AAAAAAAATS} +{\bkmkend AAAAAAAATS} +Inheritance diagram for ParticleSystem:{ +\pard\plain +\par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "class_particle_system.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Types\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +enum {\b Uniforms} \{ {\b BEGIN}, +{\b IS_TEXTURED} = BEGIN, +{\b OBJECT_CTM}, +{\b MORPH_PCT}, +{\b TEX_SAMPLER}, +{\b END} + \}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +enum Uniforms describes the properties of the base object that need to be visible to the GPU. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef const unsigned int {\b UniformEnum}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Object} class takes advantage of child-extendible enumerations. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef std::map\par +< {\b Object::UniformEnum}, \par +std::string > {\b UniformMap}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef enum {\b Object::Uniforms} {\b Uniform}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +enum Uniforms describes the properties of the base object that need to be visible to the GPU. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b ParticleSystem} (int particleAmt, const std::string &{\b name}, GLuint {\b shader}){\bkmkstart AAAAAAAATT} +{\bkmkend AAAAAAAATT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b addParticle} (void){\bkmkstart AAAAAAAATU} +{\bkmkend AAAAAAAATU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b getColor} (void){\bkmkstart AAAAAAAATV} +{\bkmkend AAAAAAAATV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b getLifespan} (void){\bkmkstart AAAAAAAATW} +{\bkmkend AAAAAAAATW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b getMaxLife} (void){\bkmkstart AAAAAAAATX} +{\bkmkend AAAAAAAATX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b getMinLife} (void){\bkmkstart AAAAAAAATY} +{\bkmkend AAAAAAAATY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b getNumParticles} (void){\bkmkstart AAAAAAAATZ} +{\bkmkend AAAAAAAATZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setColor} ({\b vec4} newColor){\bkmkstart AAAAAAAAUA} +{\bkmkend AAAAAAAAUA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setLifespan} (float minLifespan, float maxLifespan){\bkmkstart AAAAAAAAUB} +{\bkmkend AAAAAAAAUB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setNumParticles} (int newNumParticles){\bkmkstart AAAAAAAAUC} +{\bkmkend AAAAAAAAUC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b update} (){\bkmkstart AAAAAAAAUD} +{\bkmkend AAAAAAAAUD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b draw} (void){\bkmkstart AAAAAAAAMM} +{\bkmkend AAAAAAAAMM} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +draw method: Render this object to the screen _buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b buffer} (void){\bkmkstart AAAAAAAAMN} +{\bkmkend AAAAAAAAMN} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +buffer all of our data: Vertices, TexUVs, Normals, Indices, Colors and Morph Buffers. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b bufferMorphOnly} (void){\bkmkstart AAAAAAAAMO} +{\bkmkend AAAAAAAAMO} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +buffer only the Morph-related buffers. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b drawMode} (GLenum new_mode)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Select a new OpenGL draw mode for this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b texture} (const char **filename)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: This is a junk, nonflexible method. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +const std::string & {\b name} (void) const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the _name of this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual void {\b link} ({\b UniformEnum} which, const std::string &{\b name})\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +link a specified Uniform against the shader's variable _name. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual void {\b send} ({\b UniformEnum} which)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Send a Uniform to the shader. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual GLuint {\b shader} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the {\b Object}'s current shader. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual void {\b shader} (GLuint newShader)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the shader to be used by this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b animation} (void(*anim_func)({\b TransCache} &arg))\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Apply an animation callback function to this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b propagate} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Scene-graph changes are not automatically applied to children. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec4} {\b position} () const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain the vec4 representative of the {\b Object}'s current position in space. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b morphTarget} () const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve a pointer to this object's morph target. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b genMorphTarget} (GLuint {\b shader})\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Instantiate a new morphing target. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b morphPercentage} () const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the morph Percentage of this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b morphPercentage} (const float newPercentage)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the morph percentage of this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b destroyMorphTarget} (){\bkmkstart AAAAAAAAMP} +{\bkmkend AAAAAAAAMP} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obliterate the morph target for this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +int {\b numberOfPoints} ()\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the number of _vertices this object has. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b textureID} (GLint newTextureID)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the {\b Texture} ID / {\b Texture} Unit for this {\b Object}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b addObject} (const std::string &objName, GLuint Object_Shader=0)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addObject creates a new {\b Object} with the given name and, optionally, a specified shader and adds it to the {\b Scene} graph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b delObject} (const std::string &objName)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject will remove from the {\b Scene} graph the object with the given name. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b delObject} (void){\bkmkstart AAAAAAAAMQ} +{\bkmkend AAAAAAAAMQ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject with no parameters will delete the first {\b Object} in the {\b Scene}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b popObject} (void){\bkmkstart AAAAAAAAMR} +{\bkmkend AAAAAAAAMR} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +popObject deletes the last {\b Object} in the {\b Scene}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b next} (void){\bkmkstart AAAAAAAAMS} +{\bkmkend AAAAAAAAMS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b prev} (void){\bkmkstart AAAAAAAAMT} +{\bkmkend AAAAAAAAMT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b active} (void) const {\bkmkstart AAAAAAAAMU} +{\bkmkend AAAAAAAAMU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b operator[]} (const std::string &objname){\bkmkstart AAAAAAAAMV} +{\bkmkend AAAAAAAAMV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b insertObject} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Register a created object with the scene graph. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec4} > {\b _vertices}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +vertex buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec3} > {\b _normals}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Normals buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< unsigned int > {\b _indices}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Draw Order Index buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec4} > {\b _colors}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Colors buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< {\b Angel::vec2} > {\b _texUVs}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Texture} Coordinates buffer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b TransCache} {\b _trans}{\bkmkstart AAAAAAAAMW} +{\bkmkend AAAAAAAAMW} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The _trans cache encompasses the current transformational state of this object. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b deleteObject} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Very seriously delete a child object and free his memory. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::string {\b _name}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +_name is used as an identifying handle for the object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLuint {\b _vao}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Vertex Array {\b Object} handle identifying our buffers/object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b _buffer} [{\b NUM_BUFFERS}]{\bkmkstart AAAAAAAAMX} +{\bkmkend AAAAAAAAMX} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handles to our buffers (Vertices, TexUVs, etc.) }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLenum {\b _drawMode}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Drawing mode for this object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b _isTextured}{\bkmkstart AAAAAAAAMY} +{\bkmkend AAAAAAAAMY} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Is this object textured? }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b _morphPercentage}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The percentage of the morph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b _morphTarget}{\bkmkstart AAAAAAAAMZ} +{\bkmkend AAAAAAAAMZ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A pointer to the object we wish to morph into. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::map< {\b Object::UniformEnum}, \par +std::string > {\b _uniformMap}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A map between Uniform variable functions and the actual uniform variable names. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::vector< GLint > {\b _handles}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handles to Uniforms on the shader. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLint {\b _textureID}{\bkmkstart AAAAAAAANA} +{\bkmkend AAAAAAAANA} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The texture unit index this {\b Object} uses. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::list< {\b Object} * > {\b _list}{\bkmkstart AAAAAAAANB} +{\bkmkend AAAAAAAANB} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of rapid propagation of scene-graph changes, {\b Object} pointers are stored in a regular flat list. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::map< std::string, {\b Object} * > {\b _map}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::list< {\b Object} * >::iterator {\b _currentObj}{\bkmkstart AAAAAAAANC} +{\bkmkend AAAAAAAANC} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We keep an iterator on-hand that references what the scene considers to be it's active, current object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b _gShader}{\bkmkstart AAAAAAAAND} +{\bkmkend AAAAAAAAND} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A handle to a shader program to be used as the default shader for new children objects added to the scene. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b rangeRandom} (float min, float max){\bkmkstart AAAAAAAAUE} +{\bkmkend AAAAAAAAUE} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vector< {\b ParticleP} > {\b particles}{\bkmkstart AAAAAAAAUF} +{\bkmkend AAAAAAAAUF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b numParticles}{\bkmkstart AAAAAAAAUG} +{\bkmkend AAAAAAAAUG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b maxLife}{\bkmkstart AAAAAAAAUH} +{\bkmkend AAAAAAAAUH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b minLife}{\bkmkstart AAAAAAAAUI} +{\bkmkend AAAAAAAAUI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b color}{\bkmkstart AAAAAAAAUJ} +{\bkmkend AAAAAAAAUJ} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 28 of file ParticleSystem.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Typedef Documentation\par +\pard\plain +{\xe \v Uniform\:ParticleSystem} +{\xe \v ParticleSystem\:Uniform} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef enum {\b Object::Uniforms} {\b Object::Uniform}{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAASH} +{\bkmkend AAAAAAAASH} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +enum Uniforms describes the properties of the base object that need to be visible to the GPU. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +BEGIN and END are special sentinel enumerations that must be first and last, respectively. \par +}} +{\xe \v UniformEnum\:ParticleSystem} +{\xe \v ParticleSystem\:UniformEnum} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef const unsigned int {\b Object::UniformEnum}{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAANL} +{\bkmkend AAAAAAAANL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Object} class takes advantage of child-extendible enumerations. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We create an alias here for sake of ease. \par +}{ +Definition at line 62 of file Object.hpp.}\par +} +{\xe \v UniformMap\:ParticleSystem} +{\xe \v ParticleSystem\:UniformMap} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef std::map< {\b Object::UniformEnum}, std::string > {\b Object::UniformMap}{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAANM} +{\bkmkend AAAAAAAANM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We store mappings of Uniform Enumerations, The desired function of the var, to strings, the names of the variables. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is utilized if we ever switch this object's shader, so we can re-associate with the correct uniform locations. \par +}{ +Definition at line 70 of file Object.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Enumeration Documentation\par +\pard\plain +{\xe \v Uniforms\:ParticleSystem} +{\xe \v ParticleSystem\:Uniforms} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +enum {\b Object::Uniforms}{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAASS} +{\bkmkend AAAAAAAASS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +enum Uniforms describes the properties of the base object that need to be visible to the GPU. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +BEGIN and END are special sentinel enumerations that must be first and last, respectively. \par +}{{{\b Enumerator: }}\par +\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid {\xe \v BEGIN\:ParticleSystem} +{\xe \v ParticleSystem\:BEGIN} +{\b {\i BEGIN{\bkmkstart AAAAAAAAST} +{\bkmkend AAAAAAAAST} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +BEGIN. \par +}{\xe \v IS_TEXTURED\:ParticleSystem} +{\xe \v ParticleSystem\:IS_TEXTURED} +{\b {\i IS_TEXTURED{\bkmkstart AAAAAAAASU} +{\bkmkend AAAAAAAASU} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +IS_TEXTURED. \par +}{\xe \v OBJECT_CTM\:ParticleSystem} +{\xe \v ParticleSystem\:OBJECT_CTM} +{\b {\i OBJECT_CTM{\bkmkstart AAAAAAAASV} +{\bkmkend AAAAAAAASV} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +OBJECT_CTM. \par +}{\xe \v MORPH_PCT\:ParticleSystem} +{\xe \v ParticleSystem\:MORPH_PCT} +{\b {\i MORPH_PCT{\bkmkstart AAAAAAAASW} +{\bkmkend AAAAAAAASW} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +MORPH_PCT. \par +}{\xe \v TEX_SAMPLER\:ParticleSystem} +{\xe \v ParticleSystem\:TEX_SAMPLER} +{\b {\i TEX_SAMPLER{\bkmkstart AAAAAAAASX} +{\bkmkend AAAAAAAASX} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TEX_SAMPLER. \par +}{\xe \v END\:ParticleSystem} +{\xe \v ParticleSystem\:END} +{\b {\i END{\bkmkstart AAAAAAAASY} +{\bkmkend AAAAAAAASY} +}} {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +END. \par +}} +\par +{ +Definition at line 79 of file Object.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Function Documentation\par +\pard\plain +{\xe \v addObject\:ParticleSystem} +{\xe \v ParticleSystem\:addObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Object} * Scene::addObject (const std::string & {\i objName}, GLuint {\i shader} = {\f2 0}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAANW} +{\bkmkend AAAAAAAANW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addObject creates a new {\b Object} with the given name and, optionally, a specified shader and adds it to the {\b Scene} graph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +If no shader is given, a default shader MUST have been specified for the {\b Scene} prior to the call.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i objName} \cell }{The name of the new {\b Object} to add. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Object_Shader} \cell }{The shader that should be used to render this object. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the new {\b Object}. \par +}}{ +Definition at line 77 of file Scene.cpp.}\par +} +{\xe \v animation\:ParticleSystem} +{\xe \v ParticleSystem\:animation} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::animation (void(*)({\b TransCache} &arg) {\i anim_func}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAANZ} +{\bkmkend AAAAAAAANZ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Apply an animation callback function to this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Works once only: Does not save the function or automatically run on idle. {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i anim_func} \cell }{The transformation/animation function to apply. \cell } +{\row } +} +}{ +Definition at line 443 of file Object.cpp.}\par +} +{\xe \v deleteObject\:ParticleSystem} +{\xe \v ParticleSystem\:deleteObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::deleteObject ({\b Object} * {\i obj}){\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOC} +{\bkmkend AAAAAAAAOC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Very seriously delete a child object and free his memory. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +deleteObject is the actual implementation function that will remove an {\b Object} from the {\b Scene} list and {\b Scene} map, then free the object.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to delete.\cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The pointer to the object to free. \cell } +{\row } +} +}{ +Definition at line 129 of file Scene.cpp.}\par +} +{\xe \v delObject\:ParticleSystem} +{\xe \v ParticleSystem\:delObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::delObject (const std::string & {\i objName}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOD} +{\bkmkend AAAAAAAAOD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject will remove from the {\b Scene} graph the object with the given name. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i objName} \cell }{Name of the {\b Object} to delete. \cell } +{\row } +} +}{ +Definition at line 99 of file Scene.cpp.}\par +} +{\xe \v drawMode\:ParticleSystem} +{\xe \v ParticleSystem\:drawMode} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::drawMode (GLenum {\i new_mode}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOH} +{\bkmkend AAAAAAAAOH} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Select a new OpenGL draw mode for this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Can be GL_LINES, GL_LINE_LOOP, GL_TRIANGLES, etc. \par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +See Also:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid {\f2 http://www.opengl.org/wiki/Primitive} \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i new_mode} \cell }{The primitive rendering mode to use. \cell } +{\row } +} +}{ +Definition at line 269 of file Object.cpp.}\par +} +{\xe \v genMorphTarget\:ParticleSystem} +{\xe \v ParticleSystem\:genMorphTarget} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Object} * Object::genMorphTarget (GLuint {\i shader}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAON} +{\bkmkend AAAAAAAAON} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Instantiate a new morphing target. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i shader} \cell }{The shader to use for the new morphing target. NOT USED for rendering the object, but Objects cannot be instantiated without a shader, so here it is.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the newly created target. \par +}}{ +Definition at line 503 of file Object.cpp.}\par +} +{\xe \v insertObject\:ParticleSystem} +{\xe \v ParticleSystem\:insertObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::insertObject ({\b Object} * {\i obj}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOQ} +{\bkmkend AAAAAAAAOQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Register a created object with the scene graph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The name of the object (For the associative map), \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The {\b Object} pointer to add to the scene. \cell } +{\row } +} +}{ +Definition at line 118 of file Scene.cpp.}\par +} +{\xe \v link\:ParticleSystem} +{\xe \v ParticleSystem\:link} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::link ({\b UniformEnum} {\i which}, const std::string & {\i name}){\f2 [virtual]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOR} +{\bkmkend AAAAAAAAOR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +link a specified Uniform against the shader's variable _name. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i which} \cell }{The Uniform to link. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The variable _name on the shader. \cell } +{\row } +} +}{ +Definition at line 345 of file Object.cpp.}\par +} +{\xe \v morphPercentage\:ParticleSystem} +{\xe \v ParticleSystem\:morphPercentage} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float Object::morphPercentage (void ) const{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOS} +{\bkmkend AAAAAAAAOS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the morph Percentage of this object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The morph percentage, as a float. \par +}}{ +Definition at line 515 of file Object.cpp.}\par +} +{\xe \v morphPercentage\:ParticleSystem} +{\xe \v ParticleSystem\:morphPercentage} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::morphPercentage (const float {\i newPercentage}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOT} +{\bkmkend AAAAAAAAOT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the morph percentage of this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i newPercentage} \cell }{The new morphing percentage. \cell } +{\row } +} +}{ +Definition at line 524 of file Object.cpp.}\par +} +{\xe \v morphTarget\:ParticleSystem} +{\xe \v ParticleSystem\:morphTarget} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Object} * Object::morphTarget (void ) const{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOU} +{\bkmkend AAAAAAAAOU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve a pointer to this object's morph target. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid An {\b Object} pointer to the morph target. \par +}}{ +Definition at line 489 of file Object.cpp.}\par +} +{\xe \v name\:ParticleSystem} +{\xe \v ParticleSystem\:name} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +const std::string & Object::name (void ) const{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOW} +{\bkmkend AAAAAAAAOW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the _name of this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The _name of this {\b Object}. \par +}}{ +Definition at line 333 of file Object.cpp.}\par +} +{\xe \v numberOfPoints\:ParticleSystem} +{\xe \v ParticleSystem\:numberOfPoints} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +int Object::numberOfPoints (void ){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAOX} +{\bkmkend AAAAAAAAOX} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieve the number of _vertices this object has. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid An integer representing the number of vertices the object has. \par +}}{ +Definition at line 544 of file Object.cpp.}\par +} +{\xe \v position\:ParticleSystem} +{\xe \v ParticleSystem\:position} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b vec4} Object::position (void ) const{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPD} +{\bkmkend AAAAAAAAPD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain the vec4 representative of the {\b Object}'s current position in space. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid vec4 representing the {\b Object}'s position in space. \par +}}{ +Definition at line 478 of file Object.cpp.}\par +} +{\xe \v propagate\:ParticleSystem} +{\xe \v ParticleSystem\:propagate} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::propagate (void ){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPE} +{\bkmkend AAAAAAAAPE} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Scene-graph changes are not automatically applied to children. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For efficiency reasons, you need to call {\b propagate()} manually. \par +}{ +Definition at line 452 of file Object.cpp.}\par +} +{\xe \v send\:ParticleSystem} +{\xe \v ParticleSystem\:send} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::send ({\b Object::UniformEnum} {\i which}){\f2 [virtual]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPJ} +{\bkmkend AAAAAAAAPJ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Send a Uniform to the shader. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i which} \cell }{The uniform to send. \cell } +{\row } +} +}{ +Reimplemented in {\b Camera} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPI \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 373 of file Object.cpp.}\par +} +{\xe \v shader\:ParticleSystem} +{\xe \v ParticleSystem\:shader} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLuint Object::shader (void ){\f2 [virtual]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPK} +{\bkmkend AAAAAAAAPK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the {\b Object}'s current shader. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Defined because C++ will not let you overload an overrided function, without re-overloading it in the derived class.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid a GLuint handle to the shader program used by this {\b Object}. \par +}}{ +Reimplemented from {\b Scene} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPL \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 406 of file Object.cpp.}\par +} +{\xe \v shader\:ParticleSystem} +{\xe \v ParticleSystem\:shader} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::shader (GLuint {\i newShader}){\f2 [virtual]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPM} +{\bkmkend AAAAAAAAPM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the shader to be used by this object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Triggers a query of the shader program, for the locations of the Uniform locations that the object needs.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i newShader} \cell }{a GLuint handle to the shader program to use.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid None. \par +}}{ +Reimplemented from {\b Scene} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPN \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 422 of file Object.cpp.}\par +} +{\xe \v texture\:ParticleSystem} +{\xe \v ParticleSystem\:texture} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::texture (const char ** {\i filename}){\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPR} +{\bkmkend AAAAAAAAPR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: This is a junk, nonflexible method. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It would be better if you didn't think of this as being here.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i filename} \cell }{an array of strings to load textures from. \cell } +{\row } +} +}{ +Definition at line 279 of file Object.cpp.}\par +} +{\xe \v textureID\:ParticleSystem} +{\xe \v ParticleSystem\:textureID} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Object::textureID (GLint {\i newTextureID}){\f2 [inline]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAPS} +{\bkmkend AAAAAAAAPS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Set the {\b Texture} ID / {\b Texture} Unit for this {\b Object}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i newTextureID} \cell }{The new {\b Texture} Unit ID/Index for this {\b Object}. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid None. \par +}}{ +Definition at line 244 of file Object.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Data Documentation\par +\pard\plain +{\xe \v _colors\:ParticleSystem} +{\xe \v ParticleSystem\:_colors} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec4} > Object::_colors{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQD} +{\bkmkend AAAAAAAAQD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Colors buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 256 of file Object.hpp.}\par +} +{\xe \v _drawMode\:ParticleSystem} +{\xe \v ParticleSystem\:_drawMode} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLenum Object::_drawMode{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQG} +{\bkmkend AAAAAAAAQG} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Drawing mode for this object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +GL_TRIANGLES, GL_LINE_LOOP, etc. \par +}{ +Definition at line 278 of file Object.hpp.}\par +} +{\xe \v _handles\:ParticleSystem} +{\xe \v ParticleSystem\:_handles} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< GLint > Object::_handles{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQJ} +{\bkmkend AAAAAAAAQJ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handles to Uniforms on the shader. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Protected to allow derived classes to extend it as needed. \par +}{ +Definition at line 307 of file Object.hpp.}\par +} +{\xe \v _indices\:ParticleSystem} +{\xe \v ParticleSystem\:_indices} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< unsigned int > Object::_indices{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQK} +{\bkmkend AAAAAAAAQK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Draw Order Index buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +If not used, engine assumes GL_DRAW_ARRAYS. \par +}{ +Definition at line 254 of file Object.hpp.}\par +} +{\xe \v _map\:ParticleSystem} +{\xe \v ParticleSystem\:_map} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::map< std::string, {\b Object}* > Scene::_map{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQL} +{\bkmkend AAAAAAAAQL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It's a little superfluous, but here it is! \par +}{ +Definition at line 127 of file Scene.hpp.}\par +} +{\xe \v _morphPercentage\:ParticleSystem} +{\xe \v ParticleSystem\:_morphPercentage} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float Object::_morphPercentage{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQM} +{\bkmkend AAAAAAAAQM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The percentage of the morph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +0.0 means 100% the original, current object. 100.0 means 100% the new, targeted object. \par +}{ +Definition at line 289 of file Object.hpp.}\par +} +{\xe \v _name\:ParticleSystem} +{\xe \v ParticleSystem\:_name} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::string Object::_name{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQO} +{\bkmkend AAAAAAAAQO} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +_name is used as an identifying handle for the object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 269 of file Object.hpp.}\par +} +{\xe \v _normals\:ParticleSystem} +{\xe \v ParticleSystem\:_normals} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec3} > Object::_normals{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQP} +{\bkmkend AAAAAAAAQP} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Normals buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 252 of file Object.hpp.}\par +} +{\xe \v _texUVs\:ParticleSystem} +{\xe \v ParticleSystem\:_texUVs} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec2} > Object::_texUVs{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQR} +{\bkmkend AAAAAAAAQR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Texture} Coordinates buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 258 of file Object.hpp.}\par +} +{\xe \v _uniformMap\:ParticleSystem} +{\xe \v ParticleSystem\:_uniformMap} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::map< {\b Object::UniformEnum}, std::string > Object::_uniformMap{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQS} +{\bkmkend AAAAAAAAQS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A map between Uniform variable functions and the actual uniform variable names. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Used when linking against a shader. \par +}{ +Definition at line 300 of file Object.hpp.}\par +} +{\xe \v _vao\:ParticleSystem} +{\xe \v ParticleSystem\:_vao} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLuint Object::_vao{\f2 [protected]}, {\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQT} +{\bkmkend AAAAAAAAQT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Vertex Array {\b Object} handle identifying our buffers/object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 272 of file Object.hpp.}\par +} +{\xe \v _vertices\:ParticleSystem} +{\xe \v ParticleSystem\:_vertices} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::vector< {\b Angel::vec4} > Object::_vertices{\f2 [inherited]}}} +\par +{\bkmkstart AAAAAAAAQV} +{\bkmkend AAAAAAAAQV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +vertex buffer. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 250 of file Object.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b ParticleSystem.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b ParticleSystem.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +RotMat Class Reference\par \pard\plain +{\tc\tcl2 \v RotMat} +{\xe \v RotMat} +{\bkmkstart AAAAAAAAUK} +{\bkmkend AAAAAAAAUK} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Rotations. }}\par +{ +{\f2 #include }}\par +Inheritance diagram for RotMat:{ +\pard\plain +\par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "class_rot_mat.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b RotMat} & {\b reset} (const {\b Angel::mat4} &NewState){\bkmkstart AAAAAAAAUL} +{\bkmkend AAAAAAAAUL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b RotMat} & {\b rotateX} (const GLfloat theta, bool postmult=true){\bkmkstart AAAAAAAAUM} +{\bkmkend AAAAAAAAUM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b RotMat} & {\b rotateY} (const GLfloat theta, bool postmult=true){\bkmkstart AAAAAAAAUN} +{\bkmkend AAAAAAAAUN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b RotMat} & {\b rotateZ} (const GLfloat theta, bool postmult=true){\bkmkstart AAAAAAAAUO} +{\bkmkend AAAAAAAAUO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b RotMat} & {\b adjust} (const {\b Angel::mat4} &Adjustment, bool postmult=true){\bkmkstart AAAAAAAAUP} +{\bkmkend AAAAAAAAUP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b Angel::mat4} & {\b matrix} (void) const {\bkmkstart AAAAAAAAUQ} +{\bkmkend AAAAAAAAUQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b operator*} (const {\b Angel::mat4} &rhs) const {\bkmkstart AAAAAAAAUR} +{\bkmkend AAAAAAAAUR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b operator*} (const {\b Transformation} &rhs) const {\bkmkstart AAAAAAAAUS} +{\bkmkend AAAAAAAAUS} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b mat}{\bkmkstart AAAAAAAAUT} +{\bkmkend AAAAAAAAUT} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Rotations. \par +}{ +Definition at line 40 of file Transformation.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Transformation.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Transformation.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +ScaleMat Class Reference\par \pard\plain +{\tc\tcl2 \v ScaleMat} +{\xe \v ScaleMat} +{\bkmkstart AAAAAAAAUU} +{\bkmkend AAAAAAAAUU} +Inheritance diagram for ScaleMat:{ +\pard\plain +\par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "class_scale_mat.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b ScaleMat} & {\b set} (const float x, const float y, const float z){\bkmkstart AAAAAAAAUV} +{\bkmkend AAAAAAAAUV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b ScaleMat} & {\b set} (const float pct){\bkmkstart AAAAAAAAUW} +{\bkmkend AAAAAAAAUW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b ScaleMat} & {\b adjust} (const float x, const float y, const float z){\bkmkstart AAAAAAAAUX} +{\bkmkend AAAAAAAAUX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b ScaleMat} & {\b adjust} (const float pct){\bkmkstart AAAAAAAAUY} +{\bkmkend AAAAAAAAUY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b Angel::mat4} & {\b matrix} (void) const {\bkmkstart AAAAAAAAUQ} +{\bkmkend AAAAAAAAUQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b operator*} (const {\b Angel::mat4} &rhs) const {\bkmkstart AAAAAAAAUR} +{\bkmkend AAAAAAAAUR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b operator*} (const {\b Transformation} &rhs) const {\bkmkstart AAAAAAAAUS} +{\bkmkend AAAAAAAAUS} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b mat}{\bkmkstart AAAAAAAAUT} +{\bkmkend AAAAAAAAUT} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 70 of file Transformation.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Transformation.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Transformation.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Scene Class Reference\par \pard\plain +{\tc\tcl2 \v Scene} +{\xe \v Scene} +{\bkmkstart AAAAAAAARD} +{\bkmkend AAAAAAAARD} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Scene} object keeps track of a list of objects considered to be "children" of the {\b Scene}. }}\par +{ +{\f2 #include }}\par +Inheritance diagram for Scene:{ +\pard\plain +\par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "class_scene.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Scene} (){\bkmkstart AAAAAAAAUZ} +{\bkmkend AAAAAAAAUZ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Nullary constructor. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual {\b ~Scene} ()\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Destructor! Will traverse its list and delete all objects! !! CAUTION !! If you have registered your own Objects manually, note that the scene will delete them for you! }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +virtual void {\b shader} (GLuint gShader)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the Default shader for the scene. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLuint {\b shader} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieves the handle for the default shader for the scene. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b addObject} (const std::string &objName, GLuint Object_Shader=0)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addObject creates a new {\b Object} with the given name and, optionally, a specified shader and adds it to the {\b Scene} graph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b delObject} (const std::string &objName)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject will remove from the {\b Scene} graph the object with the given name. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b delObject} (void){\bkmkstart AAAAAAAAMQ} +{\bkmkend AAAAAAAAMQ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject with no parameters will delete the first {\b Object} in the {\b Scene}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b popObject} (void){\bkmkstart AAAAAAAAMR} +{\bkmkend AAAAAAAAMR} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +popObject deletes the last {\b Object} in the {\b Scene}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b next} (void){\bkmkstart AAAAAAAAMS} +{\bkmkend AAAAAAAAMS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b prev} (void){\bkmkstart AAAAAAAAMT} +{\bkmkend AAAAAAAAMT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b active} (void) const {\bkmkstart AAAAAAAAMU} +{\bkmkend AAAAAAAAMU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b draw} (void){\bkmkstart AAAAAAAAQY} +{\bkmkend AAAAAAAAQY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Object} * {\b operator[]} (const std::string &objname){\bkmkstart AAAAAAAAMV} +{\bkmkend AAAAAAAAMV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Scene} (const {\b Scene} ©){\bkmkstart AAAAAAAAVA} +{\bkmkend AAAAAAAAVA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Scene} & {\b operator=} (const {\b Scene} ©){\bkmkstart AAAAAAAAVB} +{\bkmkend AAAAAAAAVB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b insertObject} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Register a created object with the scene graph. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b deleteObject} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Very seriously delete a child object and free his memory. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::list< {\b Object} * > {\b _list}{\bkmkstart AAAAAAAANB} +{\bkmkend AAAAAAAANB} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of rapid propagation of scene-graph changes, {\b Object} pointers are stored in a regular flat list. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +std::map< std::string, {\b Object} * > {\b _map}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::list< {\b Object} * >::iterator {\b _currentObj}{\bkmkstart AAAAAAAANC} +{\bkmkend AAAAAAAANC} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +We keep an iterator on-hand that references what the scene considers to be it's active, current object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b _gShader}{\bkmkstart AAAAAAAAND} +{\bkmkend AAAAAAAAND} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A handle to a shader program to be used as the default shader for new children objects added to the scene. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Scene} object keeps track of a list of objects considered to be "children" of the {\b Scene}. \par +} + +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Scene} itself has no physical representation or presence otherwise on the GPU, it is purely a logical CPU entity.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-16 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}}{ +Definition at line 30 of file Scene.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Constructor & Destructor Documentation\par +\pard\plain +{\xe \v ~Scene\:Scene} +{\xe \v Scene\:~Scene} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +Scene::~Scene (){\f2 [virtual]}}} +\par +{\bkmkstart AAAAAAAAVC} +{\bkmkend AAAAAAAAVC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Destructor! Will traverse its list and delete all objects! !! CAUTION !! If you have registered your own Objects manually, note that the scene will delete them for you! }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +You should, of course, never register objects from the stack. \par +}{ +Definition at line 34 of file Scene.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Function Documentation\par +\pard\plain +{\xe \v addObject\:Scene} +{\xe \v Scene\:addObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Object} * Scene::addObject (const std::string & {\i objName}, GLuint {\i shader} = {\f2 0})}} +\par +{\bkmkstart AAAAAAAANW} +{\bkmkend AAAAAAAANW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +addObject creates a new {\b Object} with the given name and, optionally, a specified shader and adds it to the {\b Scene} graph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +If no shader is given, a default shader MUST have been specified for the {\b Scene} prior to the call.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i objName} \cell }{The name of the new {\b Object} to add. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i Object_Shader} \cell }{The shader that should be used to render this object. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A pointer to the new {\b Object}. \par +}}{ +Definition at line 77 of file Scene.cpp.}\par +} +{\xe \v deleteObject\:Scene} +{\xe \v Scene\:deleteObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::deleteObject ({\b Object} * {\i obj}){\f2 [protected]}}} +\par +{\bkmkstart AAAAAAAAOC} +{\bkmkend AAAAAAAAOC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Very seriously delete a child object and free his memory. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +deleteObject is the actual implementation function that will remove an {\b Object} from the {\b Scene} list and {\b Scene} map, then free the object.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to delete.\cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The pointer to the object to free. \cell } +{\row } +} +}{ +Definition at line 129 of file Scene.cpp.}\par +} +{\xe \v delObject\:Scene} +{\xe \v Scene\:delObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::delObject (const std::string & {\i objName})}} +\par +{\bkmkstart AAAAAAAAOD} +{\bkmkend AAAAAAAAOD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delObject will remove from the {\b Scene} graph the object with the given name. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i objName} \cell }{Name of the {\b Object} to delete. \cell } +{\row } +} +}{ +Definition at line 99 of file Scene.cpp.}\par +} +{\xe \v insertObject\:Scene} +{\xe \v Scene\:insertObject} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::insertObject ({\b Object} * {\i obj})}} +\par +{\bkmkstart AAAAAAAAOQ} +{\bkmkend AAAAAAAAOQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Register a created object with the scene graph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i name} \cell }{The name of the object (For the associative map), \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The {\b Object} pointer to add to the scene. \cell } +{\row } +} +}{ +Definition at line 118 of file Scene.cpp.}\par +} +{\xe \v shader\:Scene} +{\xe \v Scene\:shader} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void Scene::shader (GLuint {\i gShader}){\f2 [virtual]}}} +\par +{\bkmkstart AAAAAAAAPN} +{\bkmkend AAAAAAAAPN} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Sets the Default shader for the scene. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +In the context of inheritance by objects, This sets the shader to use to render the physical object.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i gShader} \cell }{The GLuint handle to the shader to use.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Reimplemented in {\b Object} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPM \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 52 of file Scene.cpp.}\par +} +{\xe \v shader\:Scene} +{\xe \v Scene\:shader} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLuint Scene::shader (void )}} +\par +{\bkmkstart AAAAAAAAPL} +{\bkmkend AAAAAAAAPL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Retrieves the handle for the default shader for the scene. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +In the context of inheritance by objects, This retrieves the shader handle to use to draw the object.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A GLuint handle to the shader program. \par +}}{ +Reimplemented in {\b Object} ({\i p.{\field\fldedit {\*\fldinst PAGEREF AAAAAAAAPK \\*MERGEFORMAT}{\fldrslt pagenum}}}).}\par +{ +Definition at line 63 of file Scene.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Data Documentation\par +\pard\plain +{\xe \v _map\:Scene} +{\xe \v Scene\:_map} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +std::map< std::string, {\b Object}* > Scene::_map{\f2 [protected]}}} +\par +{\bkmkstart AAAAAAAAQL} +{\bkmkend AAAAAAAAQL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +For the purposes of accessing named objects quickly, though, objects are also re-stored in an associative map. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It's a little superfluous, but here it is! \par +}{ +Definition at line 127 of file Scene.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Scene.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Scene.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Screen Class Reference\par \pard\plain +{\tc\tcl2 \v Screen} +{\xe \v Screen} +{\bkmkstart AAAAAAAAVD} +{\bkmkend AAAAAAAAVD} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Screen} (int x=0, int y=0){\bkmkstart AAAAAAAAVE} +{\bkmkend AAAAAAAAVE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Screen} (const {\b vec2} &newSize){\bkmkstart AAAAAAAAVF} +{\bkmkend AAAAAAAAVF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b size} (int x, int y){\bkmkstart AAAAAAAAVG} +{\bkmkend AAAAAAAAVG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b size} (const {\b vec2} &newSize){\bkmkstart AAAAAAAAVH} +{\bkmkend AAAAAAAAVH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b vec2} & {\b size} (void){\bkmkstart AAAAAAAAVI} +{\bkmkend AAAAAAAAVI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b width} (void){\bkmkstart AAAAAAAAVJ} +{\bkmkend AAAAAAAAVJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b height} (void){\bkmkstart AAAAAAAAVK} +{\bkmkend AAAAAAAAVK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b vec2} & {\b center} (void){\bkmkstart AAAAAAAAVL} +{\bkmkend AAAAAAAAVL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b midpointX} (void){\bkmkstart AAAAAAAAVM} +{\bkmkend AAAAAAAAVM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b midpointY} (void){\bkmkstart AAAAAAAAVN} +{\bkmkend AAAAAAAAVN} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Cameras} {\b _camList}{\bkmkstart AAAAAAAAVO} +{\bkmkend AAAAAAAAVO} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} {\b _size}{\bkmkstart AAAAAAAAVP} +{\bkmkend AAAAAAAAVP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} {\b _center}{\bkmkstart AAAAAAAAVQ} +{\bkmkend AAAAAAAAVQ} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 15 of file Screen.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Screen.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Screen.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +SpelchkCamera Class Reference\par \pard\plain +{\tc\tcl2 \v SpelchkCamera} +{\xe \v SpelchkCamera} +{\bkmkstart AAAAAAAAVR} +{\bkmkend AAAAAAAAVR} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b SpelchkCamera} ({\b vec4} initialTranslationVector){\bkmkstart AAAAAAAAVS} +{\bkmkend AAAAAAAAVS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} {\b getProjectionMatrix} (){\bkmkstart AAAAAAAAVT} +{\bkmkend AAAAAAAAVT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} {\b getModelViewMatrix} (){\bkmkstart AAAAAAAAVU} +{\bkmkend AAAAAAAAVU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b getTranslationVector} (){\bkmkstart AAAAAAAAVV} +{\bkmkend AAAAAAAAVV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b moveCamera} (float xDepth, float yDepth, float zDepth){\bkmkstart AAAAAAAAVW} +{\bkmkend AAAAAAAAVW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b rotateCamera} (float xAngle, float yAngle, float zAngle){\bkmkstart AAAAAAAAVX} +{\bkmkend AAAAAAAAVX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setScreenSize} (int width, int height){\bkmkstart AAAAAAAAVY} +{\bkmkend AAAAAAAAVY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setProjection} (int projectionType){\bkmkstart AAAAAAAAVZ} +{\bkmkend AAAAAAAAVZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b reset} (){\bkmkstart AAAAAAAAWA} +{\bkmkend AAAAAAAAWA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setLightMovementRef} (GLuint ref){\bkmkstart AAAAAAAAWB} +{\bkmkend AAAAAAAAWB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b setLightMovementTime} (float elapsed){\bkmkstart AAAAAAAAWC} +{\bkmkend AAAAAAAAWC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b getReadyForZero} (int usernum){\bkmkstart AAAAAAAAWD} +{\bkmkend AAAAAAAAWD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b headMovement} (int usernum, double x, double y, double z){\bkmkstart AAAAAAAAWE} +{\bkmkend AAAAAAAAWE} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b calculateTranslationVector} (){\bkmkstart AAAAAAAAWF} +{\bkmkend AAAAAAAAWF} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b _projectionType}{\bkmkstart AAAAAAAAWG} +{\bkmkend AAAAAAAAWG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _fovy}{\bkmkstart AAAAAAAAWH} +{\bkmkend AAAAAAAAWH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _aspect}{\bkmkstart AAAAAAAAWI} +{\bkmkend AAAAAAAAWI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _left}{\bkmkstart AAAAAAAAWJ} +{\bkmkend AAAAAAAAWJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _right}{\bkmkstart AAAAAAAAWK} +{\bkmkend AAAAAAAAWK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _bottom}{\bkmkstart AAAAAAAAWL} +{\bkmkend AAAAAAAAWL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _top}{\bkmkstart AAAAAAAAWM} +{\bkmkend AAAAAAAAWM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _zNear}{\bkmkstart AAAAAAAAWN} +{\bkmkend AAAAAAAAWN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _zFar}{\bkmkstart AAAAAAAAWO} +{\bkmkend AAAAAAAAWO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b _timeRef}{\bkmkstart AAAAAAAAWP} +{\bkmkend AAAAAAAAWP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b _screenWidth}{\bkmkstart AAAAAAAAWQ} +{\bkmkend AAAAAAAAWQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b _screenHeight}{\bkmkstart AAAAAAAAWR} +{\bkmkend AAAAAAAAWR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _xDepth}{\bkmkstart AAAAAAAAWS} +{\bkmkend AAAAAAAAWS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _yDepth}{\bkmkstart AAAAAAAAWT} +{\bkmkend AAAAAAAAWT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _zDepth}{\bkmkstart AAAAAAAAWU} +{\bkmkend AAAAAAAAWU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _xAngle}{\bkmkstart AAAAAAAAWV} +{\bkmkend AAAAAAAAWV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _yAngle}{\bkmkstart AAAAAAAAWW} +{\bkmkend AAAAAAAAWW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _zAngle}{\bkmkstart AAAAAAAAWX} +{\bkmkend AAAAAAAAWX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _xHead}{\bkmkstart AAAAAAAAWY} +{\bkmkend AAAAAAAAWY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _yHead}{\bkmkstart AAAAAAAAWZ} +{\bkmkend AAAAAAAAWZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _zHead}{\bkmkstart AAAAAAAAXA} +{\bkmkend AAAAAAAAXA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b _xHeadStart}{\bkmkstart AAAAAAAAXB} +{\bkmkend AAAAAAAAXB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b _yHeadStart}{\bkmkstart AAAAAAAAXC} +{\bkmkend AAAAAAAAXC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b _zHeadStart}{\bkmkstart AAAAAAAAXD} +{\bkmkend AAAAAAAAXD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _xHeadAngle}{\bkmkstart AAAAAAAAXE} +{\bkmkend AAAAAAAAXE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _yHeadAngle}{\bkmkstart AAAAAAAAXF} +{\bkmkend AAAAAAAAXF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b _zHeadAngle}{\bkmkstart AAAAAAAAXG} +{\bkmkend AAAAAAAAXG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b _initialTranslationVector}{\bkmkstart AAAAAAAAXH} +{\bkmkend AAAAAAAAXH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b _translationVector}{\bkmkstart AAAAAAAAXI} +{\bkmkend AAAAAAAAXI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b _oldTranslationVector}{\bkmkstart AAAAAAAAXJ} +{\bkmkend AAAAAAAAXJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b mat4} {\b _modelViewMatrix}{\bkmkstart AAAAAAAAXK} +{\bkmkend AAAAAAAAXK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b _inboundHeadData}{\bkmkstart AAAAAAAAXL} +{\bkmkend AAAAAAAAXL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b _initialHeadPosition}{\bkmkstart AAAAAAAAXM} +{\bkmkend AAAAAAAAXM} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 17 of file SpelchkCamera.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b SpelchkCamera.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b SpelchkCamera.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Texture Class Reference\par \pard\plain +{\tc\tcl2 \v Texture} +{\xe \v Texture} +{\bkmkstart AAAAAAAAXN} +{\bkmkend AAAAAAAAXN} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Texture} (GLenum _textureTarget){\bkmkstart AAAAAAAAXO} +{\bkmkend AAAAAAAAXO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b load} (const std::string &filename){\bkmkstart AAAAAAAAXP} +{\bkmkend AAAAAAAAXP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b bind} (GLenum textureUnit){\bkmkstart AAAAAAAAXQ} +{\bkmkend AAAAAAAAXQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b buffer} (void){\bkmkstart AAAAAAAAXR} +{\bkmkend AAAAAAAAXR} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLenum {\b _textureTarget}{\bkmkstart AAAAAAAAXS} +{\bkmkend AAAAAAAAXS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b _textureObj}{\bkmkstart AAAAAAAAXT} +{\bkmkend AAAAAAAAXT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +Magick::Image * {\b _image}{\bkmkstart AAAAAAAAXU} +{\bkmkend AAAAAAAAXU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +Magick::Blob {\b _blob}{\bkmkstart AAAAAAAAXV} +{\bkmkend AAAAAAAAXV} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 16 of file Texture.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Texture.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Texture.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Timer Class Reference\par \pard\plain +{\tc\tcl2 \v Timer} +{\xe \v Timer} +{\bkmkstart AAAAAAAAXW} +{\bkmkend AAAAAAAAXW} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +unsigned long {\b tick} ()\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +tick is an alias for tock. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +unsigned long {\b tock} ()\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +tock returns the time elapsed since the last tock. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +unsigned long {\b delta} () const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delta returns the time elapsed between the last tick and the last tock. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b keyFrameRate} () const {\bkmkstart AAAAAAAAXX} +{\bkmkend AAAAAAAAXX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b keyFrameRate} (float newFrameRate){\bkmkstart AAAAAAAAXY} +{\bkmkend AAAAAAAAXY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +double {\b scale} () const \par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +scale returns the relative lateness or eagerness of the {\b Timer}, Relative to a benchmark or Key Frame Rate (The default is 60FPS, or 16667 msec.) }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +struct timeval {\b _t1}{\bkmkstart AAAAAAAAXZ} +{\bkmkend AAAAAAAAXZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +struct timeval {\b _t2}{\bkmkstart AAAAAAAAYA} +{\bkmkend AAAAAAAAYA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +unsigned long {\b _delta}{\bkmkstart AAAAAAAAYB} +{\bkmkend AAAAAAAAYB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +double {\b _scale}{\bkmkstart AAAAAAAAYC} +{\bkmkend AAAAAAAAYC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b _keyFrameRate}{\bkmkstart AAAAAAAAYD} +{\bkmkend AAAAAAAAYD} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 14 of file Timer.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Member Function Documentation\par +\pard\plain +{\xe \v delta\:Timer} +{\xe \v Timer\:delta} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +unsigned long Timer::delta (void ) const}} +\par +{\bkmkstart AAAAAAAAYE} +{\bkmkend AAAAAAAAYE} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +delta returns the time elapsed between the last tick and the last tock. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Does not start a new timer. \par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Time elapsed in Microseconds, or Nanoseconds if _RT was enabled. \par +}}{ +Definition at line 74 of file Timer.cpp.}\par +} +{\xe \v scale\:Timer} +{\xe \v Timer\:scale} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +double Timer::scale (void ) const}} +\par +{\bkmkstart AAAAAAAAYF} +{\bkmkend AAAAAAAAYF} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +scale returns the relative lateness or eagerness of the {\b Timer}, Relative to a benchmark or Key Frame Rate (The default is 60FPS, or 16667 msec.) }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A non-zero float that ranges from (0,1) indicating that the program is rendering faster than 60FPS, or from the range [1,+inf) indicating that the program is rendering slower than 60FPS. \par +}}{ +Definition at line 87 of file Timer.cpp.}\par +} +{\xe \v tick\:Timer} +{\xe \v Timer\:tick} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +unsigned long Timer::tick (void )}} +\par +{\bkmkstart AAAAAAAAYG} +{\bkmkend AAAAAAAAYG} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +tick is an alias for tock. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Ha, Ha, Ha. \par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid An unsigned long corresponding to how much time has passed since the last tick. Microseconds normally, Nanoseconds if _RT was enabled. \par +}}{ +Definition at line 44 of file Timer.cpp.}\par +} +{\xe \v tock\:Timer} +{\xe \v Timer\:tock} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +unsigned long Timer::tock (void )}} +\par +{\bkmkstart AAAAAAAAYH} +{\bkmkend AAAAAAAAYH} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +tock returns the time elapsed since the last tock. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid An unsigned long corresponding to how much time has passed since the last tock. Microseconds normally, Nanoseconds if _RT was enabled. \par +}}{ +Definition at line 54 of file Timer.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Timer.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Timer.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +TransCache Class Reference\par \pard\plain +{\tc\tcl2 \v TransCache} +{\xe \v TransCache} +{\bkmkstart AAAAAAAAYI} +{\bkmkend AAAAAAAAYI} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b ptm} (const {\b Angel::mat4} &ptm_in, bool postmult=true){\bkmkstart AAAAAAAAYJ} +{\bkmkend AAAAAAAAYJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b Angel::mat4} & {\b ptm} (void) const {\bkmkstart AAAAAAAAYK} +{\bkmkend AAAAAAAAYK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b Angel::mat4} & {\b ctm} (void) const {\bkmkstart AAAAAAAAYL} +{\bkmkend AAAAAAAAYL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b Angel::mat4} & {\b otm} (void) const {\bkmkstart AAAAAAAAYM} +{\bkmkend AAAAAAAAYM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b calcCTM} (bool postmult=true){\bkmkstart AAAAAAAAYN} +{\bkmkend AAAAAAAAYN} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b TransMat} {\b _preOffset}{\bkmkstart AAAAAAAAYO} +{\bkmkend AAAAAAAAYO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b RotMat} {\b _preRotation}{\bkmkstart AAAAAAAAYP} +{\bkmkend AAAAAAAAYP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b ScaleMat} {\b _scale}{\bkmkstart AAAAAAAAYQ} +{\bkmkend AAAAAAAAYQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b RotMat} {\b _rotation}{\bkmkstart AAAAAAAAYR} +{\bkmkend AAAAAAAAYR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b TransMat} {\b _offset}{\bkmkstart AAAAAAAAYS} +{\bkmkend AAAAAAAAYS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b RotMat} {\b _orbit}{\bkmkstart AAAAAAAAYT} +{\bkmkend AAAAAAAAYT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b TransMat} {\b _displacement}{\bkmkstart AAAAAAAAYU} +{\bkmkend AAAAAAAAYU} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Private Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b _ptm}{\bkmkstart AAAAAAAAYV} +{\bkmkend AAAAAAAAYV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b _ctm}{\bkmkstart AAAAAAAAYW} +{\bkmkend AAAAAAAAYW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b _otm}{\bkmkstart AAAAAAAAYX} +{\bkmkend AAAAAAAAYX} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 14 of file TransCache.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b TransCache.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b TransCache.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Transformation Class Reference\par \pard\plain +{\tc\tcl2 \v Transformation} +{\xe \v Transformation} +{\bkmkstart AAAAAAAAYY} +{\bkmkend AAAAAAAAYY} +Inheritance diagram for Transformation:{ +\pard\plain +\par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "class_transformation.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b Angel::mat4} & {\b matrix} (void) const {\bkmkstart AAAAAAAAUQ} +{\bkmkend AAAAAAAAUQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b operator*} (const {\b Angel::mat4} &rhs) const {\bkmkstart AAAAAAAAUR} +{\bkmkend AAAAAAAAUR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b operator*} (const {\b Transformation} &rhs) const {\bkmkstart AAAAAAAAUS} +{\bkmkend AAAAAAAAUS} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b mat}{\bkmkstart AAAAAAAAUT} +{\bkmkend AAAAAAAAUT} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 16 of file Transformation.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Transformation.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Transformation.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +TransMat Class Reference\par \pard\plain +{\tc\tcl2 \v TransMat} +{\xe \v TransMat} +{\bkmkstart AAAAAAAAYZ} +{\bkmkend AAAAAAAAYZ} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Translations. }}\par +{ +{\f2 #include }}\par +Inheritance diagram for TransMat:{ +\pard\plain +\par\pard \qc {\field\flddirty {\*\fldinst INCLUDEPICTURE "class_trans_mat.png" \\d \\*MERGEFORMAT}{\fldrslt IMAGE}}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b TransMat} & {\b setX} (const float x){\bkmkstart AAAAAAAAZA} +{\bkmkend AAAAAAAAZA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b TransMat} & {\b setY} (const float y){\bkmkstart AAAAAAAAZB} +{\bkmkend AAAAAAAAZB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b TransMat} & {\b setZ} (const float z){\bkmkstart AAAAAAAAZC} +{\bkmkend AAAAAAAAZC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b TransMat} & {\b set} (const float x, const float y, const float z){\bkmkstart AAAAAAAAZD} +{\bkmkend AAAAAAAAZD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b TransMat} & {\b set} (const {\b Angel::vec3} &arg){\bkmkstart AAAAAAAAZE} +{\bkmkend AAAAAAAAZE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b TransMat} & {\b delta} (const float x, const float y, const float z){\bkmkstart AAAAAAAAZF} +{\bkmkend AAAAAAAAZF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b TransMat} & {\b delta} (const {\b Angel::vec3} &arg){\bkmkstart AAAAAAAAZG} +{\bkmkend AAAAAAAAZG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const {\b Angel::mat4} & {\b matrix} (void) const {\bkmkstart AAAAAAAAUQ} +{\bkmkend AAAAAAAAUQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b operator*} (const {\b Angel::mat4} &rhs) const {\bkmkstart AAAAAAAAUR} +{\bkmkend AAAAAAAAUR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b operator*} (const {\b Transformation} &rhs) const {\bkmkstart AAAAAAAAUS} +{\bkmkend AAAAAAAAUS} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Protected Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b mat}{\bkmkstart AAAAAAAAUT} +{\bkmkend AAAAAAAAUT} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Translations. \par +}{ +Definition at line 54 of file Transformation.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this class was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Transformation.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b Transformation.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Angel::vec2 Struct Reference\par \pard\plain +{\tc\tcl2 \v Angel::vec2} +{\xe \v Angel::vec2} +{\bkmkstart AAAAAAABCH} +{\bkmkend AAAAAAABCH} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} (GLfloat s=GLfloat(0.0)){\bkmkstart AAAAAAABCI} +{\bkmkend AAAAAAABCI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} (GLfloat x, GLfloat y){\bkmkstart AAAAAAABCJ} +{\bkmkend AAAAAAABCJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} (const {\b vec2} &v){\bkmkstart AAAAAAABCK} +{\bkmkend AAAAAAABCK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat & {\b operator[]} (int i){\bkmkstart AAAAAAABCL} +{\bkmkend AAAAAAABCL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const GLfloat {\b operator[]} (int i) const {\bkmkstart AAAAAAABCM} +{\bkmkend AAAAAAABCM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} {\b operator-} () const {\bkmkstart AAAAAAABCN} +{\bkmkend AAAAAAABCN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} {\b operator+} (const {\b vec2} &v) const {\bkmkstart AAAAAAABCO} +{\bkmkend AAAAAAABCO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} {\b operator-} (const {\b vec2} &v) const {\bkmkstart AAAAAAABCP} +{\bkmkend AAAAAAABCP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} {\b operator*} (const GLfloat s) const {\bkmkstart AAAAAAABCQ} +{\bkmkend AAAAAAABCQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} {\b operator*} (const {\b vec2} &v) const {\bkmkstart AAAAAAABCR} +{\bkmkend AAAAAAABCR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} {\b operator/} (const GLfloat s) const {\bkmkstart AAAAAAABCS} +{\bkmkend AAAAAAABCS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} & {\b operator+=} (const {\b vec2} &v){\bkmkstart AAAAAAABCT} +{\bkmkend AAAAAAABCT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} & {\b operator-=} (const {\b vec2} &v){\bkmkstart AAAAAAABCU} +{\bkmkend AAAAAAABCU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} & {\b operator*=} (const GLfloat s){\bkmkstart AAAAAAABCV} +{\bkmkend AAAAAAABCV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} & {\b operator*=} (const {\b vec2} &v){\bkmkstart AAAAAAABCW} +{\bkmkend AAAAAAABCW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} & {\b operator/=} (const GLfloat s){\bkmkstart AAAAAAABCX} +{\bkmkend AAAAAAABCX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator const GLfloat *} () const {\bkmkstart AAAAAAABCY} +{\bkmkend AAAAAAABCY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator GLfloat *} (){\bkmkstart AAAAAAABCZ} +{\bkmkend AAAAAAABCZ} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b x}{\bkmkstart AAAAAAABDA} +{\bkmkend AAAAAAABDA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b y}{\bkmkstart AAAAAAABDB} +{\bkmkend AAAAAAABDB} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Friends\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec2} {\b operator*} (const GLfloat s, const {\b vec2} &v){\bkmkstart AAAAAAABDC} +{\bkmkend AAAAAAABDC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b operator<<} (std::ostream &os, const {\b vec2} &v){\bkmkstart AAAAAAABDD} +{\bkmkend AAAAAAABDD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b operator>>} (std::istream &is, {\b vec2} &v){\bkmkstart AAAAAAABDE} +{\bkmkend AAAAAAABDE} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 18 of file vec.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this struct was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b vec.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b vec.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Angel::vec3 Struct Reference\par \pard\plain +{\tc\tcl2 \v Angel::vec3} +{\xe \v Angel::vec3} +{\bkmkstart AAAAAAABDF} +{\bkmkend AAAAAAABDF} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} (GLfloat s=GLfloat(0.0)){\bkmkstart AAAAAAABDG} +{\bkmkend AAAAAAABDG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} (GLfloat x, GLfloat y, GLfloat z){\bkmkstart AAAAAAABDH} +{\bkmkend AAAAAAABDH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} (const {\b vec3} &v){\bkmkstart AAAAAAABDI} +{\bkmkend AAAAAAABDI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} (const {\b vec2} &v, const float f){\bkmkstart AAAAAAABDJ} +{\bkmkend AAAAAAABDJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat & {\b operator[]} (int i){\bkmkstart AAAAAAABDK} +{\bkmkend AAAAAAABDK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const GLfloat {\b operator[]} (int i) const {\bkmkstart AAAAAAABDL} +{\bkmkend AAAAAAABDL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b operator-} () const {\bkmkstart AAAAAAABDM} +{\bkmkend AAAAAAABDM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b operator+} (const {\b vec3} &v) const {\bkmkstart AAAAAAABDN} +{\bkmkend AAAAAAABDN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b operator-} (const {\b vec3} &v) const {\bkmkstart AAAAAAABDO} +{\bkmkend AAAAAAABDO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b operator*} (const GLfloat s) const {\bkmkstart AAAAAAABDP} +{\bkmkend AAAAAAABDP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b operator*} (const {\b vec3} &v) const {\bkmkstart AAAAAAABDQ} +{\bkmkend AAAAAAABDQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b operator/} (const GLfloat s) const {\bkmkstart AAAAAAABDR} +{\bkmkend AAAAAAABDR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} & {\b operator+=} (const {\b vec3} &v){\bkmkstart AAAAAAABDS} +{\bkmkend AAAAAAABDS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} & {\b operator-=} (const {\b vec3} &v){\bkmkstart AAAAAAABDT} +{\bkmkend AAAAAAABDT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} & {\b operator*=} (const GLfloat s){\bkmkstart AAAAAAABDU} +{\bkmkend AAAAAAABDU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} & {\b operator*=} (const {\b vec3} &v){\bkmkstart AAAAAAABDV} +{\bkmkend AAAAAAABDV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} & {\b operator/=} (const GLfloat s){\bkmkstart AAAAAAABDW} +{\bkmkend AAAAAAABDW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator const GLfloat *} () const {\bkmkstart AAAAAAABDX} +{\bkmkend AAAAAAABDX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator GLfloat *} (){\bkmkstart AAAAAAABDY} +{\bkmkend AAAAAAABDY} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b x}{\bkmkstart AAAAAAABDZ} +{\bkmkend AAAAAAABDZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b y}{\bkmkstart AAAAAAABEA} +{\bkmkend AAAAAAABEA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b z}{\bkmkstart AAAAAAABEB} +{\bkmkend AAAAAAABEB} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Friends\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b operator*} (const GLfloat s, const {\b vec3} &v){\bkmkstart AAAAAAABEC} +{\bkmkend AAAAAAABEC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b operator<<} (std::ostream &os, const {\b vec3} &v){\bkmkstart AAAAAAABED} +{\bkmkend AAAAAAABED} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b operator>>} (std::istream &is, {\b vec3} &v){\bkmkstart AAAAAAABEE} +{\bkmkend AAAAAAABEE} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 63 of file vec.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this struct was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b vec.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b vec.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Angel::vec4 Struct Reference\par \pard\plain +{\tc\tcl2 \v Angel::vec4} +{\xe \v Angel::vec4} +{\bkmkstart AAAAAAABEF} +{\bkmkend AAAAAAABEF} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Member Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} (GLfloat s=GLfloat(0.0)){\bkmkstart AAAAAAABEG} +{\bkmkend AAAAAAABEG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} (GLfloat x, GLfloat y, GLfloat z, GLfloat w){\bkmkstart AAAAAAABEH} +{\bkmkend AAAAAAABEH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} (const {\b vec4} &v){\bkmkstart AAAAAAABEI} +{\bkmkend AAAAAAABEI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} (const {\b vec3} &v, const float w=1.0){\bkmkstart AAAAAAABEJ} +{\bkmkend AAAAAAABEJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} (const {\b vec2} &v, const float z, const float w){\bkmkstart AAAAAAABEK} +{\bkmkend AAAAAAABEK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat & {\b operator[]} (int i){\bkmkstart AAAAAAABEL} +{\bkmkend AAAAAAABEL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const GLfloat {\b operator[]} (int i) const {\bkmkstart AAAAAAABEM} +{\bkmkend AAAAAAABEM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b operator-} () const {\bkmkstart AAAAAAABEN} +{\bkmkend AAAAAAABEN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b operator+} (const {\b vec4} &v) const {\bkmkstart AAAAAAABEO} +{\bkmkend AAAAAAABEO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b operator-} (const {\b vec4} &v) const {\bkmkstart AAAAAAABEP} +{\bkmkend AAAAAAABEP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b operator*} (const GLfloat s) const {\bkmkstart AAAAAAABEQ} +{\bkmkend AAAAAAABEQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b operator*} (const {\b vec4} &v) const {\bkmkstart AAAAAAABER} +{\bkmkend AAAAAAABER} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b operator/} (const GLfloat s) const {\bkmkstart AAAAAAABES} +{\bkmkend AAAAAAABES} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} & {\b operator+=} (const {\b vec4} &v){\bkmkstart AAAAAAABET} +{\bkmkend AAAAAAABET} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} & {\b operator-=} (const {\b vec4} &v){\bkmkstart AAAAAAABEU} +{\bkmkend AAAAAAABEU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} & {\b operator*=} (const GLfloat s){\bkmkstart AAAAAAABEV} +{\bkmkend AAAAAAABEV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} & {\b operator*=} (const {\b vec4} &v){\bkmkstart AAAAAAABEW} +{\bkmkend AAAAAAABEW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} & {\b operator/=} (const GLfloat s){\bkmkstart AAAAAAABEX} +{\bkmkend AAAAAAABEX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator const GLfloat *} () const {\bkmkstart AAAAAAABEY} +{\bkmkend AAAAAAABEY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b operator GLfloat *} (){\bkmkstart AAAAAAABEZ} +{\bkmkend AAAAAAABEZ} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b x}{\bkmkstart AAAAAAABFA} +{\bkmkend AAAAAAABFA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b y}{\bkmkstart AAAAAAABFB} +{\bkmkend AAAAAAABFB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b z}{\bkmkstart AAAAAAABFC} +{\bkmkend AAAAAAABFC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b w}{\bkmkstart AAAAAAABFD} +{\bkmkend AAAAAAABFD} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Friends\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec4} {\b operator*} (const GLfloat s, const {\b vec4} &v){\bkmkstart AAAAAAABFE} +{\bkmkend AAAAAAABFE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b operator<<} (std::ostream &os, const {\b vec4} &v){\bkmkstart AAAAAAABFF} +{\bkmkend AAAAAAABFF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b operator>>} (std::istream &is, {\b vec4} &v){\bkmkstart AAAAAAABFG} +{\bkmkend AAAAAAABFG} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 112 of file vec.hpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this struct was generated from the following files:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b vec.hpp}\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b vec.cpp}\par +}\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +WiiPollData Struct Reference\par \pard\plain +{\tc\tcl2 \v WiiPollData} +{\xe \v WiiPollData} +{\bkmkstart AAAAAAAAZH} +{\bkmkend AAAAAAAAZH} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Public Attributes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::vec3} {\b bbMagnitudes}{\bkmkstart AAAAAAAAZI} +{\bkmkend AAAAAAAAZI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::vec3} {\b wrThetas}{\bkmkstart AAAAAAAAZJ} +{\bkmkend AAAAAAAAZJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::vec3} {\b wrRates}{\bkmkstart AAAAAAAAZK} +{\bkmkend AAAAAAAAZK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b resetCamera}{\bkmkstart AAAAAAAAZL} +{\bkmkend AAAAAAAAZL} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid { +Definition at line 15 of file WiiUtil.h.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +The documentation for this struct was generated from the following file:{\par +\pard\plain \s81\fi-360\li720\widctlpar\jclisttab\tx720{\*\pn \pnlvlbody\ilvl0\ls2\pnrnot0\pndec }\ls2\adjustright \fs20\cgrid +{\b WiiUtil.h}\par +} +\pard\plain \sect\sbkpage +\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid +File Documentation{\tc \v File Documentation} +\par \pard\plain +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Camera.cpp File Reference\par \pard\plain +{\tc\tcl2 \v Camera.cpp} +{\xe \v Camera.cpp} +{\bkmkstart AAAAAAAAAA} +{\bkmkend AAAAAAAAAA} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Camera} class. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include "mat.hpp"}\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "Camera.hpp"}\par +{\f2 #include "globals.h"}\par +{\f2 #include "Timer.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b ROTATE_OFFSET}(V)\~ (V * _ctm._orbit.matrix())\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +ROTATE_OFFSET is a macro which is used to normalize the six camera motion directions with respect to the current camera _rotation. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Camera} class. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, Nicholas StPierre, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2012-12-20 \par +}}{ +Definition in file {\b Camera.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macro Definition Documentation\par +\pard\plain +{\xe \v ROTATE_OFFSET\:Camera.cpp} +{\xe \v Camera.cpp\:ROTATE_OFFSET} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define ROTATE_OFFSET( V)\~ (V * _ctm._orbit.matrix())}} +\par +{\bkmkstart AAAAAAAAAB} +{\bkmkend AAAAAAAAAB} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +ROTATE_OFFSET is a macro which is used to normalize the six camera motion directions with respect to the current camera _rotation. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It is used in heave(), sway() and surge(). {\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i V} \cell }{a vec4 representing the movement _offset vector. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A rotated vec4. \par +}}{ +Definition at line 184 of file Camera.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Camera.hpp File Reference\par \pard\plain +{\tc\tcl2 \v Camera.hpp} +{\xe \v Camera.hpp} +{\bkmkstart AAAAAAAAAC} +{\bkmkend AAAAAAAAAC} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Camera} class. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include "mat.hpp"}\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "Object.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Camera}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Camera} class represents a logical camera in a model view, which posesses a current viewing angle and an absolute position in space as its state. }}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Camera} class. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, Nicholas StPierre, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-13 \par +}}{ +Definition in file {\b Camera.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Cameras.cpp File Reference\par \pard\plain +{\tc\tcl2 \v Cameras.cpp} +{\xe \v Cameras.cpp} +{\bkmkstart AAAAAAAAAD} +{\bkmkend AAAAAAAAAD} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Cameras} class, which is a container for {\b Camera} objects. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "Camera.hpp"}\par +{\f2 #include "Cameras.hpp"}\par +{\f2 #include "globals.h"}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Cameras} class, which is a container for {\b Camera} objects. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, Nicholas StPierre, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2012-12-04 \par +}}{ +Definition in file {\b Cameras.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Cameras.hpp File Reference\par \pard\plain +{\tc\tcl2 \v Cameras.hpp} +{\xe \v Cameras.hpp} +{\bkmkstart AAAAAAAAAE} +{\bkmkend AAAAAAAAAE} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the '{\b Cameras}' class, a collection of {\b Camera} objects. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include "Camera.hpp"}\par +{\f2 #include "Scene.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Cameras}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Cameras} class represents a group of logical cameras for a model view. Each camera possesses its own current viewing angle, and an absolute position in space. }}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the '{\b Cameras}' class, a collection of {\b Camera} objects. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, Nicholas StPierre, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2012-12-04 \par +}}{ +Definition in file {\b Cameras.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +ds.cpp File Reference\par \pard\plain +{\tc\tcl2 \v ds.cpp} +{\xe \v ds.cpp} +{\bkmkstart AAAAAAAAAF} +{\bkmkend AAAAAAAAAF} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Dual-shader demo. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "globals.h"}\par +{\f2 #include "platform.h"}\par +{\f2 #include "Camera.hpp"}\par +{\f2 #include "Cameras.hpp"}\par +{\f2 #include "Screen.hpp"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "Timer.hpp"}\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "Engine.hpp"}\par +{\f2 #include "Texture.hpp"}\par +{\f2 #include "model.hpp"}\par +{\f2 #include "InitShader.hpp"}\par +{\f2 #include "glut_callbacks.h"}\par +{\f2 #include "eric_rules.hpp"}\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b init} (){\bkmkstart AAAAAAAAAG} +{\bkmkend AAAAAAAAAG} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Initialization: load and compile shaders, initialize camera(s), load models. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b cleanup} (void){\bkmkstart AAAAAAAAAH} +{\bkmkend AAAAAAAAAH} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Cleans up our scene graph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b draw} (void){\bkmkstart AAAAAAAAAI} +{\bkmkend AAAAAAAAAI} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation of drawing the display with regards to a single viewport. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b display} (void){\bkmkstart AAAAAAAAAJ} +{\bkmkend AAAAAAAAAJ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Display/Render the entire screen. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b idle} (void){\bkmkstart AAAAAAAAAK} +{\bkmkend AAAAAAAAAK} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Compute time since last idle, update camera positions, redisplay. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +int {\b main} (int argc, char **argv)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a dual-shader demo! It looks very simple, but it illustrates quickly and effectively how to use two shaders. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Dual-shader demo. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, Greg Giannone \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-02-20\par +}Work in progress! Based loosely on Ed Angel's tutorials. \par +}{ +Definition in file {\b ds.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Function Documentation\par +\pard\plain +{\xe \v main\:ds.cpp} +{\xe \v ds.cpp\:main} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +int main (int {\i argc}, char ** {\i argv})}} +\par +{\bkmkstart AAAAAAAAAL} +{\bkmkend AAAAAAAAAL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a dual-shader demo! It looks very simple, but it illustrates quickly and effectively how to use two shaders. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i argc} \cell }{Not used. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i argv} \cell }{Not used. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid EXIT_SUCCESS. \par +}}{ +Definition at line 167 of file ds.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Engine.cpp File Reference\par \pard\plain +{\tc\tcl2 \v Engine.cpp} +{\xe \v Engine.cpp} +{\bkmkstart AAAAAAAAAM} +{\bkmkend AAAAAAAAAM} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Engine} class. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "Engine.hpp"}\par +{\f2 #include "Cameras.hpp"}\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "Screen.hpp"}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Engine} class. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid {\f2 https://github.com/UMLComputerGraphics} \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-13 \par +}}{ +Definition in file {\b Engine.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Engine.hpp File Reference\par \pard\plain +{\tc\tcl2 \v Engine.hpp} +{\xe \v Engine.hpp} +{\bkmkstart AAAAAAAAAN} +{\bkmkend AAAAAAAAAN} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Engine} class. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "Cameras.hpp"}\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "Screen.hpp"}\par +{\f2 #include }\par +{\f2 #include }\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Engine}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Engine} class is a singleton-style class which helps keep track of instances of important objects (for {\b Cameras}, Objects, etc) as well as some settings and variables that would otherwise clog up global namespace. }}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Typedefs\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +typedef std::map< std::string, \par +bool > {\b SettingsMap}{\bkmkstart AAAAAAAAAO} +{\bkmkend AAAAAAAAAO} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +An alias for the type used by the Settings Map. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Engine} class. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid {\f2 https://github.com/UMLComputerGraphics} \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-13 \par +}}{ +Definition in file {\b Engine.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +globals.h File Reference\par \pard\plain +{\tc\tcl2 \v globals.h} +{\xe \v globals.h} +{\bkmkstart AAAAAAAAAP} +{\bkmkend AAAAAAAAAP} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Useful global constants, macros, debugging utilities and preprocessor settings. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b DEGREES_TO_RADIANS}\~ (M_PI/180)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A constant factor of conversion for Degrees to Radians. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b SQRT2}\~ (1.41421356237)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A constant for the square root of 2. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b SQRT3}\~ (1.73205080757)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A constant for the square root of 3. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b POW5}(X)\~ ((X)*(X)*(X)*(X)*(X))\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b POW5(X)} returns X^5. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b DEBUG}\~ false{\bkmkstart AAAAAAAAAQ} +{\bkmkend AAAAAAAAAQ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +DEBUG Controls whether or not extra DEBUG messages are printed out. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b DEBUG_MOTION}\~ (false){\bkmkstart AAAAAAAAAR} +{\bkmkend AAAAAAAAAR} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +DEBUG_MOTION controls some additional debug messages for acceleration/velocity. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variables\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +const float {\b DIVIDE_BY_ZERO_TOLERANCE} = float( 1.0e-07 ){\bkmkstart AAAAAAAAAS} +{\bkmkend AAAAAAAAAS} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +How close can a number be to zero before it should be considered 'zero'? }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +static const bool {\b POSTMULT} = true\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +defines if we are, or are not using a Post-Multiplication system. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +static const bool {\b PREMULT} = false\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +defines if we are, or are not using a Pre-Multiplication system. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Useful global constants, macros, debugging utilities and preprocessor settings. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-13 \par +}}{ +Definition in file {\b globals.h}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macro Definition Documentation\par +\pard\plain +{\xe \v DEGREES_TO_RADIANS\:globals.h} +{\xe \v globals.h\:DEGREES_TO_RADIANS} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define DEGREES_TO_RADIANS\~ (M_PI/180)}} +\par +{\bkmkstart AAAAAAAAAT} +{\bkmkend AAAAAAAAAT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A constant factor of conversion for Degrees to Radians. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 14 of file globals.h.}\par +} +{\xe \v POW5\:globals.h} +{\xe \v globals.h\:POW5} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define POW5( X)\~ ((X)*(X)*(X)*(X)*(X))}} +\par +{\bkmkstart AAAAAAAAAU} +{\bkmkend AAAAAAAAAU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b POW5(X)} returns X^5. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It's quicker than pow(x,5)! \par +}{ +Definition at line 20 of file globals.h.}\par +} +{\xe \v SQRT2\:globals.h} +{\xe \v globals.h\:SQRT2} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define SQRT2\~ (1.41421356237)}} +\par +{\bkmkstart AAAAAAAAAV} +{\bkmkend AAAAAAAAAV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A constant for the square root of 2. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 16 of file globals.h.}\par +} +{\xe \v SQRT3\:globals.h} +{\xe \v globals.h\:SQRT3} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define SQRT3\~ (1.73205080757)}} +\par +{\bkmkstart AAAAAAAAAW} +{\bkmkend AAAAAAAAAW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A constant for the square root of 3. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 18 of file globals.h.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variable Documentation\par +\pard\plain +{\xe \v POSTMULT\:globals.h} +{\xe \v globals.h\:POSTMULT} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +const bool POSTMULT = true{\f2 [static]}}} +\par +{\bkmkstart AAAAAAAAAX} +{\bkmkend AAAAAAAAAX} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +defines if we are, or are not using a Post-Multiplication system. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 43 of file globals.h.}\par +} +{\xe \v PREMULT\:globals.h} +{\xe \v globals.h\:PREMULT} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +const bool PREMULT = false{\f2 [static]}}} +\par +{\bkmkstart AAAAAAAAAY} +{\bkmkend AAAAAAAAAY} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +defines if we are, or are not using a Pre-Multiplication system. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 45 of file globals.h.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +glut_callbacks.cpp File Reference\par \pard\plain +{\tc\tcl2 \v glut_callbacks.cpp} +{\xe \v glut_callbacks.cpp} +{\bkmkstart AAAAAAAAAZ} +{\bkmkend AAAAAAAAAZ} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +glut_callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "globals.h"}\par +{\f2 #include "Camera.hpp"}\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "Screen.hpp"}\par +{\f2 #include "Engine.hpp"}\par +{\f2 #include }\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b keylift} (unsigned char key, int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keylift is registered as a GLUT callback for when a user releases a depressed key. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b keyboard} (unsigned char key, int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keyboard is a callback registered with GLUT. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b keyboard_ctrl} (int key, int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keyboard_ctrl is registered as a GLUT callback. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b mouse} (int button, int state, int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouse is registered as a GLUT callback. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b mouseroll} (int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouseroll is registered as a GLUT callback. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b mouselook} (int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouselook is registered as a GLUT callback. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b resizeEvent} (int width, int height)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +resizeEvent is registered as a glut callback for when the screen is resized. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +glut_callbacks provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, Nick St.Pierre, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-13 \par +}}{ +Definition in file {\b glut_callbacks.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Function Documentation\par +\pard\plain +{\xe \v keyboard\:glut_callbacks.cpp} +{\xe \v glut_callbacks.cpp\:keyboard} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void keyboard (unsigned char {\i key}, int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABA} +{\bkmkend AAAAAAAABA} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keyboard is a callback registered with GLUT. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It handles (surprise!) keyboard input.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i key} \cell }{The key pressed by the user. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{The x coordinate of the mouse when the key was pressed. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{The y coordinate of the mouse when the key was pressed. \cell } +{\row } +} +}{ +Definition at line 66 of file glut_callbacks.cpp.}\par +} +{\xe \v keyboard_ctrl\:glut_callbacks.cpp} +{\xe \v glut_callbacks.cpp\:keyboard_ctrl} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void keyboard_ctrl (int {\i key}, int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABB} +{\bkmkend AAAAAAAABB} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keyboard_ctrl is registered as a GLUT callback. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It is responsible for catching when special keys are pressed.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i key} \cell }{The key pressed. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{The x coordinate of the mouse when the key was pressed. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{The y coordinate of the mouse when the key was pressed. \cell } +{\row } +} +}{ +Definition at line 172 of file glut_callbacks.cpp.}\par +} +{\xe \v keylift\:glut_callbacks.cpp} +{\xe \v glut_callbacks.cpp\:keylift} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void keylift (unsigned char {\i key}, int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABC} +{\bkmkend AAAAAAAABC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keylift is registered as a GLUT callback for when a user releases a depressed key. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i key} \cell }{The key that was lifted. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{The x coordinate of the mouse at the time the key was released. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{The y coordinate of the mouse at the time the key was released. \cell } +{\row } +} +}{ +Definition at line 29 of file glut_callbacks.cpp.}\par +} +{\xe \v mouse\:glut_callbacks.cpp} +{\xe \v glut_callbacks.cpp\:mouse} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void mouse (int {\i button}, int {\i state}, int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABD} +{\bkmkend AAAAAAAABD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouse is registered as a GLUT callback. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It handles input from, primarily, the scrollwheel.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i button} \cell }{The mouse button being pressed. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i state} \cell }{the state of the aforementioned mouse button. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{the x coordinate of the mouse. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{the y coordinate of the mouse. \cell } +{\row } +} +}{ +Definition at line 224 of file glut_callbacks.cpp.}\par +} +{\xe \v mouselook\:glut_callbacks.cpp} +{\xe \v glut_callbacks.cpp\:mouselook} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void mouselook (int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABE} +{\bkmkend AAAAAAAABE} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouselook is registered as a GLUT callback. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouselook implements FPS-like controls where the camera moves proportional to the direction of the mouse.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{the x coordinate of the mouse pointer. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{the y coordinate of the mouse pointer. \cell } +{\row } +} +}{ +Definition at line 270 of file glut_callbacks.cpp.}\par +} +{\xe \v mouseroll\:glut_callbacks.cpp} +{\xe \v glut_callbacks.cpp\:mouseroll} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void mouseroll (int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABF} +{\bkmkend AAAAAAAABF} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouseroll is registered as a GLUT callback. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouseroll is called when the mouse is moved while a button is depressed. It is used here to implement barrel-rolls while left-clicking.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{the x coordinate of the mouse pointer. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{the y coordinate of the mouse pointer. \cell } +{\row } +} +}{ +Definition at line 250 of file glut_callbacks.cpp.}\par +} +{\xe \v resizeEvent\:glut_callbacks.cpp} +{\xe \v glut_callbacks.cpp\:resizeEvent} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void resizeEvent (int {\i width}, int {\i height})}} +\par +{\bkmkstart AAAAAAAABG} +{\bkmkend AAAAAAAABG} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +resizeEvent is registered as a glut callback for when the screen is resized. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It instructs the screen object of the new size, which informs all of the children cameras to recompute their aspect ratios, viewport positions, and so on.\par +We also warp the pointer to the center of the screen, for compatibility with mouselook( void ).\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i width} \cell }{The new width of the window. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i height} \cell }{The new height of the window.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 304 of file glut_callbacks.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +glut_callbacks.h File Reference\par \pard\plain +{\tc\tcl2 \v glut_callbacks.h} +{\xe \v glut_callbacks.h} +{\bkmkstart AAAAAAAABH} +{\bkmkend AAAAAAAABH} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b glut_callbacks.h} provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions. }}\par +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b keylift} (unsigned char key, int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keylift is registered as a GLUT callback for when a user releases a depressed key. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b keyboard} (unsigned char key, int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keyboard is a callback registered with GLUT. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b keyboard_ctrl} (int key, int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keyboard_ctrl is registered as a GLUT callback. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b mouse} (int button, int state, int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouse is registered as a GLUT callback. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b mouseroll} (int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouseroll is registered as a GLUT callback. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b mouselook} (int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouselook is registered as a GLUT callback. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b resizeEvent} (int width, int height)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +resizeEvent is registered as a glut callback for when the screen is resized. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b glut_callbacks.h} provides function declarations for a set of functions commonly used across multiple binaries for keyboard, mouse and other GLUT callback functions. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, Nick St.Pierre, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-13 \par +}}{ +Definition in file {\b glut_callbacks.h}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Function Documentation\par +\pard\plain +{\xe \v keyboard\:glut_callbacks.h} +{\xe \v glut_callbacks.h\:keyboard} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void keyboard (unsigned char {\i key}, int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABI} +{\bkmkend AAAAAAAABI} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keyboard is a callback registered with GLUT. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It handles (surprise!) keyboard input.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i key} \cell }{The key pressed by the user. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{The x coordinate of the mouse when the key was pressed. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{The y coordinate of the mouse when the key was pressed. \cell } +{\row } +} +}{ +Definition at line 66 of file glut_callbacks.cpp.}\par +} +{\xe \v keyboard_ctrl\:glut_callbacks.h} +{\xe \v glut_callbacks.h\:keyboard_ctrl} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void keyboard_ctrl (int {\i key}, int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABJ} +{\bkmkend AAAAAAAABJ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keyboard_ctrl is registered as a GLUT callback. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It is responsible for catching when special keys are pressed.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i key} \cell }{The key pressed. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{The x coordinate of the mouse when the key was pressed. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{The y coordinate of the mouse when the key was pressed. \cell } +{\row } +} +}{ +Definition at line 172 of file glut_callbacks.cpp.}\par +} +{\xe \v keylift\:glut_callbacks.h} +{\xe \v glut_callbacks.h\:keylift} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void keylift (unsigned char {\i key}, int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABK} +{\bkmkend AAAAAAAABK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +keylift is registered as a GLUT callback for when a user releases a depressed key. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i key} \cell }{The key that was lifted. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{The x coordinate of the mouse at the time the key was released. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{The y coordinate of the mouse at the time the key was released. \cell } +{\row } +} +}{ +Definition at line 29 of file glut_callbacks.cpp.}\par +} +{\xe \v mouse\:glut_callbacks.h} +{\xe \v glut_callbacks.h\:mouse} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void mouse (int {\i button}, int {\i state}, int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABL} +{\bkmkend AAAAAAAABL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouse is registered as a GLUT callback. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It handles input from, primarily, the scrollwheel.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i button} \cell }{The mouse button being pressed. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i state} \cell }{the state of the aforementioned mouse button. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{the x coordinate of the mouse. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{the y coordinate of the mouse. \cell } +{\row } +} +}{ +Definition at line 224 of file glut_callbacks.cpp.}\par +} +{\xe \v mouselook\:glut_callbacks.h} +{\xe \v glut_callbacks.h\:mouselook} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void mouselook (int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABM} +{\bkmkend AAAAAAAABM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouselook is registered as a GLUT callback. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouselook implements FPS-like controls where the camera moves proportional to the direction of the mouse.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{the x coordinate of the mouse pointer. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{the y coordinate of the mouse pointer. \cell } +{\row } +} +}{ +Definition at line 270 of file glut_callbacks.cpp.}\par +} +{\xe \v mouseroll\:glut_callbacks.h} +{\xe \v glut_callbacks.h\:mouseroll} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void mouseroll (int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAABN} +{\bkmkend AAAAAAAABN} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouseroll is registered as a GLUT callback. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +mouseroll is called when the mouse is moved while a button is depressed. It is used here to implement barrel-rolls while left-clicking.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{the x coordinate of the mouse pointer. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{the y coordinate of the mouse pointer. \cell } +{\row } +} +}{ +Definition at line 250 of file glut_callbacks.cpp.}\par +} +{\xe \v resizeEvent\:glut_callbacks.h} +{\xe \v glut_callbacks.h\:resizeEvent} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void resizeEvent (int {\i width}, int {\i height})}} +\par +{\bkmkstart AAAAAAAABO} +{\bkmkend AAAAAAAABO} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +resizeEvent is registered as a glut callback for when the screen is resized. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It instructs the screen object of the new size, which informs all of the children cameras to recompute their aspect ratios, viewport positions, and so on.\par +We also warp the pointer to the center of the screen, for compatibility with mouselook( void ).\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i width} \cell }{The new width of the window. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i height} \cell }{The new height of the window.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 304 of file glut_callbacks.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +InitShader.cpp File Reference\par \pard\plain +{\tc\tcl2 \v InitShader.cpp} +{\xe \v InitShader.cpp} +{\bkmkstart AAAAAAAABP} +{\bkmkend AAAAAAAABP} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Provides a wrapper utility for quickly linking against glsl programs. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "platform.h"}\par +{\f2 #include "InitShader.hpp"}\par +{\f2 #include "eric_rules.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b GEOMETRY_VERTICES_OUT_EXT}\~ 0x8DDA\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +GEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b GL_GEOMETRY_SHADER}\~ 0x8DD9\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +GEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +static char * {\b Angel::readShaderSource} (const char *shaderFile)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Read in a shader file into a NULL-terminated string. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLuint {\b Angel::InitShader} (const char *vShaderFile, const char *fShaderFile, const char *gShaderFile)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +InitShader takes two shader sourcefiles and compiles them into a shader program. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Provides a wrapper utility for quickly linking against glsl programs. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel, Nick St.Pierre \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-13 \par +}}{ +Definition in file {\b InitShader.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macro Definition Documentation\par +\pard\plain +{\xe \v GEOMETRY_VERTICES_OUT_EXT\:InitShader.cpp} +{\xe \v InitShader.cpp\:GEOMETRY_VERTICES_OUT_EXT} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define GEOMETRY_VERTICES_OUT_EXT\~ 0x8DDA}} +\par +{\bkmkstart AAAAAAAABQ} +{\bkmkend AAAAAAAABQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +GEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +On some systems, we might need to define this manually. It is normally provided by OpenGL directly. FIXME: This seems hacky! \par +}{ +Definition at line 27 of file InitShader.cpp.}\par +} +{\xe \v GL_GEOMETRY_SHADER\:InitShader.cpp} +{\xe \v InitShader.cpp\:GL_GEOMETRY_SHADER} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define GL_GEOMETRY_SHADER\~ 0x8DD9}} +\par +{\bkmkstart AAAAAAAABR} +{\bkmkend AAAAAAAABR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +GEOMETRY_VERTICES_OUT_EXT is a Magic OpenGL constant. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +On some systems, we might need to define this manually. It is normally provided by OpenGL directly. FIXME: This seems hacky! \par +}{ +Definition at line 38 of file InitShader.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +InitShader.hpp File Reference\par \pard\plain +{\tc\tcl2 \v InitShader.hpp} +{\xe \v InitShader.hpp} +{\bkmkstart AAAAAAAABS} +{\bkmkend AAAAAAAABS} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Provides a wrapper utility for quickly linking against glsl programs. }}\par +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b GL_INVALID_SHADER}\~ -1{\bkmkstart AAAAAAAABT} +{\bkmkend AAAAAAAABT} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +const char * {\b Angel::InitInitShader} (const char *binloc)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +InitInitShader is a preparation step allowing executables to be invoked from working directories OTHER than the one containing the shaders directory. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLuint {\b Angel::InitShader} (const char *vShaderFile, const char *fShaderFile, const char *gShaderFile)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +InitShader takes two shader sourcefiles and compiles them into a shader program. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Provides a wrapper utility for quickly linking against glsl programs. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel, Nick St.Pierre \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-13 \par +}}{ +Definition in file {\b InitShader.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +KinectInator.cpp File Reference\par \pard\plain +{\tc\tcl2 \v KinectInator.cpp} +{\xe \v KinectInator.cpp} +{\bkmkstart AAAAAAAABU} +{\bkmkend AAAAAAAABU} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Eric. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "KinectInator.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b CHECK_RC}(nRetVal, what)\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +XnBool {\b fileExists} (const char *fn){\bkmkstart AAAAAAAABV} +{\bkmkend AAAAAAAABV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b printhead} (int user, double x, double y, double z){\bkmkstart AAAAAAAABW} +{\bkmkend AAAAAAAABW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b noop} (int user, double x, double y, double z){\bkmkstart AAAAAAAABX} +{\bkmkend AAAAAAAABX} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variables\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +boost::function< void \par +XN_CALLBACK_TYPE(xn::UserGenerator \par +&, XnUserID, void *)> {\b TiemSpelchk::_new_user}{\bkmkstart AAAAAAAABY} +{\bkmkend AAAAAAAABY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +boost::function< void \par +XN_CALLBACK_TYPE(xn::UserGenerator \par +&, XnUserID, void *)> {\b TiemSpelchk::_lost_user}{\bkmkstart AAAAAAAABZ} +{\bkmkend AAAAAAAABZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +boost::function< void \par +XN_CALLBACK_TYPE(xn::PoseDetectionCapability \par +&, const XnChar *, XnUserID, \par +void *)> {\b TiemSpelchk::_pose}{\bkmkstart AAAAAAAACA} +{\bkmkend AAAAAAAACA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +boost::function< void \par +XN_CALLBACK_TYPE(xn::SkeletonCapability \par +&, XnUserID, void *)> {\b TiemSpelchk::_cal_start}{\bkmkstart AAAAAAAACB} +{\bkmkend AAAAAAAACB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +boost::function< void \par +XN_CALLBACK_TYPE(xn::SkeletonCapability \par +&, XnUserID, \par +XnCalibrationStatus, void *)> {\b TiemSpelchk::_cal_complete}{\bkmkstart AAAAAAAACC} +{\bkmkend AAAAAAAACC} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Eric. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-13 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid PrimeSense Ltd, Eric McCann \par +}}{ +Definition in file {\b KinectInator.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macro Definition Documentation\par +\pard\plain +{\xe \v CHECK_RC\:KinectInator.cpp} +{\xe \v KinectInator.cpp\:CHECK_RC} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define CHECK_RC( nRetVal, what)}} +\par +{\bkmkstart AAAAAAAACD} +{\bkmkend AAAAAAAACD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +{\b Value:}{ +\pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid if (nRetVal != XN_STATUS_OK) \\\par +\{ \\\par + printf("%s failed: %s\\n", what, xnGetStatusString(nRetVal)); \\\par + return nRetVal; \\\par +\}\par +} +{ +Definition at line 99 of file KinectInator.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +KinectInator.hpp File Reference\par \pard\plain +{\tc\tcl2 \v KinectInator.hpp} +{\xe \v KinectInator.hpp} +{\bkmkstart AAAAAAAACE} +{\bkmkend AAAAAAAACE} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Eric. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b TiemSpelchk::Lurn2SpielNub}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b __OPENNIFTW}{\bkmkstart AAAAAAAACF} +{\bkmkend AAAAAAAACF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b SAMPLE_XML_PATH}\~ "OpenNIConfig.xml"{\bkmkstart AAAAAAAACG} +{\bkmkend AAAAAAAACG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b SAMPLE_XML_PATH_LOCAL}\~ "OpenNIConfig.xml"{\bkmkstart AAAAAAAACH} +{\bkmkend AAAAAAAACH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b MAX_NUM_USERS}\~ 15{\bkmkstart AAAAAAAACI} +{\bkmkend AAAAAAAACI} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b printhead} (int, double, double, double){\bkmkstart AAAAAAAACJ} +{\bkmkend AAAAAAAACJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b noop} (int, double, double, double){\bkmkstart AAAAAAAACK} +{\bkmkend AAAAAAAACK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b noopint} (int){\bkmkstart AAAAAAAACL} +{\bkmkend AAAAAAAACL} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Eric. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-13 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid PrimeSense Ltd. \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid PrimeSense Ltd., Eric McCann \par +}}{ +Definition in file {\b KinectInator.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +mat.cpp File Reference\par \pard\plain +{\tc\tcl2 \v mat.cpp} +{\xe \v mat.cpp} +{\bkmkstart AAAAAAAACM} +{\bkmkend AAAAAAAACM} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the mat2, mat3, and mat4 classes. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "platform.h"}\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "mat.hpp"}\par +{\f2 #include }\par +{\f2 #include "globals.h"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat2 {\b Angel::operator*} (const GLfloat s, const mat2 &m){\bkmkstart AAAAAAAACN} +{\bkmkend AAAAAAAACN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b Angel::operator<<} (std::ostream &os, const mat2 &m){\bkmkstart AAAAAAAACO} +{\bkmkend AAAAAAAACO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b Angel::operator>>} (std::istream &is, mat2 &m){\bkmkstart AAAAAAAACP} +{\bkmkend AAAAAAAACP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat2 {\b Angel::matrixCompMult} (const mat2 &A, const mat2 &B){\bkmkstart AAAAAAAACQ} +{\bkmkend AAAAAAAACQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat2 {\b Angel::transpose} (const mat2 &A){\bkmkstart AAAAAAAACR} +{\bkmkend AAAAAAAACR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat3 {\b Angel::operator*} (const GLfloat s, const mat3 &m){\bkmkstart AAAAAAAACS} +{\bkmkend AAAAAAAACS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b Angel::operator<<} (std::ostream &os, const mat3 &m){\bkmkstart AAAAAAAACT} +{\bkmkend AAAAAAAACT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b Angel::operator>>} (std::istream &is, mat3 &m){\bkmkstart AAAAAAAACU} +{\bkmkend AAAAAAAACU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat3 {\b Angel::matrixCompMult} (const mat3 &A, const mat3 &B){\bkmkstart AAAAAAAACV} +{\bkmkend AAAAAAAACV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat3 {\b Angel::transpose} (const mat3 &A){\bkmkstart AAAAAAAACW} +{\bkmkend AAAAAAAACW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::operator*} (const GLfloat s, const mat4 &m){\bkmkstart AAAAAAAACX} +{\bkmkend AAAAAAAACX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec4 {\b Angel::operator*} (const vec4 &v, const mat4 &_m){\bkmkstart AAAAAAAACY} +{\bkmkend AAAAAAAACY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b Angel::operator<<} (std::ostream &os, const mat4 &m){\bkmkstart AAAAAAAACZ} +{\bkmkend AAAAAAAACZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b Angel::operator>>} (std::istream &is, mat4 &m){\bkmkstart AAAAAAAADA} +{\bkmkend AAAAAAAADA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::matrixCompMult} (const mat4 &A, const mat4 &B){\bkmkstart AAAAAAAADB} +{\bkmkend AAAAAAAADB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::transpose} (const mat4 &A){\bkmkstart AAAAAAAADC} +{\bkmkend AAAAAAAADC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::RotateX} (const GLfloat theta){\bkmkstart AAAAAAAADD} +{\bkmkend AAAAAAAADD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::RotateY} (const GLfloat theta){\bkmkstart AAAAAAAADE} +{\bkmkend AAAAAAAADE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::RotateZ} (const GLfloat theta){\bkmkstart AAAAAAAADF} +{\bkmkend AAAAAAAADF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Translate} (const GLfloat x, const GLfloat y, const GLfloat z){\bkmkstart AAAAAAAADG} +{\bkmkend AAAAAAAADG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Translate} (const vec3 &v){\bkmkstart AAAAAAAADH} +{\bkmkend AAAAAAAADH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Translate} (const vec4 &v){\bkmkstart AAAAAAAADI} +{\bkmkend AAAAAAAADI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Scale} (const GLfloat x, const GLfloat y, const GLfloat z){\bkmkstart AAAAAAAADJ} +{\bkmkend AAAAAAAADJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Scale} (const vec3 &v){\bkmkstart AAAAAAAADK} +{\bkmkend AAAAAAAADK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Ortho} (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar){\bkmkstart AAAAAAAADL} +{\bkmkend AAAAAAAADL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Ortho2D} (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top){\bkmkstart AAAAAAAADM} +{\bkmkend AAAAAAAADM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Frustum} (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar){\bkmkstart AAAAAAAADN} +{\bkmkend AAAAAAAADN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Perspective} (const GLfloat fovy, const GLfloat aspect, const GLfloat zNear, const GLfloat zFar){\bkmkstart AAAAAAAADO} +{\bkmkend AAAAAAAADO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::LookAt} (const vec4 &eye, const vec4 &at, const vec4 &up){\bkmkstart AAAAAAAADP} +{\bkmkend AAAAAAAADP} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the mat2, mat3, and mat4 classes. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2012-12-04\par +}Modified heavily from code available from Ed Angel's website, {\f2 http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/} Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition Addison-Wesley 2012 \par +}{ +Definition in file {\b mat.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +mat.hpp File Reference\par \pard\plain +{\tc\tcl2 \v mat.hpp} +{\xe \v mat.hpp} +{\bkmkstart AAAAAAAADQ} +{\bkmkend AAAAAAAADQ} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for the mat2, mat3, and mat4 classes and related utilities. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include "vec.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Angel::mat2}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b mat2} - 2D square matrix. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Angel::mat3}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b mat3} - 3D square matrix. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Angel::mat4}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b mat4} - 4D square matrix. }}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b ERROR}(str)\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat2 {\b Angel::matrixCompMult} (const mat2 &A, const mat2 &B){\bkmkstart AAAAAAAACQ} +{\bkmkend AAAAAAAACQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat2 {\b Angel::transpose} (const mat2 &A){\bkmkstart AAAAAAAACR} +{\bkmkend AAAAAAAACR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat3 {\b Angel::matrixCompMult} (const mat3 &A, const mat3 &B){\bkmkstart AAAAAAAACV} +{\bkmkend AAAAAAAACV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat3 {\b Angel::transpose} (const mat3 &A){\bkmkstart AAAAAAAACW} +{\bkmkend AAAAAAAACW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::matrixCompMult} (const mat4 &A, const mat4 &B){\bkmkstart AAAAAAAADB} +{\bkmkend AAAAAAAADB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::transpose} (const mat4 &A){\bkmkstart AAAAAAAADC} +{\bkmkend AAAAAAAADC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::RotateX} (const GLfloat theta){\bkmkstart AAAAAAAADD} +{\bkmkend AAAAAAAADD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::RotateY} (const GLfloat theta){\bkmkstart AAAAAAAADE} +{\bkmkend AAAAAAAADE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::RotateZ} (const GLfloat theta){\bkmkstart AAAAAAAADF} +{\bkmkend AAAAAAAADF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Translate} (const GLfloat x, const GLfloat y, const GLfloat z){\bkmkstart AAAAAAAADG} +{\bkmkend AAAAAAAADG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Translate} (const vec3 &v){\bkmkstart AAAAAAAADH} +{\bkmkend AAAAAAAADH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Translate} (const vec4 &v){\bkmkstart AAAAAAAADI} +{\bkmkend AAAAAAAADI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Scale} (const GLfloat x, const GLfloat y, const GLfloat z){\bkmkstart AAAAAAAADJ} +{\bkmkend AAAAAAAADJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Scale} (const vec3 &v){\bkmkstart AAAAAAAADK} +{\bkmkend AAAAAAAADK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Ortho} (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar){\bkmkstart AAAAAAAADL} +{\bkmkend AAAAAAAADL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Ortho2D} (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top){\bkmkstart AAAAAAAADM} +{\bkmkend AAAAAAAADM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Frustum} (const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar){\bkmkstart AAAAAAAADN} +{\bkmkend AAAAAAAADN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::Perspective} (const GLfloat fovy, const GLfloat aspect, const GLfloat zNear, const GLfloat zFar){\bkmkstart AAAAAAAADO} +{\bkmkend AAAAAAAADO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +mat4 {\b Angel::LookAt} (const vec4 &eye, const vec4 &at, const vec4 &up){\bkmkstart AAAAAAAADP} +{\bkmkend AAAAAAAADP} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for the mat2, mat3, and mat4 classes and related utilities. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel, John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2012-12-04\par +}Modified from code available from Ed Angel's website, {\f2 http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/} Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition Addison-Wesley 2012 \par +}{ +Definition in file {\b mat.hpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macro Definition Documentation\par +\pard\plain +{\xe \v ERROR\:mat.hpp} +{\xe \v mat.hpp\:ERROR} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define ERROR( str)}} +\par +{\bkmkstart AAAAAAAADR} +{\bkmkend AAAAAAAADR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +{\b Value:}{ +\pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid do \{ \\\par + std::cerr << "[" __FILE__ ":" << __LINE__ << "] " \\\par + << str << std::endl; \} while(0)\par +} +{ +Definition at line 206 of file mat.hpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +melt.cpp File Reference\par \pard\plain +{\tc\tcl2 \v melt.cpp} +{\xe \v melt.cpp} +{\bkmkstart AAAAAAAADS} +{\bkmkend AAAAAAAADS} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Melting Candle Demo. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "globals.h"}\par +{\f2 #include "platform.h"}\par +{\f2 #include "Camera.hpp"}\par +{\f2 #include "Cameras.hpp"}\par +{\f2 #include "Engine.hpp"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "ParticleSystem.hpp"}\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "Screen.hpp"}\par +{\f2 #include "Timer.hpp"}\par +{\f2 #include "glut_callbacks.h"}\par +{\f2 #include "InitShader.hpp"}\par +{\f2 #include "model.hpp"}\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b melt_draw} (void){\bkmkstart AAAAAAAADT} +{\bkmkend AAAAAAAADT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b melt_init} (void){\bkmkstart AAAAAAAADU} +{\bkmkend AAAAAAAADU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b melt_enable} (void){\bkmkstart AAAAAAAADV} +{\bkmkend AAAAAAAADV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b melt_camera} (void){\bkmkstart AAAAAAAADW} +{\bkmkend AAAAAAAADW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b melt_display} (void){\bkmkstart AAAAAAAADX} +{\bkmkend AAAAAAAADX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b melt_reshape} (int w, int h){\bkmkstart AAAAAAAADY} +{\bkmkend AAAAAAAADY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b melt_keyboard} (unsigned char key, int x, int y){\bkmkstart AAAAAAAADZ} +{\bkmkend AAAAAAAADZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b main} (int argc, char **argv){\bkmkstart AAAAAAAAEA} +{\bkmkend AAAAAAAAEA} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variables\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b positionx} [1000]{\bkmkstart AAAAAAAAEB} +{\bkmkend AAAAAAAAEB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b positiony} [1000]{\bkmkstart AAAAAAAAEC} +{\bkmkend AAAAAAAAEC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b positionz} [1000]{\bkmkstart AAAAAAAAED} +{\bkmkend AAAAAAAAED} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b orb} = 0{\bkmkstart AAAAAAAAEE} +{\bkmkend AAAAAAAAEE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b candleheight} = 50{\bkmkstart AAAAAAAAEF} +{\bkmkend AAAAAAAAEF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b radius} = 10{\bkmkstart AAAAAAAAEG} +{\bkmkend AAAAAAAAEG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b grow} = 0{\bkmkstart AAAAAAAAEH} +{\bkmkend AAAAAAAAEH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b angle}{\bkmkstart AAAAAAAAEI} +{\bkmkend AAAAAAAAEI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b randomN}{\bkmkstart AAAAAAAAEJ} +{\bkmkend AAAAAAAAEJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b crater} = candleheight{\bkmkstart AAAAAAAAEK} +{\bkmkend AAAAAAAAEK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b slices} = 100{\bkmkstart AAAAAAAAEL} +{\bkmkend AAAAAAAAEL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b i}{\bkmkstart AAAAAAAAEM} +{\bkmkend AAAAAAAAEM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b j}{\bkmkstart AAAAAAAAEN} +{\bkmkend AAAAAAAAEN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b melt} = false{\bkmkstart AAAAAAAAEO} +{\bkmkend AAAAAAAAEO} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Melting Candle Demo. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Alex Chea \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-29\par +}FIXME: Documentation from Alex Chea. \par +}{ +Definition in file {\b melt.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +model.cpp File Reference\par \pard\plain +{\tc\tcl2 \v model.cpp} +{\xe \v model.cpp} +{\bkmkstart AAAAAAAAEP} +{\bkmkend AAAAAAAAEP} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Functions related to constructing simple geometry. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "globals.h"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "Timer.hpp"}\par +{\f2 #include "vec.hpp"}\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b QUAD}(A, B, C, D)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A macro to help quickly call {\b quad()} with correct parameters. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b OFFSET_AT}(X, Z)\~ ((X)*S+(Z)){\bkmkstart AAAAAAAAEQ} +{\bkmkend AAAAAAAAEQ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Gives the one-dimensional index offset for a buffer given the terrain's X,Z coordinates. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b VERTEX_AT}(X, Z)\~ (vec.at({\b OFFSET_AT}(X,Z))){\bkmkstart AAAAAAAAER} +{\bkmkend AAAAAAAAER} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Gives the vertex for the terrain data at (X,Z). }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b HEIGHT_AT}(X, Z)\~ ({\b VERTEX_AT}(X,Z).y){\bkmkstart AAAAAAAAES} +{\bkmkend AAAAAAAAES} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the height as a float for these terrain coordinates. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b COLOR_AT}(X, Z)\~ (col.at({\b OFFSET_AT}(X,Z))){\bkmkstart AAAAAAAAET} +{\bkmkend AAAAAAAAET} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the color vector for the terrain data at (X,Z). }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b TEX_UV_AT}(X, Z)\~ (txy.at({\b OFFSET_AT}(X,Z))){\bkmkstart AAAAAAAAEU} +{\bkmkend AAAAAAAAEU} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the {\b Texture} UV (vec2) for the terrain at (X,Z). }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b NORMAL_AT}(X, Z)\~ (nor.at({\b OFFSET_AT}(X,Z))){\bkmkstart AAAAAAAAEV} +{\bkmkend AAAAAAAAEV} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns the Normal vec3 for the terrain at (X,Z). }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b createPoint} ({\b Object} *obj, {\b Point4} const &the_point, {\b Color4} const &the_color, {\b vec3} const &the_normal)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adds another vertex to the specified object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b triangle} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, const int color)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a triangle primitive from three spatial coordinates. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Point4} {\b unit} (const {\b Point4} &p)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Ed Angel utility function: Used to normalize a vector. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b divideTriangle} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, int timesToRecurse, int color)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Used in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b tetra} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, const {\b Point4} &d)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a tetrahedron using four triangles. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b sierpinskiPyramid} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, const {\b Point4} &d, int count)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Forms a Sierpinski Pyramid object given four 4D _vertices in space. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b recursiveModelGen} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, const {\b Point4} &d, int timesToRecurse, int color)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Given a quadrilateral, splits it up into smaller quadrilaterals. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b sphere} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a white sphere. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b quad} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, const {\b Point4} &d, const {\b Color4} &A, const {\b Color4} &B, const {\b Color4} &C, const {\b Color4} &D)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Create a quadrilateral from four _vertices and four _colors. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b cube} ({\b Object} *obj, const GLfloat &size, const {\b Color4} colors[8])\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Create a cube of a given size fixed at the origin, using the eight _colors specified. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b colorCube} ({\b Object} *obj, GLfloat size)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a cube of a given size fixed at the origin, using all eight primary _colors. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b randFloat} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Return a randomized float value! }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +double {\b jitter} (double H)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns a random float between [-H,H]. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec3} {\b calcNormal} ({\b Point4} &a, {\b Point4} &b, {\b Point4} &c)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Calculate the vector normal to the triangle formed by three _vertices. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +double {\b landGen} ({\b Object} *obj, int N, float H)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Use the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b makeAgua} ({\b Object} *land_obj, {\b Object} *agua_obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adds a blue quadrilateral to an already-generated terrain object to create the appearance of water. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Functions related to constructing simple geometry. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel, John Huston, Chris Compton, Nick St.Pierre \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-14 \par +}}{ +Definition in file {\b model.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macro Definition Documentation\par +\pard\plain +{\xe \v QUAD\:model.cpp} +{\xe \v model.cpp\:QUAD} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define QUAD( A, B, C, D)}} +\par +{\bkmkstart AAAAAAAAEW} +{\bkmkend AAAAAAAAEW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +{\b Value:}{ +\pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid quad( obj, vertices[A], vertices[B], vertices[C], vertices[D], \\\par + colors[A], colors[B], colors[C], colors[D] );\par +} +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A macro to help quickly call {\b quad()} with correct parameters. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +See Also:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid {\b quad()}. \par +}}{ +Definition at line 263 of file model.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Function Documentation\par +\pard\plain +{\xe \v calcNormal\:model.cpp} +{\xe \v model.cpp\:calcNormal} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b vec3} calcNormal ({\b Point4} & {\i a}, {\b Point4} & {\i b}, {\b Point4} & {\i c})}} +\par +{\bkmkstart AAAAAAAAEX} +{\bkmkend AAAAAAAAEX} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Calculate the vector normal to the triangle formed by three _vertices. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{First vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{Second vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{Third vertex.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The vector normal to the plane formed by the triangle a,b,c. \par +}}{ +Definition at line 347 of file model.cpp.}\par +} +{\xe \v colorCube\:model.cpp} +{\xe \v model.cpp\:colorCube} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void colorCube ({\b Object} * {\i obj}, GLfloat {\i size})}} +\par +{\bkmkstart AAAAAAAAEY} +{\bkmkend AAAAAAAAEY} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a cube of a given size fixed at the origin, using all eight primary _colors. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a cube of a given size fixed at the origin, using all eight primary colors.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i size} \cell }{The size of the cube to create. \cell } +{\row } +} +}{ +Definition at line 305 of file model.cpp.}\par +} +{\xe \v createPoint\:model.cpp} +{\xe \v model.cpp\:createPoint} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void createPoint ({\b Object} * {\i obj}, {\b Point4} const & {\i the_point}, {\b Color4} const & {\i the_color}, {\b vec3} const & {\i the_normal})}} +\par +{\bkmkstart AAAAAAAAEZ} +{\bkmkend AAAAAAAAEZ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adds another vertex to the specified object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the vertex to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i the_point} \cell }{The 4d spatial coordinate of the vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i the_color} \cell }{The vec4 specifying the RGBA color value of the vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i the_normal} \cell }{The vec3 that specifies the normal for this vertex. \cell } +{\row } +} +}{ +Definition at line 37 of file model.cpp.}\par +} +{\xe \v cube\:model.cpp} +{\xe \v model.cpp\:cube} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void cube ({\b Object} * {\i obj}, const GLfloat & {\i size}, const {\b Color4} {\i colors}[8])}} +\par +{\bkmkstart AAAAAAAAFA} +{\bkmkend AAAAAAAAFA} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Create a cube of a given size fixed at the origin, using the eight _colors specified. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Create a cube of a given size fixed at the origin, using the eight colors specified.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i size} \cell }{The size of the cube to create. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i colors} \cell }{An array of eight _colors for the vertices. \cell } +{\row } +} +}{ +Definition at line 275 of file model.cpp.}\par +} +{\xe \v divideTriangle\:model.cpp} +{\xe \v model.cpp\:divideTriangle} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void divideTriangle ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, int {\i timesToRecurse}, int {\i color})}} +\par +{\bkmkstart AAAAAAAAFB} +{\bkmkend AAAAAAAAFB} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Used in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the triangles to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first spatial coordinate for the triangle. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second spatial coordinate for the triangle. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third spatial coordinate for the triangle. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i timesToRecurse} \cell }{The number of times to subdivide. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i color} \cell }{An index for the color to use for the triangle: \{ Red, Green, Blue, Yellow, Pink, White \} \cell } +{\row } +} +}{ +Definition at line 118 of file model.cpp.}\par +} +{\xe \v jitter\:model.cpp} +{\xe \v model.cpp\:jitter} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +double jitter (double {\i H})}} +\par +{\bkmkstart AAAAAAAAFC} +{\bkmkend AAAAAAAAFC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Returns a random float between [-H,H]. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i H} \cell }{The range for the random float. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid a random float between [-H,H]. \par +}}{ +Definition at line 335 of file model.cpp.}\par +} +{\xe \v landGen\:model.cpp} +{\xe \v model.cpp\:landGen} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +double landGen ({\b Object} * {\i obj}, int {\i N}, float {\i H})}} +\par +{\bkmkstart AAAAAAAAFD} +{\bkmkend AAAAAAAAFD} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Use the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i N} \cell }{The size of the terrain: Will be n^2 x n^2 evenly spaced vertices. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i H} \cell }{The height 'randomness' factor.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The maximum height actually achieved in this terrain generation. \par +}}{ +Definition at line 397 of file model.cpp.}\par +} +{\xe \v makeAgua\:model.cpp} +{\xe \v model.cpp\:makeAgua} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void makeAgua ({\b Object} * {\i land_obj}, {\b Object} * {\i agua_obj})}} +\par +{\bkmkstart AAAAAAAAFE} +{\bkmkend AAAAAAAAFE} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adds a blue quadrilateral to an already-generated terrain object to create the appearance of water. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i land_obj} \cell }{\cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i agua_obj} \cell }{\cell } +{\row } +} +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +What should the water's height be? \par +}{ +Definition at line 558 of file model.cpp.}\par +} +{\xe \v quad\:model.cpp} +{\xe \v model.cpp\:quad} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void quad ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, const {\b Point4} & {\i d}, const {\b Color4} & {\i A}, const {\b Color4} & {\i B}, const {\b Color4} & {\i C}, const {\b Color4} & {\i D})}} +\par +{\bkmkstart AAAAAAAAFF} +{\bkmkend AAAAAAAAFF} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Create a quadrilateral from four _vertices and four _colors. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Create a quadrilateral from four points and four colors.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i d} \cell }{The fourth spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i A} \cell }{The color of the first point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i B} \cell }{The color of the second point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i C} \cell }{The color of the third point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i D} \cell }{The color of the fourth point. \cell } +{\row } +} +}{ +Definition at line 237 of file model.cpp.}\par +} +{\xe \v randFloat\:model.cpp} +{\xe \v model.cpp\:randFloat} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float randFloat (void )}} +\par +{\bkmkstart AAAAAAAAFG} +{\bkmkend AAAAAAAAFG} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Return a randomized float value! }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid A random float, just for you! \par +}}{ +Definition at line 326 of file model.cpp.}\par +} +{\xe \v recursiveModelGen\:model.cpp} +{\xe \v model.cpp\:recursiveModelGen} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void recursiveModelGen ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, const {\b Point4} & {\i d}, int {\i timesToRecurse}, int {\i color})}} +\par +{\bkmkstart AAAAAAAAFH} +{\bkmkend AAAAAAAAFH} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Given a quadrilateral, splits it up into smaller quadrilaterals. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Used in the generation of spheres! FIXME: Nick St.Pierre (Documentation!)\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first spatial coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second spatial coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third spatial coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i d} \cell }{The fourth spatial coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i timesToRecurse} \cell }{The number of subdivisions to make. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i color} \cell }{An index for the color to use for the triangle: \{ Red, Green, Blue, Yellow, Pink, White \} \cell } +{\row } +} +}{ +Definition at line 195 of file model.cpp.}\par +} +{\xe \v sierpinskiPyramid\:model.cpp} +{\xe \v model.cpp\:sierpinskiPyramid} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void sierpinskiPyramid ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, const {\b Point4} & {\i d}, int {\i count})}} +\par +{\bkmkstart AAAAAAAAFI} +{\bkmkend AAAAAAAAFI} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Forms a Sierpinski Pyramid object given four 4D _vertices in space. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Forms a Sierpinski Pyramid object given four 4D points in space.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i d} \cell }{The fourth coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i count} \cell }{The number of recursions to perform to construct the gasket. \cell } +{\row } +} +}{ +Definition at line 163 of file model.cpp.}\par +} +{\xe \v sphere\:model.cpp} +{\xe \v model.cpp\:sphere} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void sphere ({\b Object} * {\i obj})}} +\par +{\bkmkstart AAAAAAAAFJ} +{\bkmkend AAAAAAAAFJ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a white sphere. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +} +}{ +Definition at line 210 of file model.cpp.}\par +} +{\xe \v tetra\:model.cpp} +{\xe \v model.cpp\:tetra} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void tetra ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, const {\b Point4} & {\i d})}} +\par +{\bkmkstart AAAAAAAAFK} +{\bkmkend AAAAAAAAFK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a tetrahedron using four triangles. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +(12 vertices.)\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the Tetrahedron to/ \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first spatial coordinate for the tetrahedron. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second spatial coordinate for the tetrahedron. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third spatial coordinate for the tetrahedron. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i d} \cell }{The fourth spatial coordinate for the tetrahedron. \cell } +{\row } +} +}{ +Definition at line 144 of file model.cpp.}\par +} +{\xe \v triangle\:model.cpp} +{\xe \v model.cpp\:triangle} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void triangle ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, const int {\i color})}} +\par +{\bkmkstart AAAAAAAAFL} +{\bkmkend AAAAAAAAFL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a triangle primitive from three spatial coordinates. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the triangle to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The location of the first vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The location of the second vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The location of the third vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i color} \cell }{An index for the color to use for the triangle: \{ Red, Green, Blue, Yellow, Pink, White \} \cell } +{\row } +} +}{ +Definition at line 56 of file model.cpp.}\par +} +{\xe \v unit\:model.cpp} +{\xe \v model.cpp\:unit} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b Point4} unit (const {\b Point4} & {\i p})}} +\par +{\bkmkstart AAAAAAAAFM} +{\bkmkend AAAAAAAAFM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Ed Angel utility function: Used to normalize a vector. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TODO: Is this a redundant version of Angel::normalize?\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i p} \cell }{\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid \par +}}{ +Definition at line 88 of file model.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +model.hpp File Reference\par \pard\plain +{\tc\tcl2 \v model.hpp} +{\xe \v model.hpp} +{\bkmkstart AAAAAAAAFN} +{\bkmkend AAAAAAAAFN} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for Functions related to constructing simple geometry. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "vec.hpp"}\par +{\f2 #include "Object.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b createPoint} ({\b Object} *obj, {\b Point4} const &the_point, {\b Color4} const &the_color, {\b vec3} const &the_normal)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adds another vertex to the specified object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b triangle} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, const int color)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a triangle primitive from three spatial coordinates. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b divideTriangle} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, int timesToRecurse, int color)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Used in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b tetra} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, const {\b Point4} &d)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a tetrahedron using four triangles. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b sierpinskiPyramid} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, const {\b Point4} &d, int count)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Forms a Sierpinski Pyramid object given four 4D points in space. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b recursiveModelGen} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, const {\b Point4} &d, int timesToRecurse, int color)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Given a quadrilateral, splits it up into smaller quadrilaterals. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b sphere} ({\b Object} *obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a white sphere. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b quad} ({\b Object} *obj, const {\b Point4} &a, const {\b Point4} &b, const {\b Point4} &c, const {\b Point4} &d, const {\b Color4} &A, const {\b Color4} &B, const {\b Color4} &C, const {\b Color4} &D)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Create a quadrilateral from four points and four colors. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b cube} ({\b Object} *obj, const GLfloat &size, const {\b Color4} colors[8])\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Create a cube of a given size fixed at the origin, using the eight colors specified. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b colorCube} ({\b Object} *obj, GLfloat size)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a cube of a given size fixed at the origin, using all eight primary colors. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +double {\b landGen} ({\b Object} *obj, int N, float H)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Use the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b makeAgua} ({\b Object} *land_obj, {\b Object} *agua_obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adds a blue quadrilateral to an already-generated terrain object to create the appearance of water. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for Functions related to constructing simple geometry. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel, John Huston, Chris Compton, Nick St.Pierre \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-14 \par +}}{ +Definition in file {\b model.hpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Function Documentation\par +\pard\plain +{\xe \v colorCube\:model.hpp} +{\xe \v model.hpp\:colorCube} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void colorCube ({\b Object} * {\i obj}, GLfloat {\i size})}} +\par +{\bkmkstart AAAAAAAAFO} +{\bkmkend AAAAAAAAFO} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a cube of a given size fixed at the origin, using all eight primary colors. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i size} \cell }{The size of the cube to create.\cell } +{\row } +} +Creates a cube of a given size fixed at the origin, using all eight primary colors.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i size} \cell }{The size of the cube to create. \cell } +{\row } +} +}{ +Definition at line 305 of file model.cpp.}\par +} +{\xe \v createPoint\:model.hpp} +{\xe \v model.hpp\:createPoint} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void createPoint ({\b Object} * {\i obj}, {\b Point4} const & {\i the_point}, {\b Color4} const & {\i the_color}, {\b vec3} const & {\i the_normal})}} +\par +{\bkmkstart AAAAAAAAFP} +{\bkmkend AAAAAAAAFP} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adds another vertex to the specified object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the vertex to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i the_point} \cell }{The 4d spatial coordinate of the vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i the_color} \cell }{The vec4 specifying the RGBA color value of the vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i the_normal} \cell }{The vec3 that specifies the normal for this vertex. \cell } +{\row } +} +}{ +Definition at line 37 of file model.cpp.}\par +} +{\xe \v cube\:model.hpp} +{\xe \v model.hpp\:cube} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void cube ({\b Object} * {\i obj}, const GLfloat & {\i size}, const {\b Color4} {\i colors}[8])}} +\par +{\bkmkstart AAAAAAAAFQ} +{\bkmkend AAAAAAAAFQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Create a cube of a given size fixed at the origin, using the eight colors specified. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i size} \cell }{The size of the cube to create. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i colors} \cell }{An array of eight colors for the vertices.\cell } +{\row } +} +Create a cube of a given size fixed at the origin, using the eight colors specified.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i size} \cell }{The size of the cube to create. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i colors} \cell }{An array of eight _colors for the vertices. \cell } +{\row } +} +}{ +Definition at line 275 of file model.cpp.}\par +} +{\xe \v divideTriangle\:model.hpp} +{\xe \v model.hpp\:divideTriangle} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void divideTriangle ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, int {\i timesToRecurse}, int {\i color})}} +\par +{\bkmkstart AAAAAAAAFR} +{\bkmkend AAAAAAAAFR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Used in building the Sierpinski gasket: Takes the coordinate for a triangle and splits it into several smaller triangles. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the triangles to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first spatial coordinate for the triangle. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second spatial coordinate for the triangle. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third spatial coordinate for the triangle. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i timesToRecurse} \cell }{The number of times to subdivide. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i color} \cell }{An index for the color to use for the triangle: \{ Red, Green, Blue, Yellow, Pink, White \} \cell } +{\row } +} +}{ +Definition at line 118 of file model.cpp.}\par +} +{\xe \v landGen\:model.hpp} +{\xe \v model.hpp\:landGen} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +double landGen ({\b Object} * {\i obj}, int {\i N}, float {\i H})}} +\par +{\bkmkstart AAAAAAAAFS} +{\bkmkend AAAAAAAAFS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Use the diamond-square terrain generation algorithm to generate a triangle strip that resembles terrain with oceans, mountains, etc. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i N} \cell }{The size of the terrain: Will be n^2 x n^2 evenly spaced vertices. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i H} \cell }{The height 'randomness' factor.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid The maximum height actually achieved in this terrain generation. \par +}}{ +Definition at line 397 of file model.cpp.}\par +} +{\xe \v makeAgua\:model.hpp} +{\xe \v model.hpp\:makeAgua} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void makeAgua ({\b Object} * {\i land_obj}, {\b Object} * {\i agua_obj})}} +\par +{\bkmkstart AAAAAAAAFT} +{\bkmkend AAAAAAAAFT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Adds a blue quadrilateral to an already-generated terrain object to create the appearance of water. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i land_obj} \cell }{\cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i agua_obj} \cell }{\cell } +{\row } +} +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +What should the water's height be? \par +}{ +Definition at line 558 of file model.cpp.}\par +} +{\xe \v quad\:model.hpp} +{\xe \v model.hpp\:quad} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void quad ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, const {\b Point4} & {\i d}, const {\b Color4} & {\i A}, const {\b Color4} & {\i B}, const {\b Color4} & {\i C}, const {\b Color4} & {\i D})}} +\par +{\bkmkstart AAAAAAAAFU} +{\bkmkend AAAAAAAAFU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Create a quadrilateral from four points and four colors. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i d} \cell }{The fourth spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i A} \cell }{The color of the first point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i B} \cell }{The color of the second point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i C} \cell }{The color of the third point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i D} \cell }{The color of the fourth point.\cell } +{\row } +} +Create a quadrilateral from four points and four colors.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i d} \cell }{The fourth spatial point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i A} \cell }{The color of the first point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i B} \cell }{The color of the second point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i C} \cell }{The color of the third point. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i D} \cell }{The color of the fourth point. \cell } +{\row } +} +}{ +Definition at line 237 of file model.cpp.}\par +} +{\xe \v recursiveModelGen\:model.hpp} +{\xe \v model.hpp\:recursiveModelGen} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void recursiveModelGen ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, const {\b Point4} & {\i d}, int {\i timesToRecurse}, int {\i color})}} +\par +{\bkmkstart AAAAAAAAFV} +{\bkmkend AAAAAAAAFV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Given a quadrilateral, splits it up into smaller quadrilaterals. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Used in the generation of spheres! FIXME: Nick St.Pierre (Documentation!)\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first spatial coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second spatial coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third spatial coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i d} \cell }{The fourth spatial coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i timesToRecurse} \cell }{The number of subdivisions to make. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i color} \cell }{An index for the color to use for the triangle: \{ Red, Green, Blue, Yellow, Pink, White \} \cell } +{\row } +} +}{ +Definition at line 195 of file model.cpp.}\par +} +{\xe \v sierpinskiPyramid\:model.hpp} +{\xe \v model.hpp\:sierpinskiPyramid} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void sierpinskiPyramid ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, const {\b Point4} & {\i d}, int {\i count})}} +\par +{\bkmkstart AAAAAAAAFW} +{\bkmkend AAAAAAAAFW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Forms a Sierpinski Pyramid object given four 4D points in space. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i d} \cell }{The fourth coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i count} \cell }{The number of recursions to perform to construct the gasket.\cell } +{\row } +} +Forms a Sierpinski Pyramid object given four 4D points in space.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i d} \cell }{The fourth coordinate. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i count} \cell }{The number of recursions to perform to construct the gasket. \cell } +{\row } +} +}{ +Definition at line 163 of file model.cpp.}\par +} +{\xe \v sphere\:model.hpp} +{\xe \v model.hpp\:sphere} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void sphere ({\b Object} * {\i obj})}} +\par +{\bkmkstart AAAAAAAAFX} +{\bkmkend AAAAAAAAFX} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a white sphere. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the geometry to. \cell } +{\row } +} +}{ +Definition at line 210 of file model.cpp.}\par +} +{\xe \v tetra\:model.hpp} +{\xe \v model.hpp\:tetra} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void tetra ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, const {\b Point4} & {\i d})}} +\par +{\bkmkstart AAAAAAAAFY} +{\bkmkend AAAAAAAAFY} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a tetrahedron using four triangles. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +(12 vertices.)\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the Tetrahedron to/ \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The first spatial coordinate for the tetrahedron. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The second spatial coordinate for the tetrahedron. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The third spatial coordinate for the tetrahedron. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i d} \cell }{The fourth spatial coordinate for the tetrahedron. \cell } +{\row } +} +}{ +Definition at line 144 of file model.cpp.}\par +} +{\xe \v triangle\:model.hpp} +{\xe \v model.hpp\:triangle} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void triangle ({\b Object} * {\i obj}, const {\b Point4} & {\i a}, const {\b Point4} & {\i b}, const {\b Point4} & {\i c}, const int {\i color})}} +\par +{\bkmkstart AAAAAAAAFZ} +{\bkmkend AAAAAAAAFZ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Creates a triangle primitive from three spatial coordinates. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{The object to add the triangle to. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i a} \cell }{The location of the first vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i b} \cell }{The location of the second vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i c} \cell }{The location of the third vertex. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i color} \cell }{An index for the color to use for the triangle: \{ Red, Green, Blue, Yellow, Pink, White \} \cell } +{\row } +} +}{ +Definition at line 56 of file model.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +modelFunctions.cpp File Reference\par \pard\plain +{\tc\tcl2 \v modelFunctions.cpp} +{\xe \v modelFunctions.cpp} +{\bkmkstart AAAAAAAAGA} +{\bkmkend AAAAAAAAGA} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Zach. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include "modelFunctions.hpp"}\par +{\f2 #include "Object.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b threeDimensionalDistance} ({\b vec4} points1, {\b vec4} points2){\bkmkstart AAAAAAAAGB} +{\bkmkend AAAAAAAAGB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b findTriangleWithMinimumDistance} ({\b Object} *largerModel, {\b Object} *smallerModel, int index){\bkmkstart AAAAAAAAGC} +{\bkmkend AAAAAAAAGC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b makeModelsSameSize} ({\b Object} *model1, {\b Object} *model2){\bkmkstart AAAAAAAAGD} +{\bkmkend AAAAAAAAGD} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Zach. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-15 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Zach Maybury\par +}Functions related to morphing. \par +}{ +Definition in file {\b modelFunctions.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +modelFunctions.hpp File Reference\par \pard\plain +{\tc\tcl2 \v modelFunctions.hpp} +{\xe \v modelFunctions.hpp} +{\bkmkstart AAAAAAAAGE} +{\bkmkend AAAAAAAAGE} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Zach. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "platform.h"}\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "mat.hpp"}\par +{\f2 #include "Scene.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b makeModelsSameSize} ({\b Object} *model1, {\b Object} *model2){\bkmkstart AAAAAAAAGF} +{\bkmkend AAAAAAAAGF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b findTriangleWithMinimumDistance} ({\b Object} *largerModel, {\b Object} *smallerModel, int index){\bkmkstart AAAAAAAAGG} +{\bkmkend AAAAAAAAGG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b threeDimensionalDistance} ({\b vec4} points1, {\b vec4} points2){\bkmkstart AAAAAAAAGH} +{\bkmkend AAAAAAAAGH} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Documentation needed from Zach. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-15 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Zach Maybury\par +}Headers for functions related to morphing. \par +}{ +Definition in file {\b modelFunctions.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +MONOLITH.cpp File Reference\par \pard\plain +{\tc\tcl2 \v MONOLITH.cpp} +{\xe \v MONOLITH.cpp} +{\bkmkstart AAAAAAAAGI} +{\bkmkend AAAAAAAAGI} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a monolith of every component. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "globals.h"}\par +{\f2 #include "platform.h"}\par +{\f2 #include "Camera.hpp"}\par +{\f2 #include "Cameras.hpp"}\par +{\f2 #include "Screen.hpp"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "Timer.hpp"}\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "Engine.hpp"}\par +{\f2 #include "model.hpp"}\par +{\f2 #include "InitShader.hpp"}\par +{\f2 #include "glut_callbacks.h"}\par +{\f2 #include "ObjLoader.hpp"}\par +{\f2 #include "eric_rules.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b init} (){\bkmkstart AAAAAAAAGJ} +{\bkmkend AAAAAAAAGJ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Initialization: load and compile shaders, initialize camera(s), load models. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b cleanup} (void){\bkmkstart AAAAAAAAGK} +{\bkmkend AAAAAAAAGK} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Cleans up our scene graph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b draw} (void){\bkmkstart AAAAAAAAGL} +{\bkmkend AAAAAAAAGL} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation of drawing the display with regards to a single viewport. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b display} (void){\bkmkstart AAAAAAAAGM} +{\bkmkend AAAAAAAAGM} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Display/Render the entire screen. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b idle} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Compute time since last idle, update camera positions, redisplay. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +int {\b main} (int argc, char **argv)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a bottle morphing demo! It illustrates simply how to do a simple linear interpolation morph. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a monolith of every component. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid EVERYBODI \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid yesterday\par +}ROUND ONE... FIGHT Original engine based on Ed Angel's book code. This file features a severely reduced linecount for demo purposes. \par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +See Also:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid THE FUTURE for a fully-featured example. \par +}}{ +Definition in file {\b MONOLITH.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Function Documentation\par +\pard\plain +{\xe \v idle\:MONOLITH.cpp} +{\xe \v MONOLITH.cpp\:idle} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void idle (void )}} +\par +{\bkmkstart AAAAAAAAGN} +{\bkmkend AAAAAAAAGN} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Compute time since last idle, update camera positions, redisplay. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Apply new animations. \par +}{ +Definition at line 128 of file MONOLITH.cpp.}\par +} +{\xe \v main\:MONOLITH.cpp} +{\xe \v MONOLITH.cpp\:main} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +int main (int {\i argc}, char ** {\i argv})}} +\par +{\bkmkstart AAAAAAAAGO} +{\bkmkend AAAAAAAAGO} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a bottle morphing demo! It illustrates simply how to do a simple linear interpolation morph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i argc} \cell }{Not used. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i argv} \cell }{Not used. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid EXIT_SUCCESS. \par +}}{ +Definition at line 166 of file MONOLITH.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +morphlite.cpp File Reference\par \pard\plain +{\tc\tcl2 \v morphlite.cpp} +{\xe \v morphlite.cpp} +{\bkmkstart AAAAAAAAGP} +{\bkmkend AAAAAAAAGP} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a derivative of HSC's Fall 2012 project. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "globals.h"}\par +{\f2 #include "platform.h"}\par +{\f2 #include "Camera.hpp"}\par +{\f2 #include "Cameras.hpp"}\par +{\f2 #include "Screen.hpp"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "Timer.hpp"}\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "Engine.hpp"}\par +{\f2 #include "model.hpp"}\par +{\f2 #include "InitShader.hpp"}\par +{\f2 #include "glut_callbacks.h"}\par +{\f2 #include "ObjLoader.hpp"}\par +{\f2 #include "eric_rules.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b init} (){\bkmkstart AAAAAAAAGQ} +{\bkmkend AAAAAAAAGQ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Initialization: load and compile shaders, initialize camera(s), load models. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b cleanup} (void){\bkmkstart AAAAAAAAGR} +{\bkmkend AAAAAAAAGR} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Cleans up our scene graph. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b draw} (void){\bkmkstart AAAAAAAAGS} +{\bkmkend AAAAAAAAGS} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation of drawing the display with regards to a single viewport. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b display} (void){\bkmkstart AAAAAAAAGT} +{\bkmkend AAAAAAAAGT} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Display/Render the entire screen. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b idle} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Compute time since last idle, update camera positions, redisplay. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +int {\b main} (int argc, char **argv)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a bottle morphing demo! It illustrates simply how to do a simple linear interpolation morph. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a derivative of HSC's Fall 2012 project. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Nicholas St.Pierre \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, Nicholas VerVoort, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2012-12-06\par +}This is a tech demo for morphing two objects back and forth. Original engine based on Ed Angel's book code. This file features a severely reduced linecount for demo purposes. \par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +See Also:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid {\b terrain.cpp} for a fully-featured example. \par +}}{ +Definition in file {\b morphlite.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Function Documentation\par +\pard\plain +{\xe \v idle\:morphlite.cpp} +{\xe \v morphlite.cpp\:idle} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void idle (void )}} +\par +{\bkmkstart AAAAAAAAGU} +{\bkmkend AAAAAAAAGU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Compute time since last idle, update camera positions, redisplay. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Apply new animations. \par +}{ +Definition at line 128 of file morphlite.cpp.}\par +} +{\xe \v main\:morphlite.cpp} +{\xe \v morphlite.cpp\:main} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +int main (int {\i argc}, char ** {\i argv})}} +\par +{\bkmkstart AAAAAAAAGV} +{\bkmkend AAAAAAAAGV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a bottle morphing demo! It illustrates simply how to do a simple linear interpolation morph. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i argc} \cell }{Not used. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i argv} \cell }{Not used. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid EXIT_SUCCESS. \par +}}{ +Definition at line 166 of file morphlite.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Object.cpp File Reference\par \pard\plain +{\tc\tcl2 \v Object.cpp} +{\xe \v Object.cpp} +{\bkmkstart AAAAAAAAGW} +{\bkmkend AAAAAAAAGW} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Object} class. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include "Texture.hpp"}\par +{\f2 #include }\par +{\f2 #include "platform.h"}\par +{\f2 #include "Engine.hpp"}\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "mat.hpp"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "globals.h"}\par +{\f2 #include "Timer.hpp"}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the {\b Object} class. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Nick St.Pierre, Nick VerVoort, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-15 \par +}}{ +Definition in file {\b Object.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Object.hpp File Reference\par \pard\plain +{\tc\tcl2 \v Object.hpp} +{\xe \v Object.hpp} +{\bkmkstart AAAAAAAAGX} +{\bkmkend AAAAAAAAGX} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Object} class. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include "platform.h"}\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "mat.hpp"}\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "TransCache.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Object}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Object} Class: Renderable {\b Object} Implementation. }}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Object} class. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Nick St.Pierre, Nick VerVoort, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-15 \par +}}{ +Definition in file {\b Object.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +ObjLoader.cpp File Reference\par \pard\plain +{\tc\tcl2 \v ObjLoader.cpp} +{\xe \v ObjLoader.cpp} +{\bkmkstart AAAAAAAAGY} +{\bkmkend AAAAAAAAGY} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for reading in geometry from .OBJ files. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "ObjLoader.hpp"}\par +{\f2 #include "eric_rules.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b RAND_FLOAT}\~ (rand() / (float) RAND_MAX)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +RAND_FLOAT returns a random float from (0,1). }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +const vector< string > {\b ObjLoader::split} (const string &str, const char delim)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Split a string by an arbitrary delimiter. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec4} {\b ObjLoader::parseVertex} (string line)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain a vertex from a std::string line. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec2} {\b ObjLoader::parseTextureUV} (string line)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain a 2D TexUV coordinate from a std::string line. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec3} {\b ObjLoader::parseNormal} (string line)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain a 3D normal vector from a std::string line. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +vector< vector< int > > {\b ObjLoader::parseFaceElements} (string line)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +parses face elements into a vector of 3 vectors of 3 ints from an .obj line }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b ObjLoader::parseElementTriple} (string triple, vector< int > &v_elements, vector< int > &uv_elements, vector< int > &n_elements)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Helper function that splits an obj element listing (x/y/z) into their proper components (vertices, UVs, _normals.) }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b ObjLoader::loadObj} ({\b Scene} &scene, const char *filename, const char *defaultObjName)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +loadObj loads all available objects from a .obj file into the provided scene. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b ObjLoader::loadModelFromFile} ({\b Object} *object, const char *filename)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Legacy function until I make everything suck less: Loads a single model from an OBJ and stores it into a single {\b Object} instance. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for reading in geometry from .OBJ files. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-14 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Greg Giannone, Nick VerVoort, John Huston \par +}}{ +Definition in file {\b ObjLoader.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macro Definition Documentation\par +\pard\plain +{\xe \v RAND_FLOAT\:ObjLoader.cpp} +{\xe \v ObjLoader.cpp\:RAND_FLOAT} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define RAND_FLOAT\~ (rand() / (float) RAND_MAX)}} +\par +{\bkmkstart AAAAAAAAGZ} +{\bkmkend AAAAAAAAGZ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +RAND_FLOAT returns a random float from (0,1). }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 288 of file ObjLoader.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +ObjLoader.hpp File Reference\par \pard\plain +{\tc\tcl2 \v ObjLoader.hpp} +{\xe \v ObjLoader.hpp} +{\bkmkstart AAAAAAAAHA} +{\bkmkend AAAAAAAAHA} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for functions for reading in geometry from .OBJ files. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "Object.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +const vector< string > {\b ObjLoader::split} (const string &str, const char delim)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Split a string by an arbitrary delimiter. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b Object} * {\b ObjLoader::loadObj} ({\b Scene} &scene, const char *filename, const char *defaultObjName)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +loadObj loads all available objects from a .obj file into the provided scene. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec4} {\b ObjLoader::parseVertex} (string line)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain a vertex from a std::string line. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec2} {\b ObjLoader::parseTextureUV} (string line)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain a 2D TexUV coordinate from a std::string line. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b vec3} {\b ObjLoader::parseNormal} (string line)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Obtain a 3D normal vector from a std::string line. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +vector< vector< int > > {\b ObjLoader::parseFaceElements} (string line)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +parses face elements into a vector of 3 vectors of 3 ints from an .obj line }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b ObjLoader::parseElementTriple} (string triple, vector< int > &v_elements, vector< int > &uv_elements, vector< int > &n_elements)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Helper function that splits an obj element listing (x/y/z) into their proper components (vertices, UVs, _normals.) }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b ObjLoader::loadModelFromFile} ({\b Object} *object, const char *filename)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Legacy function until I make everything suck less: Loads a single model from an OBJ and stores it into a single {\b Object} instance. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for functions for reading in geometry from .OBJ files. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-14 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Greg Giannone, Nick VerVoort, John Huston \par +}}{ +Definition in file {\b ObjLoader.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +OpenGL.h File Reference\par \pard\plain +{\tc\tcl2 \v OpenGL.h} +{\xe \v OpenGL.h} +{\bkmkstart AAAAAAAAHB} +{\bkmkend AAAAAAAAHB} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Core OpenGL includes needed for basic functionality. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Core OpenGL includes needed for basic functionality. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-15 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston\par +}Includes platform-dependent macros that need to be supported by the Makefile in order to function correctly on both Linux and OSX. \par +}{ +Definition in file {\b OpenGL.h}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Particle.cpp File Reference\par \pard\plain +{\tc\tcl2 \v Particle.cpp} +{\xe \v Particle.cpp} +{\bkmkstart AAAAAAAAHC} +{\bkmkend AAAAAAAAHC} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Needs documentation from NVV/CC. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "globals.h"}\par +{\f2 #include "mat.hpp"}\par +{\f2 #include "model.hpp"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "Particle.hpp"}\par +{\f2 #include "platform.h"}\par +{\f2 #include "Timer.hpp"}\par +{\f2 #include "vec.hpp"}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Needs documentation from NVV/CC. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid FIXME \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid FIXME \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-15 \par +}}{ +Definition in file {\b Particle.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Particle.hpp File Reference\par \pard\plain +{\tc\tcl2 \v Particle.hpp} +{\xe \v Particle.hpp} +{\bkmkstart AAAAAAAAHD} +{\bkmkend AAAAAAAAHD} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Needs documentation from NVV/CC. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include "mat.hpp"}\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "Object.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Particle}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TODO: You know you've been bad. }}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +FIXME: Needs documentation from NVV/CC. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid FIXME \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid FIXME \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-15 \par +}}{ +Definition in file {\b Particle.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +ParticleSystem.cpp File Reference\par \pard\plain +{\tc\tcl2 \v ParticleSystem.cpp} +{\xe \v ParticleSystem.cpp} +{\bkmkstart AAAAAAAAHE} +{\bkmkend AAAAAAAAHE} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b ParticleSystem} implementation. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "globals.h"}\par +{\f2 #include "mat.hpp"}\par +{\f2 #include "model.hpp"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "Particle.hpp"}\par +{\f2 #include "ParticleSystem.hpp"}\par +{\f2 #include "platform.h"}\par +{\f2 #include "Timer.hpp"}\par +{\f2 #include "vec.hpp"}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b ParticleSystem} implementation. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-29 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Nick VerVoort, Chris Compton\par +}FIXME: Needs documentation from CC/NVV \par +}{ +Definition in file {\b ParticleSystem.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +ParticleSystem.hpp File Reference\par \pard\plain +{\tc\tcl2 \v ParticleSystem.hpp} +{\xe \v ParticleSystem.hpp} +{\bkmkstart AAAAAAAAHF} +{\bkmkend AAAAAAAAHF} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TODO: Documentation from CC/NVV. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include "mat.hpp"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "Particle.hpp"}\par +{\f2 #include "vec.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b ParticleSystem}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Typedefs\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +typedef {\b Particle} * {\b ParticleP}{\bkmkstart AAAAAAAAHG} +{\bkmkend AAAAAAAAHG} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TODO: Documentation from CC/NVV. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Chris Compton {\f2 christopher_compton@student.uml.edu} \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-02-24\par +}TODO: Documentation from CC/NVV \par +}{ +Definition in file {\b ParticleSystem.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +partTest.cpp File Reference\par \pard\plain +{\tc\tcl2 \v partTest.cpp} +{\xe \v partTest.cpp} +{\bkmkstart AAAAAAAAHH} +{\bkmkend AAAAAAAAHH} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a derivative of our main project file, fly.cpp. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "globals.h"}\par +{\f2 #include "platform.h"}\par +{\f2 #include "Camera.hpp"}\par +{\f2 #include "Cameras.hpp"}\par +{\f2 #include "Engine.hpp"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "ParticleSystem.hpp"}\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "Screen.hpp"}\par +{\f2 #include "Timer.hpp"}\par +{\f2 #include "glut_callbacks.h"}\par +{\f2 #include "InitShader.hpp"}\par +{\f2 #include "model.hpp"}\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "eric_rules.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Typedefs\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +typedef {\b Angel::vec4} {\b Color4}{\bkmkstart AAAAAAAAHI} +{\bkmkend AAAAAAAAHI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +typedef {\b Angel::vec4} {\b Point4}{\bkmkstart AAAAAAAAHJ} +{\bkmkend AAAAAAAAHJ} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b init} (){\bkmkstart AAAAAAAAHK} +{\bkmkend AAAAAAAAHK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b cleanup} (void){\bkmkstart AAAAAAAAHL} +{\bkmkend AAAAAAAAHL} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b draw} (void){\bkmkstart AAAAAAAAHM} +{\bkmkend AAAAAAAAHM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b display} (void){\bkmkstart AAAAAAAAHN} +{\bkmkend AAAAAAAAHN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b idle} (void){\bkmkstart AAAAAAAAHO} +{\bkmkend AAAAAAAAHO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b main} (int argc, char **argv){\bkmkstart AAAAAAAAHP} +{\bkmkend AAAAAAAAHP} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variables\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Screen} {\b myScreen} (800, 600){\bkmkstart AAAAAAAAHQ} +{\bkmkend AAAAAAAAHQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b fixed_yaw} = true{\bkmkstart AAAAAAAAHR} +{\bkmkend AAAAAAAAHR} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a derivative of our main project file, fly.cpp. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Nicholas St.Pierre \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, Nicholas VerVoort, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-02-23\par +}This is a tech demo for a particle system \par +}{ +Definition in file {\b partTest.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +platform.h File Reference\par \pard\plain +{\tc\tcl2 \v platform.h} +{\xe \v platform.h} +{\bkmkstart AAAAAAAAHS} +{\bkmkend AAAAAAAAHS} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Covertly re-defines functions that conflict between Linux and OSX. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "OpenGL.h"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b GLEW_INIT}()\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A macro defined to initialize GLEW on Linux, but do nothing on Apple OSX. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Covertly re-defines functions that conflict between Linux and OSX. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-15 \par +}}{ +Definition in file {\b platform.h}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macro Definition Documentation\par +\pard\plain +{\xe \v GLEW_INIT\:platform.h} +{\xe \v platform.h\:GLEW_INIT} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define GLEW_INIT()}} +\par +{\bkmkstart AAAAAAAAHT} +{\bkmkend AAAAAAAAHT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +{\b Value:}{ +\pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid glewExperimental = GL_FALSE; \\\par + GLenum rc = glewInit(); \\\par + if (rc) fprintf( stderr, "%s\\n", glewGetErrorString(rc) );\par +} +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +A macro defined to initialize GLEW on Linux, but do nothing on Apple OSX. }}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +raytrace1.cpp File Reference\par \pard\plain +{\tc\tcl2 \v raytrace1.cpp} +{\xe \v raytrace1.cpp} +{\bkmkstart AAAAAAAAHU} +{\bkmkend AAAAAAAAHU} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Geometric Raytracing Demo. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "SpelchkCamera.hpp"}\par +{\f2 #include "InitShader.hpp"}\par +{\f2 #include "eric_rules.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b idle} (void){\bkmkstart AAAAAAAAHV} +{\bkmkend AAAAAAAAHV} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Redraw the scene. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b reshape} (int width, int height)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Screen} resize handler. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b customkeyboard} (unsigned char key, int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Keyboard Conrol Handler. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b custommouse} (int button, int state, int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Mouse click handler. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b motion} (int x, int y)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handle mouse and camera movement. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b display} (void){\bkmkstart AAAAAAAAHW} +{\bkmkend AAAAAAAAHW} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handle the re-display of the scene. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b init} (void){\bkmkstart AAAAAAAAHX} +{\bkmkend AAAAAAAAHX} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Initialization of objects and OpenGL state. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +int {\b main} (int argc, char **argv)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Simple raytracer demo by Hoanh Nguyen. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variables\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b program}{\bkmkstart AAAAAAAAHY} +{\bkmkend AAAAAAAAHY} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Global shader object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b modelView} = -1{\bkmkstart AAAAAAAAHZ} +{\bkmkend AAAAAAAAHZ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +model-view matrix uniform shader variable location }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLuint {\b dethklok}{\bkmkstart AAAAAAAAIA} +{\bkmkend AAAAAAAAIA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLint {\b vRayPosition} = -1{\bkmkstart AAAAAAAAIB} +{\bkmkend AAAAAAAAIB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLint {\b uCameraPosition} = -1\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handle to uniform that will contain the position of the {\b Camera}. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +{\b SpelchkCamera} {\b camera} ({\b vec4}(0.0, 0.0, 0.0, 0.0))\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Logical camera object. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLint {\b uSphereCenterPoints} = -1{\bkmkstart AAAAAAAAIC} +{\bkmkend AAAAAAAAIC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLint {\b uSphereRadius} = -1{\bkmkstart AAAAAAAAID} +{\bkmkend AAAAAAAAID} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLint {\b uSphereColors} = -1{\bkmkstart AAAAAAAAIE} +{\bkmkend AAAAAAAAIE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLint {\b uNumOfSpheres} = -1{\bkmkstart AAAAAAAAIF} +{\bkmkend AAAAAAAAIF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLfloat {\b sphereCenterPoints} []\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b sphereRadius} [] = \{ 0.5, 0.6, 0.7, 0.8 \}{\bkmkstart AAAAAAAAIG} +{\bkmkend AAAAAAAAIG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +GLfloat {\b sphereColors} []\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +int {\b screenHeight}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +current Height of the screen. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +int {\b screenWidth}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +current Width of the screen. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b leftDown} = false{\bkmkstart AAAAAAAAIH} +{\bkmkend AAAAAAAAIH} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Is the left mouse button being pressed? }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b rightDown} = false{\bkmkstart AAAAAAAAII} +{\bkmkend AAAAAAAAII} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Is the right mouse button being pressed? }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b mouseDownX}{\bkmkstart AAAAAAAAIJ} +{\bkmkend AAAAAAAAIJ} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Last known x coordinate of the mouse pointer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b mouseDownY}{\bkmkstart AAAAAAAAIK} +{\bkmkend AAAAAAAAIK} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Last known y coordinate of the mouse pointer. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b rotationFactor} = 45.0\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Magic constant to adjust the rate of rotation when re-orienting the camera. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +float {\b translationFactor} = 5.0\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Magic constant to adjust the rate of translation when re-orienting the camera. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Geometric Raytracing Demo. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Hoanh Nguyen \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-15 \par +}}{ +Definition in file {\b raytrace1.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Function Documentation\par +\pard\plain +{\xe \v customkeyboard\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:customkeyboard} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void customkeyboard (unsigned char {\i key}, int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAAIL} +{\bkmkend AAAAAAAAIL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Keyboard Conrol Handler. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i key} \cell }{The key that was pressed. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{X coordinate of the mouse when a key was pressed. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{Y coordinate of the mouse when a key was pressed. \cell } +{\row } +} +}{ +Definition at line 75 of file raytrace1.cpp.}\par +} +{\xe \v custommouse\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:custommouse} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void custommouse (int {\i button}, int {\i state}, int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAAIM} +{\bkmkend AAAAAAAAIM} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Mouse click handler. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i button} \cell }{The mouse button that was pressed. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i state} \cell }{The current state of that button. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{X coordinate of the mouse. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{Y coordinate of the mouse. \cell } +{\row } +} +}{ +Definition at line 131 of file raytrace1.cpp.}\par +} +{\xe \v main\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:main} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +int main (int {\i argc}, char ** {\i argv})}} +\par +{\bkmkstart AAAAAAAAIN} +{\bkmkend AAAAAAAAIN} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Simple raytracer demo by Hoanh Nguyen. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i argc} \cell }{Not used. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i argv} \cell }{Not used. \cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid 0. \par +}}{ +Definition at line 280 of file raytrace1.cpp.}\par +} +{\xe \v motion\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:motion} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void motion (int {\i x}, int {\i y})}} +\par +{\bkmkstart AAAAAAAAIO} +{\bkmkend AAAAAAAAIO} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handle mouse and camera movement. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i x} \cell }{X coordinate of the mouse. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i y} \cell }{Y coordinate of the mouse. \cell } +{\row } +} +}{ +Definition at line 171 of file raytrace1.cpp.}\par +} +{\xe \v reshape\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:reshape} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void reshape (int {\i width}, int {\i height})}} +\par +{\bkmkstart AAAAAAAAIP} +{\bkmkend AAAAAAAAIP} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Screen} resize handler. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i width} \cell }{New screen width. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i height} \cell }{New screen height. \cell } +{\row } +} +}{ +Definition at line 64 of file raytrace1.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variable Documentation\par +\pard\plain +{\xe \v camera\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:camera} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +{\b SpelchkCamera} camera({\b vec4}(0.0, 0.0, 0.0, 0.0))}} +\par +{\bkmkstart AAAAAAAAIQ} +{\bkmkend AAAAAAAAIQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Logical camera object. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}} +{\xe \v rotationFactor\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:rotationFactor} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float rotationFactor = 45.0}} +\par +{\bkmkstart AAAAAAAAIR} +{\bkmkend AAAAAAAAIR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Magic constant to adjust the rate of rotation when re-orienting the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 162 of file raytrace1.cpp.}\par +} +{\xe \v screenHeight\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:screenHeight} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +int screenHeight}} +\par +{\bkmkstart AAAAAAAAIS} +{\bkmkend AAAAAAAAIS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +current Height of the screen. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 55 of file raytrace1.cpp.}\par +} +{\xe \v screenWidth\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:screenWidth} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +int screenWidth}} +\par +{\bkmkstart AAAAAAAAIT} +{\bkmkend AAAAAAAAIT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +current Width of the screen. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 57 of file raytrace1.cpp.}\par +} +{\xe \v sphereCenterPoints\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:sphereCenterPoints} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLfloat sphereCenterPoints[]}} +\par +{\bkmkstart AAAAAAAAIU} +{\bkmkend AAAAAAAAIU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +{\b Initial value:}{ +\pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \{ -1.0, -1.0, -2.0, 1.0, -1.0, -2.0, -1.0, 1.0,\par + -2.0, 1.0, 1.0, -2.0 \}\par +} +{ +Definition at line 39 of file raytrace1.cpp.}\par +} +{\xe \v sphereColors\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:sphereColors} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLfloat sphereColors[]}} +\par +{\bkmkstart AAAAAAAAIV} +{\bkmkend AAAAAAAAIV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +{\b Initial value:}{ +\pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \{ 1.0, 0.3, 0.3, 0.3, 1.0, 0.3, 0.3, 0.3, 1.0, 1.0,\par + 0.3, 0.3 \}\par +} +{ +Definition at line 44 of file raytrace1.cpp.}\par +} +{\xe \v translationFactor\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:translationFactor} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +float translationFactor = 5.0}} +\par +{\bkmkstart AAAAAAAAIW} +{\bkmkend AAAAAAAAIW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Magic constant to adjust the rate of translation when re-orienting the camera. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 164 of file raytrace1.cpp.}\par +} +{\xe \v uCameraPosition\:raytrace1.cpp} +{\xe \v raytrace1.cpp\:uCameraPosition} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +GLint uCameraPosition = -1}} +\par +{\bkmkstart AAAAAAAAIX} +{\bkmkend AAAAAAAAIX} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Handle to uniform that will contain the position of the {\b Camera}. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 27 of file raytrace1.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Scene.cpp File Reference\par \pard\plain +{\tc\tcl2 \v Scene.cpp} +{\xe \v Scene.cpp} +{\bkmkstart AAAAAAAAIY} +{\bkmkend AAAAAAAAIY} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Scene} graph implementation. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "Object.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Typedefs\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +typedef std::pair< std::string, \par +{\b Object} * > {\b mapping}{\bkmkstart AAAAAAAAIZ} +{\bkmkend AAAAAAAAIZ} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Scene} graph implementation. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-29 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston\par +}{\b Scene} graph implementation. \par +}{ +Definition in file {\b Scene.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Scene.hpp File Reference\par \pard\plain +{\tc\tcl2 \v Scene.hpp} +{\xe \v Scene.hpp} +{\bkmkstart AAAAAAAAJA} +{\bkmkend AAAAAAAAJA} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Scene} class. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "platform.h"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Scene}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +The {\b Scene} object keeps track of a list of objects considered to be "children" of the {\b Scene}. }}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the {\b Scene} class. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-16 \par +}}{ +Definition in file {\b Scene.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Screen.cpp File Reference\par \pard\plain +{\tc\tcl2 \v Screen.cpp} +{\xe \v Screen.cpp} +{\bkmkstart AAAAAAAAJB} +{\bkmkend AAAAAAAAJB} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Screen} class implementation. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "Screen.hpp"}\par +{\f2 #include "Cameras.hpp"}\par +{\f2 #include "vec.hpp"}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Screen} class implementation. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-29\par +}{\b Screen} contains size and positioning information for a logical window. \par +}{ +Definition in file {\b Screen.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Screen.hpp File Reference\par \pard\plain +{\tc\tcl2 \v Screen.hpp} +{\xe \v Screen.hpp} +{\bkmkstart AAAAAAAAJC} +{\bkmkend AAAAAAAAJC} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Screen} class header file. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "vec.hpp"}\par +{\f2 #include "Cameras.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Screen}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Screen} class header file. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-29\par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +See Also:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid {\b Screen}. \par +}}{ +Definition in file {\b Screen.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +SpelchkCamera.cpp File Reference\par \pard\plain +{\tc\tcl2 \v SpelchkCamera.cpp} +{\xe \v SpelchkCamera.cpp} +{\bkmkstart AAAAAAAAJD} +{\bkmkend AAAAAAAAJD} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Tiem Spelchk {\b Camera} Implementation. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "SpelchkCamera.hpp"}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Tiem Spelchk {\b Camera} Implementation. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Hoanh Nguyen \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2012-12-01\par +}FIXME \par +}{ +Definition in file {\b SpelchkCamera.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +SpelchkCamera.hpp File Reference\par \pard\plain +{\tc\tcl2 \v SpelchkCamera.hpp} +{\xe \v SpelchkCamera.hpp} +{\bkmkstart AAAAAAAAJE} +{\bkmkend AAAAAAAAJE} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Team Spelchk {\b Camera} Header. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include "mat.hpp"}\par +{\f2 #include "vec.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b SpelchkCamera}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Team Spelchk {\b Camera} Header. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Hoanh Nguyen \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2012-12-01\par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +See Also:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid {\b SpelchkCamera} \par +}}{ +Definition in file {\b SpelchkCamera.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +terrain.cpp File Reference\par \pard\plain +{\tc\tcl2 \v terrain.cpp} +{\xe \v terrain.cpp} +{\bkmkstart AAAAAAAAJF} +{\bkmkend AAAAAAAAJF} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a trimmed version of our Fall 2012 project. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "platform.h"}\par +{\f2 #include "globals.h"}\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "mat.hpp"}\par +{\f2 #include "Engine.hpp"}\par +{\f2 #include "Camera.hpp"}\par +{\f2 #include "Cameras.hpp"}\par +{\f2 #include "Screen.hpp"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "Timer.hpp"}\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "model.hpp"}\par +{\f2 #include "InitShader.hpp"}\par +{\f2 #include "glut_callbacks.h"}\par +{\f2 #include "ObjLoader.hpp"}\par +{\f2 #include "eric_rules.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b randomize_terrain} ()\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +randomize_terrain is called to regenerate the terrain in this application. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b init} ()\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +init will initialize this particular flythrough, by creating and instantiating a shader, a camera, and a number of initial objects. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b cleanup} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +cleanup is a routine to call at exit time that will free up the resources the application is using. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b displayViewport} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +displayViewport is responsible for drawing a single viewport. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b display} (void)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +display is responsible for drawing an entire screen. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b TerrainGenerationAnimation} ({\b TransCache} &obj)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TerrainGenerationAnimation is an animation callback that will: (A) If triggered, begin to shrink the object into a flat plane, (B) Order a re-generation of the terrain data (C) will grow the object back into its new, final shape. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b wiilook} ({\b Camera} &WiiCamera, const {\b Angel::vec3} &NewTheta, const {\b Angel::vec3} &MovementRates)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +wiilook is an analog of mouselook, for wii remote controls. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b simpleRotateY} ({\b TransCache} &obj){\bkmkstart AAAAAAAAJG} +{\bkmkend AAAAAAAAJG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b simpleRotateAnim} ({\b TransCache} &obj){\bkmkstart AAAAAAAAJH} +{\bkmkend AAAAAAAAJH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b animationTest} ({\b TransCache} &obj){\bkmkstart AAAAAAAAJI} +{\bkmkend AAAAAAAAJI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b idle} (void){\bkmkstart AAAAAAAAJJ} +{\bkmkend AAAAAAAAJJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b menufunc} (int value){\bkmkstart AAAAAAAAJK} +{\bkmkend AAAAAAAAJK} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b main} (int argc, char **argv){\bkmkstart AAAAAAAAJL} +{\bkmkend AAAAAAAAJL} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variables\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +const char * {\b terrainTex} []\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b switchingTerrain} = false{\bkmkstart AAAAAAAAJM} +{\bkmkend AAAAAAAAJM} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b heightScale} = 0.0{\bkmkstart AAAAAAAAJN} +{\bkmkend AAAAAAAAJN} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +hackity hack hack hackey doo! }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +float {\b ticker} = 0.0{\bkmkstart AAAAAAAAJO} +{\bkmkend AAAAAAAAJO} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is a trimmed version of our Fall 2012 project. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston, Nicholas StPierre, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-02-23\par +}This is a tech demo for terrain generation using an udpated engine derived from Ed Angel's code from his book. \par +}{ +Definition in file {\b terrain.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Function Documentation\par +\pard\plain +{\xe \v cleanup\:terrain.cpp} +{\xe \v terrain.cpp\:cleanup} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void cleanup (void )}} +\par +{\bkmkstart AAAAAAAAJP} +{\bkmkend AAAAAAAAJP} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +cleanup is a routine to call at exit time that will free up the resources the application is using. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +While not critical, it does aid in using debuggers to not have any memory leaks at exit time.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 224 of file terrain.cpp.}\par +} +{\xe \v display\:terrain.cpp} +{\xe \v terrain.cpp\:display} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void display (void )}} +\par +{\bkmkstart AAAAAAAAJQ} +{\bkmkend AAAAAAAAJQ} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +display is responsible for drawing an entire screen. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 249 of file terrain.cpp.}\par +} +{\xe \v displayViewport\:terrain.cpp} +{\xe \v terrain.cpp\:displayViewport} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void displayViewport (void )}} +\par +{\bkmkstart AAAAAAAAJR} +{\bkmkend AAAAAAAAJR} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +displayViewport is responsible for drawing a single viewport. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 235 of file terrain.cpp.}\par +} +{\xe \v init\:terrain.cpp} +{\xe \v terrain.cpp\:init} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void init (void )}} +\par +{\bkmkstart AAAAAAAAJS} +{\bkmkend AAAAAAAAJS} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +init will initialize this particular flythrough, by creating and instantiating a shader, a camera, and a number of initial objects. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 88 of file terrain.cpp.}\par +} +{\xe \v randomize_terrain\:terrain.cpp} +{\xe \v terrain.cpp\:randomize_terrain} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void randomize_terrain ()}} +\par +{\bkmkstart AAAAAAAAJT} +{\bkmkend AAAAAAAAJT} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +randomize_terrain is called to regenerate the terrain in this application. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It assumes the terrain is named "terrain" and is located as a direct child of the main scene graph.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 65 of file terrain.cpp.}\par +} +{\xe \v TerrainGenerationAnimation\:terrain.cpp} +{\xe \v terrain.cpp\:TerrainGenerationAnimation} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void TerrainGenerationAnimation ({\b TransCache} & {\i obj})}} +\par +{\bkmkstart AAAAAAAAJU} +{\bkmkend AAAAAAAAJU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +TerrainGenerationAnimation is an animation callback that will: (A) If triggered, begin to shrink the object into a flat plane, (B) Order a re-generation of the terrain data (C) will grow the object back into its new, final shape. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\par +{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i obj} \cell }{A reference to an object's transformation state.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid void. \par +}}{ +Definition at line 273 of file terrain.cpp.}\par +} +{\xe \v wiilook\:terrain.cpp} +{\xe \v terrain.cpp\:wiilook} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void wiilook ({\b Camera} & {\i WiiCamera}, const {\b Angel::vec3} & {\i NewTheta}, const {\b Angel::vec3} & {\i MovementRates})}} +\par +{\bkmkstart AAAAAAAAJV} +{\bkmkend AAAAAAAAJV} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +wiilook is an analog of mouselook, for wii remote controls. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +It takes a reference to a {\b Camera}, and two vec3s, and uses the information to adjust the {\b Camera}'s _rotation.\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Parameters:\par} +\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid \trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i WiiCamera} \cell }{The camera to adjust the _rotation of. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i NewTheta} \cell }{The X,Y,Z angles of the Wii Remote. \cell } +{\row } +\trowd \trgaph108\trleft426\tblind426\trbrdrt\brdrs\brdrw10\brdrcf15 \trbrdrl\brdrs\brdrw10\brdrcf15 \trbrdrb\brdrs\brdrw10\brdrcf15 \trbrdrr\brdrs\brdrw10\brdrcf15 \trbrdrh\brdrs\brdrw10\brdrcf15 \trbrdrv\brdrs\brdrw10\brdrcf15 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx2187 +\clvertalt\clbrdrt\brdrs\brdrw10\brdrcf15 \clbrdrl\brdrs\brdrw10\brdrcf15 \clbrdrb\brdrs\brdrw10\brdrcf15 \clbrdrr \brdrs\brdrw10\brdrcf15 \cltxlrtb \cellx8748 +\pard \widctlpar\intbl\adjustright +{{\i MovementRates} \cell }{The X, Y, Z angular velocities of the Wii Remote.\cell } +{\row } +} +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Returns:\par}\pard\plain \s62\li720\widctlpar\ql\adjustright \fs20\cgrid Void. \par +}}{ +Definition at line 336 of file terrain.cpp.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variable Documentation\par +\pard\plain +{\xe \v terrainTex\:terrain.cpp} +{\xe \v terrain.cpp\:terrainTex} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +const char* terrainTex[]}} +\par +{\bkmkstart AAAAAAAAJW} +{\bkmkend AAAAAAAAJW} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +{\b Initial value:}{ +\pard\plain \s41\li360\widctlpar\adjustright \shading1000\cbpat8 \f2\fs16\cgrid \{ "../Textures/GoodTextures_0013423.jpg", \par + "../Textures/GoodTextures_0013779.jpg", \par + "../Textures/GrassGreenTexture0002.jpg", \par + "../Textures/GoodTextures_0013418.jpg", \par + "../Textures/GoodTextures_0013291.jpg" \par + \}\par +} +{ +Definition at line 51 of file terrain.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Texture.cpp File Reference\par \pard\plain +{\tc\tcl2 \v Texture.cpp} +{\xe \v Texture.cpp} +{\bkmkstart AAAAAAAAJX} +{\bkmkend AAAAAAAAJX} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Texturing Module! }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "Texture.hpp"}\par +{\f2 #include "platform.h"}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Texturing Module! \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Etay Meiri, John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-28\par +}Based -very- heavily on Etay Meiri's work at ogldev. \par +}{ +Definition in file {\b Texture.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Texture.hpp File Reference\par \pard\plain +{\tc\tcl2 \v Texture.hpp} +{\xe \v Texture.hpp} +{\bkmkstart AAAAAAAAJY} +{\bkmkend AAAAAAAAJY} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Texturing Module! }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "platform.h"}\par +{\f2 #include }\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Texture}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Texturing Module! \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Etay Meiri, John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-28\par +}Based -very- heavily on Etay Meiri's work at ogldev. \par +}{ +Definition in file {\b Texture.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Timer.cpp File Reference\par \pard\plain +{\tc\tcl2 \v Timer.cpp} +{\xe \v Timer.cpp} +{\bkmkstart AAAAAAAAJZ} +{\bkmkend AAAAAAAAJZ} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for global {\b Timer} object. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include }\par +{\f2 #include "Timer.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b SecToNSec}\~ (1000000000){\bkmkstart AAAAAAAAKA} +{\bkmkend AAAAAAAAKA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b SecTouSec}\~ (1000000){\bkmkstart AAAAAAAAKB} +{\bkmkend AAAAAAAAKB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +#define {\b SecToMSec}\~ (1000){\bkmkstart AAAAAAAAKC} +{\bkmkend AAAAAAAAKC} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variables\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Timer} {\b tick}{\bkmkstart AAAAAAAAKD} +{\bkmkend AAAAAAAAKD} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +tick is a globally provided timer object, named cutely so we can call tick.tock() and feel clever. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for global {\b Timer} object. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-28\par +}{\b Timer} provides a class for measuring the time delta between frame renders, and provides fractional scalar values for use with animation speeds to accelerate or slow animations in accordance with the key frame rate. \par +}{ +Definition in file {\b Timer.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Timer.hpp File Reference\par \pard\plain +{\tc\tcl2 \v Timer.hpp} +{\xe \v Timer.hpp} +{\bkmkstart AAAAAAAAKE} +{\bkmkend AAAAAAAAKE} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Timer} class header. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Timer}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macros\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +#define {\b DEFAULT_KEYFRAME_RATE}\~ (16667.0)\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +DEFAULT_KEYFRAME_RATE is defined to be 1/60th of a second, or 60FPS. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variables\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Timer} {\b tick}{\bkmkstart AAAAAAAAKF} +{\bkmkend AAAAAAAAKF} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +tick is a globally provided timer object, named cutely so we can call tick.tock() and feel clever. }{ +}\par +}} +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Timer} class header. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-29\par +}Header for the {\b Timer} class, which provides a global timer object. \par +}{ +Definition in file {\b Timer.hpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Macro Definition Documentation\par +\pard\plain +{\xe \v DEFAULT_KEYFRAME_RATE\:Timer.hpp} +{\xe \v Timer.hpp\:DEFAULT_KEYFRAME_RATE} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +#define DEFAULT_KEYFRAME_RATE\~ (16667.0)}} +\par +{\bkmkstart AAAAAAAAKG} +{\bkmkend AAAAAAAAKG} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +DEFAULT_KEYFRAME_RATE is defined to be 1/60th of a second, or 60FPS. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +This is only the default, and can be changed at runtime. The value is in terms of microseconds: 16667 usec = 16.667 msec = 0.016667 sec \par +}{ +Definition at line 51 of file Timer.hpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +TransCache.cpp File Reference\par \pard\plain +{\tc\tcl2 \v TransCache.cpp} +{\xe \v TransCache.cpp} +{\bkmkstart AAAAAAAAKH} +{\bkmkend AAAAAAAAKH} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b TransCache} Implementation. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "TransCache.hpp"}\par +{\f2 #include "Transformation.hpp"}\par +{\f2 #include "mat.hpp"}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b TransCache} Implementation. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-28\par +}{\b Transformation} Cache implementation; This class serves as a wrapper for containing all the necessary transformations for the {\b Scene} graph. \par +}{ +Definition in file {\b TransCache.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +TransCache.hpp File Reference\par \pard\plain +{\tc\tcl2 \v TransCache.hpp} +{\xe \v TransCache.hpp} +{\bkmkstart AAAAAAAAKI} +{\bkmkend AAAAAAAAKI} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the "Transformation Cache" class. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "mat.hpp"}\par +{\f2 #include "Transformation.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b TransCache}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Header for the "Transformation Cache" class. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-29 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston\par +}Encompasses all of the necessary details to apply a variety of common transformations to a single object in a scene graph. \par +}{ +Definition in file {\b TransCache.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Transformation.cpp File Reference\par \pard\plain +{\tc\tcl2 \v Transformation.cpp} +{\xe \v Transformation.cpp} +{\bkmkstart AAAAAAAAKJ} +{\bkmkend AAAAAAAAKJ} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Transformation} Superclass Implementation. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "mat.hpp"}\par +{\f2 #include "Transformation.hpp"}\par +{\f2 #include "platform.h"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b operator*} (const {\b Angel::mat4} &lhs, const {\b Transformation} &rhs){\bkmkstart AAAAAAAAKK} +{\bkmkend AAAAAAAAKK} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +{\b Transformation} Superclass Implementation. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-28\par +}Implementation for a generic "Transformation" specialized 4x4 matrix (mat4). \par +}{ +Definition in file {\b Transformation.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +Transformation.hpp File Reference\par \pard\plain +{\tc\tcl2 \v Transformation.hpp} +{\xe \v Transformation.hpp} +{\bkmkstart AAAAAAAAKL} +{\bkmkend AAAAAAAAKL} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for {\b Transformation}, {\b RotMat}, {\b TransMat} and {\b ScaleMat}. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "mat.hpp"}\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "platform.h"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b Transformation}\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b RotMat}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Rotations. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b TransMat}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Translations. }}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +class {\b ScaleMat}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::mat4} {\b operator*} (const {\b Angel::mat4} &lhs, const {\b Transformation} &rhs){\bkmkstart AAAAAAAAKM} +{\bkmkend AAAAAAAAKM} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for {\b Transformation}, {\b RotMat}, {\b TransMat} and {\b ScaleMat}. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-29\par +}Headers for the {\b Transformation} superclass, and Rotation, Translation, and Scale specialization classes. \par +}{ +Definition in file {\b Transformation.hpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +vec.cpp File Reference\par \pard\plain +{\tc\tcl2 \v vec.cpp} +{\xe \v vec.cpp} +{\bkmkstart AAAAAAAAKN} +{\bkmkend AAAAAAAAKN} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the vec2, vec3, and vec4 classes. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "vec.hpp"}\par +{\f2 #include }\par +{\f2 #include "globals.h"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec2 {\b Angel::operator*} (const GLfloat s, const vec2 &v){\bkmkstart AAAAAAAAKO} +{\bkmkend AAAAAAAAKO} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b Angel::operator<<} (std::ostream &os, const vec2 &v){\bkmkstart AAAAAAAAKP} +{\bkmkend AAAAAAAAKP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b Angel::operator>>} (std::istream &is, vec2 &v){\bkmkstart AAAAAAAAKQ} +{\bkmkend AAAAAAAAKQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::dot} (const vec2 &u, const vec2 &v){\bkmkstart AAAAAAAAKR} +{\bkmkend AAAAAAAAKR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::length} (const vec2 &v){\bkmkstart AAAAAAAAKS} +{\bkmkend AAAAAAAAKS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec2 {\b Angel::normalize} (const vec2 &v){\bkmkstart AAAAAAAAKT} +{\bkmkend AAAAAAAAKT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec3 {\b Angel::operator*} (const GLfloat s, const vec3 &v){\bkmkstart AAAAAAAAKU} +{\bkmkend AAAAAAAAKU} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b Angel::operator<<} (std::ostream &os, const vec3 &v){\bkmkstart AAAAAAAAKV} +{\bkmkend AAAAAAAAKV} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b Angel::operator>>} (std::istream &is, vec3 &v){\bkmkstart AAAAAAAAKW} +{\bkmkend AAAAAAAAKW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::dot} (const vec3 &u, const vec3 &v){\bkmkstart AAAAAAAAKX} +{\bkmkend AAAAAAAAKX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::length} (const vec3 &v){\bkmkstart AAAAAAAAKY} +{\bkmkend AAAAAAAAKY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec3 {\b Angel::normalize} (const vec3 &v){\bkmkstart AAAAAAAAKZ} +{\bkmkend AAAAAAAAKZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec3 {\b Angel::cross} (const vec3 &a, const vec3 &b){\bkmkstart AAAAAAAALA} +{\bkmkend AAAAAAAALA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec4 {\b Angel::operator*} (const GLfloat s, const vec4 &v){\bkmkstart AAAAAAAALB} +{\bkmkend AAAAAAAALB} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::ostream & {\b Angel::operator<<} (std::ostream &os, const vec4 &v){\bkmkstart AAAAAAAALC} +{\bkmkend AAAAAAAALC} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +std::istream & {\b Angel::operator>>} (std::istream &is, vec4 &v){\bkmkstart AAAAAAAALD} +{\bkmkend AAAAAAAALD} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::dot} (const vec4 &u, const vec4 &v){\bkmkstart AAAAAAAALE} +{\bkmkend AAAAAAAALE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::length} (const vec4 &v){\bkmkstart AAAAAAAALF} +{\bkmkend AAAAAAAALF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec4 {\b Angel::normalize} (const vec4 &v){\bkmkstart AAAAAAAALG} +{\bkmkend AAAAAAAALG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec3 {\b Angel::cross} (const vec4 &a, const vec4 &b){\bkmkstart AAAAAAAALH} +{\bkmkend AAAAAAAALH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec3 {\b Angel::xyz} (const vec4 &a){\bkmkstart AAAAAAAALI} +{\bkmkend AAAAAAAALI} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Implementation for the vec2, vec3, and vec4 classes. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2012-12-04\par +}Modified heavily from code available from Ed Angel's website, {\f2 http://www.cs.unm.edu/~angel/BOOK/INTERACTIVE_COMPUTER_GRAPHICS/SIXTH_EDITION/} Published from his book, Interactive Computer Graphics A Top-Down Approach with OpenGL, Sixth Edition Addison-Wesley 2012 \par +}{ +Definition in file {\b vec.cpp}.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +vec.hpp File Reference\par \pard\plain +{\tc\tcl2 \v vec.hpp} +{\xe \v vec.hpp} +{\bkmkstart AAAAAAAALJ} +{\bkmkend AAAAAAAALJ} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for vec2, vec3, and vec4. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "OpenGL.h"}\par +{\f2 #include }\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +struct {\b Angel::vec2}\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +struct {\b Angel::vec3}\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +struct {\b Angel::vec4}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Typedefs\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef {\b Angel::vec4} {\b Color4}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Simple alias of {\b Angel::vec4} to emphasize semantic meaning. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +typedef {\b Angel::vec4} {\b Point4}\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Simple alias of {\b Angel::vec4} to emphasize semantic meaning. }{ +}\par +}} +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::dot} (const vec2 &u, const vec2 &v){\bkmkstart AAAAAAAAKR} +{\bkmkend AAAAAAAAKR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::length} (const vec2 &v){\bkmkstart AAAAAAAAKS} +{\bkmkend AAAAAAAAKS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec2 {\b Angel::normalize} (const vec2 &v){\bkmkstart AAAAAAAAKT} +{\bkmkend AAAAAAAAKT} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::dot} (const vec3 &u, const vec3 &v){\bkmkstart AAAAAAAAKX} +{\bkmkend AAAAAAAAKX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::length} (const vec3 &v){\bkmkstart AAAAAAAAKY} +{\bkmkend AAAAAAAAKY} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec3 {\b Angel::normalize} (const vec3 &v){\bkmkstart AAAAAAAAKZ} +{\bkmkend AAAAAAAAKZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec3 {\b Angel::cross} (const vec3 &a, const vec3 &b){\bkmkstart AAAAAAAALA} +{\bkmkend AAAAAAAALA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::dot} (const vec4 &u, const vec4 &v){\bkmkstart AAAAAAAALE} +{\bkmkend AAAAAAAALE} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +GLfloat {\b Angel::length} (const vec4 &v){\bkmkstart AAAAAAAALF} +{\bkmkend AAAAAAAALF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec4 {\b Angel::normalize} (const vec4 &v){\bkmkstart AAAAAAAALG} +{\bkmkend AAAAAAAALG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec3 {\b Angel::cross} (const vec4 &a, const vec4 &b){\bkmkstart AAAAAAAALH} +{\bkmkend AAAAAAAALH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +vec3 {\b Angel::xyz} (const vec4 &a){\bkmkstart AAAAAAAALI} +{\bkmkend AAAAAAAALI} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Headers for vec2, vec3, and vec4. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-29 \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Ed Angel\par +}Headers for 2D, 3D and 4D vectors, as well as supporting utility functions. \par +}{ +Definition in file {\b vec.hpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Typedef Documentation\par +\pard\plain +{\xe \v Color4\:vec.hpp} +{\xe \v vec.hpp\:Color4} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef {\b Angel::vec4} {\b Color4}}} +\par +{\bkmkstart AAAAAAAALK} +{\bkmkend AAAAAAAALK} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Simple alias of {\b Angel::vec4} to emphasize semantic meaning. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 166 of file vec.hpp.}\par +} +{\xe \v Point4\:vec.hpp} +{\xe \v vec.hpp\:Point4} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +typedef {\b Angel::vec4} {\b Point4}}} +\par +{\bkmkstart AAAAAAAALL} +{\bkmkend AAAAAAAALL} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Simple alias of {\b Angel::vec4} to emphasize semantic meaning. }}\par +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{ +Definition at line 168 of file vec.hpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +WiiUtil.cpp File Reference\par \pard\plain +{\tc\tcl2 \v WiiUtil.cpp} +{\xe \v WiiUtil.cpp} +{\bkmkstart AAAAAAAALM} +{\bkmkend AAAAAAAALM} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Wii Remote Utility Files. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "WiiUtil.h"}\par +{\f2 #include "vec.hpp"}\par +{\f2 #include "globals.h"}\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b initWii} (CWii &wii){\bkmkstart AAAAAAAALN} +{\bkmkend AAAAAAAALN} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b HandleEvent} (CWiimote &wm){\bkmkstart AAAAAAAALO} +{\bkmkend AAAAAAAALO} +\par +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid {\i {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Not currently used, But here for reference. }{ +}\par +}} +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b wiiHandleBB} (CWiimote &wm){\bkmkstart AAAAAAAALP} +{\bkmkend AAAAAAAALP} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b enableRemote} (CWiimote &wm){\bkmkstart AAAAAAAALQ} +{\bkmkend AAAAAAAALQ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b calibrateGyro} (CWii &wii){\bkmkstart AAAAAAAALR} +{\bkmkend AAAAAAAALR} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b pollWii} (CWii &wii, bool CalibrateGyro)\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variables\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b vec3} {\b bbMagnitudes}{\bkmkstart AAAAAAAALS} +{\bkmkend AAAAAAAALS} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b WiiPollData} {\b pollResults}{\bkmkstart AAAAAAAALT} +{\bkmkend AAAAAAAALT} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Wii Remote Utility Files. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Gabriele Randelli \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-29\par +}Based heavily on WiiC's usage example, whose header appears below. Originally authored by JH on 2013-12-01. \par +}{ +Definition in file {\b WiiUtil.cpp}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Function Documentation\par +\pard\plain +{\xe \v pollWii\:WiiUtil.cpp} +{\xe \v WiiUtil.cpp\:pollWii} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void pollWii (CWii & {\i wii}, bool {\i CalibrateGyro})}} +\par +{\bkmkstart AAAAAAAALU} +{\bkmkend AAAAAAAALU} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +if (wii.Poll()) \par +}{ +Definition at line 289 of file WiiUtil.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +WiiUtil.h File Reference\par \pard\plain +{\tc\tcl2 \v WiiUtil.h} +{\xe \v WiiUtil.h} +{\bkmkstart AAAAAAAALV} +{\bkmkend AAAAAAAALV} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Wii Support Utility Header. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include }\par +{\f2 #include "vec.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Classes\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +struct {\b WiiPollData}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +bool {\b initWii} (CWii &wii){\bkmkstart AAAAAAAALW} +{\bkmkend AAAAAAAALW} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid +void {\b pollWii} (CWii &wii, bool CalibrateGyro=false)\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b wiiHandleBB} (CWiimote &wm){\bkmkstart AAAAAAAALX} +{\bkmkend AAAAAAAALX} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b calibrateGyro} (CWii &wii){\bkmkstart AAAAAAAALY} +{\bkmkend AAAAAAAALY} +\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Variables\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b ledMap} [4]{\bkmkstart AAAAAAAALZ} +{\bkmkend AAAAAAAALZ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b Angel::vec3} {\b bbMagnitudes}{\bkmkstart AAAAAAAAMA} +{\bkmkend AAAAAAAAMA} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +{\b WiiPollData} {\b pollResults}{\bkmkstart AAAAAAAAMB} +{\bkmkend AAAAAAAAMB} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Wii Support Utility Header. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid John Huston \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-29\par +}Functions and global declarations for Wii Remote Support. \par +}{ +Definition in file {\b WiiUtil.h}.}\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Function Documentation\par +\pard\plain +{\xe \v pollWii\:WiiUtil.h} +{\xe \v WiiUtil.h\:pollWii} +\pard\plain \s4\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs20\cgrid { +{\b +void pollWii (CWii & {\i wii}, bool {\i CalibrateGyro} = {\f2 false})}} +\par +{\bkmkstart AAAAAAAAMC} +{\bkmkend AAAAAAAAMC} +{ +\pard\plain \s51\li360\sa60\sb30\qj\widctlpar\qj\adjustright \fs20\cgrid +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +if (wii.Poll()) \par +}{ +Definition at line 289 of file WiiUtil.cpp.}\par +} +\par \pard\plain + +\pard\plain \sect\sbkpage +\s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +\pard\plain \s2\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\kerning28\cgrid +zachMorphDemo.cpp File Reference\par \pard\plain +{\tc\tcl2 \v zachMorphDemo.cpp} +{\xe \v zachMorphDemo.cpp} +{\bkmkstart AAAAAAAAMD} +{\bkmkend AAAAAAAAMD} +\par +{ +{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Zach's Bottle Morphing Demo. }}\par +{ +\pard\plain \s18\widctlpar\fs22\cgrid {\f2 #include "globals.h"}\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include }\par +{\f2 #include "platform.h"}\par +{\f2 #include "Camera.hpp"}\par +{\f2 #include "Cameras.hpp"}\par +{\f2 #include "Screen.hpp"}\par +{\f2 #include "Object.hpp"}\par +{\f2 #include "Timer.hpp"}\par +{\f2 #include "Scene.hpp"}\par +{\f2 #include "Engine.hpp"}\par +{\f2 #include "model.hpp"}\par +{\f2 #include "InitShader.hpp"}\par +{\f2 #include "glut_callbacks.h"}\par +{\f2 #include "ObjLoader.hpp"}\par +{\f2 #include "eric_rules.hpp"}\par +} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Functions\par +\pard\plain + +{ +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b init} (){\bkmkstart AAAAAAAAME} +{\bkmkend AAAAAAAAME} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b cleanup} (void){\bkmkstart AAAAAAAAMF} +{\bkmkend AAAAAAAAMF} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b draw} (void){\bkmkstart AAAAAAAAMG} +{\bkmkend AAAAAAAAMG} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b display} (void){\bkmkstart AAAAAAAAMH} +{\bkmkend AAAAAAAAMH} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b simpleRotateAnim} ({\b TransCache} &obj){\bkmkstart AAAAAAAAMI} +{\bkmkend AAAAAAAAMI} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +void {\b idle} (void){\bkmkstart AAAAAAAAMJ} +{\bkmkend AAAAAAAAMJ} +\par +\pard\plain \s80\fi-360\li360\widctlpar\jclisttab\tx360{\*\pn \pnlvlbody\ilvl0\ls1\pnrnot0\pndec }\ls1\adjustright \fs20\cgrid + +int {\b main} (int argc, char **argv){\bkmkstart AAAAAAAAMK} +{\bkmkend AAAAAAAAMK} +\par +} +{\pard\widctlpar\brdrb\brdrs\brdrw5\brsp20 \adjustright \par} +\pard\plain \s3\sb240\sa60\keepn\widctlpar\adjustright \b\f1\cgrid +Detailed Description\par +\pard\plain +{ +\pard\plain \s17\sa60\sb30\widctlpar\qj \fs22\cgrid {\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +Zach's Bottle Morphing Demo. \par +}{\s17\sa60\sb30\widctlpar\qj \fs22\cgrid +\par +{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Author:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Zach Maybury \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Authors:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid Nicholas St.Pierre, John Huston, Nicholas VerVoort, Chris Compton \par +}{{\s5\sb90\sa30\keepn\widctlpar\adjustright \b\f1\fs20\cgrid +Date:\par}\pard\plain \s61\li360\widctlpar\ql\adjustright \fs20\cgrid 2013-03-28\par +}This is a tech demo for morphing two objects back and forth. The main driver code is based on Ed Angel's code from his book. \par +}{ +Definition in file {\b zachMorphDemo.cpp}.}\par +} + +\pard\plain \sect\sbkpage +\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid +\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs36\kerning36\cgrid Index\par +\pard\plain +{\tc \v Index} +{\field\fldedit {\*\fldinst INDEX \\c2 \\*MERGEFORMAT}{\fldrslt INDEX}} +} \ No newline at end of file diff --git a/Doxygen/Doxyfile b/Doxygen/Doxyfile new file mode 100644 index 00000000..c0b0d91d --- /dev/null +++ b/Doxygen/Doxyfile @@ -0,0 +1,1911 @@ +# Doxyfile 1.8.3.1 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" "). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all +# text before the first occurrence of this tag. Doxygen uses libiconv (or the +# iconv built into libc) for the transcoding. See +# http://www.gnu.org/software/libiconv for the list of possible encodings. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or sequence of words) that should +# identify the project. Note that if you do not use Doxywizard you need +# to put quotes around the project name if it contains spaces. + +PROJECT_NAME = "HyperGrafx" + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = 31337 + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer +# a quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = "Graphics II Project" + +# With the PROJECT_LOGO tag one can specify an logo or icon that is +# included in the documentation. The maximum height of the logo should not +# exceed 55 pixels and the maximum width should not exceed 200 pixels. +# Doxygen will copy the logo to the output directory. + +PROJECT_LOGO = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = Docs/ + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would +# otherwise cause performance problems for the file system. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, +# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, +# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English +# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, +# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak, +# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" +# "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = "The $name class" \ + "The $name widget" \ + "The $name file" \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. + +INLINE_INHERITED_MEMB = YES + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = NO + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. Note that you specify absolute paths here, but also +# relative paths, which will be relative from the directory where doxygen is +# started. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful if your file system +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like regular Qt-style comments +# (thus requiring an explicit @brief command for a brief description.) + +JAVADOC_AUTOBRIEF = YES + +# If the QT_AUTOBRIEF tag is set to YES then Doxygen will +# interpret the first line (until the first dot) of a Qt-style +# comment as the brief description. If set to NO, the comments +# will behave just like regular Qt-style comments (thus requiring +# an explicit \brief command for a brief description.) + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will +# be part of the file/class/namespace that contains it. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# This tag can be used to specify a number of word-keyword mappings (TCL only). +# A mapping has the form "name=value". For example adding +# "class=itcl::class" will allow you to use the command class in the +# itcl::class meaning. + +TCL_SUBST = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java +# sources only. Doxygen will then generate output that is more tailored for +# Java. For instance, namespaces will be presented as packages, qualified +# scopes will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources only. Doxygen will then generate output that is more tailored for +# Fortran. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for +# VHDL. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given +# extension. Doxygen has a built-in mapping, but you can override or extend it +# using this tag. The format is ext=language, where ext is a file extension, +# and language is one of the parsers supported by doxygen: IDL, Java, +# Javascript, CSharp, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, +# C++. For instance to make doxygen treat .inc files as Fortran files (default +# is PHP), and .f files as C (default is Fortran), use: inc=Fortran f=C. Note +# that for custom extensions you also need to set FILE_PATTERNS otherwise the +# files are not read by doxygen. + +EXTENSION_MAPPING = + +# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all +# comments according to the Markdown format, which allows for more readable +# documentation. See http://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you +# can mix doxygen, HTML, and XML commands with Markdown formatting. +# Disable only in case of backward compatibilities issues. + +MARKDOWN_SUPPORT = YES + +# When enabled doxygen tries to link words that correspond to documented classes, +# or namespaces to their corresponding documentation. Such a link can be +# prevented in individual cases by by putting a % sign in front of the word or +# globally by setting AUTOLINK_SUPPORT to NO. + +AUTOLINK_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should +# set this tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. +# func(std::string) {}). This also makes the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. + +BUILTIN_STL_SUPPORT = YES + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. +# Doxygen will parse them like normal C++ but will assume all classes use public +# instead of private inheritance when no explicit protection keyword is present. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate +# getter and setter methods for a property. Setting this option to YES (the +# default) will make doxygen replace the get and set methods by a property in +# the documentation. This will only work if the methods are indeed getting or +# setting a simple type. If this is not the case, or you want to show the +# methods anyway, you should set this option to NO. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and +# unions are shown inside the group in which they are included (e.g. using +# @ingroup) instead of on a separate page (for HTML and Man pages) or +# section (for LaTeX and RTF). + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and +# unions with only public data fields will be shown inline in the documentation +# of the scope in which they are defined (i.e. file, namespace, or group +# documentation), provided this scope is documented. If set to NO (the default), +# structs, classes, and unions are shown on a separate page (for HTML and Man +# pages) or section (for LaTeX and RTF). + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum +# is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically +# be useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. + +TYPEDEF_HIDES_STRUCT = NO + +# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to +# determine which symbols to keep in memory and which to flush to disk. +# When the cache is full, less often used symbols will be written to disk. +# For small to medium size projects (<1000 input files) the default value is +# probably good enough. For larger projects a too small cache size can cause +# doxygen to be busy swapping symbols to and from disk most of the time +# causing a significant performance penalty. +# If the system has enough physical memory increasing the cache will improve the +# performance by keeping more symbols in memory. Note that the value works on +# a logarithmic scale so increasing the size by one will roughly double the +# memory usage. The cache size is given by this formula: +# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, +# corresponding to a cache size of 2^16 = 65536 symbols. + +SYMBOL_CACHE_SIZE = 0 + +# Similar to the SYMBOL_CACHE_SIZE the size of the symbol lookup cache can be +# set using LOOKUP_CACHE_SIZE. This cache is used to resolve symbols given +# their name and scope. Since this can be an expensive process and often the +# same symbol appear multiple times in the code, doxygen keeps a cache of +# pre-resolved symbols. If the cache is too small doxygen will become slower. +# If the cache is too large, memory is wasted. The cache size is given by this +# formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range is 0..9, the default is 0, +# corresponding to a cache size of 2^16 = 65536 symbols. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = YES + +# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal +# scope will be included in the documentation. + +EXTRACT_PACKAGE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = YES + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + +EXTRACT_LOCAL_METHODS = YES + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base +# name of the file that contains the anonymous namespace. By default +# anonymous namespaces are hidden. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + +CASE_SENSE_NAMES = NO + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen +# will list include files with double quotes in the documentation +# rather than with sharp brackets. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen +# will sort the (brief and detailed) documentation of class members so that +# constructors and destructors are listed first. If set to NO (the default) +# the constructors will appear in the respective orders defined by +# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. +# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO +# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the +# hierarchy of group names into alphabetical order. If set to NO (the default) +# the group names will appear in their defined order. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to +# do proper type resolution of all parameters of a function it will reject a +# match between the prototype and the implementation of a member function even +# if there is only one candidate or it is obvious which candidate to choose +# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen +# will still accept a match between prototype and implementation in such cases. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if section-label ... \endif +# and \cond section-label ... \endcond blocks. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or macro consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and macros in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. +# This will remove the Files entry from the Quick Index and from the +# Folder Tree View (if specified). The default is YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the +# Namespaces page. +# This will remove the Namespaces entry from the Quick Index +# and from the Folder Tree View (if specified). The default is YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output +# is used as the file version. See the manual for examples. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. +# You can optionally specify a file name after the option, if omitted +# DoxygenLayout.xml will be used as the name of the layout file. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files +# containing the references data. This must be a list of .bib files. The +# .bib extension is automatically appended if omitted. Using this command +# requires the bibtex tool to be installed. See also +# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style +# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this +# feature you need bibtex and perl available in the search path. Do not use +# file names with spaces, bibtex cannot handle them. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# The WARN_NO_PARAMDOC option can be enabled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of +# documentation. + +WARN_NO_PARAMDOC = YES + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could +# be obtained via FILE_VERSION_FILTER) + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = ../src/ + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is +# also the default input encoding. Doxygen uses libiconv (or the iconv built +# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for +# the list of possible encodings. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh +# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py +# *.f90 *.f *.for *.vhd *.vhdl + +FILE_PATTERNS = *.c \ + *.cc \ + *.cxx \ + *.cpp \ + *.c++ \ + *.d \ + *.java \ + *.ii \ + *.ixx \ + *.ipp \ + *.i++ \ + *.inl \ + *.h \ + *.hh \ + *.hxx \ + *.hpp \ + *.h++ \ + *.idl \ + *.odl \ + *.cs \ + *.php \ + *.php3 \ + *.inc \ + *.m \ + *.mm \ + *.dox \ + *.py \ + *.f90 \ + *.f \ + *.for \ + *.vhd \ + *.vhdl + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = ../src/Util \ + ../src/Incomplete + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories +# for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = * + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. +# If FILTER_PATTERNS is specified, this tag will be +# ignored. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. +# Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. +# The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty or if +# non of the patterns match the file name, INPUT_FILTER is applied. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) +# and it is also possible to disable source filtering for a specific pattern +# using *.ext= (so without naming a filter). This option only has effect when +# FILTER_SOURCE_FILES is enabled. + +FILTER_SOURCE_PATTERNS = + +# If the USE_MD_FILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page (index.html). +# This can be useful if you have a project on for instance GitHub and want reuse +# the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = YES + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C, C++ and Fortran comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) +# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from +# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will +# link to the source code. +# Otherwise they will link to the documentation. + +REFERENCES_LINK_SOURCE = YES + +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You +# will need version 4.8.6 or higher. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = YES + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. Note that when using a custom header you are responsible +# for the proper inclusion of any scripts and style sheets that doxygen +# needs, which is dependent on the configuration options used. +# It is advised to generate a default header using "doxygen -w html +# header.html footer.html stylesheet.css YourConfigFile" and then modify +# that header. Note that the header is subject to change so you typically +# have to redo this when upgrading to a newer version of doxygen or when +# changing the value of configuration settings such as GENERATE_TREEVIEW! + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If left blank doxygen will +# generate a default style sheet. Note that it is recommended to use +# HTML_EXTRA_STYLESHEET instead of this one, as it is more robust and this +# tag will in the future become obsolete. + +HTML_STYLESHEET = + +# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional +# user-defined cascading style sheet that is included after the standard +# style sheets created by doxygen. Using this option one can overrule +# certain style aspects. This is preferred over using HTML_STYLESHEET +# since it does not replace the standard style sheet and is therefor more +# robust against future updates. Doxygen will copy the style sheet file to +# the output directory. + +HTML_EXTRA_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that +# the files will be copied as-is; there are no commands or markers available. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. +# Doxygen will adjust the colors in the style sheet and background images +# according to this color. Hue is specified as an angle on a colorwheel, +# see http://en.wikipedia.org/wiki/Hue for more information. +# For instance the value 0 represents red, 60 is yellow, 120 is green, +# 180 is cyan, 240 is blue, 300 purple, and 360 is red again. +# The allowed range is 0 to 359. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of +# the colors in the HTML output. For a value of 0 the output will use +# grayscales only. A value of 255 will produce the most vivid colors. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to +# the luminance component of the colors in the HTML output. Values below +# 100 gradually make the output lighter, whereas values above 100 make +# the output darker. The value divided by 100 is the actual gamma applied, +# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2, +# and 100 does not change the gamma. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting +# this to NO can help when comparing the output of multiple runs. + +HTML_TIMESTAMP = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. + +HTML_DYNAMIC_SECTIONS = NO + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of +# entries shown in the various tree structured indices initially; the user +# can expand and collapse entries dynamically later on. Doxygen will expand +# the tree to such a level that at most the specified number of entries are +# visible (unless a fully collapsed tree already exceeds this amount). +# So setting the number of entries 1 will produce a full collapsed tree by +# default. 0 is a special value representing an infinite number of entries +# and will result in a full expanded tree by default. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files +# will be generated that can be used as input for Apple's Xcode 3 +# integrated development environment, introduced with OSX 10.5 (Leopard). +# To create a documentation set, doxygen will generate a Makefile in the +# HTML output directory. Running make will produce the docset in that +# directory and running "make install" will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find +# it at startup. +# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. + +GENERATE_DOCSET = NO + +# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the +# feed. A documentation feed provides an umbrella under which multiple +# documentation sets from a single provider (such as a company or product suite) +# can be grouped. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that +# should uniquely identify the documentation set bundle. This should be a +# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen +# will append .docset to the name. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely +# identify the documentation publisher. This should be a reverse domain-name +# style string, e.g. com.mycompany.MyDocSet.documentation. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING +# is used to encode HtmlHelp index (hhk), content (hhc) and project file +# content. + +CHM_INDEX_ENCODING = + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated +# that can be used as input for Qt's qhelpgenerator to generate a +# Qt Compressed Help (.qch) of the generated HTML documentation. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can +# be used to specify the file name of the resulting .qch file. +# The path specified is relative to the HTML output folder. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#namespace + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#virtual-folders + +QHP_VIRTUAL_FOLDER = doc + +# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to +# add. For more information please see +# http://doc.trolltech.com/qthelpproject.html#custom-filters + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see +# +# Qt Help Project / Custom Filters. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's +# filter section matches. +# +# Qt Help Project / Filter Attributes. + +QHP_SECT_FILTER_ATTRS = + +# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can +# be used to specify the location of Qt's qhelpgenerator. +# If non-empty doxygen will try to run qhelpgenerator on the generated +# .qhp file. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files +# will be generated, which together with the HTML files, form an Eclipse help +# plugin. To install this plugin and make it available under the help contents +# menu in Eclipse, the contents of the directory containing the HTML and XML +# files needs to be copied into the plugins directory of eclipse. The name of +# the directory within the plugins directory should be the same as +# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before +# the help appears. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have +# this name. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) +# at top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. Since the tabs have the same information as the +# navigation tree you can set this option to NO if you already set +# GENERATE_TREEVIEW to YES. + +DISABLE_INDEX = NO + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. +# If the tag value is set to YES, a side panel will be generated +# containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). +# Windows users are probably better off using the HTML help feature. +# Since the tree basically has the same information as the tab index you +# could consider to set DISABLE_INDEX to NO when enabling this option. + +GENERATE_TREEVIEW = YES + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values +# (range [0,1..20]) that doxygen will group on one line in the generated HTML +# documentation. Note that a value of 0 will completely suppress the enum +# values from appearing in the overview section. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open +# links to external symbols imported via tag files in a separate window. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of Latex formulas included +# as images in the HTML documentation. The default is 10. Note that +# when you change the font size after a successful doxygen run you need +# to manually remove any form_*.png images from the HTML output directory +# to force them to be regenerated. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are +# not supported properly for IE 6.0, but are supported on all modern browsers. +# Note that when changing this option you need to delete any form_*.png files +# in the HTML output before the changes have effect. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax +# (see http://www.mathjax.org) which uses client side Javascript for the +# rendering instead of using prerendered bitmaps. Use this if you do not +# have LaTeX installed or if you want to formulas look prettier in the HTML +# output. When enabled you may also need to install MathJax separately and +# configure the path to it using the MATHJAX_RELPATH option. + +USE_MATHJAX = NO + +# When MathJax is enabled you can set the default output format to be used for +# thA MathJax output. Supported types are HTML-CSS, NativeMML (i.e. MathML) and +# SVG. The default value is HTML-CSS, which is slower, but has the best +# compatibility. + +MATHJAX_FORMAT = HTML-CSS + +# When MathJax is enabled you need to specify the location relative to the +# HTML output directory using the MATHJAX_RELPATH option. The destination +# directory should contain the MathJax.js script. For instance, if the mathjax +# directory is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to +# the MathJax Content Delivery Network so you can quickly see the result without +# installing MathJax. +# However, it is strongly recommended to install a local +# copy of MathJax from http://www.mathjax.org before deployment. + +MATHJAX_RELPATH = http://www.mathjax.org/mathjax + +# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension +# names that should be enabled during MathJax rendering. + +MATHJAX_EXTENSIONS = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box +# for the HTML output. The underlying search engine uses javascript +# and DHTML and should work on any modern browser. Note that when using +# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets +# (GENERATE_DOCSET) there is already a search function so this one should +# typically be disabled. For large projects the javascript based search engine +# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution. + +SEARCHENGINE = YES + +# When the SERVER_BASED_SEARCH tag is enabled the search engine will be +# implemented using a web server instead of a web client using Javascript. +# There are two flavours of web server based search depending on the +# EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script for +# searching and an index file used by the script. When EXTERNAL_SEARCH is +# enabled the indexing and searching needs to be provided by external tools. +# See the manual for details. + +SERVER_BASED_SEARCH = NO + +# When EXTERNAL_SEARCH is enabled doxygen will no longer generate the PHP +# script for searching. Instead the search results are written to an XML file +# which needs to be processed by an external indexer. Doxygen will invoke an +# external search engine pointed to by the SEARCHENGINE_URL option to obtain +# the search results. Doxygen ships with an example indexer (doxyindexer) and +# search engine (doxysearch.cgi) which are based on the open source search engine +# library Xapian. See the manual for configuration details. + +EXTERNAL_SEARCH = NO + +# The SEARCHENGINE_URL should point to a search engine hosted by a web server +# which will returned the search results when EXTERNAL_SEARCH is enabled. +# Doxygen ships with an example search engine (doxysearch) which is based on +# the open source search engine library Xapian. See the manual for configuration +# details. + +SEARCHENGINE_URL = + +# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed +# search data is written to a file for indexing by an external tool. With the +# SEARCHDATA_FILE tag the name of this file can be specified. + +SEARCHDATA_FILE = searchdata.xml + +# When SERVER_BASED_SEARCH AND EXTERNAL_SEARCH are both enabled the +# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is +# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple +# projects and redirect the results back to the right project. + +EXTERNAL_SEARCH_ID = + +# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen +# projects other than the one defined by this configuration file, but that are +# all added to the same external search index. Each project needs to have a +# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id +# of to a relative location where the documentation can be found. +# The format is: EXTRA_SEARCH_MAPPINGS = id1=loc1 id2=loc2 ... + +EXTRA_SEARCH_MAPPINGS = + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = YES + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. +# Note that when enabling USE_PDFLATEX this option is only used for +# generating bitmaps for formulas in the HTML output, but not in the +# Makefile that is written to the output directory. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4 + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for +# the generated latex document. The footer should contain everything after +# the last chapter. If it is left blank doxygen will generate a +# standard footer. Notice: only use this tag if you know what you are doing! + +LATEX_FOOTER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = YES + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = YES + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +# If LATEX_SOURCE_CODE is set to YES then doxygen will include +# source code with syntax highlighting in the LaTeX output. +# Note that which sources are shown also depends on other settings +# such as SOURCE_BROWSER. + +LATEX_SOURCE_CODE = NO + +# The LATEX_BIB_STYLE tag can be used to specify the style to use for the +# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See +# http://en.wikipedia.org/wiki/BibTeX for more info. + +LATEX_BIB_STYLE = plain + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = YES + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load style sheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = YES + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. +# This is useful +# if you want to understand what is going on. +# On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_DEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# pointed to by INCLUDE_PATH will be searched when a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. To prevent a macro definition from being +# undefined via #undef or recursively expanded use the := operator +# instead of the = operator. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition that +# overrules the definition found in the source code. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all references to function-like macros +# that are alone on a line, have an all uppercase name, and do not end with a +# semicolon, because these will confuse the parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. For each +# tag file the location of the external documentation should be added. The +# format of a tag file without this location is as follows: +# +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths +# or URLs. Note that each tag file must have a unique name (where the name does +# NOT include the path). If a tag file is not located in the directory in which +# doxygen is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base +# or super classes. Setting the tag to NO turns the diagrams off. Note that +# this option also works with HAVE_DOT disabled, but it is recommended to +# install and use dot, since it yields more powerful graphs. + +CLASS_DIAGRAMS = YES + +# You can define message sequence charts within doxygen comments using the \msc +# command. Doxygen will then run the mscgen tool (see +# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the +# documentation. The MSCGEN_PATH tag allows you to specify the directory where +# the mscgen tool resides. If left empty the tool is assumed to be found in the +# default search path. + +MSCGEN_PATH = + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = NO + +# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is +# allowed to run in parallel. When set to 0 (the default) doxygen will +# base this on the number of processors available in the system. You can set it +# explicitly to a value larger than 0 to get control over the balance +# between CPU load and processing speed. + +DOT_NUM_THREADS = 0 + +# By default doxygen will use the Helvetica font for all dot files that +# doxygen generates. When you want a differently looking font you can specify +# the font name using DOT_FONTNAME. You need to make sure dot is able to find +# the font, which can be done by putting it in a standard location or by setting +# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the +# directory containing the font. + +DOT_FONTNAME = Helvetica + +# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. +# The default size is 10pt. + +DOT_FONTSIZE = 10 + +# By default doxygen will tell dot to use the Helvetica font. +# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to +# set the path where dot can find it. + +DOT_FONTPATH = + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for groups, showing the direct groups dependencies + +GROUP_GRAPHS = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If the UML_LOOK tag is enabled, the fields and methods are shown inside +# the class node. If there are many fields or methods and many nodes the +# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS +# threshold limits the number of items for each type to make the size more +# managable. Set this to 0 for no limit. Note that the threshold may be +# exceeded by 50% before the limit is enforced. + +UML_LIMIT_NUM_FIELDS = 10 + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT options are set to YES then +# doxygen will generate a call dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable call graphs +# for selected functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then +# doxygen will generate a caller dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable caller +# graphs for selected functions only using the \callergraph command. + +CALLER_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will generate a graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# If the DIRECTORY_GRAPH and HAVE_DOT tags are set to YES +# then doxygen will show the dependencies a directory has on other directories +# in a graphical way. The dependency relations are determined by the #include +# relations between the files in the directories. + +DIRECTORY_GRAPH = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are svg, png, jpg, or gif. +# If left blank png will be used. If you choose svg you need to set +# HTML_FILE_EXTENSION to xhtml in order to make the SVG files +# visible in IE 9+ (other browsers do not have this requirement). + +DOT_IMAGE_FORMAT = png + +# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to +# enable generation of interactive SVG images that allow zooming and panning. +# Note that this requires a modern browser other than Internet Explorer. +# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you +# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files +# visible. Older versions of IE do not have SVG support. + +INTERACTIVE_SVG = NO + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found in the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MSCFILE_DIRS tag can be used to specify one or more directories that +# contain msc files that are included in the documentation (see the +# \mscfile command). + +MSCFILE_DIRS = + +# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of +# nodes that will be shown in the graph. If the number of nodes in a graph +# becomes larger than this value, doxygen will truncate the graph, which is +# visualized by representing a node as a red box. Note that doxygen if the +# number of direct children of the root node in a graph is already larger than +# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note +# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. + +DOT_GRAPH_MAX_NODES = 50 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that the size of a graph can be further restricted by +# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. + +MAX_DOT_GRAPH_DEPTH = 0 + +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is disabled by default, because dot on Windows does not +# seem to support this out of the box. Warning: Depending on the platform used, +# enabling this option may lead to badly anti-aliased labels on the edges of +# a graph (i.e. they become hard to read). + +DOT_TRANSPARENT = NO + +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) +# support this, this feature is disabled by default. + +DOT_MULTI_TARGETS = NO + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES diff --git a/Doxygen/warningStatistics.sh b/Doxygen/warningStatistics.sh new file mode 100755 index 00000000..2b17f434 --- /dev/null +++ b/Doxygen/warningStatistics.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +grep -o -E '/([^/:]*\.[hc][^: ]*):' warnings.log | sort | uniq -c + + diff --git a/Doxygen/warnings.log b/Doxygen/warnings.log new file mode 100644 index 00000000..7bfba6be --- /dev/null +++ b/Doxygen/warnings.log @@ -0,0 +1,579 @@ +warning: ignoring unsupported tag `AUTOLINK_SUPPORT =' at line 270, file Doxyfile +warning: ignoring unsupported tag `USE_MDFILE_AS_MAINPAGE =' at line 836, file Doxyfile +warning: ignoring unsupported tag `HTML_EXTRA_STYLESHEET =' at line 974, file Doxyfile +warning: ignoring unsupported tag `MATHJAX_FORMAT =' at line 1252, file Doxyfile +warning: ignoring unsupported tag `EXTERNAL_SEARCH =' at line 1299, file Doxyfile +warning: ignoring unsupported tag `SEARCHENGINE_URL =' at line 1307, file Doxyfile +warning: ignoring unsupported tag `SEARCHDATA_FILE =' at line 1313, file Doxyfile +warning: ignoring unsupported tag `EXTERNAL_SEARCH_ID =' at line 1320, file Doxyfile +warning: ignoring unsupported tag `EXTRA_SEARCH_MAPPINGS =' at line 1329, file Doxyfile +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:16: warning: Compound Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:18: warning: Compound Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:63: warning: Compound Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:112: warning: Compound Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Timer.hpp:14: warning: Compound Timer is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Texture.hpp:16: warning: Compound Texture is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/WiiUtil.h:15: warning: Compound WiiPollData is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:56: warning: Compound TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:15: warning: Compound Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:28: warning: Compound ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:14: warning: Compound TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:70: warning: Compound ScaleMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:17: warning: Compound SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/InitShader.hpp:12: warning: Member GL_INVALID_SHADER (macro definition) of file InitShader.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/KinectInator.cpp:104: warning: Member CHECK_RC(nRetVal, what) (macro definition) of file KinectInator.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/KinectInator.cpp:22: warning: Member fileExists(const char *fn) (function) of file KinectInator.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/KinectInator.cpp:293: warning: Member printhead(int user, double x, double y, double z) (function) of file KinectInator.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/KinectInator.cpp:296: warning: Member noop(int user, double x, double y, double z) (function) of file KinectInator.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/KinectInator.cpp:169: warning: Member _new_user (variable) of namespace TiemSpelchk is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/KinectInator.cpp:170: warning: Member _lost_user (variable) of namespace TiemSpelchk is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/KinectInator.cpp:171: warning: Member _pose (variable) of namespace TiemSpelchk is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/KinectInator.cpp:172: warning: Member _cal_start (variable) of namespace TiemSpelchk is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/KinectInator.cpp:173: warning: Member _cal_complete (variable) of namespace TiemSpelchk is not documented. +:1: warning: parameters of member CHECK_RC are not (all) documented +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:37: warning: Member __OPENNIFTW (macro definition) of file KinectInator.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:51: warning: Member SAMPLE_XML_PATH (macro definition) of file KinectInator.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:52: warning: Member SAMPLE_XML_PATH_LOCAL (macro definition) of file KinectInator.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:53: warning: Member MAX_NUM_USERS (macro definition) of file KinectInator.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:82: warning: Member printhead(int, double, double, double) (function) of file KinectInator.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:83: warning: Member noop(int, double, double, double) (function) of file KinectInator.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:84: warning: Member noopint(int) (function) of file KinectInator.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:171: warning: Member operator*(const GLfloat s, const mat2 &m) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:175: warning: Member operator<<(std::ostream &os, const mat2 &m) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:179: warning: Member operator>>(std::istream &is, mat2 &m) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:183: warning: Member matrixCompMult(const mat2 &A, const mat2 &B) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:188: warning: Member transpose(const mat2 &A) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:341: warning: Member operator*(const GLfloat s, const mat3 &m) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:345: warning: Member operator<<(std::ostream &os, const mat3 &m) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:350: warning: Member operator>>(std::istream &is, mat3 &m) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:354: warning: Member matrixCompMult(const mat3 &A, const mat3 &B) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:360: warning: Member transpose(const mat3 &A) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:521: warning: Member operator*(const GLfloat s, const mat4 &m) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:525: warning: Member operator*(const vec4 &v, const mat4 &_m) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:533: warning: Member operator<<(std::ostream &os, const mat4 &m) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:538: warning: Member operator>>(std::istream &is, mat4 &m) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:542: warning: Member matrixCompMult(const mat4 &A, const mat4 &B) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:551: warning: Member transpose(const mat4 &A) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:557: warning: Member RotateX(const GLfloat theta) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:567: warning: Member RotateY(const GLfloat theta) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:577: warning: Member RotateZ(const GLfloat theta) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:587: warning: Member Translate(const GLfloat x, const GLfloat y, const GLfloat z) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:595: warning: Member Translate(const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:599: warning: Member Translate(const vec4 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:603: warning: Member Scale(const GLfloat x, const GLfloat y, const GLfloat z) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:611: warning: Member Scale(const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:625: warning: Member Ortho(const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:638: warning: Member Ortho2D(const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:643: warning: Member Frustum(const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:656: warning: Member Perspective(const GLfloat fovy, const GLfloat aspect, const GLfloat zNear, const GLfloat zFar) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:669: warning: Member LookAt(const vec4 &eye, const vec4 &at, const vec4 &up) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:208: warning: Member ERROR(str) (macro definition) of file mat.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:183: warning: Member matrixCompMult(const mat2 &A, const mat2 &B) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:188: warning: Member transpose(const mat2 &A) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:354: warning: Member matrixCompMult(const mat3 &A, const mat3 &B) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:360: warning: Member transpose(const mat3 &A) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:542: warning: Member matrixCompMult(const mat4 &A, const mat4 &B) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:551: warning: Member transpose(const mat4 &A) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:557: warning: Member RotateX(const GLfloat theta) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:567: warning: Member RotateY(const GLfloat theta) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:577: warning: Member RotateZ(const GLfloat theta) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:587: warning: Member Translate(const GLfloat x, const GLfloat y, const GLfloat z) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:595: warning: Member Translate(const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:599: warning: Member Translate(const vec4 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:603: warning: Member Scale(const GLfloat x, const GLfloat y, const GLfloat z) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:611: warning: Member Scale(const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:625: warning: Member Ortho(const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:638: warning: Member Ortho2D(const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:643: warning: Member Frustum(const GLfloat left, const GLfloat right, const GLfloat bottom, const GLfloat top, const GLfloat zNear, const GLfloat zFar) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:656: warning: Member Perspective(const GLfloat fovy, const GLfloat aspect, const GLfloat zNear, const GLfloat zFar) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:669: warning: Member LookAt(const vec4 &eye, const vec4 &at, const vec4 &up) (function) of namespace Angel is not documented. +:1: warning: parameters of member ERROR are not (all) documented +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:40: warning: Member melt_draw(void) (function) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:120: warning: Member melt_init(void) (function) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:124: warning: Member melt_enable(void) (function) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:141: warning: Member melt_camera(void) (function) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:146: warning: Member melt_display(void) (function) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:187: warning: Member melt_reshape(int w, int h) (function) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:196: warning: Member melt_keyboard(unsigned char key, int x, int y) (function) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:228: warning: Member main(int argc, char **argv) (function) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:31: warning: Member positionx[1000] (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:31: warning: Member positiony[1000] (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:31: warning: Member positionz[1000] (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:32: warning: Member orb (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:32: warning: Member candleheight (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:32: warning: Member radius (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:32: warning: Member grow (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:33: warning: Member angle (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:33: warning: Member randomN (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:34: warning: Member crater (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:35: warning: Member slices (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:36: warning: Member i (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:36: warning: Member j (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/melt.cpp:37: warning: Member melt (variable) of file melt.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/modelFunctions.cpp:13: warning: Member threeDimensionalDistance(vec4 points1, vec4 points2) (function) of file modelFunctions.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/modelFunctions.cpp:20: warning: Member findTriangleWithMinimumDistance(Object *largerModel, Object *smallerModel, int index) (function) of file modelFunctions.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/modelFunctions.cpp:39: warning: Member makeModelsSameSize(Object *model1, Object *model2) (function) of file modelFunctions.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/modelFunctions.hpp:23: warning: Member makeModelsSameSize(Object *model1, Object *model2) (function) of file modelFunctions.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/modelFunctions.hpp:25: warning: Member findTriangleWithMinimumDistance(Object *largerModel, Object *smallerModel, int index) (function) of file modelFunctions.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/modelFunctions.hpp:26: warning: Member threeDimensionalDistance(vec4 points1, vec4 points2) (function) of file modelFunctions.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:26: warning: Member ParticleP (typedef) of file ParticleSystem.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/partTest.cpp:36: warning: Member Color4 (typedef) of file partTest.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/partTest.cpp:37: warning: Member Point4 (typedef) of file partTest.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/partTest.cpp:44: warning: Member init() (function) of file partTest.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/partTest.cpp:69: warning: Member cleanup(void) (function) of file partTest.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/partTest.cpp:75: warning: Member draw(void) (function) of file partTest.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/partTest.cpp:84: warning: Member display(void) (function) of file partTest.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/partTest.cpp:98: warning: Member idle(void) (function) of file partTest.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/partTest.cpp:109: warning: Member main(int argc, char **argv) (function) of file partTest.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/partTest.cpp:40: warning: Member myScreen(800, 600) (variable) of file partTest.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/partTest.cpp:41: warning: Member fixed_yaw (variable) of file partTest.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/raytrace1.cpp:23: warning: Member dethklok (variable) of file raytrace1.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/raytrace1.cpp:25: warning: Member vRayPosition (variable) of file raytrace1.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/raytrace1.cpp:32: warning: Member uSphereCenterPoints (variable) of file raytrace1.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/raytrace1.cpp:33: warning: Member uSphereRadius (variable) of file raytrace1.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/raytrace1.cpp:34: warning: Member uSphereColors (variable) of file raytrace1.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/raytrace1.cpp:35: warning: Member uNumOfSpheres (variable) of file raytrace1.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/raytrace1.cpp:40: warning: Member sphereCenterPoints[] (variable) of file raytrace1.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/raytrace1.cpp:42: warning: Member sphereRadius[] (variable) of file raytrace1.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/raytrace1.cpp:45: warning: Member sphereColors[] (variable) of file raytrace1.cpp is not documented. +:1: warning: parameters of member sphereCenterPoints are not (all) documented +:1: warning: parameters of member sphereColors are not (all) documented +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/Scene.cpp:17: warning: Member mapping (typedef) of file Scene.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/terrain.cpp:359: warning: Member simpleRotateY(TransCache &obj) (function) of file terrain.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/terrain.cpp:362: warning: Member simpleRotateAnim(TransCache &obj) (function) of file terrain.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/terrain.cpp:368: warning: Member animationTest(TransCache &obj) (function) of file terrain.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/terrain.cpp:403: warning: Member idle(void) (function) of file terrain.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/terrain.cpp:465: warning: Member menufunc(int value) (function) of file terrain.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/terrain.cpp:482: warning: Member main(int argc, char **argv) (function) of file terrain.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/terrain.cpp:56: warning: Member terrainTex[] (variable) of file terrain.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/terrain.cpp:261: warning: Member switchingTerrain (variable) of file terrain.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/terrain.cpp:401: warning: Member ticker (variable) of file terrain.cpp is not documented. +:1: warning: parameters of member terrainTex are not (all) documented +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/Timer.cpp:20: warning: Member SecToNSec (macro definition) of file Timer.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/Timer.cpp:21: warning: Member SecTouSec (macro definition) of file Timer.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/Timer.cpp:22: warning: Member SecToMSec (macro definition) of file Timer.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/Transformation.cpp:29: warning: Member operator*(const Angel::mat4 &lhs, const Transformation &rhs) (function) of file Transformation.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:36: warning: Member operator*(const Angel::mat4 &lhs, const Transformation &rhs) (function) of file Transformation.hpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:149: warning: Member operator*(const GLfloat s, const vec2 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:153: warning: Member operator<<(std::ostream &os, const vec2 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:157: warning: Member operator>>(std::istream &is, vec2 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:161: warning: Member dot(const vec2 &u, const vec2 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:165: warning: Member length(const vec2 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:169: warning: Member normalize(const vec2 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:317: warning: Member operator*(const GLfloat s, const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:321: warning: Member operator<<(std::ostream &os, const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:325: warning: Member operator>>(std::istream &is, vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:329: warning: Member dot(const vec3 &u, const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:333: warning: Member length(const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:337: warning: Member normalize(const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:341: warning: Member cross(const vec3 &a, const vec3 &b) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:499: warning: Member operator*(const GLfloat s, const vec4 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:503: warning: Member operator<<(std::ostream &os, const vec4 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:508: warning: Member operator>>(std::istream &is, vec4 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:512: warning: Member dot(const vec4 &u, const vec4 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:516: warning: Member length(const vec4 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:520: warning: Member normalize(const vec4 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:524: warning: Member cross(const vec4 &a, const vec4 &b) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:529: warning: Member xyz(const vec4 &a) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:161: warning: Member dot(const vec2 &u, const vec2 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:165: warning: Member length(const vec2 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:169: warning: Member normalize(const vec2 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:329: warning: Member dot(const vec3 &u, const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:333: warning: Member length(const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:337: warning: Member normalize(const vec3 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:341: warning: Member cross(const vec3 &a, const vec3 &b) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:512: warning: Member dot(const vec4 &u, const vec4 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:516: warning: Member length(const vec4 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:520: warning: Member normalize(const vec4 &v) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:524: warning: Member cross(const vec4 &a, const vec4 &b) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/vec.cpp:529: warning: Member xyz(const vec4 &a) (function) of namespace Angel is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/WiiUtil.cpp:55: warning: Member initWii(CWii &wii) (function) of file WiiUtil.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/WiiUtil.cpp:181: warning: Member wiiHandleBB(CWiimote &wm) (function) of file WiiUtil.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/WiiUtil.cpp:267: warning: Member enableRemote(CWiimote &wm) (function) of file WiiUtil.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/WiiUtil.cpp:275: warning: Member calibrateGyro(CWii &wii) (function) of file WiiUtil.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/WiiUtil.cpp:49: warning: Member bbMagnitudes (variable) of file WiiUtil.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Common/WiiUtil.cpp:50: warning: Member pollResults (variable) of file WiiUtil.cpp is not documented. +:1: warning: parameters of member pollWii are not (all) documented +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/WiiUtil.h:26: warning: Member initWii(CWii &wii) (function) of file WiiUtil.h is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/WiiUtil.h:28: warning: Member wiiHandleBB(CWiimote &wm) (function) of file WiiUtil.h is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/WiiUtil.h:29: warning: Member calibrateGyro(CWii &wii) (function) of file WiiUtil.h is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/WiiUtil.h:22: warning: Member ledMap[4] (variable) of file WiiUtil.h is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/WiiUtil.h:23: warning: Member bbMagnitudes (variable) of file WiiUtil.h is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/WiiUtil.h:24: warning: Member pollResults (variable) of file WiiUtil.h is not documented. +:1: warning: parameters of member pollWii are not (all) documented +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/zachMorphDemo.cpp:35: warning: Member init() (function) of file zachMorphDemo.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/zachMorphDemo.cpp:88: warning: Member cleanup(void) (function) of file zachMorphDemo.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/zachMorphDemo.cpp:95: warning: Member draw(void) (function) of file zachMorphDemo.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/zachMorphDemo.cpp:104: warning: Member display(void) (function) of file zachMorphDemo.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/zachMorphDemo.cpp:118: warning: Member simpleRotateAnim(TransCache &obj) (function) of file zachMorphDemo.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/zachMorphDemo.cpp:126: warning: Member idle(void) (function) of file zachMorphDemo.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Binaries/zachMorphDemo.cpp:170: warning: Member main(int argc, char **argv) (function) of file zachMorphDemo.cpp is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:96: warning: Member next(void) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:97: warning: Member prev(void) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:98: warning: Member active(void) const (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:102: warning: Member operator[](const std::string &objname) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:68: warning: argument 'Object_Shader' of command @param is not found in the argument list of Scene::addObject(const std::string &objName, GLuint shader=0) +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:68: warning: The following parameters of Scene::addObject(const std::string &objName, GLuint shader=0) are not documented: + parameter 'shader' +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:109: warning: argument 'name' of command @param is not found in the argument list of Scene::insertObject(Object *obj) +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:100: warning: Member draw(void) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:102: warning: Member operator[](const std::string &objname) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:68: warning: argument 'Object_Shader' of command @param is not found in the argument list of Scene::addObject(const std::string &objName, GLuint shader=0) +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:68: warning: The following parameters of Scene::addObject(const std::string &objName, GLuint shader=0) are not documented: + parameter 'shader' +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:109: warning: argument 'name' of command @param is not found in the argument list of Scene::insertObject(Object *obj) +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:96: warning: Member next(void) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:97: warning: Member prev(void) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:98: warning: Member active(void) const (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:102: warning: Member operator[](const std::string &objname) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:68: warning: argument 'Object_Shader' of command @param is not found in the argument list of Scene::addObject(const std::string &objName, GLuint shader=0) +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:68: warning: The following parameters of Scene::addObject(const std::string &objName, GLuint shader=0) are not documented: + parameter 'shader' +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:109: warning: argument 'name' of command @param is not found in the argument list of Scene::insertObject(Object *obj) +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:35: warning: Member Particle(vec4 position, float scale, float lifeSpan) (function) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:38: warning: Member changeVel(vec3 newVel) (function) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:40: warning: Member getLifespan(void) (function) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:42: warning: Member setAlpha(float newAlpha) (function) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:43: warning: Member setColor(vec4 newColor) (function) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:44: warning: Member setLifespan(float newLifespan) (function) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:45: warning: Member setPos(vec4 newPos) (function) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:46: warning: Member setScale(vec3 newScale) (function) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:47: warning: Member setSpin(float newSpin) (function) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:48: warning: Member setVel(vec3 newVel) (function) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:49: warning: Member setTexFile(string newFilename) (function) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:52: warning: Member mPos (variable) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:53: warning: Member mScale (variable) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:54: warning: Member mVel (variable) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:55: warning: Member color (variable) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:56: warning: Member lifespan (variable) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Particle.hpp:59: warning: Member texFilename (variable) of class Particle is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:32: warning: Member ParticleSystem(int particleAmt, const std::string &name, GLuint shader) (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:35: warning: Member addParticle(void) (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:38: warning: Member getColor(void) (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:39: warning: Member getLifespan(void) (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:40: warning: Member getMaxLife(void) (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:41: warning: Member getMinLife(void) (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:42: warning: Member getNumParticles(void) (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:44: warning: Member setColor(vec4 newColor) (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:45: warning: Member setLifespan(float minLifespan, float maxLifespan) (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:46: warning: Member setNumParticles(int newNumParticles) (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:51: warning: Member update() (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:96: warning: Member next(void) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:97: warning: Member prev(void) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:98: warning: Member active(void) const (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:102: warning: Member operator[](const std::string &objname) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:57: warning: Member rangeRandom(float min, float max) (function) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:59: warning: Member particles (variable) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:60: warning: Member numParticles (variable) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:61: warning: Member maxLife (variable) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:62: warning: Member minLife (variable) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/ParticleSystem.hpp:65: warning: Member color (variable) of class ParticleSystem is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:68: warning: argument 'Object_Shader' of command @param is not found in the argument list of Scene::addObject(const std::string &objName, GLuint shader=0) +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:68: warning: The following parameters of Scene::addObject(const std::string &objName, GLuint shader=0) are not documented: + parameter 'shader' +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:109: warning: argument 'name' of command @param is not found in the argument list of Scene::insertObject(Object *obj) +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:44: warning: Member reset(const Angel::mat4 &NewState) (function) of class RotMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:45: warning: Member rotateX(const GLfloat theta, bool postmult=true) (function) of class RotMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:46: warning: Member rotateY(const GLfloat theta, bool postmult=true) (function) of class RotMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:47: warning: Member rotateZ(const GLfloat theta, bool postmult=true) (function) of class RotMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:48: warning: Member adjust(const Angel::mat4 &Adjustment, bool postmult=true) (function) of class RotMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:27: warning: Member matrix(void) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:28: warning: Member operator*(const Angel::mat4 &rhs) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:29: warning: Member operator*(const Transformation &rhs) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:32: warning: Member mat (variable) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:74: warning: Member set(const float x, const float y, const float z) (function) of class ScaleMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:75: warning: Member set(const float pct) (function) of class ScaleMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:77: warning: Member adjust(const float x, const float y, const float z) (function) of class ScaleMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:78: warning: Member adjust(const float pct) (function) of class ScaleMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:27: warning: Member matrix(void) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:28: warning: Member operator*(const Angel::mat4 &rhs) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:29: warning: Member operator*(const Transformation &rhs) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:32: warning: Member mat (variable) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:96: warning: Member next(void) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:97: warning: Member prev(void) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:98: warning: Member active(void) const (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:100: warning: Member draw(void) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:102: warning: Member operator[](const std::string &objname) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:105: warning: Member Scene(const Scene ©) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:106: warning: Member operator=(const Scene ©) (function) of class Scene is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:68: warning: argument 'Object_Shader' of command @param is not found in the argument list of Scene::addObject(const std::string &objName, GLuint shader=0) +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:68: warning: The following parameters of Scene::addObject(const std::string &objName, GLuint shader=0) are not documented: + parameter 'shader' +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Scene.hpp:109: warning: argument 'name' of command @param is not found in the argument list of Scene::insertObject(Object *obj) +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:19: warning: Member Screen(int x=0, int y=0) (function) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:20: warning: Member Screen(const vec2 &newSize) (function) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:23: warning: Member size(int x, int y) (function) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:24: warning: Member size(const vec2 &newSize) (function) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:26: warning: Member size(void) (function) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:27: warning: Member width(void) (function) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:28: warning: Member height(void) (function) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:30: warning: Member center(void) (function) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:31: warning: Member midpointX(void) (function) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:32: warning: Member midpointY(void) (function) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:35: warning: Member _camList (variable) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:39: warning: Member _size (variable) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Screen.hpp:40: warning: Member _center (variable) of class Screen is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:51: warning: Member SpelchkCamera(vec4 initialTranslationVector) (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:54: warning: Member getProjectionMatrix() (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:55: warning: Member getModelViewMatrix() (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:56: warning: Member getTranslationVector() (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:59: warning: Member moveCamera(float xDepth, float yDepth, float zDepth) (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:62: warning: Member rotateCamera(float xAngle, float yAngle, float zAngle) (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:64: warning: Member setScreenSize(int width, int height) (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:65: warning: Member setProjection(int projectionType) (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:67: warning: Member reset() (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:69: warning: Member setLightMovementRef(GLuint ref) (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:70: warning: Member setLightMovementTime(float elapsed) (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:72: warning: Member getReadyForZero(int usernum) (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:73: warning: Member headMovement(int usernum, double x, double y, double z) (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:48: warning: Member calculateTranslationVector() (function) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:19: warning: Member _projectionType (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:22: warning: Member _fovy (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:23: warning: Member _aspect (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:25: warning: Member _left (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:25: warning: Member _right (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:26: warning: Member _bottom (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:26: warning: Member _top (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:27: warning: Member _zNear (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:27: warning: Member _zFar (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:29: warning: Member _timeRef (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:31: warning: Member _screenWidth (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:31: warning: Member _screenHeight (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:33: warning: Member _xDepth (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:33: warning: Member _yDepth (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:33: warning: Member _zDepth (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:34: warning: Member _xAngle (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:34: warning: Member _yAngle (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:34: warning: Member _zAngle (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:35: warning: Member _xHead (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:35: warning: Member _yHead (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:35: warning: Member _zHead (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:36: warning: Member _xHeadStart (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:36: warning: Member _yHeadStart (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:36: warning: Member _zHeadStart (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:37: warning: Member _xHeadAngle (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:37: warning: Member _yHeadAngle (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:37: warning: Member _zHeadAngle (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:39: warning: Member _initialTranslationVector (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:40: warning: Member _translationVector (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:41: warning: Member _oldTranslationVector (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:43: warning: Member _modelViewMatrix (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:45: warning: Member _inboundHeadData (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/SpelchkCamera.hpp:46: warning: Member _initialHeadPosition (variable) of class SpelchkCamera is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Texture.hpp:18: warning: Member Texture(GLenum _textureTarget) (function) of class Texture is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Texture.hpp:21: warning: Member load(const std::string &filename) (function) of class Texture is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Texture.hpp:22: warning: Member bind(GLenum textureUnit) (function) of class Texture is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Texture.hpp:23: warning: Member buffer(void) (function) of class Texture is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Texture.hpp:26: warning: Member _textureTarget (variable) of class Texture is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Texture.hpp:27: warning: Member _textureObj (variable) of class Texture is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Texture.hpp:28: warning: Member _image (variable) of class Texture is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Texture.hpp:29: warning: Member _blob (variable) of class Texture is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Timer.hpp:21: warning: Member keyFrameRate() const (function) of class Timer is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Timer.hpp:22: warning: Member keyFrameRate(float newFrameRate) (function) of class Timer is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Timer.hpp:30: warning: Member _t1 (variable) of class Timer is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Timer.hpp:31: warning: Member _t2 (variable) of class Timer is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Timer.hpp:33: warning: Member _delta (variable) of class Timer is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Timer.hpp:34: warning: Member _scale (variable) of class Timer is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Timer.hpp:35: warning: Member _keyFrameRate (variable) of class Timer is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:18: warning: Member ptm(const Angel::mat4 &ptm_in, bool postmult=true) (function) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:20: warning: Member ptm(void) const (function) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:21: warning: Member ctm(void) const (function) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:22: warning: Member otm(void) const (function) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:36: warning: Member calcCTM(bool postmult=true) (function) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:25: warning: Member _preOffset (variable) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:26: warning: Member _preRotation (variable) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:29: warning: Member _scale (variable) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:30: warning: Member _rotation (variable) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:31: warning: Member _offset (variable) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:32: warning: Member _orbit (variable) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:33: warning: Member _displacement (variable) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:41: warning: Member _ptm (variable) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:42: warning: Member _ctm (variable) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/TransCache.hpp:43: warning: Member _otm (variable) of class TransCache is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:27: warning: Member matrix(void) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:28: warning: Member operator*(const Angel::mat4 &rhs) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:29: warning: Member operator*(const Transformation &rhs) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:32: warning: Member mat (variable) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:58: warning: Member setX(const float x) (function) of class TransMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:59: warning: Member setY(const float y) (function) of class TransMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:60: warning: Member setZ(const float z) (function) of class TransMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:62: warning: Member set(const float x, const float y, const float z) (function) of class TransMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:63: warning: Member set(const Angel::vec3 &arg) (function) of class TransMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:65: warning: Member delta(const float x, const float y, const float z) (function) of class TransMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:66: warning: Member delta(const Angel::vec3 &arg) (function) of class TransMat is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:27: warning: Member matrix(void) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:28: warning: Member operator*(const Angel::mat4 &rhs) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:29: warning: Member operator*(const Transformation &rhs) const (function) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/Transformation.hpp:32: warning: Member mat (variable) of class Transformation is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/WiiUtil.h:16: warning: Member bbMagnitudes (variable) of class WiiPollData is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/WiiUtil.h:17: warning: Member wrThetas (variable) of class WiiPollData is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/WiiUtil.h:18: warning: Member wrRates (variable) of class WiiPollData is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/WiiUtil.h:19: warning: Member resetCamera (variable) of class WiiPollData is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:43: warning: Member mat2(const GLfloat d=GLfloat(1.0)) (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:44: warning: Member mat2(const vec2 &a, const vec2 &b) (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:45: warning: Member mat2(GLfloat m00, GLfloat m10, GLfloat m01, GLfloat m11) (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:46: warning: Member mat2(const mat2 &m) (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:49: warning: Member operator[](int i) (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:50: warning: Member operator[](int i) const (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:53: warning: Member operator+(const mat2 &m) const (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:54: warning: Member operator-(const mat2 &m) const (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:55: warning: Member operator*(const GLfloat s) const (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:56: warning: Member operator/(const GLfloat s) const (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:58: warning: Member operator*(const mat2 &m) const (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:61: warning: Member operator+=(const mat2 &m) (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:62: warning: Member operator-=(const mat2 &m) (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:63: warning: Member operator*=(const GLfloat s) (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:64: warning: Member operator*=(const mat2 &m) (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:65: warning: Member operator/=(const GLfloat s) (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:75: warning: Member operator const GLfloat *() const (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:76: warning: Member operator GLfloat *() (function) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:57: warning: Member operator*(const GLfloat s, const mat2 &m) (friend) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:71: warning: Member operator<<(std::ostream &os, const mat2 &m) (friend) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:72: warning: Member operator>>(std::istream &is, mat2 &m) (friend) of class Angel::mat2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:151: warning: parameters of member Angel::mat2::operator* are not (all) documented +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/Classes/mat.cpp:151: warning: return type of member Angel::mat2::operator* is not documented +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:99: warning: Member mat3(const GLfloat d=GLfloat(1.0)) (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:100: warning: Member mat3(const vec3 &a, const vec3 &b, const vec3 &c) (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:102: warning: Member mat3(GLfloat m00, GLfloat m10, GLfloat m20, GLfloat m01, GLfloat m11, GLfloat m21, GLfloat m02, GLfloat m12, GLfloat m22) (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:103: warning: Member mat3(const mat3 &m) (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:106: warning: Member operator[](int i) (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:107: warning: Member operator[](int i) const (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:110: warning: Member operator+(const mat3 &m) const (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:111: warning: Member operator-(const mat3 &m) const (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:112: warning: Member operator*(const GLfloat s) const (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:113: warning: Member operator/(const GLfloat s) const (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:115: warning: Member operator*(const mat3 &m) const (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:118: warning: Member operator+=(const mat3 &m) (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:119: warning: Member operator-=(const mat3 &m) (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:120: warning: Member operator*=(const GLfloat s) (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:121: warning: Member operator*=(const mat3 &m) (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:122: warning: Member operator/=(const GLfloat s) (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:125: warning: Member operator*(const vec3 &v) const (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:132: warning: Member operator const GLfloat *() const (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:133: warning: Member operator GLfloat *() (function) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:95: warning: Member _m[3] (variable) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:114: warning: Member operator*(const GLfloat s, const mat3 &m) (friend) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:128: warning: Member operator<<(std::ostream &os, const mat3 &m) (friend) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:129: warning: Member operator>>(std::istream &is, mat3 &m) (friend) of class Angel::mat3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:157: warning: Member mat4(const GLfloat d=GLfloat(1.0)) (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:158: warning: Member mat4(const vec4 &a, const vec4 &b, const vec4 &c, const vec4 &d) (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:162: warning: Member mat4(GLfloat m00, GLfloat m01, GLfloat m02, GLfloat m03, GLfloat m10, GLfloat m11, GLfloat m12, GLfloat m13, GLfloat m20, GLfloat m21, GLfloat m22, GLfloat m23, GLfloat m30, GLfloat m31, GLfloat m32, GLfloat m33) (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:163: warning: Member mat4(const mat4 &m) (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:166: warning: Member operator[](int i) (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:167: warning: Member operator[](int i) const (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:170: warning: Member operator+(const mat4 &m) const (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:171: warning: Member operator-(const mat4 &m) const (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:172: warning: Member operator*(const GLfloat s) const (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:173: warning: Member operator/(const GLfloat s) const (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:176: warning: Member operator*(const mat4 &m) const (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:179: warning: Member operator+=(const mat4 &m) (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:180: warning: Member operator-=(const mat4 &m) (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:181: warning: Member operator*=(const GLfloat s) (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:182: warning: Member operator*=(const mat4 &m) (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:183: warning: Member operator/=(const GLfloat s) (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:186: warning: Member operator*(const vec4 &v) const (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:193: warning: Member operator const GLfloat *() const (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:194: warning: Member operator GLfloat *() (function) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:152: warning: Member _m[4] (variable) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:174: warning: Member operator*(const GLfloat s, const mat4 &m) (friend) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:175: warning: Member operator*(const vec4 &v, const mat4 &_m) (friend) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:189: warning: Member operator<<(std::ostream &os, const mat4 &m) (friend) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/mat.hpp:190: warning: Member operator>>(std::istream &is, mat4 &m) (friend) of class Angel::mat4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:24: warning: Member vec2(GLfloat s=GLfloat(0.0)) (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:25: warning: Member vec2(GLfloat x, GLfloat y) (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:26: warning: Member vec2(const vec2 &v) (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:29: warning: Member operator[](int i) (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:30: warning: Member operator[](int i) const (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:33: warning: Member operator-() const (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:34: warning: Member operator+(const vec2 &v) const (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:35: warning: Member operator-(const vec2 &v) const (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:36: warning: Member operator*(const GLfloat s) const (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:37: warning: Member operator*(const vec2 &v) const (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:39: warning: Member operator/(const GLfloat s) const (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:42: warning: Member operator+=(const vec2 &v) (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:43: warning: Member operator-=(const vec2 &v) (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:44: warning: Member operator*=(const GLfloat s) (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:45: warning: Member operator*=(const vec2 &v) (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:46: warning: Member operator/=(const GLfloat s) (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:53: warning: Member operator const GLfloat *() const (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:54: warning: Member operator GLfloat *() (function) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:20: warning: Member x (variable) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:21: warning: Member y (variable) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:38: warning: Member operator*(const GLfloat s, const vec2 &v) (friend) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:49: warning: Member operator<<(std::ostream &os, const vec2 &v) (friend) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:50: warning: Member operator>>(std::istream &is, vec2 &v) (friend) of class Angel::vec2 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:70: warning: Member vec3(GLfloat s=GLfloat(0.0)) (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:71: warning: Member vec3(GLfloat x, GLfloat y, GLfloat z) (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:72: warning: Member vec3(const vec3 &v) (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:73: warning: Member vec3(const vec2 &v, const float f) (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:76: warning: Member operator[](int i) (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:77: warning: Member operator[](int i) const (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:80: warning: Member operator-() const (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:81: warning: Member operator+(const vec3 &v) const (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:82: warning: Member operator-(const vec3 &v) const (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:83: warning: Member operator*(const GLfloat s) const (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:84: warning: Member operator*(const vec3 &v) const (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:86: warning: Member operator/(const GLfloat s) const (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:89: warning: Member operator+=(const vec3 &v) (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:90: warning: Member operator-=(const vec3 &v) (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:91: warning: Member operator*=(const GLfloat s) (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:92: warning: Member operator*=(const vec3 &v) (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:93: warning: Member operator/=(const GLfloat s) (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:100: warning: Member operator const GLfloat *() const (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:101: warning: Member operator GLfloat *() (function) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:65: warning: Member x (variable) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:66: warning: Member y (variable) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:67: warning: Member z (variable) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:85: warning: Member operator*(const GLfloat s, const vec3 &v) (friend) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:96: warning: Member operator<<(std::ostream &os, const vec3 &v) (friend) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:97: warning: Member operator>>(std::istream &is, vec3 &v) (friend) of class Angel::vec3 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:120: warning: Member vec4(GLfloat s=GLfloat(0.0)) (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:121: warning: Member vec4(GLfloat x, GLfloat y, GLfloat z, GLfloat w) (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:122: warning: Member vec4(const vec4 &v) (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:123: warning: Member vec4(const vec3 &v, const float w=1.0) (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:124: warning: Member vec4(const vec2 &v, const float z, const float w) (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:127: warning: Member operator[](int i) (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:128: warning: Member operator[](int i) const (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:131: warning: Member operator-() const (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:132: warning: Member operator+(const vec4 &v) const (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:133: warning: Member operator-(const vec4 &v) const (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:134: warning: Member operator*(const GLfloat s) const (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:135: warning: Member operator*(const vec4 &v) const (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:137: warning: Member operator/(const GLfloat s) const (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:140: warning: Member operator+=(const vec4 &v) (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:141: warning: Member operator-=(const vec4 &v) (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:142: warning: Member operator*=(const GLfloat s) (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:143: warning: Member operator*=(const vec4 &v) (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:144: warning: Member operator/=(const GLfloat s) (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:151: warning: Member operator const GLfloat *() const (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:152: warning: Member operator GLfloat *() (function) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:114: warning: Member x (variable) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:115: warning: Member y (variable) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:116: warning: Member z (variable) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:117: warning: Member w (variable) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:136: warning: Member operator*(const GLfloat s, const vec4 &v) (friend) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:147: warning: Member operator<<(std::ostream &os, const vec4 &v) (friend) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/vec.hpp:148: warning: Member operator>>(std::istream &is, vec4 &v) (friend) of class Angel::vec4 is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:74: warning: Member setCallback(boost::function< void(int, double, double, double) > headCB) (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:75: warning: Member Start() (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:76: warning: Member Shutdown() (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:78: warning: Member new_user(xn::UserGenerator &, XnUserID, void *) (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:78: warning: Member lost_user(xn::UserGenerator &, XnUserID, void *) (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:78: warning: Member pose(xn::PoseDetectionCapability &, const XnChar *, XnUserID, void *) (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:78: warning: Member cal_start(xn::SkeletonCapability &, XnUserID, void *) (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:78: warning: Member cal_complete(xn::SkeletonCapability &, XnUserID, XnCalibrationStatus, void *) (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:60: warning: Member FUNKMASTER_thread_func() (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:71: warning: Member User_NewUser(xn::UserGenerator &, XnUserID nId, void *) (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:71: warning: Member User_LostUser(xn::UserGenerator &, XnUserID nId, void *) (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:71: warning: Member UserPose_PoseDetected(xn::PoseDetectionCapability &, const XnChar *strPose, XnUserID nId, void *) (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:71: warning: Member UserCalibration_CalibrationStart(xn::SkeletonCapability &, XnUserID nId, void *) (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:71: warning: Member UserCalibration_CalibrationComplete(xn::SkeletonCapability &, XnUserID nId, XnCalibrationStatus eStatus, void *) (function) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:58: warning: Member _cb (variable) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:59: warning: Member _thread (variable) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:61: warning: Member needsToSeppuku (variable) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:63: warning: Member g_Context (variable) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:64: warning: Member g_scriptNode (variable) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:65: warning: Member g_DepthGenerator (variable) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:66: warning: Member g_UserGenerator (variable) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:67: warning: Member g_bNeedPose (variable) of class TiemSpelchk::Lurn2SpielNub is not documented. +/home/nago/Dropbox/Spring 2013/Graphics II/S2/src/include/KinectInator.hpp:68: warning: Member g_strPose[20] (variable) of class TiemSpelchk::Lurn2SpielNub is not documented. diff --git a/WebGLExamples/RotatingCube/index.html b/WebGLExamples/RotatingCube/index.html index 3ff3514d..89fc5849 100644 --- a/WebGLExamples/RotatingCube/index.html +++ b/WebGLExamples/RotatingCube/index.html @@ -61,11 +61,10 @@ gl_FragColor = color; } - - - - - + + + + diff --git a/WebGLExamples/RotatingCube/script.js b/WebGLExamples/RotatingCube/script.js index 4e1088ea..b0565743 100644 --- a/WebGLExamples/RotatingCube/script.js +++ b/WebGLExamples/RotatingCube/script.js @@ -9,6 +9,21 @@ var canvas; var gl; +var vec4 = {}; +vec4.create = function(vec) { + var dest = new Float32Array(4); + + if(vec) { + dest[0] = vec[0]; + dest[1] = vec[1]; + dest[2] = vec[2]; + dest[3] = vec[3]; + } + + return dest; +}; +var point4 = vec4; // #HighFashion + var NumVertices = 36; // This flag is true when the mouse is pressed down