CellexalVR
1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
|
This class represents the sub menu that pops up when the ToggleArcsButton is pressed. More...
Public Member Functions | |
void | NetworkArcsButtonClicked (ToggleArcsButton clickedButton) |
When one network button is clicked a line is spawned to be connected to another. Once a second network button is clicked the two are connected and a line is spawned between them. More... | |
void | NetworkArcsButtonClickedMultiUser (string buttonName) |
void | DisableNetworkArcsButtonClicked () |
A network button that removes all connections from the previously clicked network. More... | |
void | ToggleAllArcs (bool toggle) |
Connects/Disconnects all networks. Combined arcs can not be active at the same time so they are disabled. More... | |
void | CreateToggleArcsButtons (NetworkCenter[] networks) |
Creates new buttons for toggling arcs. More... | |
void | RefreshTabs () |
Removes all tab buttons and creates new ones from the list of network handlers active in the scene. More... | |
new ToggleArcsButton | FindButton (string buttonName) |
Public Member Functions inherited from CellexalVR.Menu.SubMenus.MenuWithTabs | |
virtual void | CreateButtons (string[] categoriesAndNames) |
Creates a number of tabs with buttons from a list of strings. More... | |
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 | |
void | SetUnderlyingContentActive (bool active) |
Activate or deactivate the buttons that are underneath this menu. More... | |
Public Attributes | |
GameObject | buttonPrefab |
GameObject | wirePrefab |
RemoveNetworkArcsButton | removeNetworkArcsButton |
List< ToggleArcsButton > | toggleArcButtonList = new List<ToggleArcsButton>() |
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 | |
override void | Start () |
Additional Inherited Members | |
Protected Attributes inherited from CellexalVR.Menu.SubMenus.MenuWithTabs | |
MenuToggler | menuToggler |
List< Tab > | tabs = 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< CellexalButton > | cellexalButtons = new List<CellexalButton>() |
Properties inherited from CellexalVR.Menu.SubMenus.SubMenu | |
bool | Active [get, set] |
bool | Attached [get, set] |
This class represents the sub menu that pops up when the ToggleArcsButton is pressed.
void CellexalVR.Menu.SubMenus.ToggleArcsSubMenu.CreateToggleArcsButtons | ( | NetworkCenter[] | networks | ) |
Creates new buttons for toggling arcs.
networks | An array containing the networks. |
void CellexalVR.Menu.SubMenus.ToggleArcsSubMenu.DisableNetworkArcsButtonClicked | ( | ) |
A network button that removes all connections from the previously clicked network.
void CellexalVR.Menu.SubMenus.ToggleArcsSubMenu.NetworkArcsButtonClicked | ( | ToggleArcsButton | clickedButton | ) |
When one network button is clicked a line is spawned to be connected to another. Once a second network button is clicked the two are connected and a line is spawned between them.
clickedButton |
void CellexalVR.Menu.SubMenus.ToggleArcsSubMenu.RefreshTabs | ( | ) |
Removes all tab buttons and creates new ones from the list of network handlers active in the scene.
void CellexalVR.Menu.SubMenus.ToggleArcsSubMenu.ToggleAllArcs | ( | bool | toggle | ) |
Connects/Disconnects all networks. Combined arcs can not be active at the same time so they are disabled.
toggle |