ModelTransformPipeline class

Performs a sequence of model transforms, where the output of each transform is the input of the next transform.

Interface Realizations

Operations

NameReturnsDescription
add(transform)

ModelTransformPipeline.add

X

Adds a new transform to the pipeline.

Parameters
NameTypeDescription
transformModelTransform The transform to be added.
Return value
void
void Adds a new transform to the pipeline. 
addRange(transforms)

ModelTransformPipeline.addRange

X

Adds a new collection of transforms to the pipeline.

Parameters
NameTypeDescription
transformsModelTransform [*]The transforms to be added.
Return value
void
void Adds a new collection of transforms to the pipeline. 
constructor(transforms)

ModelTransformPipeline.constructor

X

Creates a new ModelTransformPipeline, optionally initialized with a collection of transforms.

Parameters
NameTypeDescription
transformsModelTransform [*]
Return value
Type: ModelTransformPipeline 
ModelTransformPipeline Creates a new ModelTransformPipeline, optionally initialized with a collection of transforms. 
transform(model)

ModelTransformPipeline.transform

X

Transforms the source model by applying the specified transforms in sequence.

Parameters
NameTypeDescription
modelTModel 
Return value
Type: TModel 
TModel Transforms the source model by applying the specified transforms in sequence.