Main Window Class. More...
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] |
Main Window Class.
Definition at line 24 of file MainWindow.cs.
visLU.Gui.MainWindow.MainWindow | ( | ) |
Definition at line 76 of file MainWindow.cs.
|
protected |
Clean up any resources being used.
disposing | true 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.
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.
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.
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
scrollStep | how 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.
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.
enableTF | Enables/disables the transferfunction. |
drawDF | Draws the density function of the currrent dataset. |
setCP | True when new control points was added in the tf control. |
getCP | True when new dataset was loaded -> set initial control points; or to read a control points definition from a xml file. |
updateDF | True 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.
updateCam | |
load | |
update | |
draw |
Definition at line 1523 of file MainWindow.cs.