This class contains shared properties and functionality of Advanced and Simple WorkSpaces. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments. More...
Inherits Visometry.VisionLib.SDK.Core.WorkSpace.
Public Member Functions | |
override Vector3 | GetCenter () |
override float | GetSize () |
Calculates the WorkSpace boundaries using the origin and destination bounds and the distance between them. More... | |
override BaseGeometry | GetSourceGeometry () |
override int | GetVerticesCount () |
override API.WorkSpace.Definition | GetWorkSpaceDefinition (bool useCameraRotation) |
Creates a WorkSpace.Definition from this WorkSpace. More... | |
Public Member Functions inherited from Visometry.VisionLib.SDK.Core.WorkSpace | |
API.WorkSpace.Transform[] | GetCameraTransforms () |
Vector3[] | GetDestinationVertices () |
Gets the local positions related to the destination object. If the destinationObject is a Renderer, it will calculate the center of the model. More... | |
float | GetOptimalCameraDistance (GameObject destinationForBounds) |
Data Fields | |
WorkSpaceGeometry | sourceObject |
Data Fields inherited from Visometry.VisionLib.SDK.Core.WorkSpace | |
GameObject | destinationObject |
bool | displayViewDirection = true |
Camera | usedCamera |
Protected Member Functions | |
override API.WorkSpace.Geometry | GetDestinationGeometryDefinition () |
override API.WorkSpace.Geometry | GetSourceGeometryDefinition () |
Protected Member Functions inherited from Visometry.VisionLib.SDK.Core.WorkSpace | |
float | GetFieldOfView () |
API.WorkSpace.Definition | GetWorkSpaceDefinitionFromType (API.WorkSpace.Definition.Type type, bool useCameraRotation) |
Additional Inherited Members | |
Static Public Member Functions inherited from Visometry.VisionLib.SDK.Core.WorkSpace | |
static Vector3 | GetCenter (GameObject go) |
Static Protected Member Functions inherited from Visometry.VisionLib.SDK.Core.WorkSpace | |
static API.WorkSpace.Transform | CreateVLTransformFromObject (GameObject sourceObject) |
static Bounds | GetMeshBounds (GameObject parent) |
Protected Attributes inherited from Visometry.VisionLib.SDK.Core.WorkSpace | |
Vector3 | upVector = Vector3.up |
Static Protected Attributes inherited from Visometry.VisionLib.SDK.Core.WorkSpace | |
const float | defaultRotationRange = 20.0f |
const float | defaultRotationStep = 20.0f |
This class contains shared properties and functionality of Advanced and Simple WorkSpaces. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments.
|
inlinevirtual |
Calculates the WorkSpace boundaries using the origin and destination bounds and the distance between them.
Implements Visometry.VisionLib.SDK.Core.WorkSpace.
|
inlinevirtual |
Creates a WorkSpace.Definition from this WorkSpace.
Implements Visometry.VisionLib.SDK.Core.WorkSpace.