Class VoxelDataTypeFactoryMultiplexer<T>
Object
VoxelDataTypeFactoryMultiplexer<T>
- Type Parameters:
T- type of factory provided for a particular voxel-data-type
- Direct Known Subclasses:
VoxelsFactory
Multiplexes between factories for the various
VoxelDataTypes.- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionVoxelDataTypeFactoryMultiplexer(T factoryUnsignedByte, T factoryUnsignedShort, T factoryUnsignedInt, T factoryFloat) -
Method Summary
Modifier and TypeMethodDescriptionget(VoxelDataType dataType) Multiplexes one of the factories according to data-type
-
Constructor Details
-
VoxelDataTypeFactoryMultiplexer
-
-
Method Details
-
get
Multiplexes one of the factories according to data-type- Parameters:
dataType- the type to find a factory for- Returns:
- a factory if it exists, or else an exception
-