ObjectQuery Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Object query parameters associated with an object model.
public ref class ObjectQuery
public class ObjectQuery : IDisposable
type ObjectQuery = class
interface IDisposable
Public Class ObjectQuery
Implements IDisposable
- Inheritance
-
ObjectQuery
- Implements
Constructors
ObjectQuery(IntPtr, Boolean) | |
ObjectQuery(ObjectModel, ObjectObservationMode) |
Constructs a query object from an object model using the specified query mode, and initializes parameters with default values inherited from the model. |
ObjectQuery(ObjectModel) |
Constructs a query object from an object model using ambient query mode, and initializes parameters with default values inherited from the model. |
Properties
ExpectedMaxVerticalOrientationInDegrees |
Expected maximum angle in degrees between up direction of an object instance and gravity, from 0 to 180. Small value indicates object is expected to be up-right, while large value allows more variation on the layout. |
IsExpectedToBeStandingOnGroundPlane |
Prior on object's location whether standing on ground plane or not. |
MaxScaleChange |
Maximum scale change from 1. |
MinSurfaceCoverage |
Minimum required surface coverage ratio to consider an object instance as true positive, from 0 to 1. |
SearchAreas |
A collection of search areas that define the regions to look for objects. |
Methods
ComputeLatestEnvironmentObservationAsync() |
Computes the current environment observation in the region defined by SearchAreas. |
ComputeLatestEnvironmentObservationAsync(EnvironmentObservationTopology) |
Computes the current environment observation in the region defined by SearchAreas. |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Finalize() |
Finalizes an instance of the ObjectQuery class. |