Page 1 of 1

Variable definitions

Posted: Fri Feb 18, 2011 11:23 am
by Susanne
Hi :)

Is there documentation for the definitions/explanation for these variable?
(see below)

I can guess what they are but actually need to be sure what they represent and their unit of measurement.

I am sending all my thanks !
Susanne

>
> double ScaleTranslationX;
> double ScaleTranslationY;
> double ScaleTranslationZ;
> double ScaleRotationYaw;
> double ScaleRotationPitch;
> double ScaleRotationRoll;
> double PivotOffsetX;
> double PivotOffsetY;
> double PivotOffsetZ;
> double ProcessedScale;
> double CenterX;
> double CenterY;
> double CenterZ;

Re: Variable definitions

Posted: Wed Mar 02, 2011 10:45 am
by Susanne
Hi ;-)

Is there documentation for the definitions/explanation for these variable?
(see below)

I can guess what they are but actually need to be sure what they represent and their unit of measurement.

I am sending all my thanks !
Susanne

>
> double ScaleTranslationX;
> double ScaleTranslationY;
> double ScaleTranslationZ;
> double ScaleRotationYaw;
> double ScaleRotationPitch;
> double ScaleRotationRoll;
> double PivotOffsetX;
> double PivotOffsetY;
> double PivotOffsetZ;
> double ProcessedScale;
> double CenterX;
> double CenterY;
> double CenterZ;

Re: Variable definitions

Posted: Thu Mar 03, 2011 7:34 pm
by NaturalPoint - Mike
Hello Susanne -

Just wanted to let you know that I have this question out to our developers for exact answers, and as soon as I get them I'll let you know. Also, I moved the question to these forums from the TrackIR forums for a better audience.

Thanks -

Re: Variable definitions

Posted: Tue Feb 19, 2013 5:40 am
by mb78
Has there ever been an answer to this?

Re: Variable definitions

Posted: Mon Jul 03, 2017 5:16 am
by tuskcode
After 6 years it seems the developers are struggling to provide answers to this relatively straight forward question :(

Re: Variable definitions

Posted: Thu Jul 06, 2017 9:17 pm
by beckdo
Hey tuskcode,

I'm not sure how this went unanswered for so long but here is a proper answer to this original question.

Basically, this cModuleVectorProcessing is purely optional for vector tracking. The cModuleVector delivers the raw three 3D marker locations corresponding to the three locations of the vector or track clip.

So at this point, you already have the tracked vector clip or track clip. The cModuleVectorProcessing attempts to perform some common post processing operations that you would do on the cModuleVector output. Primarily translational and rotational scaling. Setting a 'neutral' pose by calling Recenter(). Additionally, it allows you to modify the pivot point of the 3 markers.

So looking at the settings structure:

ScaleTranslationX/Y/Z : Translational scaling
ScaleRotationYaw/Pitch/Roll: Rotational scaling
PivotOffsetX/Y/Z : Adjust the pivot point of the vector/track clip markers.
SmoothX/Y/Z : Smoothing values.
Arrangement : 0=Vector Clip 1=Track Clip Pro
CenterX/Y/Z mCenterOrientation : These are translational & rotational values that are set when calling Recenter() which utilizes the current Translation & Rotation as the "centered" neutral value of tracking.

Smoothing values are passed to Smooth(). There is no actual smoothing performed in the cModuleVectorProcessing. The intent is that the user overrides Smooth() and either performs their own smoothing or uses a third party smoothing algorithm or library for more sophisticated smoothing to match the application.

Hopefully this helps. Thx--Doug