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

visLU.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()
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:
_fileNamespecifies 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:
gameTime

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

Definition at line 373 of file Data.cs.


Member Data Documentation

Definition at line 58 of file Data.cs.

float visLU.Data.slice = 0.5f

Definition at line 35 of file Data.cs.


Property Documentation

Camera visLU.Data.Camera [set]

Definition at line 78 of file Data.cs.

int visLU.Data.CurrentCamera [set]

Definition at line 82 of file Data.cs.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties