CellexalVR  0.13.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
CellexalVR.Menu.Buttons.CellexalButton Class Referenceabstract

Abstract general purpose class that represents a button on the menu. More...

Inheritance diagram for CellexalVR.Menu.Buttons.CellexalButton:
CellexalVR.Menu.Buttons.Attributes.AttributeToSelectionButton CellexalVR.Menu.Buttons.Attributes.CloseAttributeMenuButton CellexalVR.Menu.Buttons.Attributes.ColorByAttributeButton CellexalVR.Menu.Buttons.Attributes.ColorByBooleanExpressionButton CellexalVR.Menu.Buttons.Attributes.CreateSubGraphButton CellexalVR.Menu.Buttons.Attributes.SelectAllAttributesButton CellexalVR.Menu.Buttons.Attributes.SwitchAttributeButtonMode CellexalVR.Menu.Buttons.CellexalToolButton CellexalVR.Menu.Buttons.ChangeVelocityParticleButton CellexalVR.Menu.Buttons.ClearColoursButton CellexalVR.Menu.Buttons.CloseMenuButton CellexalVR.Menu.Buttons.Coloring.ColorByGeneButton CellexalVR.Menu.Buttons.Coloring.QueryTopDiffGenesButton CellexalVR.Menu.Buttons.Drawing.ClearAllLinesButton CellexalVR.Menu.Buttons.Drawing.ClearLastDrawnLineButton CellexalVR.Menu.Buttons.Drawing.ClearLinesWithColorButton CellexalVR.Menu.Buttons.Drawing.DrawToolColorButton CellexalVR.Menu.Buttons.Drawing.UndoLastColorButton CellexalVR.Menu.Buttons.Facs.AddMarkerButton CellexalVR.Menu.Buttons.Facs.ColorByIndexButton CellexalVR.Menu.Buttons.Facs.IndexMenuButton CellexalVR.Menu.Buttons.Facs.NewGraphFromMarkersButton CellexalVR.Menu.Buttons.FilterBoardToggleButton CellexalVR.Menu.Buttons.General.HelpVideoButton CellexalVR.Menu.Buttons.General.ResetGraphColorButton CellexalVR.Menu.Buttons.General.ResetGraphPositionButton CellexalVR.Menu.Buttons.General.ShowAxesButton CellexalVR.Menu.Buttons.General.ShowLabelsButton CellexalVR.Menu.Buttons.General.TeleportHomeButton CellexalVR.Menu.Buttons.General.VideoButton CellexalVR.Menu.Buttons.General.WebGoBackForward CellexalVR.Menu.Buttons.Heatmap.CreateHeatmapButton CellexalVR.Menu.Buttons.Heatmap.CreateNewHeatmapButton CellexalVR.Menu.Buttons.Heatmap.RecolourHeatmapButton CellexalVR.Menu.Buttons.Heatmap.ReorderByAttributeButton CellexalVR.Menu.Buttons.Heatmap.SaveHeatmapButton CellexalVR.Menu.Buttons.Networks.ArcsMenuButton CellexalVR.Menu.Buttons.Networks.CreateNetworksButton CellexalVR.Menu.Buttons.Networks.RecalculateNetworkLayoutButton CellexalVR.Menu.Buttons.Networks.RefreshTabsButton CellexalVR.Menu.Buttons.Networks.SaveNetworkAsImageButton CellexalVR.Menu.Buttons.Networks.SaveNetworkAsTextFileButton CellexalVR.Menu.Buttons.Networks.SwitchNetworkLayoutButton CellexalVR.Menu.Buttons.Networks.ToggleAllArcsButton CellexalVR.Menu.Buttons.Networks.ToggleAllCombinedArcsButton CellexalVR.Menu.Buttons.Networks.ToggleArcsButton CellexalVR.Menu.Buttons.RecolorSelectionButton CellexalVR.Menu.Buttons.Report.GOanalysisButton CellexalVR.Menu.Buttons.Report.RefreshListButton CellexalVR.Menu.Buttons.Report.SaveButton CellexalVR.Menu.Buttons.Selection.ClearLinesBetweenGraphPointsButton CellexalVR.Menu.Buttons.Selection.ConfirmSelection CellexalVR.Menu.Buttons.Selection.DrawLinesBetweenGraphPointsButton CellexalVR.Menu.Buttons.Selection.FilterButton CellexalVR.Menu.Buttons.Selection.RedoLastColorButton CellexalVR.Menu.Buttons.Selection.RedoOneStepButton CellexalVR.Menu.Buttons.Selection.RedoTenStepsButton CellexalVR.Menu.Buttons.Selection.SelectAllButton CellexalVR.Menu.Buttons.Selection.SelectionFromPreviousButton CellexalVR.Menu.Buttons.Selection.SelectionFromPreviousMenuButton CellexalVR.Menu.Buttons.Selection.UndoOneStepButton CellexalVR.Menu.Buttons.Selection.UndoSelectionButton CellexalVR.Menu.Buttons.Selection.UndoTenStepsButton CellexalVR.Menu.Buttons.SubMenuButton CellexalVR.Menu.Buttons.ToggleGraphpointsButton CellexalVR.Menu.Buttons.Tools.HelpToolButton CellexalVR.Menu.Buttons.Tools.ScreenshotButton CellexalVR.Menu.Buttons.Velocity.DecreaseVelocityFrequencyButton CellexalVR.Menu.Buttons.Velocity.DecreaseVelocitySpeedButton CellexalVR.Menu.Buttons.Velocity.DecreaseVelocityThresholdButton CellexalVR.Menu.Buttons.Velocity.IncreaseVelocityFrequencyButton CellexalVR.Menu.Buttons.Velocity.IncreaseVelocitySpeedButton CellexalVR.Menu.Buttons.Velocity.IncreaseVelocityThresholdButton CellexalVR.Menu.Buttons.Velocity.LoadVelocityButton CellexalVR.Menu.Buttons.Velocity.ResetFilterButton CellexalVR.Menu.Buttons.Velocity.StartVelocityButton CellexalVR.Menu.Buttons.Velocity.StopVelocityButton CellexalVR.Menu.Buttons.VelocityConstantSynchedButton CellexalVR.Menu.Buttons.VelocityGraphpointColorsModeButton

Public Member Functions

abstract void Click ()
 Handles what happens when the user points the controller towards the button and presses the trigger. More...
 
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

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
 

Protected Member Functions

virtual void Awake ()
 
virtual void Update ()
 
virtual void HelpClick ()
 
void OnTriggerEnter (Collider other)
 
void Exit ()
 
void OnTriggerExit (Collider other)
 

Protected Attributes

SteamVR_TrackedObject rightController
 
SteamVR_Controller.Device device
 
SpriteRenderer spriteRenderer
 
MeshRenderer meshRenderer
 

Properties

abstract string Description [get]
 A string that briefly explains what this button does. More...
 

Detailed Description

Abstract general purpose class that represents a button on the menu.

Member Function Documentation

◆ Click()

abstract void CellexalVR.Menu.Buttons.CellexalButton.Click ( )
pure virtual

Handles what happens when the user points the controller towards the button and presses the trigger.

Implemented in CellexalVR.Menu.Buttons.Velocity.LoadVelocityButton, CellexalVR.Menu.Buttons.General.VideoButton, CellexalVR.Menu.Buttons.Report.SaveButton, CellexalVR.Menu.Buttons.Attributes.ColorByAttributeButton, CellexalVR.Menu.Buttons.General.ResetFolderButton, CellexalVR.Menu.Buttons.CellexalToolButton, CellexalVR.Menu.Buttons.Drawing.ClearLinesWithColorButton, CellexalVR.Menu.Buttons.Drawing.DrawToolColorButton, CellexalVR.Menu.Buttons.Drawing.UndoLastColorButton, CellexalVR.Menu.Buttons.Heatmap.ReorderByAttributeButton, CellexalVR.Menu.Buttons.Selection.RedoTenStepsButton, CellexalVR.Menu.Buttons.Selection.UndoOneStepButton, CellexalVR.Menu.Buttons.Selection.UndoTenStepsButton, CellexalVR.Menu.Buttons.Selection.RedoOneStepButton, CellexalVR.Menu.Buttons.Selection.ConfirmSelection, CellexalVR.Menu.Buttons.Heatmap.CreateHeatmapButton, CellexalVR.Menu.Buttons.SubMenuButton, CellexalVR.Menu.Buttons.Facs.IndexMenuButton, CellexalVR.Menu.Buttons.Selection.DrawLinesBetweenGraphPointsButton, CellexalVR.Menu.Buttons.Selection.RedoLastColorButton, CellexalVR.Menu.Buttons.Facs.ColorByIndexButton, CellexalVR.Menu.Buttons.General.ShowAxesButton, CellexalVR.Menu.Buttons.General.ShowLabelsButton, CellexalVR.Menu.Buttons.Networks.CreateNetworksButton, CellexalVR.Menu.Buttons.Selection.FilterButton, CellexalVR.Menu.Buttons.Facs.AddMarkerButton, CellexalVR.Menu.Buttons.General.ResetGraphColorButton, CellexalVR.Menu.Buttons.General.ResetGraphPositionButton, CellexalVR.Menu.Buttons.Attributes.CreateSubGraphButton, CellexalVR.Menu.Buttons.Attributes.SelectAllAttributesButton, CellexalVR.Menu.Buttons.Selection.SelectionFromPreviousButton, CellexalVR.Menu.Buttons.Selection.UndoSelectionButton, CellexalVR.Menu.Buttons.Attributes.AttributeToSelectionButton, CellexalVR.Menu.Buttons.Coloring.QueryTopDiffGenesButton, CellexalVR.Menu.Buttons.Networks.SaveNetworkAsImageButton, CellexalVR.Menu.Buttons.Selection.SelectionFromPreviousMenuButton, CellexalVR.Menu.Buttons.Networks.ArcsMenuButton, CellexalVR.Menu.Buttons.Selection.ClearLinesBetweenGraphPointsButton, CellexalVR.Menu.Buttons.CloseMenuButton, CellexalVR.Menu.Buttons.Coloring.ColorByGeneButton, CellexalVR.Menu.Buttons.Networks.RecalculateNetworkLayoutButton, CellexalVR.Menu.Buttons.Networks.SwitchNetworkLayoutButton, CellexalVR.Menu.Buttons.Report.RefreshListButton, CellexalVR.Menu.Buttons.Selection.SelectAllButton, CellexalVR.Menu.Buttons.Tools.HelpToolButton, CellexalVR.Menu.Buttons.Tools.WebBrowserButton, CellexalVR.Menu.Buttons.Heatmap.CreateNewHeatmapButton, CellexalVR.Menu.Buttons.Networks.RefreshTabsButton, CellexalVR.Menu.Buttons.Networks.SaveNetworkAsTextFileButton, CellexalVR.Menu.Buttons.Attributes.CloseAttributeMenuButton, CellexalVR.Menu.Buttons.Drawing.ClearLastDrawnLineButton, CellexalVR.Menu.Buttons.Attributes.SwitchAttributeButtonMode, CellexalVR.Menu.Buttons.Tools.KeyboardButton, CellexalVR.Menu.Buttons.Heatmap.SaveHeatmapButton, CellexalVR.Menu.Buttons.Networks.ToggleArcsButton, CellexalVR.Menu.Buttons.Drawing.ClearAllLinesButton, CellexalVR.Menu.Buttons.General.TeleportHomeButton, CellexalVR.Menu.Buttons.Heatmap.RecolourHeatmapButton, CellexalVR.Menu.Buttons.Networks.ToggleAllCombinedArcsButton, CellexalVR.Menu.Buttons.Report.GOanalysisButton, CellexalVR.Menu.Buttons.Velocity.IncreaseVelocityFrequencyButton, CellexalVR.Menu.Buttons.VelocityConstantSynchedButton, CellexalVR.Menu.Buttons.Networks.ToggleAllArcsButton, CellexalVR.Menu.Buttons.ChangeVelocityParticleButton, CellexalVR.Menu.Buttons.RecolorSelectionButton, CellexalVR.Menu.Buttons.Facs.NewGraphFromMarkersButton, CellexalVR.Menu.Buttons.Velocity.DecreaseVelocityThresholdButton, CellexalVR.Menu.Buttons.Velocity.IncreaseVelocityThresholdButton, CellexalVR.Menu.Buttons.Attributes.ColorByBooleanExpressionButton, CellexalVR.Menu.Buttons.ClearColoursButton, CellexalVR.Menu.Buttons.General.HelpVideoButton, CellexalVR.Menu.Buttons.Velocity.DecreaseVelocityFrequencyButton, CellexalVR.Menu.Buttons.ToggleGraphpointsButton, CellexalVR.Menu.Buttons.VelocityGraphpointColorsModeButton, CellexalVR.Menu.Buttons.Tools.ScreenshotButton, CellexalVR.Menu.Buttons.General.WebGoBackForward, CellexalVR.Menu.Buttons.Velocity.DecreaseVelocitySpeedButton, CellexalVR.Menu.Buttons.Velocity.IncreaseVelocitySpeedButton, CellexalVR.Menu.Buttons.Velocity.StartVelocityButton, CellexalVR.Menu.Buttons.Velocity.StopVelocityButton, CellexalVR.Menu.Buttons.FilterBoardToggleButton, and CellexalVR.Menu.Buttons.Velocity.ResetFilterButton.

◆ ToggleOutline()

void CellexalVR.Menu.Buttons.CellexalButton.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.

Property Documentation

◆ Description

abstract string CellexalVR.Menu.Buttons.CellexalButton.Description
getprotected

A string that briefly explains what this button does.


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