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

Represents a clickable text panel with some preset values. The preset values are set in the Unity Inspector. More...

Inheritance diagram for CellexalVR.Interaction.PresetClickableTextPanel:
CellexalVR.Interaction.ClickablePanel CellexalVR.Interaction.CellexalRaycastable

Public Types

enum  Operation { COLOR_BY, RESET_COLORS, SELECTION, HEATMAP }
 

Public Member Functions

override void Click ()
 Called when the user points the controller towards this panel and presses the trigger. 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

DemoManager demoManager
 
Operation operation
 
Definitions.Measurement type
 
string nameOfThing
 
Material normalMaterial
 
Material highlightedMaterial
 
Material pressedMaterial
 
Vector4 scaleCorrection
 
- 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 ()
 

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
 
- Properties inherited from CellexalVR.Interaction.ClickablePanel
Vector2 CenterUV [get, set]
 

Detailed Description

Represents a clickable text panel with some preset values. The preset values are set in the Unity Inspector.

Member Function Documentation

◆ Click()

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

Called when the user points the controller towards this panel and presses the trigger.

Reimplemented from CellexalVR.Interaction.ClickablePanel.


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