Share via


ObjectModel Class

Definition

An object model exposes visual and geometrics information about a physical object to be detected, as well as parameters to determine how that object can be detected by the object observer.

public ref class ObjectModel : IDisposable
public class ObjectModel : IDisposable
type ObjectModel = class
    interface IDisposable
Public Class ObjectModel
Implements IDisposable
Inheritance
ObjectModel
Implements

Constructors

ObjectModel(IntPtr, Boolean)

Properties

BoundingBox

Bounding box aligned to object's principle axii, with size in meters.

Id

Unique id of an object model.

OriginToCenterTransform

Transform from the model origin to centered coordinate system.

TriangleIndexCount

Index list length of triangles on object model surface.

VertexCount

Number of vertices on object model surface.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Finalize()

Finalizes an instance of the ObjectModel class.

GetTriangleIndices(UInt32[])

Returns triangle indices on object model surface.

GetVertexNormals(Vector3[])

Returns normals on object model surface in centered coordinate system.

GetVertexPositions(Vector3[])

Returns vertices on object model surface in centered coordinate system.

LoadAsync(Byte[])

Load an object model from a byte array for offline inspection. Note that the returned model cannot be used to create an ObjectQuery, otherwise an will be thrown.

Applies to