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 )
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 ()
function to set the sorting order to ascending
Signature
fun asc(): SortCriterion
byOrientationW ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
function to set the sorting order to descending
Signature
fun desc(): SortCriterion