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...
 
float GetWorkSpaceSize ()
 Calculates the WorkSpace boundaries using the origin and destination bounds and the distance between them More...
 
VIS.WorkSpace.Definition GetWorkSpaceDefinition (bool useCameraRotation)
 Creates a VLWorkSpace.Definition from this VLWorkSpace. More...
 

Data Fields

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

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

Field Documentation

◆ camSliderPosition

int VLWorkSpace.camSliderPosition

◆ destinationGeometry

GameObject VLWorkSpace.destinationGeometry

◆ displayViewDirection

bool VLWorkSpace.displayViewDirection = true

◆ poses

VIS.WorkSpace.Transform [] VLWorkSpace.poses

◆ previewWithCamera

bool VLWorkSpace.previewWithCamera = false

◆ sourceGeometry

VLGeometry VLWorkSpace.sourceGeometry

◆ upVector

Vector3 VLWorkSpace.upVector = Vector3.up

◆ usedCamera

Camera VLWorkSpace.usedCamera