| java.lang.Object javax.media.jai.CollectionImage ca.forklabs.media.jai.SimpleCollectionImage ca.forklabs.media.jai.opimage.ImageFunction3DOpImage
Inner Class :abstract protected static class PixelSpecialization | |
Field Summary | |
final protected static PixelSpecialization<double[]> | DOUBLE_SPECIALIZATION Specialization for the double data type. | final protected static PixelSpecialization<float[]> | FLOAT_SPECIALIZATION Specialization for the float data type. |
Method Summary | |
protected void | create(ImageFunction3D function, int width, int height, int depth, PixelSpecialization<T> specialization) Really creates the image. | protected void | create(ImageFunction3D function, int width, int height, int depth, RenderingHints hints) Creates the image. | protected void | createDouble(ImageFunction3D function, int width, int height, int depth) Creates a double image. | protected void | createFloat(ImageFunction3D function, int width, int height, int depth) Creates a float image. | protected int | getDataType(RenderingHints hints) Gets the data type. |
DOUBLE_SPECIALIZATION | final protected static PixelSpecialization<double[]> DOUBLE_SPECIALIZATION(Code) | | Specialization for the double data type.
|
FLOAT_SPECIALIZATION | final protected static PixelSpecialization<float[]> FLOAT_SPECIALIZATION(Code) | | Specialization for the float data type.
|
ImageFunction3DOpImage | public ImageFunction3DOpImage(ImageFunction3D function, int width, int height, int depth, RenderingHints hints)(Code) | | Constructor.
Parameters: function - the functional description. Parameters: width - the width of the image. Parameters: height - the height of the image. Parameters: depth - the depth of the image. Parameters: hints - rendering hints. |
create | protected void create(ImageFunction3D function, int width, int height, int depth, PixelSpecialization<T> specialization)(Code) | | Really creates the image.
Parameters: function - the functional description. Parameters: width - the width of the image. Parameters: height - the height of the image. Parameters: depth - the depth of the image. Parameters: specialization - the pixel specialization.< Parameters: T - > the type of data, either float[] ordouble[] . |
create | protected void create(ImageFunction3D function, int width, int height, int depth, RenderingHints hints)(Code) | | Creates the image.
Parameters: function - the functional description. Parameters: width - the width of the image. Parameters: height - the height of the image. Parameters: depth - the depth of the image. Parameters: hints - rendering hints. |
createDouble | protected void createDouble(ImageFunction3D function, int width, int height, int depth)(Code) | | Creates a double image.
Parameters: function - the functional description. Parameters: width - the width of the image. Parameters: height - the height of the image. Parameters: depth - the depth of the image. |
createFloat | protected void createFloat(ImageFunction3D function, int width, int height, int depth)(Code) | | Creates a float image.
Parameters: function - the functional description. Parameters: width - the width of the image. Parameters: height - the height of the image. Parameters: depth - the depth of the image. |
getDataType | protected int getDataType(RenderingHints hints)(Code) | | Gets the data type. The default data type is
float . If a sample
model is provided in the rendering hints, its data type will be respected,
provided it is
float or
double .
Parameters: hints - rendering hints. the data type of the image. |
|
|