API reference
API reference
Select your platform
No SDKs available
No versions available

PoseSortCriterion Class

Extends SortCriterion
Modifiers: final
Represents a sorting criterion based on a Pose attribute.

Signature

class PoseSortCriterion(val attrId: Int) : SortCriterion

Constructors

PoseSortCriterion ( attrId ) : PoseSortCriterion
Signature
constructor(attrId: Int)
Parameters
attrId: Int
The ID of the attribute to sort by.

Properties

attrId : Int
[Get]
Signature
val attrId: Int
propCode : Int
[Get][Set]
Signature
var propCode: Int
sortOption : Int
[Get][Set]
Signature
var sortOption: Int

Functions

asc () : SortCriterion
function to set the sorting order to ascending
Signature
fun asc(): SortCriterion
byOrientationW () : PoseSortCriterion
Specifies that the sorting should be based on the W orientation of the Pose attribute.
Signature
fun byOrientationW(): PoseSortCriterion
Returns
The current instance of PoseSortCriterion for method chaining.
byOrientationX () : PoseSortCriterion
Specifies that the sorting should be based on the X orientation of the Pose attribute.
Signature
fun byOrientationX(): PoseSortCriterion
Returns
The current instance of PoseSortCriterion for method chaining.
byOrientationY () : PoseSortCriterion
Specifies that the sorting should be based on the Y orientation of the Pose attribute.
Signature
fun byOrientationY(): PoseSortCriterion
Returns
The current instance of PoseSortCriterion for method chaining.
byOrientationZ () : PoseSortCriterion
Specifies that the sorting should be based on the Z orientation of the Pose attribute.
Signature
fun byOrientationZ(): PoseSortCriterion
Returns
The current instance of PoseSortCriterion for method chaining.
byPositionX () : PoseSortCriterion
Specifies that the sorting should be based on the X position of the Pose attribute.
Signature
fun byPositionX(): PoseSortCriterion
Returns
The current instance of PoseSortCriterion for method chaining.
byPositionY () : PoseSortCriterion
Specifies that the sorting should be based on the Y position of the Pose attribute.
Signature
fun byPositionY(): PoseSortCriterion
Returns
The current instance of PoseSortCriterion for method chaining.
byPositionZ () : PoseSortCriterion
Specifies that the sorting should be based on the Z position of the Pose attribute.
Signature
fun byPositionZ(): PoseSortCriterion
Returns
The current instance of PoseSortCriterion for method chaining.
desc () : SortCriterion
function to set the sorting order to descending
Signature
fun desc(): SortCriterion
Did you find this page helpful?
Thumbs up icon
Thumbs down icon