AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.VolumeBuffer< T > Class Template Reference

Represents a 3D array of data More...

Public Member Functions

bool IsEdge (Int3 pos)
 
bool IsValid (Int3 pos)
 
 VolumeBuffer (Int3 size)
 
 VolumeBuffer (Int3 size, T[] ar)
 
GetVoxel (Int3 pos)
 
void SetVoxel (Int3 pos, T val)
 
void ClearEdges (T clearVal)
 

Public Attributes

T [] DataArray
 
readonly Int3 Size
 

Properties

this[Int3 pos] [get, set]
 

Detailed Description

Represents a 3D array of data

Template Parameters
T

Definition at line 10 of file VolumeBuffer.cs.

Constructor & Destructor Documentation

§ VolumeBuffer() [1/2]

Definition at line 29 of file VolumeBuffer.cs.

§ VolumeBuffer() [2/2]

HoloToolkit.Unity.VolumeBuffer< T >.VolumeBuffer ( Int3  size,
T []  ar 
)

Definition at line 35 of file VolumeBuffer.cs.

Member Function Documentation

§ ClearEdges()

void HoloToolkit.Unity.VolumeBuffer< T >.ClearEdges ( clearVal)

Definition at line 57 of file VolumeBuffer.cs.

§ GetVoxel()

T HoloToolkit.Unity.VolumeBuffer< T >.GetVoxel ( Int3  pos)

Definition at line 47 of file VolumeBuffer.cs.

§ IsEdge()

bool HoloToolkit.Unity.VolumeBuffer< T >.IsEdge ( Int3  pos)

Definition at line 15 of file VolumeBuffer.cs.

§ IsValid()

bool HoloToolkit.Unity.VolumeBuffer< T >.IsValid ( Int3  pos)

Definition at line 22 of file VolumeBuffer.cs.

§ SetVoxel()

void HoloToolkit.Unity.VolumeBuffer< T >.SetVoxel ( Int3  pos,
val 
)

Definition at line 52 of file VolumeBuffer.cs.

Member Data Documentation

§ DataArray

T [] HoloToolkit.Unity.VolumeBuffer< T >.DataArray

Definition at line 12 of file VolumeBuffer.cs.

§ Size

Definition at line 13 of file VolumeBuffer.cs.

Property Documentation

§ this[Int3 pos]

T HoloToolkit.Unity.VolumeBuffer< T >.this[Int3 pos]
getset

Definition at line 42 of file VolumeBuffer.cs.


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