SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
SRCommonUniforms Class Reference

#include <SRCommonUniforms.h>

Public Member Functions

 SRCommonUniforms ()
 
virtual ~SRCommonUniforms ()
 

Static Public Member Functions

static std::string getToCameraToProjectionName ()
 Inverse view to world matrix. More...
 
static spire::UNIFORM_TYPE getToCameraToProjectionType ()
 
static std::string getToProjectionName ()
 Projection matrix. More...
 
static spire::UNIFORM_TYPE getToProjectionType ()
 
static std::string getCameraToWorldName ()
 View to world. More...
 
static spire::UNIFORM_TYPE getCameraToWorldType ()
 
static std::string getCameraViewVecName ()
 
static spire::UNIFORM_TYPE getCameraViewVecType ()
 
static std::string getCameraUpVecName ()
 'Up' vector for the camera – in world space. More...
 
static spire::UNIFORM_TYPE getCameraUpVecType ()
 
static std::string getObjectToCameraToProjectionName ()
 Object -> World -> Camera -> Projection. More...
 
static spire::UNIFORM_TYPE getObjectToCameraToProjectionType ()
 
static std::string getObjectToViewName ()
 Object -> World to view transformation. More...
 
static spire::UNIFORM_TYPE getObjectToViewType ()
 
static std::string getObjectName ()
 Object -> World transformformation. More...
 
static spire::UNIFORM_TYPE getObjectType ()
 

Detailed Description

Common uniforms used by Spire.

Todo:
Look into the ability to rename these uniforms in the future. This is so that Spire can adapt to other code bases.

Constructor & Destructor Documentation

SRCommonUniforms ( )
inline
virtual ~SRCommonUniforms ( )
inlinevirtual

Member Function Documentation

static std::string getCameraToWorldName ( )
inlinestatic

View to world.

static spire::UNIFORM_TYPE getCameraToWorldType ( )
inlinestatic
static std::string getCameraUpVecName ( )
inlinestatic

'Up' vector for the camera – in world space.

static spire::UNIFORM_TYPE getCameraUpVecType ( )
inlinestatic
static std::string getCameraViewVecName ( )
inlinestatic

Viewing vector for the camera (used in lighting calculations). Depends on the projection matrix – in world space.

static spire::UNIFORM_TYPE getCameraViewVecType ( )
inlinestatic
static std::string getObjectName ( )
inlinestatic

Object -> World transformformation.

static std::string getObjectToCameraToProjectionName ( )
inlinestatic

Object -> World -> Camera -> Projection.

static spire::UNIFORM_TYPE getObjectToCameraToProjectionType ( )
inlinestatic
static std::string getObjectToViewName ( )
inlinestatic

Object -> World to view transformation.

static spire::UNIFORM_TYPE getObjectToViewType ( )
inlinestatic
static spire::UNIFORM_TYPE getObjectType ( )
inlinestatic
static std::string getToCameraToProjectionName ( )
inlinestatic

Inverse view to world matrix.

static spire::UNIFORM_TYPE getToCameraToProjectionType ( )
inlinestatic
static std::string getToProjectionName ( )
inlinestatic

Projection matrix.

static spire::UNIFORM_TYPE getToProjectionType ( )
inlinestatic

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