AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.SpatialMapping Namespace Reference

Namespaces

namespace  Tests
 

Classes

struct  BoundedPlane
 
class  DataEventArgs
 
class  FileSurfaceObserver
 
class  MeshSaver
 MeshSaver is a static class containing methods used for saving and loading meshes. More...
 
class  ObjectSurfaceObserver
 
struct  OrientedBoundingBox
 
class  PlaneFinding
 
class  PropertyChangedEventArgsEx
 
class  RemoteMappingManager
 
class  RemoteMeshSource
 RemoteMeshSource will try to send meshes from the HoloLens to a remote system that is running the Unity editor. More...
 
class  RemoteMeshTarget
 RemoteMeshTarget will listen for meshes being sent from a remote system (HoloLens). It is intended to run in the Unity Editor with exactly one HoloLens device sending data. More...
 
class  RemoveSurfaceVertices
 RemoveSurfaceVertices will remove any vertices from the Spatial Mapping Mesh that fall within the bounding volume. This can be used to create holes in the environment, or to help reduce triangle count after finding planes. More...
 
class  RoomMeshExporter
 
class  SimpleMeshSerializer
 SimpleMeshSerializer converts a UnityEngine.Mesh object to and from an array of bytes. This class saves minimal mesh data (vertices and triangle indices) in the following format: File header: vertex count (32 bit integer), triangle count (32 bit integer) Vertex list: vertex.x, vertex.y, vertex.z (all 32 bit float) Triangle index list: 32 bit integers More...
 
class  SpatialMappingManager
 The SpatialMappingManager class allows applications to use a SurfaceObserver or a stored Spatial Mapping mesh (loaded from a file). When an application loads a mesh file, the SurfaceObserver is stopped. Calling StartObserver() clears the stored mesh and enables real-time SpatialMapping updates. More...
 
class  SpatialMappingObserver
 The SpatialMappingObserver class encapsulates the SurfaceObserver into an easy to use object that handles managing the observed surfaces and the rendering of surface geometry. More...
 
class  SpatialMappingSource
 
class  SurfaceMeshesToPlanes
 SurfaceMeshesToPlanes will find and create planes based on the meshes returned by the SpatialMappingManager's Observer. More...
 
class  SurfaceMeshesToPlanesEditor
 Editor extension class to enable multi-selection of the 'Draw Planes' and 'Destroy Planes' options in the Inspector. More...
 
class  SurfacePlane
 The SurfacePlane class is used by SurfaceMeshesToPlanes to create different types of planes (walls, floors, tables, etc.) based on the Spatial Mapping data returned by the SpatialMappingManager's source. This script should be a component on the SufacePlane prefab, which is used by SurfaceMeshesToPlanes. More...
 
class  TapToPlace
 The TapToPlace class is a basic way to enable users to move objects and place them on real world surfaces. Put this script on the object you want to be able to move. Users will be able to tap objects, gaze elsewhere, and perform the tap gesture again to place. This script is used in conjunction with GazeManager, WorldAnchorManager, and SpatialMappingManager. More...
 

Enumerations

enum  ObserverStates { ObserverStates.Running = 0, ObserverStates.Stopped = 1 }
 Spatial Mapping Observer states. More...
 
enum  ObserverVolumeTypes { ObserverVolumeTypes.AxisAlignedBox = 0, ObserverVolumeTypes.OrientedBox = 1, ObserverVolumeTypes.Sphere = 2 }
 Spatial Mapping Volume Type More...
 
enum  PlaneTypes {
  PlaneTypes.Wall = 0x1, PlaneTypes.Floor = 0x2, PlaneTypes.Ceiling = 0x4, PlaneTypes.Table = 0x8,
  PlaneTypes.Unknown = 0x10
}
 All possible plane types that a SurfacePlane can be. More...
 

Enumeration Type Documentation

§ ObserverStates

Spatial Mapping Observer states.

Enumerator
Running 

The SurfaceObserver is currently running.

Stopped 

The SurfaceObserver is currently idle.

Definition at line 21 of file SpatialMappingObserver.cs.

§ ObserverVolumeTypes

Spatial Mapping Volume Type

Enumerator
AxisAlignedBox 

The observed volume is an axis aligned box.

OrientedBox 

The observed volume is an oriented box.

Sphere 

The observed volume is a sphere.

Definition at line 37 of file SpatialMappingObserver.cs.

§ PlaneTypes

All possible plane types that a SurfacePlane can be.

Enumerator
Wall 
Floor 
Ceiling 
Table 
Unknown 

Definition at line 13 of file SurfacePlane.cs.