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

The result block of the filter creator in VR. All blocks must connect through and/or/not/xor blocks and end up in one connection ton this block. Has one input. More...

Inheritance diagram for CellexalVR.Filters.FilterCreatorResultBlock:
CellexalVR.Filters.FilterCreatorBlock

Public Types

enum  LoadingTextState {
  LOADING, FINISHED, INVALID_FILTER, OFF,
  FILTER_SAVED
}
 

Public Member Functions

override bool IsValid ()
 Checks if this block has only valid children More...
 
override string ToString ()
 Returns a string representation of this block and all its children. If IsValid is true then this string is a valid filter. More...
 
Filter ToFilter ()
 Turns this block and all child blocks into the corresponding filter, which can be used by the SelectionManager. More...
 
override BooleanExpression.Expr ToExpr ()
 Converts this block and all child blocks to a BooleanExpression.Expr that can be used in a Filter. More...
 
void SetLoadingTextState (LoadingTextState state)
 Sets the loading text on the block according to a state. More...
 
override void SetCollidersActivated (bool activate)
 Activates or deactivates all colliders except the one used for grabbing the block. More...
 
- Public Member Functions inherited from CellexalVR.Filters.FilterCreatorBlock
string ValidateValueString (string s)
 
virtual void UnhighlightAllPorts ()
 Unhighlights all ports on this block. More...
 

Public Attributes

GameObject block
 
FilterCreatorBlockPort input
 
TMPro.TextMeshPro loadingText
 
Color loadingTextFilterColor
 
Color loadingTextDoneColor
 
Color loadingTextInvalidColor
 
- Public Attributes inherited from CellexalVR.Filters.FilterCreatorBlock
ReferenceManager referenceManager
 
FilterManager filterManager
 
bool isPrefab = true
 

Additional Inherited Members

- Protected Member Functions inherited from CellexalVR.Filters.FilterCreatorBlock
virtual void Start ()
 
- Protected Attributes inherited from CellexalVR.Filters.FilterCreatorBlock
List< FilterCreatorBlockPortports
 
GameObject filterBlockBoard
 
- Properties inherited from CellexalVR.Filters.FilterCreatorBlock
virtual FilterCreatorBlockHighlighter HighlightedSection [get, set]
 

Detailed Description

The result block of the filter creator in VR. All blocks must connect through and/or/not/xor blocks and end up in one connection ton this block. Has one input.

Member Function Documentation

◆ IsValid()

override bool CellexalVR.Filters.FilterCreatorResultBlock.IsValid ( )
virtual

Checks if this block has only valid children

Implements CellexalVR.Filters.FilterCreatorBlock.

◆ SetCollidersActivated()

override void CellexalVR.Filters.FilterCreatorResultBlock.SetCollidersActivated ( bool  activate)
virtual

Activates or deactivates all colliders except the one used for grabbing the block.

Implements CellexalVR.Filters.FilterCreatorBlock.

◆ SetLoadingTextState()

void CellexalVR.Filters.FilterCreatorResultBlock.SetLoadingTextState ( LoadingTextState  state)

Sets the loading text on the block according to a state.

Parameters
stateThe state that we are in.

◆ ToExpr()

override BooleanExpression.Expr CellexalVR.Filters.FilterCreatorResultBlock.ToExpr ( )
virtual

Converts this block and all child blocks to a BooleanExpression.Expr that can be used in a Filter.

Implements CellexalVR.Filters.FilterCreatorBlock.

◆ ToFilter()

Filter CellexalVR.Filters.FilterCreatorResultBlock.ToFilter ( )

Turns this block and all child blocks into the corresponding filter, which can be used by the SelectionManager.

Returns
The Filter that this configuration of blocks represents. Or null if it is not a valid filter (see IsValid).

◆ ToString()

override string CellexalVR.Filters.FilterCreatorResultBlock.ToString ( )
virtual

Returns a string representation of this block and all its children. If IsValid is true then this string is a valid filter.

Implements CellexalVR.Filters.FilterCreatorBlock.


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