Kinetic Visualization
 All Classes Functions Variables Pages
Public Types | Public Member Functions
View Class Reference

List of all members.

Public Types

enum  UniformType {
  UT_IDENTITY, UT_MODELMATRIX, UT_OLDMODELMATRIX, UT_VIEWMATRIX,
  UT_OLDVIEWMATRIX, UT_PROJECTIONMATRIX, UT_OLDPROJECTIONMATRIX, UT_VIEWPROJECTIONMATRIX,
  UT_MODELVIEWPROJECTIONMATRIX, UT_OLDMODELVIEWPROJECTIONMATRIX, UT_MODELVIEWPROJECTIONLIGHTMATRIX, UT_WORLDINVERSETRANSPOSE3x3,
  UT_VIEWPORT_WIDTH, UT_VIEWPORT_HEIGHT, UT_ACT_FBO_DEPTH, UT_FBO_SIZE_3D,
  UT_VIEWPORT, UT_TEXTURE0, UT_TEXTURE1, UT_TEXTURE2,
  UT_TEXTURE3, UT_TEXTURE4, UT_TEXTURE5, UT_TEXTURE6,
  UT_TEXTURE7, UT_LIGHT_POSITION, UT_LIGHT_AMBIENT, UT_LIGHT_DIFFUSE,
  UT_LIGHT_SPECULAR, UT_LIGHT_CONSTANTATTENUATION, UT_LIGHT_LINEARATTENUATION, UT_LIGHT_QUADRATICATTENUATION,
  UT_LIGHT_SHINENESS, UT_MATERIAL_EMISSIVE, UT_MATERIAL_AMBIENT, UT_MATERIAL_DIFFUSE,
  UT_MATERIAL_SPECULAR, UT_MATERIAL_SHININESS, UT_TIME_DURATION, UT_BONES,
  UT_OLDBONES, UT_EYE_POSITION, UT_VOLUMESIZE, UT_RENDERMODE,
  UT_ADDAPTIVE, UT_STEPSIZE, UT_COMPOSITING_MODE, UT_MIP,
  UT_TRANSFER, UT_AVERAGE, UT_LIGHT, UT_PHONG,
  UT_PARTICLE_SIZE, UT_HDR_MODE, UT_HDR_ENABLE
}

Public Member Functions

 View (void)
 ~View (void)
void SetLight (Light *light)
void SetCamera (Camera *camera)
void SetRoot (INode *inode)
CameraGetCamera ()
INodeGetRoot ()
LightGetLight ()
void SetPass (unsigned int pass)
unsigned int GetPass ()
void AddFBO (FBO::FBOPtr fbo)
void SetFBO (unsigned int id, FBO::FBOPtr fbo)
FBO::FBOPtr GetFBO ()
FBO::FBOPtr GetFBO (int at)
glm::vec3 GetGrid ()
void SetGrid (glm::vec3 grid)

Constructor & Destructor Documentation

View::View ( void  )

Standardconstructor

View::~View ( void  )

Standarddeconstructor


Member Function Documentation

void View::AddFBO ( FBO::FBOPtr  fbo)

Add FBO

Parameters:
FBOFBO object
Camera * View::GetCamera ( )

Returns Camera

Parameters:
cameraobject
FBO::FBOPtr View::GetFBO ( )

Returns FBO

Returns:
FBO object
FBO::FBOPtr View::GetFBO ( int  at)

Returns FBO at id

Parameters:
idid
Returns:
FBO object
glm::vec3 View::GetGrid ( )

Returns Grid index

Returns:
size size
Light * View::GetLight ( )

Returns light object

Parameters:
lightLight Object
unsigned int View::GetPass ( )

Returns Pass variable

Returns:
pass pass variable
INode * View::GetRoot ( )

Returns root node object

Parameters:
root-nodeobject
void View::SetCamera ( Camera camera)

Sets Camera

Parameters:
cameraCamera object
void View::SetFBO ( unsigned int  id,
FBO::FBOPtr  fbo 
)

Sets FBO at id

Parameters:
FBOFBO object
idid
void View::SetGrid ( glm::vec3  grid)

Sets Grid INdex

Returns:
grid grid
void View::SetLight ( Light light)

Sets Light

Parameters:
lightLight object
void View::SetPass ( unsigned int  pass)

Sets Pass object

Parameters:
passpass variable
void View::SetRoot ( INode inode)

Sets Rootnode

Parameters:
noderootnode

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