CellexalVR
0.13.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
|
Represents the buttons that are used to create new selections from a previously made selection. More...
Public Member Functions | |
override void | Click () |
Handles what happens when the user points the controller towards the button and presses the trigger. More... | |
void | SetSelection (string graphName, string selectionName, string[] selectionCellNames, int[] selectionGroups, Dictionary< int, Color > groupingColors) |
Set which selection this button represents. More... | |
Public Member Functions inherited from CellexalVR.Menu.Buttons.CellexalButton | |
virtual void | SetButtonActivated (bool activate) |
void | StoreState () |
void | ToggleOutline (bool toggle) |
To synchronise the outline in multi-user mode. So the outline doesnt get active if the other users menu or tab is active. More... | |
virtual void | SetHighlighted (bool highlight) |
Public Attributes | |
TextMesh | buttonDescription |
Public Attributes inherited from CellexalVR.Menu.Buttons.CellexalButton | |
ReferenceManager | referenceManager |
TMPro.TextMeshPro | descriptionText |
GameObject | infoMenu |
GameObject | activeOutline |
Color | meshStandardColor = Color.black |
Color | meshHighlightColor = Color.white |
Color | meshDeactivatedColor = Color.grey |
Sprite | standardTexture = null |
Sprite | highlightedTexture = null |
Sprite | deactivatedTexture = null |
int | popupChoice = 0 |
bool | buttonActivated = true |
bool | storedState |
bool | controllerInside = false |
Properties | |
override string | Description [get] |
Properties inherited from CellexalVR.Menu.Buttons.CellexalButton | |
abstract string | Description [get] |
A string that briefly explains what this button does. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CellexalVR.Menu.Buttons.CellexalButton | |
virtual void | Awake () |
virtual void | Update () |
virtual void | HelpClick () |
void | OnTriggerEnter (Collider other) |
void | Exit () |
void | OnTriggerExit (Collider other) |
Protected Attributes inherited from CellexalVR.Menu.Buttons.CellexalButton | |
SteamVR_TrackedObject | rightController |
SteamVR_Controller.Device | device |
SpriteRenderer | spriteRenderer |
MeshRenderer | meshRenderer |
Represents the buttons that are used to create new selections from a previously made selection.
|
virtual |
Handles what happens when the user points the controller towards the button and presses the trigger.
Implements CellexalVR.Menu.Buttons.CellexalButton.
void CellexalVR.Menu.Buttons.Selection.SelectionFromPreviousButton.SetSelection | ( | string | graphName, |
string | selectionName, | ||
string[] | selectionCellNames, | ||
int[] | selectionGroups, | ||
Dictionary< int, Color > | groupingColors | ||
) |
Set which selection this button represents.
graphName | Which graph the selection originated from. |
selectionName | The name of this selection. |
selectionCellNames | An array containing the cell names. |
selectionGroups | An array containing which groups the cells belonged to. |