A graph that contain one or more CombinedCluster that in turn contain one or more CombinedGraphPoint.
More...
|
enum | GraphType {
MDS,
FACS,
ATTRIBUTE,
BETWEEN,
SPATIAL
} |
|
|
Graph | CreateGraph (GraphType type) |
| Creates a new graph of the given type. More...
|
|
void | CreateShaderColors () |
| Creates the texture that the CombinedGraph shader uses to fetch colors for the graphpoints. More...
|
|
Graph.GraphPoint | AddGraphPoint (Cell cell, float x, float y, float z, Graph graph=null) |
| Adds a graphpoint to this graph. The coordinates should be scaled later with ScaleAllCoordinates. More...
|
|
void | AddAxes (Graph graph, string[] axisNames) |
| Adds arrows representing the axes of the graph. More...
|
|
void | AddLODGroup (Graph combGraph, int i) |
| Helper function to add level of detail group when building graphs. More...
|
|
IEnumerator | SliceClusteringLOD (int lodGroups, Dictionary< string, Graph.GraphPoint > points=null, GraphSlice slice=null) |
| Coroutine. Divides the graph into clusters and creates one mesh for each cluster per LOD group. More...
|
|
List< HashSet< Graph.GraphPoint > > | SliceClustering (Dictionary< string, Graph.GraphPoint > points=null, GraphSlice slice=null) |
| Divides the graph into clusters. The graph starts out as one large cluster and is recursively divided into smaller and smaller clusters until all clusters can be rendered in Unity using a single mesh. More...
|
|
void | UpdateCoords () |
|
void | CreateSubGraphs () |
|
void | CreateMeshFromCommandLine () |
|
void | CreateMesh () |
|
void | CreateSubGraphs (List< string > attributes) |
| Creates a subgraph based on some attrbiutes. More...
|
|
void | UpdateMeshToUse () |
|
IEnumerator | RebuildGraphs () |
| Rebuilding graphs while when mesh has changed such as to another size or quality. The color of the points are kept More...
|
|
void | UpdateLODGroups (Graph graph=null, int nrOfLODGroups=1, GraphSlice slice=null) |
| Updates the LODGroup components list of renderers. More...
|
|
|
static string | V2S (Vector2 v) |
|
static string | V2S (Vector3 v) |
|
static string | V2S (Vector4 v) |
|
|
ReferenceManager | referenceManager |
|
GameObject | graphpointsPrefab |
|
GameObject | graphPrefab |
|
GameObject | spatialSlicePrefab |
|
GameObject | AxesPrefabColoured |
|
GameObject | AxesPrefabUncoloured |
|
Material | graphPointMaterialPrefab |
|
GameObject | skeletonPrefab |
|
Mesh | graphpointStandardQStandardSzMesh |
|
Mesh | graphpointStandardQSmallSzMesh |
|
Mesh | graphpointStandardQLargeSzMesh |
|
Mesh | graphpointLowQStandardSzMesh |
|
Mesh | graphpointLowQSmallSzMesh |
|
Mesh | graphpointLowQLargeSzMesh |
|
Mesh | meshToUse |
|
bool | isCreating |
|
int | nrOfLODGroups = 3 |
|
Color[] | geneExpressionColors |
|
Texture2D | graphPointColors |
|
int | graphCount |
|
Graph | newGraph |
|
|
string | DirectoryName [get, set] |
|
A graph that contain one or more CombinedCluster that in turn contain one or more CombinedGraphPoint.
◆ AddAxes()
void CellexalVR.AnalysisObjects.GraphGenerator.AddAxes |
( |
Graph |
graph, |
|
|
string[] |
axisNames |
|
) |
| |
Adds arrows representing the axes of the graph.
- Parameters
-
graph | The graph to add axes to. |
axisNames | The labels on the axes. |
◆ AddGraphPoint()
Graph.GraphPoint CellexalVR.AnalysisObjects.GraphGenerator.AddGraphPoint |
( |
Cell |
cell, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
Graph |
graph = null |
|
) |
| |
Adds a graphpoint to this graph. The coordinates should be scaled later with ScaleAllCoordinates.
- Parameters
-
label | The graphpoint's (cell's) name. |
x | The x-coordinate. |
y | The y-coordinate. |
z | The z-coordinate. |
◆ AddLODGroup()
void CellexalVR.AnalysisObjects.GraphGenerator.AddLODGroup |
( |
Graph |
combGraph, |
|
|
int |
i |
|
) |
| |
Helper function to add level of detail group when building graphs.
◆ CreateGraph()
Graph CellexalVR.AnalysisObjects.GraphGenerator.CreateGraph |
( |
GraphType |
type | ) |
|
Creates a new graph of the given type.
- Parameters
-
type | The type of graph to create. |
- Returns
- The new graph.
◆ CreateShaderColors()
void CellexalVR.AnalysisObjects.GraphGenerator.CreateShaderColors |
( |
| ) |
|
Creates the texture that the CombinedGraph shader uses to fetch colors for the graphpoints.
◆ CreateSubGraphs()
void CellexalVR.AnalysisObjects.GraphGenerator.CreateSubGraphs |
( |
List< string > |
attributes | ) |
|
Creates a subgraph based on some attrbiutes.
- Parameters
-
attributes | The attributes to include in the subgraph. |
◆ RebuildGraphs()
IEnumerator CellexalVR.AnalysisObjects.GraphGenerator.RebuildGraphs |
( |
| ) |
|
Rebuilding graphs while when mesh has changed such as to another size or quality. The color of the points are kept
- Returns
◆ SliceClustering()
Divides the graph into clusters. The graph starts out as one large cluster and is recursively divided into smaller and smaller clusters until all clusters can be rendered in Unity using a single mesh.
◆ SliceClusteringLOD()
IEnumerator CellexalVR.AnalysisObjects.GraphGenerator.SliceClusteringLOD |
( |
int |
lodGroups, |
|
|
Dictionary< string, Graph.GraphPoint > |
points = null , |
|
|
GraphSlice |
slice = null |
|
) |
| |
Coroutine. Divides the graph into clusters and creates one mesh for each cluster per LOD group.
- Parameters
-
lodGroups | The number of LOD groups to create. |
points | Optional. The points to cluster, or null for all graph points in the currently creating graph. |
◆ UpdateLODGroups()
void CellexalVR.AnalysisObjects.GraphGenerator.UpdateLODGroups |
( |
Graph |
graph = null , |
|
|
int |
nrOfLODGroups = 1 , |
|
|
GraphSlice |
slice = null |
|
) |
| |
Updates the LODGroup components list of renderers.
- Parameters
-
graph | The graph to update LODGroup for. |
nrOfLODGroups | The numnber of LOD groups. |
slice | Use if updating a GraphSlice instead of a Graph. |
The documentation for this class was generated from the following file:
- cellexalvr_cloudxr/Assets/Scripts/AnalysisObjects/GraphGenerator.cs