VolumeModifier
Extends:
Indirect Implements:
A modifier that applies CSG operations to Hermite data.
Constructor Summary
Public Constructor | ||
public |
Constructs a new Hermite data modifier. |
Member Summary
Public Members | ||
public |
A container for the data that will be returned to the main thread. |
Method Summary
Public Methods | ||
public |
createTransferList(transferList: Array): Transferable[] Creates a list of transferable items. |
|
public |
process(request: ModificationRequest): * Modifies the given Hermite data using the provided SDF. |
|
public |
Prepares a response that can be send back to the main thread. |
Inherited Summary
From class DataProcessor | ||
protected |
A set of Hermite data that will be used during processing. |
|
protected |
A container for the data that will be returned to the main thread. |
|
public |
createTransferList(transferList: Array): Transferable[] Creates a list of transferable items. |
|
public |
Returns the data of this processor. |
|
public |
process(request: DataMessage): DataProcessor Processes the given request. |
|
public |
Prepares a response that can be send back to the main thread. |
Public Constructors
public constructor() source
Constructs a new Hermite data modifier.
Override:
DataProcessor#constructorPublic Members
public response: ModificationResponse source
A container for the data that will be returned to the main thread.
Override:
DataProcessor#responsePublic Methods
public createTransferList(transferList: Array): Transferable[] source
Creates a list of transferable items.
Override:
DataProcessor#createTransferListParams:
Name | Type | Attribute | Description |
transferList | Array |
|
An optional target list. The transferable items will be added to this list. |
Return:
Transferable[] | The transfer list. |
public process(request: ModificationRequest): * source
Modifies the given Hermite data using the provided SDF.
Override:
DataProcessor#processParams:
Name | Type | Attribute | Description |
request | ModificationRequest | A modification request. |
Return:
* |
public respond(): ModificationResponse source
Prepares a response that can be send back to the main thread.
Should be used together with VolumeModifier#createTransferList.