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

This class is responsible for passing commands that are about to be sent to a connected client. It also spawns the players and objects handling the client-server coordination. More...

Inheritance diagram for CellexalVR.Multiuser.MultiuserMessageSender:

Public Member Functions

IEnumerator Init ()
 
void SendMessageReadFolder (string path)
 
void SendMessageReadH5Config (string path, Dictionary< string, string > h5config)
 
void SendMessageSynchConfig (byte[] data)
 
void SendMessageLoadingMenu (bool delete)
 
void SendMessageEnableColliders (string n)
 
void SendMessageDisableColliders (string n)
 
void SendMessageToggleLaser (bool active)
 
void SendMessageMoveLaser (Transform origin, Vector3 hit)
 
void SendMessageUpdateSliderValue (SliderController.sliderType type, float value)
 
void SendMessageShowPDFPages ()
 
void SendMessageToggleLegend ()
 
void SendMessageMoveLegend (Vector3 pos, Quaternion rot, Vector3 scale)
 
void SendMessageLegendUngrabbed (Vector3 pos, Quaternion rot, Vector3 vel, Vector3 angVel)
 
void SendMessageChangeLegend (string legendName)
 
void SendMessageAttributeLegendChangePage (bool dir)
 
void SendMessageSelectionLegendChangePage (bool dir)
 
void SendMessageChangeTab (int index)
 
void SendMessageDeactivateSelectedArea ()
 
void SendMessageMoveSelectedArea (int hitIndex, int savedGeneExpressionHistogramHitX)
 
void SendMessageMoveHighlightArea (int minX, int maxX)
 
void SendMessageSwitchMode (string mode)
 
void SendMessageChangeThreshold (int increment)
 
void SendMessageColorGraphsByGene (string geneName)
 
void SendMessageColoringMethodChanged (int newMode)
 
void SendMessageColorByAttribute (string attributeType, bool colored, int colIndex)
 
void SendMessageColorByAttributePointCloud (string attributeType, bool colored)
 
void SendMessageToggleAllAttributesPointCloud (bool colored)
 
void SendMessageColorByIndex (string indexName)
 
void SendMessageRecolorSelectionPoints ()
 
void SendMessageToggleTransparency (bool toggle)
 
void SendMessageGenerateRandomColors (int n)
 
void SendMessageGenerateRainbowColors (int n)
 
void SendMessageHighlightCells (int group, bool highlight)
 
void SendMessageActivateKeyboard (bool activate)
 
void SendMessageKeyClicked (string value)
 
void SendMessageBackspaceKeyClicked ()
 
void SendMessageClearKeyClicked ()
 
void SendMessageSearchLockToggled (int index)
 
void SendMessageAddAnnotation (string annotation, int index, string gpLabel)
 
void SendMessageExportAnnotations ()
 
void SendMessageClearExpressionColours ()
 
void SendMessageCalculateCorrelatedGenes (string geneName)
 
void SendMessageHandleHistoryPanelClick (string panelName)
 
void SendMessageConfirmSelection ()
 
void SendMessageSelectedAdd (string graphName, string label, int newGroup, Color color)
 
void SendMessageSelectedAddMany (string graphName, string[] labels, int newGroup, Color color)
 
void SendMessageSelectedRemove (string graphName, string label)
 
void SendMessageSelectedRemoveMany (string graphName, string[] labels)
 
void SendMessageSelectedAddPointCloud (int[] indices, int[] groups)
 
void SendMessageCubeColoured (string graphName, string label, int newGroup, Color color)
 
void SendMessageGoBackOneColor ()
 
void SendMessageGoBackSteps (int k)
 
void SendMessageCancelSelection ()
 
void SendMessageRedoOneColor ()
 
void SendMessageRedoSteps (int k)
 
void SendMessageRemoveCells ()
 
void SendMessageToggleAnnotationFile (string path, bool toggle)
 
void SendMessageDrawLine (float r, float g, float b, float[] xcoords, float[] ycoords, float[] zcoords)
 
void SendMessageClearAllLines ()
 
void SendMessageClearLastLine ()
 
void SendMessageClearAllLinesWithColor (Color color)
 
void SendMessageMoveGraph (string moveGraphName, Vector3 pos, Quaternion rot, Vector3 scale)
 
void SendMessageGraphUngrabbed (string moveGraphName, Vector3 pos, Quaternion rot, Vector3 vel, Vector3 angVel)
 
void SendMessageToggleGrabbable (string name, bool b)
 
void SendMessageResetGraphColor ()
 
void SendMessageResetGraphPosition ()
 
void SendMessageDrawLinesBetweenGps (bool toggle=false)
 
void SendMessageBundleAllLines ()
 
void SendMessageClearLinesBetweenGps ()
 
void SendMessageAddMarker (string indexName)
 
void SendMessageCreateMarkerGraph ()
 
void SendMessageCreateAttributeGraph ()
 
void SendMessageActivateSlices ()
 
void SendMessageSpatialGraphGrabbed (string sliceName, string graphName)
 
void SendMessageSpatialGraphUnGrabbed (string sliceName, string graphName)
 
void SendMessageHighlightCluster (bool highlight, string graphName, int id)
 
void SendMessageToggleBundle (string graphName, int id)
 
void SendMessageToggleAxes ()
 
void SendMessageToggleInfoPanels ()
 
void SendMessageSpreadPoints (int pcID, bool spread)
 
void SendMessageMoveHeatmap (string moveHeatmapName, Vector3 pos, Quaternion rot, Vector3 scale)
 
void SendMessageCreateHeatmap (string hmName)
 
void SendMessageHandleBoxSelection (string heatmapName, int hitx, int hity, int selectionStartX, int selectionStartY)
 
void SendMessageConfirmSelection (string heatmapName, int hitx, int hity, int selectionStartX, int selectionStartY)
 
void SendMessageHandleMovingSelection (string heatmapName, int hitx, int hity)
 
void SendMessageMoveSelection (string heatmapName, int hitx, int hity, int selectedGroupLeft, int selectedGroupRight, int selectedGeneTop, int selectedGeneBottom)
 
void SendMessageHandleHitHeatmap (string heatmapName, int hitx, int hity)
 
void SendMessageResetHeatmapHighlight (string heatmapName)
 
void SendMessageResetSelecting (string heatmapName)
 
void SendMessageHandlePressDown (string heatmapName, int hitx, int hity)
 
void SendMessageCreateNewHeatmapFromSelection (string heatmapName, int selectedGroupLeft, int selectedGroupRight, int selectedGeneTop, int selectedGeneBottom, float selectedBoxWidth, float selectedBoxHeight)
 
void SendMessageReorderByAttribute (string heatmapName, bool order)
 
void SendMessageHandleHitGenesList (string heatmapName, int hity)
 
void SendMessageHandleHitGroupingBar (string heatmapName, int hitx)
 
void SendMessageHandleHitAttributeBar (string heatmapName, int hitx)
 
void SendMessageResetInfoTexts (string heatmapName)
 
void SendMessageCumulativeRecolorFromSelection (string heatmapName, int groupLeft, int groupRight, int selectedTop, int selectedBottom)
 
void SendMessageGenerateNetworks (int layoutSeed)
 
void SendMessageMoveNetwork (string moveNetworkName, Vector3 pos, Quaternion rot, Vector3 scale)
 
void SendMessageNetworkUngrabbed (string networkName, Vector3 pos, Quaternion rot, Vector3 vel, Vector3 angVel)
 
void SendMessageEnlargeNetwork (string networkHandlerName, string networkName)
 
void SendMessageBringBackNetwork (string networkHandlerName, string networkName)
 
void SendMessageSwitchNetworkLayout (int layout, string networkName, string networkHandlerName)
 
void SendMessageMoveNetworkCenter (string networkHandlerName, string networkCenterName, Vector3 pos, Quaternion rot, Vector3 scale)
 
void SendMessageNetworkCenterUngrabbed (string networkHandlerName, string networkCenterName, Vector3 pos, Quaternion rot, Vector3 vel, Vector3 angVel)
 
void SendMessageHighlightNetworkNode (string handlerName, string centerName, string geneName)
 
void SendMessageUnhighlightNetworkNode (string handlerName, string centerName, string geneName)
 
void SendMessageSetCombinedArcsVisible (bool toggleToState, string networkName)
 
void SendMessageToggleAllArcs (bool toggleToState)
 
void SendMessageNetworkArcButtonClicked (string buttonName)
 
void SendMessageMinimizeGraph (string graphName)
 
void SendMessageShowGraph (string graphName, string jailName)
 
void SendMessageMinimizeNetwork (string networkName)
 
void SendMessageMinimizeHeatmap (string heatmapName)
 
void SendMessageShowNetwork (string networkName, string jailName)
 
void SendMessageShowHeatmap (string heatmapName, string jailName)
 
void SendMessageDeleteObject (string objName, string objTag)
 
void SendMessageStartVelocity ()
 
void SendMessageStopVelocity ()
 
void SendMessageToggleGraphPoints ()
 
void SendMessageConstantSynchedMode ()
 
void SendMessageGraphPointColorsMode ()
 
void SendMessageChangeParticleMode ()
 
void SendMessageChangeFrequency (float amount)
 
void SendMessageChangeThreshold (float amount)
 
void SendMessageChangeSpeed (float amount)
 
void SendMessageReadVelocityFile (string filePath, string subGraphName, bool activate)
 
void SendMessageToggleAverageVelocity ()
 
void SendMessageChangeAverageVelocityResolution (int value)
 
void SendMessageSetFilter (string filter)
 
void SendMessageResetFilter ()
 
void SendMessageRemoveCullingCube ()
 
void SendMessageAddCullingCube ()
 
void SendMessageMoveBrowser (Vector3 pos, Quaternion rot, Vector3 scale)
 
void SendMessageActivateBrowser (bool activate)
 
void SendMessageBrowserKeyClicked (string value)
 
void SendMessageBrowserEnter ()
 
void SendMessageScroll (int dir)
 
void SendMessageScrollStack (int dir, int group)
 
void SendMessageSliceGraphAutomatic (int pcID, int axis, int nrOfSlices)
 
void SendMessageSliceGraphManual (int pcID, Vector3 planeNormal, Vector3 planePos)
 
void SendMessageSliceGraphFromSelection (int pcID)
 
void SendMessageSpawnModel (string modelName)
 
void SendMessageReferenceOrganToggle (bool toggle, int pcID)
 
void SendMessageUpdateCullingBox (int pcID, Vector3 pos1, Vector3 pos2)
 
void SendMessageSpreadMeshes ()
 
void SendMessageGenerateMeshes ()
 
override void OnLeftRoom ()
 Called when the local player left the room. We need to load the launcher scene. More...
 
override void OnPhotonPlayerConnected (PhotonPlayer other)
 
override void OnJoinedRoom ()
 
override void OnPhotonPlayerDisconnected (PhotonPlayer other)
 
void LeaveRoom ()
 

Public Attributes

ReferenceManager referenceManager
 
GameObject playerPrefab
 
GameObject spectatorPrefab
 
GameObject ghostPrefab
 
GameObject serverCoordinatorPrefab
 
GameObject waitingCanvas
 
GameObject spectatorRig
 
GameObject VRRig
 
bool avatarMenuActive
 
bool multiplayer
 

Detailed Description

This class is responsible for passing commands that are about to be sent to a connected client. It also spawns the players and objects handling the client-server coordination.

Member Function Documentation

◆ OnLeftRoom()

override void CellexalVR.Multiuser.MultiuserMessageSender.OnLeftRoom ( )

Called when the local player left the room. We need to load the launcher scene.


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