public class MultiChannelVolumeTexture extends Texture3D
ALLOW_ANISOTROPIC_FILTER_READ, ALLOW_BOUNDARY_COLOR_READ, ALLOW_BOUNDARY_MODE_READ, ALLOW_ENABLE_READ, ALLOW_ENABLE_WRITE, ALLOW_FILTER_READ, ALLOW_FILTER4_READ, ALLOW_FORMAT_READ, ALLOW_IMAGE_READ, ALLOW_IMAGE_WRITE, ALLOW_LOD_RANGE_READ, ALLOW_LOD_RANGE_WRITE, ALLOW_MIPMAP_MODE_READ, ALLOW_SHARPEN_TEXTURE_READ, ALLOW_SIZE_READ, ALPHA, ANISOTROPIC_NONE, ANISOTROPIC_SINGLE_VALUE, BASE_LEVEL, BASE_LEVEL_LINEAR, BASE_LEVEL_POINT, CLAMP, CLAMP_TO_BOUNDARY, CLAMP_TO_EDGE, FASTEST, FILTER4, INTENSITY, LINEAR_SHARPEN, LINEAR_SHARPEN_ALPHA, LINEAR_SHARPEN_RGB, LUMINANCE, LUMINANCE_ALPHA, MULTI_LEVEL_LINEAR, MULTI_LEVEL_MIPMAP, MULTI_LEVEL_POINT, NICEST, RGB, RGBA, WRAP
Constructor and Description |
---|
MultiChannelVolumeTexture(double[][][] double3d,
double cl_min,
double cl_max,
Color3f c)
Creates a MultiChannelVolumeTexture with a single channel.
|
Modifier and Type | Method and Description |
---|---|
void |
addChannel(double[][][] channelValues,
double cl_min,
double cl_max,
Color3f c) |
double[] |
getAbsoluteMinMax(int channel) |
double[] |
getMaxRangeMinMax(int channel) |
double[] |
getMinMax(int channel) |
boolean |
matchesShape(double[][][] data) |
void |
refresh() |
void |
setColor(int channel,
double x,
double y,
double z) |
void |
setTransparencyRange(int channel,
double low,
double high)
Sets the transparency to the range associated relative to the clamped min and max.
|
cloneNodeComponent, duplicateNodeComponent, getBoundaryModeR, getDepth, setBoundaryModeR
getAnisotropicFilterDegree, getAnisotropicFilterMode, getBaseLevel, getBoundaryColor, getBoundaryModeS, getBoundaryModeT, getBoundaryWidth, getEnable, getFilter4Func, getFilter4FuncPointsCount, getFormat, getHeight, getImage, getImages, getLodOffset, getMagFilter, getMaximumLevel, getMaximumLOD, getMinFilter, getMinimumLOD, getMipMapMode, getSharpenTextureFunc, getSharpenTextureFunc, getSharpenTextureFuncPointsCount, getWidth, numMipMapLevels, setAnisotropicFilterDegree, setAnisotropicFilterMode, setBaseLevel, setBoundaryColor, setBoundaryColor, setBoundaryModeS, setBoundaryModeT, setEnable, setFilter4Func, setImage, setImages, setLodOffset, setLodOffset, setMagFilter, setMaximumLevel, setMaximumLOD, setMinFilter, setMinimumLOD, setMipMapMode, setSharpenTextureFunc, setSharpenTextureFunc
cloneNodeComponent, duplicateNodeComponent, getDuplicateOnCloneTree, setDuplicateOnCloneTree
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
public MultiChannelVolumeTexture(double[][][] double3d, double cl_min, double cl_max, Color3f c)
double3d
- cl_min
- cl_max
- c
- public double[] getMinMax(int channel)
public double[] getAbsoluteMinMax(int channel)
public double[] getMaxRangeMinMax(int channel)
public boolean matchesShape(double[][][] data)
public void addChannel(double[][][] channelValues, double cl_min, double cl_max, Color3f c)
public void refresh()
public void setColor(int channel, double x, double y, double z)
public void setTransparencyRange(int channel, double low, double high)
channel
- low
- high
- Copyright © 2013–2022 Francis Crick Institute. All rights reserved.