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

Represents the sub menu that pops up when the ColorByIndexButton is pressed. More...

Inheritance diagram for CellexalVR.Menu.SubMenus.ColorByIndexMenu:
CellexalVR.Menu.SubMenus.MenuWithTabs CellexalVR.Menu.SubMenus.SubMenu

Public Member Functions

override void CreateButtons (string[] names)
 Create the buttons that represent the different indices. More...
 
- Public Member Functions inherited from CellexalVR.Menu.SubMenus.MenuWithTabs
virtual T AddTab< T > (T tabPrefab)
 Adds a tab to this menu. More...
 
virtual void DestroyTab (string networkName)
 Destroys one tab. More...
 
virtual void DestroyTabs ()
 Destroys all tabs. More...
 
override void SetMenuActive (bool active)
 Sets this submenu to visible or invisible. More...
 
virtual void ResetTabButtonPosition ()
 Reset the position of where the next tab button should be created. More...
 
void TurnOffAllTabs ()
 Turns off all tabs. More...
 
void ChangePage (int dir)
 Changes the current tab some number of tabs in a gived direction. More...
 
- Public Member Functions inherited from CellexalVR.Menu.SubMenus.SubMenu
virtual CellexalButton FindButton (string name)
 
void SetUnderlyingContentActive (bool active)
 Activate or deactivate the buttons that are underneath this menu. More...
 

Protected Attributes

Color[] colors = new Color[0]
 
- Protected Attributes inherited from CellexalVR.Menu.SubMenus.MenuWithTabs
MenuToggler menuToggler
 
List< Tabtabs = new List<Tab>()
 
Vector3 tabButtonPos = new Vector3(-0.309f, 1f, 0.325f)
 
Vector3 tabButtonPosOriginal = new Vector3(-0.309f, 1f, 0.325f)
 
Vector3 tabButtonPosInc = new Vector3(0.2f, 0, 0)
 
int buttonsPerTab = 20
 
string[] names
 
string[] categories
 
string[] orderedNames
 
Dictionary< string, List< string > > categoriesAndNamesDict
 
Dictionary< string, List< string > > orderedNamesCategoriesAndNamesDict
 
- Protected Attributes inherited from CellexalVR.Menu.SubMenus.SubMenu
List< CellexalButtoncellexalButtons = new List<CellexalButton>()
 

Properties

Color[] Colors [get]
 
- Properties inherited from CellexalVR.Menu.SubMenus.SubMenu
bool Active [get, set]
 
bool Attached [get, set]
 

Additional Inherited Members

- Public Attributes inherited from CellexalVR.Menu.SubMenus.MenuWithTabs
Tab tabPrefab
 
GameObject nextPageButton
 
GameObject prevPageButton
 
TextMeshPro pageNrText
 
string[] categoriesAndNames
 
string currentCategory
 
CellexalButton prefab
 
- Public Attributes inherited from CellexalVR.Menu.SubMenus.SubMenu
ReferenceManager referenceManager
 
GameObject buttonsToDeactivate
 
GameObject textmeshToDarken
 
- Protected Member Functions inherited from CellexalVR.Menu.SubMenus.MenuWithTabs
override void Start ()
 

Detailed Description

Represents the sub menu that pops up when the ColorByIndexButton is pressed.

Member Function Documentation

◆ CreateButtons()

override void CellexalVR.Menu.SubMenus.ColorByIndexMenu.CreateButtons ( string[]  names)
virtual

Create the buttons that represent the different indices.

Parameters
namesThe name if the facs measurements.

Reimplemented from CellexalVR.Menu.SubMenus.MenuWithTabs.


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