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

Public Member Functions

void Play ()
 Starts the velocity particle system. More...
 
void Stop ()
 Stops the velocity particle system. More...
 
void SetColors ()
 Sets the colors according to the CellexalConfig.Config. More...
 
void CalculateAverageVelocities ()
 Calculates the average velocities based on the currently loaded velocity information. More...
 

Public Attributes

ReferenceManager referenceManager
 
Graph graph
 
int itemsPerFrame = 1000
 
Material arrowParticleMaterial
 
Material circleParticleMaterial
 
GameObject averageVelocityArrowPrefab
 
new ParticleSystem particleSystem
 
List< Tuple< Vector3, Vector3, float, Color > > AverageVelocities = new List<Tuple<Vector3, Vector3, float, Color>>()
 

Properties

float ArrowEmitRate [get, set]
 
float Threshold [get, set]
 
float Speed [get, set]
 
float ParticleSize [get, set]
 
Dictionary< Graph.GraphPoint, Vector3 > Velocities [get, set]
 The velocities that should be visualised. Using this property's getter may take a long time because the VelocityParticleEmitter does not keep the velocities saved as a Dictionary<Graph.GraphPoint, Vector3>, so it has to be reconstructed each time. More...
 
bool ConstantEmitOverTime [get, set]
 
bool UseGraphPointColors [get, set]
 
bool UseArrowParticle [get, set]
 
int AverageVelocitesResolution [get, set]
 
bool EmitAverageVelocities [get, set]
 

Member Function Documentation

◆ CalculateAverageVelocities()

void CellexalVR.AnalysisObjects.VelocityParticleEmitter.CalculateAverageVelocities ( )

Calculates the average velocities based on the currently loaded velocity information.

◆ Play()

void CellexalVR.AnalysisObjects.VelocityParticleEmitter.Play ( )

Starts the velocity particle system.

◆ SetColors()

void CellexalVR.AnalysisObjects.VelocityParticleEmitter.SetColors ( )

Sets the colors according to the CellexalConfig.Config.

◆ Stop()

void CellexalVR.AnalysisObjects.VelocityParticleEmitter.Stop ( )

Stops the velocity particle system.

Property Documentation

◆ Velocities

Dictionary<Graph.GraphPoint, Vector3> CellexalVR.AnalysisObjects.VelocityParticleEmitter.Velocities
getset

The velocities that should be visualised. Using this property's getter may take a long time because the VelocityParticleEmitter does not keep the velocities saved as a Dictionary<Graph.GraphPoint, Vector3>, so it has to be reconstructed each time.


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