CellexalVR
1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
|
A tool that draws a series of lines along the average velocities of small sections of a Graph. More...
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 |
A tool that draws a series of lines along the average velocities of small sections of a Graph.
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.
selection | An initial selection of points to start the path at. |
threshold | A threshold of velocites to ignore. |
stepThreshold | A threshold of how far each iteration must at least move the VelocityPathNode between iterations. |
void CellexalVR.AnalysisLogic.VelocityPathTool.ToggleActive | ( | ) |
Toggles the VelocityPathTool on or off.