CellexalVR
1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
|
Class that represents a hisology image for spatial data. Image coordinates are linked to graph points. More...
Public Member Functions | |
void | Initialize () |
Initialize by setting texture coordinates and linking to graph points. More... | |
void | UpdateColorTexture () |
Similar to how a graph slice updates to its parent points cloud a histology image is seen as a subset of all the data and images loaded. This method makes sure the color of the points are in synch with the color texture map of the entire dataset. More... | |
void | CropToTissue () |
Crops outside parts of texture that does not have tissue on it. More... | |
void | ScaleCoordinates () |
Helper function to scale all point coordinates. More... | |
Vector3 | ScaleCoordinate (Vector3 coord) |
Helper function to scale a coordinate. More... | |
void | AddGraphPoint (int x, int y) |
Add graph point and update the min max coordinates later used for scaling the graph. More... | |
Class that represents a hisology image for spatial data. Image coordinates are linked to graph points.
void CellexalVR.Spatial.HistoImage.AddGraphPoint | ( | int | x, |
int | y | ||
) |
Add graph point and update the min max coordinates later used for scaling the graph.
x | |
y |
void CellexalVR.Spatial.HistoImage.CropToTissue | ( | ) |
Crops outside parts of texture that does not have tissue on it.
void CellexalVR.Spatial.HistoImage.Initialize | ( | ) |
Initialize by setting texture coordinates and linking to graph points.
Vector3 CellexalVR.Spatial.HistoImage.ScaleCoordinate | ( | Vector3 | coord | ) |
Helper function to scale a coordinate.
coord |
void CellexalVR.Spatial.HistoImage.ScaleCoordinates | ( | ) |
Helper function to scale all point coordinates.
void CellexalVR.Spatial.HistoImage.UpdateColorTexture | ( | ) |
Similar to how a graph slice updates to its parent points cloud a histology image is seen as a subset of all the data and images loaded. This method makes sure the color of the points are in synch with the color texture map of the entire dataset.