public class TransformFactory
extends java.lang.Object
ValueTransform
from a DataAdaptor
.Modifier | Constructor and Description |
---|---|
protected |
TransformFactory()
Creates a new instance of TransformFactory
|
Modifier and Type | Method and Description |
---|---|
static ValueTransform |
doubleArrayLinearTransform(DataAdaptor adaptor)
Generate a value transform which applies a simple linear transform (scale
and offset) to a double array of values.
|
static ValueTransform |
doubleArrayScaleTransform(DataAdaptor adaptor)
Generate a value transform which simply scales a double array of values.
|
static ValueTransform |
doubleArrayTranslationTransform(DataAdaptor adaptor)
Generate a value transform which applies a simple offset transform to a
double array of values.
|
static ValueTransform |
doubleLinearTransform(DataAdaptor adaptor)
Generate a value transform which applies a simple linear transform (scale
and offset) to a double value scalar.
|
static ValueTransform |
doubleScaleTransform(DataAdaptor adaptor)
Generate a value transform which simply scales a double value.
|
static ValueTransform |
doubleTranslationTransform(DataAdaptor adaptor)
Generate a value transform which applies a simple offset transform to a
double value scalar.
|
static ValueTransform |
getTransform(DataAdaptor adaptor)
Generate a transform from the given adaptor.
|
protected TransformFactory()
public static ValueTransform getTransform(DataAdaptor adaptor) throws NoSuchTransformException
adaptor
- The adaptor defining the transform.NoSuchTransformException
- if the transform of the specified type cannot be generated.public static ValueTransform doubleScaleTransform(DataAdaptor adaptor)
adaptor
- The adaptor defining the transform.public static ValueTransform doubleTranslationTransform(DataAdaptor adaptor)
adaptor
- The adaptor defining the transform.public static ValueTransform doubleLinearTransform(DataAdaptor adaptor)
adaptor
- The adaptor defining the transform.public static ValueTransform doubleArrayScaleTransform(DataAdaptor adaptor)
adaptor
- The adaptor defining the transform.public static ValueTransform doubleArrayTranslationTransform(DataAdaptor adaptor)
adaptor
- The adaptor defining the transform.public static ValueTransform doubleArrayLinearTransform(DataAdaptor adaptor)
adaptor
- The adaptor defining the transform.