@@ -83,7 +83,6 @@ public class SL_CustomMaskObjectData extends Pointer {
8383 /**
8484 \brief Maximum tracking time threshold (in seconds) before dropping the tracked object when unseen for this amount of time.
8585 By default, let the tracker decide internally based on the internal sub class of the tracked object.
86- Only valid for static object.
8786 */
8887 public native float tracking_timeout (); public native SL_CustomMaskObjectData tracking_timeout (float setter );
8988
@@ -96,6 +95,47 @@ public class SL_CustomMaskObjectData extends Pointer {
9695
9796 /**
9897 \brief 2D mask of the object inside its bounding box.
99- */
98+ */
10099 public native @ Cast ("unsigned char*" ) BytePointer box_mask (); public native SL_CustomMaskObjectData box_mask (BytePointer setter );
100+
101+ /**
102+ \brief Maximum allowed 3D width.
103+ <p>
104+ Any prediction bigger than that will be either discarded (if object is tracked and in SEARCHING state) or clamped.
105+ Default: -1 (no filtering)
106+ */
107+ public native float max_box_width_meters (); public native SL_CustomMaskObjectData max_box_width_meters (float setter );
108+
109+ /**
110+ \brief Minimum allowed 3D width.
111+ <p>
112+ Any prediction smaller than that will be either discarded (if object is tracked and in SEARCHING state) or clamped.
113+ Default: -1 (no filtering)
114+ */
115+ public native float min_box_width_meters (); public native SL_CustomMaskObjectData min_box_width_meters (float setter );
116+
117+ /**
118+ \brief Maximum allowed 3D height.
119+ <p>
120+ Any prediction bigger than that will be either discarded (if object is tracked and in SEARCHING state) or clamped.
121+ Default: -1 (no filtering)
122+ */
123+ public native float max_box_height_meters (); public native SL_CustomMaskObjectData max_box_height_meters (float setter );
124+
125+ /**
126+ \brief Minimum allowed 3D height.
127+ <p>
128+ Any prediction smaller than that will be either discarded (if object is tracked and in SEARCHING state) or clamped.
129+ Default: -1 (no filtering)
130+ */
131+ public native float min_box_height_meters (); public native SL_CustomMaskObjectData min_box_height_meters (float setter );
132+
133+ /**
134+ \brief Manually override the acceleration preset.
135+ If set, this value takes precedence over the selected preset, allowing for a custom maximum acceleration.
136+ Takes precedence over the runtime parameter, if also set.
137+ Unit is m/s^2.
138+ Defaults: NaN
139+ */
140+ public native float max_allowed_acceleration (); public native SL_CustomMaskObjectData max_allowed_acceleration (float setter );
101141}
0 commit comments