public abstract class TransferFunction
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TransferFunction.Block
Block of data that is read for a datasource.
|
static class |
TransferFunction.Feature |
static class |
TransferFunction.Type |
Constructor and Description |
---|
TransferFunction() |
Modifier and Type | Method and Description |
---|---|
abstract void |
classifyVoxel(DataBlock src,
IndexSpaceID srcId,
DataBlock dest,
IndexSpaceID destId,
TransferFunction.Feature feature) |
void |
classifyVoxels(DataBlock src,
ISBounds srcBounds,
DataBlock dest,
TransferFunction.Feature feature) |
abstract void |
convert(Datum datum,
byte[] texture,
int index) |
abstract void |
convert(Values values,
byte[] texture) |
abstract Datum |
createDatum() |
static TransferFunction |
createDefault(DataSource dataSource) |
abstract TransferFunction.Type |
getType() |
protected static javax.vecmath.Vector3d |
gradient(DataBlock block,
IndexSpaceID id,
int attr) |
abstract boolean |
isFirstBigger(byte[] t1,
int i1,
byte[] t2,
int i2) |
abstract void |
shadeVoxel(DataBlock src,
IndexSpaceID srcId,
DataBlock dest,
IndexSpaceID destId,
javax.vecmath.Vector3d L,
javax.vecmath.Vector3d H,
double distFromPicturePlane) |
protected static double |
shadeVoxel(DataBlock src,
IndexSpaceID srcId,
int attr,
javax.vecmath.Vector3d L,
javax.vecmath.Vector3d H,
double d) |
void |
shadeVoxels(DataBlock src,
ISBounds srcBounds,
DataBlock dest,
javax.vecmath.Vector3d L,
javax.vecmath.Vector3d H,
double distFromPicturePlane) |
abstract void |
trilinearInterpolation(TransferFunction.Block block,
Datum datum,
IndexSpaceID lower) |
static double |
trilinearInterpolation(TransferFunction.Block block,
IndexSpaceID lower,
int attr) |
public abstract void convert(Datum datum, byte[] texture, int index)
public abstract void convert(Values values, byte[] texture)
public abstract boolean isFirstBigger(byte[] t1, int i1, byte[] t2, int i2)
public abstract Datum createDatum()
public abstract void trilinearInterpolation(TransferFunction.Block block, Datum datum, IndexSpaceID lower)
public abstract TransferFunction.Type getType()
public abstract void classifyVoxel(DataBlock src, IndexSpaceID srcId, DataBlock dest, IndexSpaceID destId, TransferFunction.Feature feature)
public abstract void shadeVoxel(DataBlock src, IndexSpaceID srcId, DataBlock dest, IndexSpaceID destId, javax.vecmath.Vector3d L, javax.vecmath.Vector3d H, double distFromPicturePlane)
public void shadeVoxels(DataBlock src, ISBounds srcBounds, DataBlock dest, javax.vecmath.Vector3d L, javax.vecmath.Vector3d H, double distFromPicturePlane)
public void classifyVoxels(DataBlock src, ISBounds srcBounds, DataBlock dest, TransferFunction.Feature feature)
public static TransferFunction createDefault(DataSource dataSource)
public static double trilinearInterpolation(TransferFunction.Block block, IndexSpaceID lower, int attr)
protected static double shadeVoxel(DataBlock src, IndexSpaceID srcId, int attr, javax.vecmath.Vector3d L, javax.vecmath.Vector3d H, double d)
protected static javax.vecmath.Vector3d gradient(DataBlock block, IndexSpaceID id, int attr)