IMHOTEP Framework
|
Public Member Functions | |
void | updateAvailableTools (object obj=null) |
void | generateToolRing () |
void | removeToolRing () |
void | activateToolRing () |
void | toggleToolRing () |
void | toolRingCancel () |
void | toolRingNext () |
void | toolRingPrev () |
void | setToolRingTargetRotation (float angle) |
void | updateToolRingIcons () |
void | patientLoaded (object obj=null) |
void | patientClosed (object obj=null) |
void | closeActiveTool () |
void | chooseTool (ToolWidget tool) |
void | overrideTool (string name) |
void | unoverrideTool (string name) |
Public Attributes | |
Platform | platform |
Sprite | ToolSelectSprite |
Sprite | ToolAcceptSprite |
Sprite | ArrowL |
Sprite | ArrowR |
Sprite | Cancel |
Color | iconColor = new Color( 0.7f, 0.85f, 1.0f ) |
Properties | |
static ToolControl | instance [get, set] |
This class handles the tool options and how tools are selected/deselected. For every Tool, this class automatically generates an entry in the ToolRing, which is placed around the left controller to be chosen by the user. The class also handles the ToolRing movement and enabling/disabling.
Definition at line 9 of file ToolControl.cs.
|
inline |
Create a new Tool Ring and add an entry for each available Tool.
Definition at line 141 of file ToolControl.cs.
|
inline |
Forces the tool given by 'name' to be active.
Definition at line 380 of file ToolControl.cs.
|
inline |
Rotate the ring of tools to the next tool
Definition at line 258 of file ToolControl.cs.
|
inline |
Rotate the ring of tools to the previous tool
Definition at line 270 of file ToolControl.cs.