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

A clickable panel that contains some text, typically a gene name. More...

Inheritance diagram for CellexalVR.Interaction.ClickableTextPanel:
CellexalVR.Interaction.ClickablePanel CellexalVR.Interaction.CellexalRaycastable CellexalVR.AnalysisObjects.CorrelatedGenesListNode CellexalVR.Interaction.PreviousSearchesListNode

Public Member Functions

virtual void SetText (string entryName, Definitions.Measurement type)
 Sets the text of this panel. More...
 
override void Click ()
 Click this panel. This will color the graphs according to what is on the panel. More...
 
- Public Member Functions inherited from CellexalVR.Interaction.ClickablePanel
virtual void SetMaterials (Material keyNormalMaterial, Material keyHighlightMaterial, Material keyPressedMaterial, Vector4 scaleCorrection)
 Sets this panel's materials. More...
 
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...
 
override void OnRaycastHit (RaycastHit hitInfo, CellexalRaycast raycaster)
 Called by CellexalRaycast.Update every frame that a raycast hit this target. More...
 
virtual void SetHighlighted (bool highlight)
 Sets this panel to highlighted or not highlighted. More...
 
virtual void SetPressed (bool pressed)
 Sets this panel to pressed or not pressed. More...
 

Public Attributes

TextMeshPro textMesh
 
- Public Attributes inherited from CellexalVR.Interaction.ClickablePanel
ReferenceManager referenceManager
 
KeyboardHandler handler
 
- Public Attributes inherited from CellexalVR.Interaction.CellexalRaycastable
UnityEvent OnActivate
 
UnityEvent RaycastEnter
 
UnityEvent RaycastExit
 
bool canBePushedAndPulled = true
 
bool active = true
 

Protected Member Functions

override void Start ()
 
- Protected Member Functions inherited from CellexalVR.Interaction.ClickablePanel
virtual void OnEnable ()
 
virtual void OnDisable ()
 

Properties

string Text [get, protected set]
 The entire string of text that is displayed on the panel. More...
 
Definitions.Measurement Type [get, protected set]
 The type of the thing whose name is displayed. More...
 
string NameOfThing = "" [get, protected set]
 The name of the thing that is displayed. More...
 
GraphManager.GeneExpressionColoringMethods ColoringMethod [get, set]
 The method of coloring that is used to color this thing. More...
 
- Properties inherited from CellexalVR.Interaction.ClickablePanel
Vector2 CenterUV [get, set]
 

Additional Inherited Members

- Protected Attributes inherited from CellexalVR.Interaction.ClickablePanel
new Renderer renderer
 
Material keyNormalMaterial
 
Material keyHighlightMaterial
 
Material keyPressedMaterial
 
- Static Protected Attributes inherited from CellexalVR.Interaction.ClickablePanel
static Vector4 PulseAndLaserCoords
 

Detailed Description

A clickable panel that contains some text, typically a gene name.

Member Function Documentation

◆ Click()

override void CellexalVR.Interaction.ClickableTextPanel.Click ( )
virtual

Click this panel. This will color the graphs according to what is on the panel.

Reimplemented from CellexalVR.Interaction.ClickablePanel.

◆ SetText()

virtual void CellexalVR.Interaction.ClickableTextPanel.SetText ( string  entryName,
Definitions.Measurement  type 
)
virtual

Sets the text of this panel.

Parameters
nameThe new text that should be displayed.
typeThe type (gene, attribute or facs) of the text.

Reimplemented in CellexalVR.Interaction.PreviousSearchesListNode.

Property Documentation

◆ ColoringMethod

GraphManager.GeneExpressionColoringMethods CellexalVR.Interaction.ClickableTextPanel.ColoringMethod
getset

The method of coloring that is used to color this thing.

◆ NameOfThing

string CellexalVR.Interaction.ClickableTextPanel.NameOfThing = ""
getprotected set

The name of the thing that is displayed.

◆ Text

string CellexalVR.Interaction.ClickableTextPanel.Text
getprotected set

The entire string of text that is displayed on the panel.

◆ Type

Definitions.Measurement CellexalVR.Interaction.ClickableTextPanel.Type
getprotected set

The type of the thing whose name is displayed.


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