Last updated

API / geotoolkit / seismic / data / DataTransformation / DataTransformation

Class: DataTransformation

data.DataTransformation.DataTransformation

The base class for data transformations.

Implements

Table of contents

Constructors
Methods

Contents

Constructors

new DataTransformation()

Protected new DataTransformation()

Methods

applyConfiguration

Abstract applyConfiguration(config, size, data): void

Configures this data transform.

Parameters

Name Type Description
configanyThe data transform configuration.
sizeDimensionThe size of the data transform.
dataArrayBuffer | TypedArrayThe data on which this transform is applied.

Returns

void


dispose

dispose(): void

Dispose.

Returns

void

Implementation of

IDisposable.dispose


getClassName

getClassName(): string

Returns

string


getInverseName

Abstract getInverseName(): string

Gets the name of this data transform's inverse.

Returns

string

The name of the transforms's inverse.


getName

Abstract getName(): string

Gets the name of this data transform.

Returns

string

The name of this transform.


getSize

getSize(): Dimension

Gets the size of the transform.

Returns

Dimension

The size of the transform.


getVersion

Abstract getVersion(): string

Gets the version of this transform

Returns

string

The version of the transform.


loadBinaryData

Abstract loadBinaryData(config, data): TypedArray

Loads binary data into this transform.

Parameters

Name Type Description
configanyThe data transform configuration
dataTypedArrayThe data that has to be loaded.

Returns

TypedArray


setSize

setSize(size): DataTransformation

Sets the size of the transform.

Parameters

Name Type Description
sizeDimensionThe size of the transform.

Returns

DataTransformation

this


transform

Abstract transform(data): TypedArray

Performs the transform on the data.

Parameters

Name Type Description
dataTypedArrayThe data that will be transformed.

Returns

TypedArray

The transformed data.


getClassName

Static getClassName(): string

Returns

string