class for main application logic
More...
List of all members.
Public Member Functions |
| App () |
| create main window and start application
|
void | AddTexture (Texture2D newTexture) |
| Add the given texture to the complex logarithmic view effect
|
void | NextTexture () |
| change texture to next item in texture list
|
void | PrevTexture () |
| change texture to previous item in texture list
|
void | MoveFocusPoint (float x, float y) |
| Move focus point with given parameters if in range
|
Protected Member Functions |
void | OnClientSizeChanged (object sender, EventArgs e) |
void | ResetProjection () |
| set projection to default
|
override void | Initialize () |
| create grid and initialize main controls
|
override void | LoadContent () |
| xna routine to get content for the application Load standard textures, shaders reset the current projection, set initial texture and texture filter
|
override void | UnloadContent () |
override void | Draw (GameTime gameTime) |
| xna draw routine - pass information over to shader give information from renderable to graphicsdevice
|
override void | Update (GameTime gameTime) |
| Update scene logic every frame create new split plane if focus point has moved add grid which has to be rendered if focus point was changed fly to new focus point in FlyTime - interpolate new focus point between finished and current time afterwards save elapsed time update keyboard and mouse controls
|
Properties |
bool | IsFullScreen [get, set] |
int | NthRoot [get, set] |
Matrix | CameraTransform [get, set] |
float | Depth [get, set] |
Detailed Description
class for main application logic
Constructor & Destructor Documentation
create main window and start application
Member Function Documentation
void Clv.Viewer.App.AddTexture |
( |
Texture2D |
newTexture | ) |
|
Add the given texture to the complex logarithmic view effect
- Parameters:
-
newTexture | created texture |
override void Clv.Viewer.App.Draw |
( |
GameTime |
gameTime | ) |
|
|
protected |
xna draw routine - pass information over to shader give information from renderable to graphicsdevice
- Parameters:
-
gameTime | gameTime with information of total game time and elapsed game time |
override void Clv.Viewer.App.Initialize |
( |
| ) |
|
|
protected |
create grid and initialize main controls
override void Clv.Viewer.App.LoadContent |
( |
| ) |
|
|
protected |
xna routine to get content for the application Load standard textures, shaders reset the current projection, set initial texture and texture filter
void Clv.Viewer.App.MoveFocusPoint |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
Move focus point with given parameters if in range
- Parameters:
-
x | movement in x direction |
y | movement in y direction |
void Clv.Viewer.App.NextTexture |
( |
| ) |
|
change texture to next item in texture list
void Clv.Viewer.App.PrevTexture |
( |
| ) |
|
change texture to previous item in texture list
void Clv.Viewer.App.ResetProjection |
( |
| ) |
|
|
protected |
set projection to default
override void Clv.Viewer.App.Update |
( |
GameTime |
gameTime | ) |
|
|
protected |
Update scene logic every frame create new split plane if focus point has moved add grid which has to be rendered if focus point was changed fly to new focus point in FlyTime - interpolate new focus point between finished and current time afterwards save elapsed time update keyboard and mouse controls
- Parameters:
-
gameTime | gameTime with information of total game time and elapsed game time |
The documentation for this class was generated from the following file:
- Clv/Clv.Viewer/Clv.Viewer/App.cs