CellexalVR  1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
CellexalVR.MarchingCubes.ChunkManager Class Reference
Inheritance diagram for CellexalVR.MarchingCubes.ChunkManager:

Public Member Functions

void SmoothMesh (int iterations=1)
 
void SmoothMeshes ()
 
void AddSphericalDensity (Vector3 pos)
 
void UpdateMesh ()
 
void ToggleSurfaceLevelandUpdateCubes (float i, ChunkScript[,,] chunks, Color color)
 
void CreateSphereDensity ()
 
void AddDensity (int x, int y, int z, float d)
 
void SetDensity (int x, int y, int z, float d, bool addSphere=false)
 
void OnDrawGizmos ()
 

Public Attributes

Transform sphereHolder
 
BoxCollider boxCollider
 
ChunkScript chunkPrefab
 
GameObject visualiseChunkPrefab
 
ChunkScript[,,] chunks
 
float[,,] density = new float[n, n, n]
 
GameObject[,,] densitySpheres = new GameObject[n, n, n]
 
bool visualiseChunks
 
List< float3 > positions
 
bool smoothened
 
float brushSize
 

Static Public Attributes

static int chunkResolution = 32
 
static int size = 1
 
static int n = (chunkResolution - 1) * size + 1
 
static bool addVertexSpheres = false
 
static bool addDensitySpheres = false
 
static float surfaceLevel = 1f
 

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