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

Represents the list of the 10 previous searches of genes. More...

Inheritance diagram for CellexalVR.Interaction.PreviousSearchesList:

Public Member Functions

bool Contains (string name, Definitions.Measurement type, GraphManager.GeneExpressionColoringMethods coloringMethod)
 Checks if the list already contains an entry. More...
 
string AddEntry (string name, Definitions.Measurement type, GraphManager.GeneExpressionColoringMethods coloringMethod)
 Adds an entry to the list of saved searches. New entries are added to the top of the list and all entries below that are not locked are pushed down one step. If the list is full, the bottom most entry will be removed from the list. More...
 
void ClearList ()
 Clears the list. More...
 

Public Attributes

ReferenceManager referenceManager
 
GameObject listNodePrefab
 
Mesh quadPrefab
 
List< GameObject > listNodes = new List<GameObject>()
 
List< PreviousSearchesLocksearchLocks = new List<PreviousSearchesLock>()
 
List< CorrelatedGenesPanelcorrelatedGenesButtons = new List<CorrelatedGenesPanel>()
 
List< ClickableTextPanelpreviousSearchesListNodes = new List<ClickableTextPanel>()
 

Detailed Description

Represents the list of the 10 previous searches of genes.

Member Function Documentation

◆ AddEntry()

string CellexalVR.Interaction.PreviousSearchesList.AddEntry ( string  name,
Definitions.Measurement  type,
GraphManager.GeneExpressionColoringMethods  coloringMethod 
)

Adds an entry to the list of saved searches. New entries are added to the top of the list and all entries below that are not locked are pushed down one step. If the list is full, the bottom most entry will be removed from the list.

Parameters
nameThe name of the thing we are adding to the list.
typeThe type of the thing.
coloringMethodThe method of coloring that used.
Returns

◆ ClearList()

void CellexalVR.Interaction.PreviousSearchesList.ClearList ( )

Clears the list.

◆ Contains()

bool CellexalVR.Interaction.PreviousSearchesList.Contains ( string  name,
Definitions.Measurement  type,
GraphManager.GeneExpressionColoringMethods  coloringMethod 
)

Checks if the list already contains an entry.

Parameters
nameTHe name of the thing in the entry.
typeThe type of the entry.
coloringMethodThe coloring method that was used.
Returns
True if an entry of this kind was already in the list, false otherwise.

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