CellexalVR  1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
CellexalVR.Filters.FilterManager Class Reference

Manages our current filter and the filter creator. More...

Inheritance diagram for CellexalVR.Filters.FilterManager:

Public Member Functions

void LoadFilter (string path)
 Loads a filter from a path. More...
 
void SaveFilter ()
 Saves the current filter as a text file. More...
 
void ActivateCullingFilter ()
 Changes the filter temporarily so it does not add points to selection but instead makes them clippable in the shader. More...
 
void AddCellToEval (Graph.GraphPoint graphPoint, int group)
 Adds a cell to evaluate later with the current filter. More...
 
void AddCellsToEval (IEnumerable< Graph.GraphPoint > points, int group)
 Adds multiple cells to evaluate later with the current filter. More...
 
void PortClicked (FilterCreatorBlockPort clickedPort)
 Tells the filter manager that a port was clicked. Handles the preview wire. More...
 
void ParseFilter (string filter)
 Parses a string and turns it into a filter. More...
 
void UpdateFilterFromFilterCreator ()
 Updates the current filter based on the blocks in the filter creator. More...
 
void UpdateFilterFromFilterButton (Filter filter)
 Updates the filter based on a filter stored with a button. More...
 
void ResetFilter ()
 

Public Attributes

ReferenceManager referenceManager
 
GameObject wirePrefab
 
FilterCreatorResultBlock resultBlock
 
TextMeshPro filterPreviewText
 
Filter currentFilter
 

Properties

Dictionary< Tuple< string, string >, float > GeneExprs [get, set]
 

Detailed Description

Manages our current filter and the filter creator.

Member Function Documentation

◆ ActivateCullingFilter()

void CellexalVR.Filters.FilterManager.ActivateCullingFilter ( )

Changes the filter temporarily so it does not add points to selection but instead makes them clippable in the shader.

◆ AddCellsToEval()

void CellexalVR.Filters.FilterManager.AddCellsToEval ( IEnumerable< Graph.GraphPoint points,
int  group 
)

Adds multiple cells to evaluate later with the current filter.

Parameters
pointsThe points to evaluate later.
groupThe group to give the points if they pass the filter.

◆ AddCellToEval()

void CellexalVR.Filters.FilterManager.AddCellToEval ( Graph.GraphPoint  graphPoint,
int  group 
)

Adds a cell to evaluate later with the current filter.

Parameters
graphPointThe graphpoint representing the cell.
groupThe group to give the cell if it passes the filter.

◆ LoadFilter()

void CellexalVR.Filters.FilterManager.LoadFilter ( string  path)

Loads a filter from a path.

Parameters
pathA path to the file containing the filter.

◆ ParseFilter()

void CellexalVR.Filters.FilterManager.ParseFilter ( string  filter)

Parses a string and turns it into a filter.

Parameters
filterThe string to parse.

◆ PortClicked()

void CellexalVR.Filters.FilterManager.PortClicked ( FilterCreatorBlockPort  clickedPort)

Tells the filter manager that a port was clicked. Handles the preview wire.

Parameters
clickedPortThe clicked port.

◆ SaveFilter()

void CellexalVR.Filters.FilterManager.SaveFilter ( )

Saves the current filter as a text file.

◆ UpdateFilterFromFilterButton()

void CellexalVR.Filters.FilterManager.UpdateFilterFromFilterButton ( Filter  filter)

Updates the filter based on a filter stored with a button.

Parameters
filterThe filter stored in the button.

◆ UpdateFilterFromFilterCreator()

void CellexalVR.Filters.FilterManager.UpdateFilterFromFilterCreator ( )

Updates the current filter based on the blocks in the filter creator.


The documentation for this class was generated from the following file: