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

class to process input requests More...

Public Member Functions

void setViewMode (ViewMode newViewMode)
 switch the current view mode More...
 
int getViewMode ()
 return the current view mode More...
 
void setViewMode ()
 switch the current view mode taking into account the cursor position More...
 
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 More...
 
void enableShading (bool enable)
 shading on/off More...
 
void updateMousePos (int posX, int posY)
 Enables fullscreen mode. More...
 
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 More...
 
void loadTransferFunction (String fileName)
 
void saveTransferFunction (string fileName)
 saves all control points that are set More...
 
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.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 192 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.saveTransferFunction ( string  fileName)

saves all control points that are set

Definition at line 427 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 
)

Enables fullscreen mode.

Parameters
enable

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 271 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 297 of file InputManager.cs.


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