represents volume data
More...
List of all members.
Public Member Functions |
| Data (string _fileName, Game game) |
| Constructor.
|
override void | Initialize () |
| Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content. calls LoadContent()
|
void | UnloadContent () |
override void | Update (GameTime gameTime) |
| Clears RenderTargets. Renders Backfaces and Frontfaces. Calls setControlPoints().
|
override void | Draw (GameTime gameTime) |
| Sets current Rendertechnique depending on current view (3D-view or top, front, side for slicing). Calls DrawVolume() to actually draw the volume data.
|
Public Attributes |
float | slice = 0.5f |
VolumeShader | shader |
Protected Member Functions |
override void | LoadContent () |
| Loads all Content needed. Creates RenderTargets and shader. Loads Cube and calls loadDatafromFile().
|
Properties |
Camera | Camera [set] |
int | CurrentCamera [set] |
Detailed Description
represents volume data
Definition at line 23 of file Data.cs.
Constructor & Destructor Documentation
visLU2.Data.Data |
( |
string |
_fileName, |
|
|
Game |
game |
|
) |
| |
Constructor.
- Parameters:
-
_fileName | specifies file to load data from |
game | |
Definition at line 93 of file Data.cs.
Member Function Documentation
override void visLU2.Data.Draw |
( |
GameTime |
gameTime ) |
|
Sets current Rendertechnique depending on current view (3D-view or top, front, side for slicing). Calls DrawVolume() to actually draw the volume data.
- Parameters:
-
Definition at line 544 of file Data.cs.
override void visLU2.Data.Initialize |
( |
) |
|
Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content. calls LoadContent()
Definition at line 125 of file Data.cs.
override void visLU2.Data.LoadContent |
( |
) |
[protected] |
Loads all Content needed. Creates RenderTargets and shader. Loads Cube and calls loadDatafromFile().
Definition at line 139 of file Data.cs.
void visLU2.Data.UnloadContent |
( |
) |
|
override void visLU2.Data.Update |
( |
GameTime |
gameTime ) |
|
Clears RenderTargets. Renders Backfaces and Frontfaces. Calls setControlPoints().
- Parameters:
-
Definition at line 484 of file Data.cs.
Member Data Documentation
Property Documentation
Camera visLU2.Data.Camera [set] |
int visLU2.Data.CurrentCamera [set] |
The documentation for this class was generated from the following file: