Public Member Functions | Public Attributes | Protected Member Functions | Properties

visLU2.Data Class Reference

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:
_fileNamespecifies 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:
gameTime

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 (  )

Definition at line 469 of file Data.cs.

override void visLU2.Data.Update ( GameTime  gameTime )

Clears RenderTargets. Renders Backfaces and Frontfaces. Calls setControlPoints().

Parameters:
gameTime

Definition at line 484 of file Data.cs.


Member Data Documentation

Definition at line 59 of file Data.cs.

float visLU2.Data.slice = 0.5f

Definition at line 35 of file Data.cs.


Property Documentation

Camera visLU2.Data.Camera [set]

Definition at line 79 of file Data.cs.

int visLU2.Data.CurrentCamera [set]

Definition at line 83 of file Data.cs.


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