This class handles the coloring of the color texture maps of point clouds in the scene. Each point cloud has a reference to a color map where each pixel in the texture is linked to a point. This is handled via the visual effects graph.
More...
|
void | AddPointsToSelection (List< Vector2Int > indGroupTuple, bool select=false) |
| Adds a point to the selection. Updates the corresponding pixel in the texture and adds the points label to a dictionairy for later reference. More...
|
|
void | ColorCluster (string cluster, bool toggle) |
| Color a cluster by updating the color texture map. More...
|
|
void | MakeAllPointsTransparent (bool toggle) |
| By updating the alpha texture map it toggles the transparency of the points of all point clouds in the scene. More...
|
|
void | ColorAllClusters (bool toggle) |
| Colors the points clouds by cluster information. More...
|
|
void | ColorByExpression (ArrayList expressions) |
| Color by gene (or other numerical value). More...
|
|
void | ResetTexture () |
| Reset to standard color map texture which sets all the points to white. More...
|
|
|
Dictionary< int, int > | sps |
|
List< Texture2D > | colorTextureMaps = new List<Texture2D>() |
|
List< Texture2D > | mainColorTextureMaps = new List<Texture2D>() |
|
List< Texture2D > | alphaTextureMaps = new List<Texture2D>() |
|
List< Texture2D > | clusterTextureMaps = new List<Texture2D>() |
|
Dictionary< string, Vector2Int > | textureCoordDict = new Dictionary<string, Vector2Int>() |
|
|
override void | OnCreate () |
|
override void | OnUpdate () |
|
This class handles the coloring of the color texture maps of point clouds in the scene. Each point cloud has a reference to a color map where each pixel in the texture is linked to a point. This is handled via the visual effects graph.
◆ AddPointsToSelection()
void CellexalVR.AnalysisLogic.TextureHandler.AddPointsToSelection |
( |
List< Vector2Int > |
indGroupTuple, |
|
|
bool |
select = false |
|
) |
| |
Adds a point to the selection. Updates the corresponding pixel in the texture and adds the points label to a dictionairy for later reference.
- Parameters
-
◆ ColorAllClusters()
void CellexalVR.AnalysisLogic.TextureHandler.ColorAllClusters |
( |
bool |
toggle | ) |
|
Colors the points clouds by cluster information.
- Parameters
-
◆ ColorByExpression()
void CellexalVR.AnalysisLogic.TextureHandler.ColorByExpression |
( |
ArrayList |
expressions | ) |
|
Color by gene (or other numerical value).
- Parameters
-
◆ ColorCluster()
void CellexalVR.AnalysisLogic.TextureHandler.ColorCluster |
( |
string |
cluster, |
|
|
bool |
toggle |
|
) |
| |
Color a cluster by updating the color texture map.
- Parameters
-
◆ MakeAllPointsTransparent()
void CellexalVR.AnalysisLogic.TextureHandler.MakeAllPointsTransparent |
( |
bool |
toggle | ) |
|
By updating the alpha texture map it toggles the transparency of the points of all point clouds in the scene.
- Parameters
-
◆ ResetTexture()
void CellexalVR.AnalysisLogic.TextureHandler.ResetTexture |
( |
| ) |
|
Reset to standard color map texture which sets all the points to white.
The documentation for this class was generated from the following file:
- cellexalvr_cloudxr/Assets/Scripts/AnalysisLogic/TextureHandler.cs