AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.SolverHandler Class Reference
Inheritance diagram for HoloToolkit.Unity.SolverHandler:
HoloToolkit.Unity.InputModule.ControllerFinder

Classes

struct  QuaternionSmoothed
 
struct  Vector3Smoothed
 

Public Types

enum  TrackedObjectToReferenceEnum { TrackedObjectToReferenceEnum.Head, TrackedObjectToReferenceEnum.MotionControllerLeft, TrackedObjectToReferenceEnum.MotionControllerRight }
 

Public Member Functions

virtual void AttachToNewTrackedObject ()
 

Protected Member Functions

override void OnDestroy ()
 
override void OnControllerFound ()
 Override this method to act when the correct controller is actually found. This provides similar functionality to overriding AddControllerTransform, without the overhead of needing to check that handedness matches. More...
 
override void OnControllerLost ()
 Override this method to act when the correct controller is actually lost. This provides similar functionality to overriding AddControllerTransform, without the overhead of needing to check that handedness matches. More...
 
- Protected Member Functions inherited from HoloToolkit.Unity.InputModule.ControllerFinder
virtual void OnEnable ()
 
virtual void OnDisable ()
 
virtual void TryAndAddControllerTransform ()
 Allows the object to change which controller it tracks, based on handedness. More...
 
virtual void AddControllerTransform (MotionControllerInfo newController)
 
virtual void RemoveControllerTransform (MotionControllerInfo oldController)
 
virtual void RefreshControllerTransform ()
 

Protected Attributes

List< Solverm_Solvers = new List<Solver>()
 
- Protected Attributes inherited from HoloToolkit.Unity.InputModule.ControllerFinder
MotionControllerInfo ControllerInfo
 

Properties

TrackedObjectToReferenceEnum TrackedObjectToReference [get, set]
 
Vector3 AdditionalOffset [get, set]
 
Vector3 AdditionalRotation [get, set]
 
Transform TransformTarget [get, set]
 
Vector3 GoalPosition [get, set]
 
Quaternion GoalRotation [get, set]
 
Vector3 GoalScale [get, set]
 
Vector3Smoothed AltScale [get, set]
 
float DeltaTime [get, set]
 
bool UpdateSolvers [get, set]
 
- Properties inherited from HoloToolkit.Unity.InputModule.ControllerFinder
MotionControllerInfo.ControllerElementEnum Element [get, set]
 
Transform ElementTransform [get]
 

Detailed Description

Definition at line 19 of file SolverHandler.cs.

Member Enumeration Documentation

§ TrackedObjectToReferenceEnum

Enumerator
Head 

Calculates position and orientation from the main camera

MotionControllerLeft 

Calculates position and orientation from the left motion controller

MotionControllerRight 

Calculates position and orientation from the right motion camera

Definition at line 21 of file SolverHandler.cs.

Member Function Documentation

§ AttachToNewTrackedObject()

virtual void HoloToolkit.Unity.SolverHandler.AttachToNewTrackedObject ( )
virtual

Definition at line 179 of file SolverHandler.cs.

§ OnControllerFound()

override void HoloToolkit.Unity.SolverHandler.OnControllerFound ( )
protectedvirtual

Override this method to act when the correct controller is actually found. This provides similar functionality to overriding AddControllerTransform, without the overhead of needing to check that handedness matches.

Reimplemented from HoloToolkit.Unity.InputModule.ControllerFinder.

Definition at line 160 of file SolverHandler.cs.

§ OnControllerLost()

override void HoloToolkit.Unity.SolverHandler.OnControllerLost ( )
protectedvirtual

Override this method to act when the correct controller is actually lost. This provides similar functionality to overriding AddControllerTransform, without the overhead of needing to check that handedness matches.

Reimplemented from HoloToolkit.Unity.InputModule.ControllerFinder.

Definition at line 168 of file SolverHandler.cs.

§ OnDestroy()

override void HoloToolkit.Unity.SolverHandler.OnDestroy ( )
protectedvirtual

Reimplemented from HoloToolkit.Unity.InputModule.ControllerFinder.

Definition at line 150 of file SolverHandler.cs.

Member Data Documentation

§ m_Solvers

List<Solver> HoloToolkit.Unity.SolverHandler.m_Solvers = new List<Solver>()
protected

Definition at line 105 of file SolverHandler.cs.

Property Documentation

§ AdditionalOffset

Vector3 HoloToolkit.Unity.SolverHandler.AdditionalOffset
getset

Definition at line 64 of file SolverHandler.cs.

§ AdditionalRotation

Vector3 HoloToolkit.Unity.SolverHandler.AdditionalRotation
getset

Definition at line 74 of file SolverHandler.cs.

§ AltScale

Vector3Smoothed HoloToolkit.Unity.SolverHandler.AltScale
getset

Definition at line 99 of file SolverHandler.cs.

§ DeltaTime

float HoloToolkit.Unity.SolverHandler.DeltaTime
getset

Definition at line 101 of file SolverHandler.cs.

§ GoalPosition

Vector3 HoloToolkit.Unity.SolverHandler.GoalPosition
getset

Definition at line 93 of file SolverHandler.cs.

§ GoalRotation

Quaternion HoloToolkit.Unity.SolverHandler.GoalRotation
getset

Definition at line 95 of file SolverHandler.cs.

§ GoalScale

Vector3 HoloToolkit.Unity.SolverHandler.GoalScale
getset

Definition at line 97 of file SolverHandler.cs.

§ TrackedObjectToReference

TrackedObjectToReferenceEnum HoloToolkit.Unity.SolverHandler.TrackedObjectToReference
getset

Definition at line 42 of file SolverHandler.cs.

§ TransformTarget

Transform HoloToolkit.Unity.SolverHandler.TransformTarget
getset

Definition at line 88 of file SolverHandler.cs.

§ UpdateSolvers

bool HoloToolkit.Unity.SolverHandler.UpdateSolvers
getset

Definition at line 109 of file SolverHandler.cs.


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