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()
|
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
visLU.Data.Data |
( |
string |
_fileName, |
|
|
Game |
game |
|
) |
| |
Constructor.
- Parameters:
-
_fileName | specifies file to load data from |
game | |
Definition at line 92 of file Data.cs.
Member Function Documentation
override void visLU.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 433 of file Data.cs.
override void visLU.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 124 of file Data.cs.
override void visLU.Data.LoadContent |
( |
) |
[protected] |
Loads all Content needed. Creates RenderTargets and shader. Loads Cube and calls loadDatafromFile().
Definition at line 138 of file Data.cs.
override void visLU.Data.Update |
( |
GameTime |
gameTime ) |
|
Clears RenderTargets. Renders Backfaces and Frontfaces. Calls setControlPoints().
- Parameters:
-
Definition at line 373 of file Data.cs.
Member Data Documentation
Property Documentation
Camera visLU.Data.Camera [set] |
int visLU.Data.CurrentCamera [set] |
The documentation for this class was generated from the following file: