pivot.h File Reference

#include "math/matrix.h"
#include "renderable.h"
#include "cullable.h"
#include "render.h"
Include dependency graph for pivot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  RenderablePivot

Defines

#define INCLUDED_PIVOT_H

Functions

void billboard_viewplaneOriented (Matrix4 &rotation, const Matrix4 &world2screen)
void billboard_viewpointOriented (Matrix4 &rotation, const Matrix4 &world2screen)
void ConstructObject2Screen (Matrix4 &object2screen, const Matrix4 &object2world, const Matrix4 &world2view, const Matrix4 &view2device, const Matrix4 &device2screen)
void ConstructObject2Device (Matrix4 &object2screen, const Matrix4 &object2world, const Matrix4 &world2view, const Matrix4 &view2device)
void ConstructDevice2Object (Matrix4 &device2object, const Matrix4 &object2world, const Matrix4 &world2view, const Matrix4 &view2device)
void pivot_scale (Matrix4 &scale, const Matrix4 &pivot2screen)
 S = ( Inverse(Object2Screen *post ScaleOf(Object2Screen) ) *post Object2Screen.
void pivot_perspective (Matrix4 &scale, const Matrix4 &pivot2screen)
void ConstructDevice2Manip (Matrix4 &device2manip, const Matrix4 &object2world, const Matrix4 &world2view, const Matrix4 &view2device, const Matrix4 &device2screen)
void Pivot2World_worldSpace (Matrix4 &manip2world, const Matrix4 &pivot2world, const Matrix4 &modelview, const Matrix4 &projection, const Matrix4 &viewport)
void Pivot2World_viewpointSpace (Matrix4 &manip2world, Vector3 &axis, const Matrix4 &pivot2world, const Matrix4 &modelview, const Matrix4 &projection, const Matrix4 &viewport)
void Pivot2World_viewplaneSpace (Matrix4 &manip2world, const Matrix4 &pivot2world, const Matrix4 &modelview, const Matrix4 &projection, const Matrix4 &viewport)
const Colour4b g_colour_x (255, 0, 0, 255)
const Colour4b g_colour_y (0, 255, 0, 255)
const Colour4b g_colour_z (0, 0, 255, 255)

Define Documentation

#define INCLUDED_PIVOT_H

Definition at line 23 of file pivot.h.


Function Documentation

void billboard_viewplaneOriented ( Matrix4 &  rotation,
const Matrix4 &  world2screen 
) [inline]

Definition at line 27 of file pivot.h.

References BasicVector3< Element >::x(), and BasicVector3< Element >::z().

Referenced by Pivot2World_viewplaneSpace().

void billboard_viewpointOriented ( Matrix4 &  rotation,
const Matrix4 &  world2screen 
) [inline]

Definition at line 40 of file pivot.h.

Referenced by Pivot2World_viewpointSpace().

void ConstructDevice2Manip ( Matrix4 &  device2manip,
const Matrix4 &  object2world,
const Matrix4 &  world2view,
const Matrix4 &  view2device,
const Matrix4 &  device2screen 
) [inline]
void ConstructDevice2Object ( Matrix4 &  device2object,
const Matrix4 &  object2world,
const Matrix4 &  world2view,
const Matrix4 &  view2device 
) [inline]

Definition at line 68 of file pivot.h.

References ConstructObject2Device().

void ConstructObject2Device ( Matrix4 &  object2screen,
const Matrix4 &  object2world,
const Matrix4 &  world2view,
const Matrix4 &  view2device 
) [inline]

Definition at line 60 of file pivot.h.

Referenced by ConstructDevice2Manip(), and ConstructDevice2Object().

void ConstructObject2Screen ( Matrix4 &  object2screen,
const Matrix4 &  object2world,
const Matrix4 &  world2view,
const Matrix4 &  view2device,
const Matrix4 &  device2screen 
) [inline]
const Colour4b g_colour_x ( 255  ,
,
,
255   
)
const Colour4b g_colour_y ( ,
255  ,
,
255   
)
const Colour4b g_colour_z ( ,
,
255  ,
255   
)
void Pivot2World_viewplaneSpace ( Matrix4 &  manip2world,
const Matrix4 &  pivot2world,
const Matrix4 &  modelview,
const Matrix4 &  projection,
const Matrix4 &  viewport 
) [inline]
void Pivot2World_viewpointSpace ( Matrix4 &  manip2world,
Vector3 axis,
const Matrix4 &  pivot2world,
const Matrix4 &  modelview,
const Matrix4 &  projection,
const Matrix4 &  viewport 
) [inline]
void Pivot2World_worldSpace ( Matrix4 &  manip2world,
const Matrix4 &  pivot2world,
const Matrix4 &  modelview,
const Matrix4 &  projection,
const Matrix4 &  viewport 
) [inline]
void pivot_perspective ( Matrix4 &  scale,
const Matrix4 &  pivot2screen 
) [inline]
void pivot_scale ( Matrix4 &  scale,
const Matrix4 &  pivot2screen 
) [inline]

S = ( Inverse(Object2Screen *post ScaleOf(Object2Screen) ) *post Object2Screen.

Definition at line 76 of file pivot.h.

Referenced by ConstructDevice2Manip(), Pivot2World_viewplaneSpace(), Pivot2World_viewpointSpace(), and Pivot2World_worldSpace().


Generated by  doxygen 1.6.2