CellexalVR  1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
CellexalVR.Menu.Buttons.Networks.ToggleAllCombinedArcsButton Class Reference

Represents a buttont that toggle all the combined arcs between all networks ina graph skeleton, The combined arcs show the number of arcs that are between two networks. More...

Inheritance diagram for CellexalVR.Menu.Buttons.Networks.ToggleAllCombinedArcsButton:
CellexalVR.Menu.Buttons.SliderButton CellexalVR.Menu.Buttons.CellexalButton CellexalVR.Interaction.CellexalRaycastable

Public Member Functions

void SetNetworks (NetworkCenter[] networks)
 Sets the networks that this button should deal with. More...
 
void SetCombinedArcsVisible (bool visible)
 Show or hides all the combined arcs. More...
 
- Public Member Functions inherited from CellexalVR.Menu.Buttons.SliderButton
override void Click ()
 Actions are in this case not directly on click but first sliding animation. More...
 
override void SetHighlighted (bool highlight)
 Highlights or unhighlights this button. More...
 
- Public Member Functions inherited from CellexalVR.Menu.Buttons.CellexalButton
override void OnRaycastEnter ()
 Called on the first frame that this CellexalRaycastable is hit by a CellexalRaycast. More...
 
override void OnRaycastExit ()
 Called on the first frame that this CellexalRaycastable is not hit by a CellexalRaycast anymore. More...
 
virtual void SetButtonActivated (bool activate)
 Activates or deactivates this button. Changes the sprite and makes the button not able to invoke Click until it is activated again. More...
 
void StoreState ()
 
void ToggleOutline (bool toggle, bool legend=false)
 To synchronise the outline in multi-user mode. So the outline doesnt get active unless the other users menu or tab is active. More...
 
- Public Member Functions inherited from CellexalVR.Interaction.CellexalRaycastable
virtual void OnRaycastHit (RaycastHit hitInfo, CellexalRaycast raycaster)
 Called by CellexalRaycast.Update every frame that a raycast hit this target. More...
 

Protected Member Functions

override void ActionsAfterSliding ()
 Actions to be performed once animation is complete. More...
 
- Protected Member Functions inherited from CellexalVR.Menu.Buttons.SliderButton
virtual void MultiUserSynchronise ()
 
- Protected Member Functions inherited from CellexalVR.Menu.Buttons.CellexalButton
virtual void Awake ()
 
virtual void HelpClick ()
 
void Exit ()
 

Protected Attributes

override string Description => ""
 
- Protected Attributes inherited from CellexalVR.Menu.Buttons.SliderButton
bool currentState
 
- Protected Attributes inherited from CellexalVR.Menu.Buttons.CellexalButton
SpriteRenderer spriteRenderer
 
MeshRenderer meshRenderer
 

Additional Inherited Members

- Public Attributes inherited from CellexalVR.Menu.Buttons.SliderButton
Transform rightSide
 
Transform leftSide
 
GameObject slider
 
float slideTime
 
GameObject background
 
bool startState
 
- 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 storedState
 
bool controllerInside = false
 
- Public Attributes inherited from CellexalVR.Interaction.CellexalRaycastable
UnityEvent OnActivate
 
UnityEvent RaycastEnter
 
UnityEvent RaycastExit
 
bool canBePushedAndPulled = true
 
bool active = true
 
- Properties inherited from CellexalVR.Menu.Buttons.SliderButton
bool CurrentState [get, set]
 
- Properties inherited from CellexalVR.Menu.Buttons.CellexalButton
abstract string Description [get]
 A string that briefly explains what this button does. More...
 

Detailed Description

Represents a buttont that toggle all the combined arcs between all networks ina graph skeleton, The combined arcs show the number of arcs that are between two networks.

Member Function Documentation

◆ ActionsAfterSliding()

override void CellexalVR.Menu.Buttons.Networks.ToggleAllCombinedArcsButton.ActionsAfterSliding ( )
protectedvirtual

Actions to be performed once animation is complete.

Implements CellexalVR.Menu.Buttons.SliderButton.

◆ SetCombinedArcsVisible()

void CellexalVR.Menu.Buttons.Networks.ToggleAllCombinedArcsButton.SetCombinedArcsVisible ( bool  visible)

Show or hides all the combined arcs.

Parameters
visibleTrue if the arcs should be shown, false if hidden.

◆ SetNetworks()

void CellexalVR.Menu.Buttons.Networks.ToggleAllCombinedArcsButton.SetNetworks ( NetworkCenter[]  networks)

Sets the networks that this button should deal with.

Parameters
networks

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