CellexalVR  1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
CellexalVR.AnalysisLogic.VelocityGenerator Class Reference
Inheritance diagram for CellexalVR.AnalysisLogic.VelocityGenerator:

Public Member Functions

string[] VelocityFiles ()
 Get the paths to all .mds files that contains velocity information. More...
 
void ReadVelocityFile (string path)
 Reads a velocity file and starts the particle system that visualises the velcoity information. More...
 
void ReadVelocityFile (string path, string subGraphName)
 Reads a velocity file and starts the particle system that visualises the velcoity information for a subgraph. More...
 
void ChangeFrequency (float amount)
 Changes how often the particles should be emitted. Frequencies lower than 1/32 are set to 1/32 and frequencies greater than 32 are set to 32. More...
 
void ChangeSpeed (float amount)
 Change the speed of the emitter arrows by some amount. Speeds lower than 0.5 are set to 0.5 and speeds greater than 32 are set to 32. More...
 
void ChangeThreshold (float amount)
 Multiples the current threshold by some amount. Thresholds lower than 0.001 is set to zero. More...
 
void ChangeParticleSize (float value)
 Changes the size of the animated particles. Useful for larger graphs. More...
 
void ToggleGraphPoints ()
 Toggles the graphpoints in all graphs that are showing velocity information. More...
 
void ChangeConstantSynchedMode ()
 Changes between constant and synched mode. More...
 
void ChangeGraphPointColorMode ()
 Changes between the gradient and graph point color modes. More...
 
void ChangeParticle ()
 Changes the particle between the arrow and the circle. More...
 
void ToggleAverageVelocity ()
 Toggles the average velcoity arrows in all active graphs showing velocity information. More...
 
void ChangeAverageVelocityResolution (int value)
 Increases the current average velocity resolution, negative values will decrease the resolution. Resolution can not go below 1. More...
 

Public Attributes

ReferenceManager referenceManager
 
GameObject particleSystemPrefab
 
Material arrowMaterial
 
Material standardMaterial
 
GameObject averageVelocityArrowPrefab
 
List< Material > averageVelocityMaterials = new List<Material>()
 
bool isCreating = false
 

Properties

List< GraphActiveGraphs [get, set]
 

Member Function Documentation

◆ ChangeAverageVelocityResolution()

void CellexalVR.AnalysisLogic.VelocityGenerator.ChangeAverageVelocityResolution ( int  value)

Increases the current average velocity resolution, negative values will decrease the resolution. Resolution can not go below 1.

Parameters
valueThe value to add to the current resolution.

◆ ChangeConstantSynchedMode()

void CellexalVR.AnalysisLogic.VelocityGenerator.ChangeConstantSynchedMode ( )

Changes between constant and synched mode.

◆ ChangeFrequency()

void CellexalVR.AnalysisLogic.VelocityGenerator.ChangeFrequency ( float  amount)

Changes how often the particles should be emitted. Frequencies lower than 1/32 are set to 1/32 and frequencies greater than 32 are set to 32.

Parameters
amountAmount to multiply the frequency by.

◆ ChangeGraphPointColorMode()

void CellexalVR.AnalysisLogic.VelocityGenerator.ChangeGraphPointColorMode ( )

Changes between the gradient and graph point color modes.

◆ ChangeParticle()

void CellexalVR.AnalysisLogic.VelocityGenerator.ChangeParticle ( )

Changes the particle between the arrow and the circle.

◆ ChangeParticleSize()

void CellexalVR.AnalysisLogic.VelocityGenerator.ChangeParticleSize ( float  value)

Changes the size of the animated particles. Useful for larger graphs.

Parameters
value

◆ ChangeSpeed()

void CellexalVR.AnalysisLogic.VelocityGenerator.ChangeSpeed ( float  amount)

Change the speed of the emitter arrows by some amount. Speeds lower than 0.5 are set to 0.5 and speeds greater than 32 are set to 32.

Parameters
amountThe amount to change the speed by.

◆ ChangeThreshold()

void CellexalVR.AnalysisLogic.VelocityGenerator.ChangeThreshold ( float  amount)

Multiples the current threshold by some amount. Thresholds lower than 0.001 is set to zero.

Parameters
amountHow much to multiply the threshold by.

◆ ReadVelocityFile() [1/2]

void CellexalVR.AnalysisLogic.VelocityGenerator.ReadVelocityFile ( string  path)

Reads a velocity file and starts the particle system that visualises the velcoity information.

Parameters
pathThe path to the .mds file that contains the velocity information.

◆ ReadVelocityFile() [2/2]

void CellexalVR.AnalysisLogic.VelocityGenerator.ReadVelocityFile ( string  path,
string  subGraphName 
)

Reads a velocity file and starts the particle system that visualises the velcoity information for a subgraph.

Parameters
pathThe path to the .mds file that contains the velocity information.
subGraphNameThe name of the subgraph.

◆ ToggleAverageVelocity()

void CellexalVR.AnalysisLogic.VelocityGenerator.ToggleAverageVelocity ( )

Toggles the average velcoity arrows in all active graphs showing velocity information.

◆ ToggleGraphPoints()

void CellexalVR.AnalysisLogic.VelocityGenerator.ToggleGraphPoints ( )

Toggles the graphpoints in all graphs that are showing velocity information.

◆ VelocityFiles()

string [] CellexalVR.AnalysisLogic.VelocityGenerator.VelocityFiles ( )

Get the paths to all .mds files that contains velocity information.

Returns
An array of file paths to .mds files that contain velocity information.

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