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

A tool that draws a series of lines along the average velocities of small sections of a Graph. More...

Inheritance diagram for CellexalVR.AnalysisLogic.VelocityPathTool:

Public Member Functions

void ToggleActive ()
 Toggles the VelocityPathTool on or off. More...
 
IEnumerator CalculatePath (List< Graph.GraphPoint > selection, float threshold=0.002f, float stepThreshold=0.000005f)
 Coroutine that tracks velocities along their average vector in an attempt to create a path along them. More...
 

Public Attributes

ReferenceManager referenceManager
 
LineRenderer linePrefab
 
Material materialPrefab
 
int maxPathLength = 20
 
new GameObject collider
 

Detailed Description

A tool that draws a series of lines along the average velocities of small sections of a Graph.

Member Function Documentation

◆ CalculatePath()

IEnumerator CellexalVR.AnalysisLogic.VelocityPathTool.CalculatePath ( List< Graph.GraphPoint selection,
float  threshold = 0.002f,
float  stepThreshold = 0.000005f 
)

Coroutine that tracks velocities along their average vector in an attempt to create a path along them.

Parameters
selectionAn initial selection of points to start the path at.
thresholdA threshold of velocites to ignore.
stepThresholdA threshold of how far each iteration must at least move the VelocityPathNode between iterations.

◆ ToggleActive()

void CellexalVR.AnalysisLogic.VelocityPathTool.ToggleActive ( )

Toggles the VelocityPathTool on or off.


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