documentation

Visometry.VisionLib.SDK.Core.BaseGeometry Class Referenceabstract

Base class for all geometry classes that represent source or destinations of workspaces. More...

Inherited by Visometry.VisionLib.SDK.Core.LineGeometry, Visometry.VisionLib.SDK.Core.PlaneGeometry, Visometry.VisionLib.SDK.Core.PointGeometry, and Visometry.VisionLib.SDK.Core.SphereGeometry.

Public Member Functions

abstract API.WorkSpace.Geometry CreateGeometry (API.WorkSpace.Transform trans)
 Creates a corresponding WorkSpace.Geometry, which can be used in the vlSDK. More...
 
abstract float GetGeometrySize ()
 Calculates the biggest boundary value of the geometry More...
 
void SetMesh (Vector3[] points)
 
void UpdateMesh ()
 Updates the stored positions of the geometry by the values taken from vlSDK.
 

Data Fields

Vector3[] currentMesh = new Vector3[0]
 

Detailed Description

Base class for all geometry classes that represent source or destinations of workspaces.

Those classes actually store the data, allow editing and create the serialized representation of the data when the workspaces need to be sent to the vlSDK.

Member Function Documentation

◆ CreateGeometry()

abstract API.WorkSpace.Geometry Visometry.VisionLib.SDK.Core.BaseGeometry.CreateGeometry ( API.WorkSpace.Transform  trans)
pure virtual

Creates a corresponding WorkSpace.Geometry, which can be used in the vlSDK.

Parameters
transTransform, which will be applied to the Geometry
Returns

Implemented in Visometry.VisionLib.SDK.Core.PlaneGeometry, Visometry.VisionLib.SDK.Core.LineGeometry, Visometry.VisionLib.SDK.Core.PointGeometry, Visometry.VisionLib.SDK.Core.SimpleSphereGeometry, and Visometry.VisionLib.SDK.Core.AdvancedSphereGeometry.

◆ GetGeometrySize()

abstract float Visometry.VisionLib.SDK.Core.BaseGeometry.GetGeometrySize ( )
pure virtual