Public Member Functions | Properties

visLU.Gui.InputManager Class Reference

class to process input requests More...

List of all members.

Public Member Functions

void setViewMode (ViewMode newViewMode)
 switch the current view mode
int getViewMode ()
 return the current view mode
void setViewMode ()
 switch the current view mode taking into account the cursor position
void setZoom (int zoomStep)
void setSliceValue (decimal xValue, decimal yValue, decimal zValue)
void setSliceValue (int slice, decimal value)
bool enableSliceGroup (int slice)
void enableTransferFunction (bool enable, bool enableAlpha)
void enableClippingPlane (bool enable)
void enableMaxIntensityProjection (bool enable)
void enablePerspProjection (bool enable)
void enableFrontToBackBlending (bool enable)
 if false, back to front enabled
void enableShading (bool enable)
 shading on/off
void enableFullscreenMode (bool enable)
 shading on/off
void updateMousePos (int posX, int posY)
 updates the current mouse position in the game properties to move the camere, but only for the 3d viewport
void resetMousePos ()
void updateMouseScroll (int scrollStep)
 updates the current mouse position in the game properties to zoom +/- the camera, but only for the 3d viewport
void loadTransferFunction (String fileName)
void saveTransferFunction (string fileName)
 saves all control points that are set
void updateXnaEngineState (bool updateCam, bool load, bool update, bool draw)

Properties

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

Detailed Description

class to process input requests

Definition at line 16 of file InputManager.cs.


Member Function Documentation

void visLU.Gui.InputManager.enableClippingPlane ( bool  enable )
Parameters:
enable

Definition at line 205 of file InputManager.cs.

void visLU.Gui.InputManager.enableFrontToBackBlending ( bool  enable )

if false, back to front enabled

Parameters:
enable

Definition at line 235 of file InputManager.cs.

void visLU.Gui.InputManager.enableFullscreenMode ( bool  enable )

shading on/off

Parameters:
enable

Definition at line 256 of file InputManager.cs.

void visLU.Gui.InputManager.enableMaxIntensityProjection ( bool  enable )
Parameters:
enable

Definition at line 215 of file InputManager.cs.

void visLU.Gui.InputManager.enablePerspProjection ( bool  enable )
Parameters:
enable

Definition at line 225 of file InputManager.cs.

void visLU.Gui.InputManager.enableShading ( bool  enable )

shading on/off

Parameters:
enable

Definition at line 245 of file InputManager.cs.

bool visLU.Gui.InputManager.enableSliceGroup ( int  slice )
Parameters:
slice
Returns:

Definition at line 165 of file InputManager.cs.

void visLU.Gui.InputManager.enableTransferFunction ( bool  enable,
bool  enableAlpha 
)
Parameters:
enable
enableAlpha

Definition at line 193 of file InputManager.cs.

int visLU.Gui.InputManager.getViewMode (  )

return the current view mode

Parameters:
newViewMode

Definition at line 58 of file InputManager.cs.

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

Definition at line 361 of file InputManager.cs.

void visLU.Gui.InputManager.resetMousePos (  )

Definition at line 280 of file InputManager.cs.

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

saves all control points that are set

Definition at line 425 of file InputManager.cs.

void visLU.Gui.InputManager.setSliceValue ( decimal  xValue,
decimal  yValue,
decimal  zValue 
)
Parameters:
xValue
yValue
zValue

Definition at line 119 of file InputManager.cs.

void visLU.Gui.InputManager.setSliceValue ( int  slice,
decimal  value 
)
Parameters:
slice
value

Definition at line 136 of file InputManager.cs.

void visLU.Gui.InputManager.setViewMode ( ViewMode  newViewMode )

switch the current view mode

Parameters:
newViewMode

Definition at line 49 of file InputManager.cs.

void visLU.Gui.InputManager.setViewMode (  )

switch the current view mode taking into account the cursor position

Parameters:
posXcursor x-Position
posYcursor y-Position

Definition at line 69 of file InputManager.cs.

void visLU.Gui.InputManager.setZoom ( int  zoomStep )
Parameters:
zoomStep

Definition at line 98 of file InputManager.cs.

void visLU.Gui.InputManager.updateMousePos ( int  posX,
int  posY 
)

updates the current mouse position in the game properties to move the camere, but only for the 3d viewport

Parameters:
posXmouse x-Position
posYmouse y-Position

Definition at line 269 of file InputManager.cs.

void visLU.Gui.InputManager.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 295 of file InputManager.cs.

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

Definition at line 465 of file InputManager.cs.


Property Documentation

int visLU.Gui.InputManager.MouseDownPosX [set]

Definition at line 32 of file InputManager.cs.

int visLU.Gui.InputManager.MouseDownPosY [set]

Definition at line 36 of file InputManager.cs.

Vector3 visLU.Gui.InputManager.MouseMovePos [set]

Definition at line 40 of file InputManager.cs.

bool visLU.Gui.InputManager.XnaDrawSurface_MouseDownEvent [get, set]

Definition at line 25 of file InputManager.cs.


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