documentation

VLWorkSpace Class Reference

The VLWorkSpace allows the definition of an area, from which the user can initialize the tracking. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments. More...

Inherits MonoBehaviour.

Public Member Functions

Vector3 [] GetDestinationVertices ()
 Gets the local positions related to the DestinationGeometry. If the destinationGeometry is a Renderer, it will calculate the center of the model. More...
 
VIS.WorkSpace.Definition GetWorkSpaceDefinition (bool useCameraRotation)
 Creates a VLWorkSpace.Definition from this VLWorkSpace. More...
 
float GetWorkSpaceSize ()
 Calculates the WorkSpace boundaries using the origin and destination bounds and the distance between them More...
 

Data Fields

int camSliderPosition
 
GameObject destinationGeometry
 
bool displayViewDirection = true
 
VIS.WorkSpace.Transform [] poses
 
bool previewWithCamera = false
 
VLGeometry sourceGeometry
 
Vector3 upVector = Vector3.up
 
Camera usedCamera
 

Detailed Description

The VLWorkSpace allows the definition of an area, from which the user can initialize the tracking. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments.

Member Function Documentation

◆ GetDestinationVertices()

Vector3 [] VLWorkSpace.GetDestinationVertices ( )
inline

Gets the local positions related to the DestinationGeometry. If the destinationGeometry is a Renderer, it will calculate the center of the model.

Returns
Array of local points that represent the object geometry

◆ GetWorkSpaceDefinition()

VIS.WorkSpace.Definition VLWorkSpace.GetWorkSpaceDefinition ( bool  useCameraRotation)
inline

Creates a VLWorkSpace.Definition from this VLWorkSpace.

Returns
VLWorkSpace.Definition described by this class

◆ GetWorkSpaceSize()

float VLWorkSpace.GetWorkSpaceSize ( )
inline

Calculates the WorkSpace boundaries using the origin and destination bounds and the distance between them

Returns
WorkSpace size