Namespaces | Defines | Functions

_src_view_view.cc File Reference

View class. More...

#include "base/module.hh"
#include "math/module.hh"
#include "math/graphics.hh"
#include "math/funcs_transform.hh"
#include "view/module.hh"
#include "view/view.hh"
#include "view/node_masks.hh"
#include "view/conf.hh"

Namespaces

namespace  view
 

view module (View, Viewpoint, Window).


Defines

#define VIEW_VIEW_CC   1
#define SYNC_MATRIX_FROM_OSG_CAMERA()   mViewMatrix = mCamera->getViewMatrix()

Functions

const RGBA view::VIEW_OUTLINE_COLOR (0.8f, 0.8f, 0.2f, 1.0f)

Detailed Description

View class.

LastChangedDate:
2010-06-26 21:01:07 -0400 (Sat, 26 Jun 2010)
Author:
Jim E. Brooks http://www.palomino3d.org Matrix optimization requires syncing matrixs: For speed, the modelview and projection matrixs are stored/cached in View members This allows GetViewMatrix() to return a const Matrix& instead of a copy of Matrix. The disadvantage/risk is having to ensure View and OSG's matrixs stay synchronized.

Define Documentation

#define SYNC_MATRIX_FROM_OSG_CAMERA (  )     mViewMatrix = mCamera->getViewMatrix()
#define VIEW_VIEW_CC   1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10