VIS2 SS2013 CVD DVR
 All Classes Namespaces Functions Enumerations Properties
Public Member Functions | Protected Member Functions | Properties | List of all members
visLU.Gui.MainWindow Class Reference

Main Window Class. More...

Inheritance diagram for visLU.Gui.MainWindow:

Public Member Functions

 MainWindow ()
 
void updateSliceControls (int xRange, int yRange, int zRange)
 Updates the values in the slicing panel. More...
 
void setSlicingGroups (int slice, Decimal increment, int decimalPlaces, Decimal value)
 Initializes the slider in slicing panel with the values from the slicing form. More...
 
void setSlicingGroups (int slice, int maximum, int value)
 Initializes the slider in slicing panel with the values from the slicing form. More...
 
void updateSliceGroups ()
 
void updateMouseScroll (int scrollStep)
 updates the current mouse position in the game properties to zoom +/- the camera, but only for the 3d viewport More...
 
void updateTFState (bool enableTF, bool drawDF, bool setCP, bool getCP, bool updateDF)
 Updates the transfer function states and call refresh for the tf control if we need to update or redraw. More...
 
void updateXnaEngineState (bool updateCam, bool load, bool update, bool draw)
 Updates the engine states and call refresh for the engine control if we need to redraw. More...
 
void loadTransferFunction (String fileName)
 Loads transferfunction definition from a xml file. More...
 
void saveTransferFunction (string fileName)
 saves all control points that are set More...
 

Protected Member Functions

override void WndProc (ref Message m)
 
override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Properties

bool XnaDrawSurface_MouseDownEvent [get, set]
 
int MouseDownPosX [set]
 
int MouseDownPosY [set]
 
Vector3 MouseMovePos [set]
 
bool SliceFormOpen [get, set]
 

Detailed Description

Main Window Class.

Definition at line 24 of file MainWindow.cs.

Constructor & Destructor Documentation

visLU.Gui.MainWindow.MainWindow ( )

Definition at line 76 of file MainWindow.cs.

Member Function Documentation

override void visLU.Gui.MainWindow.Dispose ( bool  disposing)
protected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

Definition at line 15 of file MainWindow.designer.cs.

void visLU.Gui.MainWindow.loadTransferFunction ( String  fileName)

Loads transferfunction definition from a xml file.

Parameters
fileName

Definition at line 1536 of file MainWindow.cs.

void visLU.Gui.MainWindow.saveTransferFunction ( string  fileName)

saves all control points that are set

Definition at line 1600 of file MainWindow.cs.

void visLU.Gui.MainWindow.setSlicingGroups ( int  slice,
Decimal  increment,
int  decimalPlaces,
Decimal  value 
)

Initializes the slider in slicing panel with the values from the slicing form.

Parameters
slice
increment
decimalPlaces
value

Definition at line 225 of file MainWindow.cs.

void visLU.Gui.MainWindow.setSlicingGroups ( int  slice,
int  maximum,
int  value 
)

Initializes the slider in slicing panel with the values from the slicing form.

Parameters
slice
maximum
value

Definition at line 257 of file MainWindow.cs.

void visLU.Gui.MainWindow.updateMouseScroll ( int  scrollStep)

updates the current mouse position in the game properties to zoom +/- the camera, but only for the 3d viewport

Parameters
scrollStephow many steps the mouse was scrolled + / -

Definition at line 1459 of file MainWindow.cs.

void visLU.Gui.MainWindow.updateSliceControls ( int  xRange,
int  yRange,
int  zRange 
)

Updates the values in the slicing panel.

Parameters
xRange
yRange
ZRange

Definition at line 178 of file MainWindow.cs.

void visLU.Gui.MainWindow.updateTFState ( bool  enableTF,
bool  drawDF,
bool  setCP,
bool  getCP,
bool  updateDF 
)

Updates the transfer function states and call refresh for the tf control if we need to update or redraw.

Parameters
enableTFEnables/disables the transferfunction.
drawDFDraws the density function of the currrent dataset.
setCPTrue when new control points was added in the tf control.
getCPTrue when new dataset was loaded -> set initial control points; or to read a control points definition from a xml file.
updateDFTrue when new dataset was loaded -> update the density values.

Definition at line 1505 of file MainWindow.cs.

void visLU.Gui.MainWindow.updateXnaEngineState ( bool  updateCam,
bool  load,
bool  update,
bool  draw 
)

Updates the engine states and call refresh for the engine control if we need to redraw.

Parameters
updateCam
load
update
draw

Definition at line 1523 of file MainWindow.cs.


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