forums.naturalpoint.com

Discussion and Support for the OptiTrack, SmartNav and TrackIR brands by NaturalPoint

Variable definitions

by Susanne » Fri Feb 18, 2011 11:23 am

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;
Susanne
 
Posts: 2
Joined: Fri Feb 18, 2011 11:20 am

by Susanne » Wed Mar 02, 2011 10:45 am

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;
Susanne
 
Posts: 2
Joined: Fri Feb 18, 2011 11:20 am

by NaturalPoint - Mike » Thu Mar 03, 2011 7:34 pm

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 -
NaturalPoint - Mike
 
Posts: 1896
Joined: Tue Feb 01, 2011 8:41 am
Location: Corvallis, OR

by mb78 » Tue Feb 19, 2013 5:40 am

Has there ever been an answer to this?
mb78
 
Posts: 6
Joined: Thu Feb 14, 2013 6:47 am

by tuskcode » Mon Jul 03, 2017 5:16 am

After 6 years it seems the developers are struggling to provide answers to this relatively straight forward question :(
tuskcode
 
Posts: 4
Joined: Tue Jun 13, 2017 3:41 am

by beckdo » Thu Jul 06, 2017 9:17 pm

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
beckdo
NaturalPoint Employee
NaturalPoint Employee
 
Posts: 519
Joined: Tue Jan 02, 2007 2:02 pm


Return to Camera SDK