A graph that contain one or more CombinedCluster that in turn contain one or more CombinedGraphPoint.
More...
|
enum | GraphType { MDS,
FACS,
ATTRIBUTE,
BETWEEN
} |
|
|
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) |
| 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 | SliceClustering (Dictionary< string, Graph.GraphPoint > points=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 | CreateSubGraphs () |
|
void | CreateSubGraphs (List< string > attributes) |
| Creates a subgraph based on some attrbiutes. More...
|
|
void | CreatePointsBetweenGraphs (Cell[] cells, Vector3[] positions) |
|
void | CreateColliders () |
| Adds many boxcolliders to this graph. The idea is that when grabbing graphs we do not want to collide with all the small colliders on the graphpoints, so we put many boxcolliders that cover the graph instead. More...
|
|
|
ReferenceManager | referenceManager |
|
GameObject | graphpointsPrefab |
|
GameObject | graphPrefab |
|
GameObject | AxesPrefabColoured |
|
GameObject | AxesPrefabUncoloured |
|
Material | graphPointMaterialPrefab |
|
GameObject | skeletonPrefab |
|
Mesh | graphpointStandardQStandardSzMesh |
|
Mesh | graphpointStandardQSmallSzMesh |
|
Mesh | graphpointStandardQLargeSzMesh |
|
Mesh | graphpointLowQStandardSzMesh |
|
Mesh | graphpointLowQSmallSzMesh |
|
Mesh | graphpointLowQLargeSzMesh |
|
Mesh | meshToUse |
|
bool | isCreating |
|
bool | addingToExisting |
|
Texture2D | graphPointColors |
|
int | graphCount |
|
|
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 |
|
) |
| |
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. |
◆ CreateColliders()
void CellexalVR.AnalysisObjects.GraphGenerator.CreateColliders |
( |
| ) |
|
Adds many boxcolliders to this graph. The idea is that when grabbing graphs we do not want to collide with all the small colliders on the graphpoints, so we put many boxcolliders that cover the graph instead.
◆ 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. |
◆ SliceClustering()
void CellexalVR.AnalysisObjects.GraphGenerator.SliceClustering |
( |
Dictionary< string, Graph.GraphPoint > |
points = 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.
The documentation for this class was generated from the following file:
- Assets/Scripts/AnalysisObjects/GraphGenerator.cs