Processing framework. inconsistency in PXCMGesture

Processing framework. inconsistency in PXCMGesture

I'm not sure this is the right place to post bugs/inconsistencies but maybe it is.

In processing framework "labels" like LABEL_BODY_HAND_PRIMARY are public static int, so user can address them like PXCMGesture.GeoNode.LABEL_BODY_HAND_PRIMARY. But all gesture labels (LABEL_POSE_PEACE, LABEL_NAV_SWIPE_RIGHT, etc...) are just public int, so user have to

PXCMGesture.Gesture gdata=new PXCMGesture.Gesture();

and then use gdata.LABEL_NAV_SWIPE_RIGHT

and that is different from all other labels (and can't be used in Switch statement)

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I will verify and see if it is a bug. Thanks!

Yes, you are right. That's typos. Should be "static int".


Leave a Comment

Please sign in to add a comment. Not a member? Join today