Go to: Return value. Related commands. Flags. Examples.

Synopsis

filter -t filterType [-n name]
filter -edit ... filterNode
filter -query ... filterNode

Creates or modifies a filter node. Filter nodes are used by applyTake to modify recorded device data before assigning it to the param curves for the attached attributes.

Return value

filter name or attribute value

Related commands

applyTake, recordDevice, defineDataServer, movIn, writeTake, defineVirtualDevice, movOut, enableDevice, readTake

Flags

allowDuplicates, edit, enableInitialRotation, frequency, initRotation, initRotationX, initRotationY, initRotationZ, kernel, maxTimeStep, minTimeStep, name, nearestTo, query, smooth, timeStep, timeTolerance, tolerance, type, weight, weightX, weightY, weightZ

Long name (short name)[argument types]Properties

Creation Flags

-type (-t) string
Filter type to create, One of:
filterEuler Euler angle "demangler"
filterResample Resamples input data at fixed output rate with several filtering options
filterSimplify Combines groups of data points that are almost linear into lines segments
filterClosestSample Resamples input data a fixed output rate using the closest sample point
-name (-n) string
Name for created filter

Edit/Query Flags:

-edit (-e)
Edit filter attributes (filter type specific)
-query (-q)
Query filter attributes (filter type specific)

filterEuler Flags:

-smooth (-s) int
Set the the Euler demangling operation to one of:
0 No smoothing
1 Bound to +/-pi (+/-180 deg)
2 Nearest cut to (within pi or 180 deg of) nearestTo
3 Nearest Euler angle solution to nearestTo
-nearestTo (-nt) int
Only with -smooth 2 or 3, select the cut or solution which is nearest to:
0 Zero
1 Initial Value
2 Previous Value
-weight (-w) float float float
Only with -smooth 2 or 3, defines a weight vector for evaluating "closeness". Axes with smaller weight are considered less important than those with higher weights.
-weightX (-wx) float
set X component of the weight vector.
-weightY (-wy) float
set Y component of the weight vector.
-weightZ (-wz) float
set Z component of the weight vector.
-enableInitialRotation (-eir) boolean
enable use of initial Euler rotation value for -smooth 2 or 3
-initRotation (-ir) float float float
set initial Euler value for -smooth 2 or 3
-initRotationX (-irx) float
set x component of initial Euler value
-initRotationY (-iry) float
set y component of initial Euler value
-initRotationZ (-irz) float
set z component of initial Euler value

filterResample Flags:

-timeStep (-ts) time
output period in time units
-kernel (-kr) int
The resampling kernel applied the incoming data.
100 PassThrough
200 Closest Sample
300 Linear Interp.
400 Box Filter
500 Tent Filter
600 Gaussian2 Filter
700 Gaussian4 Filter

filterSimplify Flags:

-tolerance (-tol) float
tolerance parameter, fraction of input range
-timeTolerance (-tt) float
temporal tolerance for timestampe
-minTimeStep (-mnt) float
minimum time step between output records
-maxTimeStep (-mxt) float
max time step between output records
-allowDuplicates (-ad) boolean
Treat ranges of duplicate values as data

OBSOLETE: filterClosestSample Flags:

-frequency (-f) float
output sample frequency

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Examples

		filter -t filterEuler -n houston;
		filter -edit -irx 0.0 houston;
		filter -query -irx houston;