public class VtkImageVolume extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VtkImageVolume.VtkVolumeBlendType |
static class |
VtkImageVolume.VtkVolumeMapperType |
Constructor and Description |
---|
VtkImageVolume() |
Modifier and Type | Method and Description |
---|---|
double |
getAmbient()
Returns the ambient lighting coefficient (global)
|
VtkImageVolume.VtkVolumeBlendType |
getBlendingMode()
Returns the blending method for rendering.
|
double |
getDiffuse()
Returns the diffuse lighting coefficient (global)
|
int |
getInterpolationMode()
Returns the interpolation method for rendering.
|
double |
getSampleResolution()
Get the sample resolution of the raycaster volume rendering.
|
double[] |
getScale()
Returns the XYZ scaling of the volume image
|
boolean |
getShade()
Returns
true if shading is enabled (global) |
double |
getSpecular()
Returns the specular lighting coefficient (global)
|
double |
getSpecularPower()
Returns the specular power (global)
|
vtk.vtkVolume |
getVolume() |
VtkImageVolume.VtkVolumeMapperType |
getVolumeMapperType()
Returns the current volume mapper type (see
VtkImageVolume.VtkVolumeMapperType ). |
boolean |
isMapperSupported(vtk.vtkRenderer renderer)
Returns
true if the current selected volume mapper is supported in the specified
vtkRenderer |
boolean |
isMultiChannelVolumeMapper()
Returns
true if the current volume mapper support multi channel rendering. |
static boolean |
isMultiChannelVolumeMapper(VtkImageVolume.VtkVolumeMapperType mapperType)
Returns
true if the specified volume mapper support multi channel rendering. |
boolean |
isPickable() |
boolean |
isVisible() |
void |
release() |
void |
setAmbient(double value)
Sets the ambient lighting coefficient (global)
|
void |
setBlendingMode(VtkImageVolume.VtkVolumeBlendType value)
Sets the blending method for rendering.
|
void |
setColorMap(vtk.vtkColorTransferFunction map,
int channel)
Sets the color map (
vtkColorTransferFunction ) used to render the specified channel of
image volume. |
void |
setDiffuse(double value)
Sets the diffuse lighting coefficient (global)
|
void |
setInterpolationMode(int value)
Sets the interpolation method for rendering.
|
void |
setLUT(LUT.LUTChannel lutChannel,
int channel)
Sets the
LUT.LUTChannel used to render the specified channel of image volume. |
void |
setLUT(LUT value)
Sets the
LUT used to render the image volume. |
void |
setOpacityMap(vtk.vtkPiecewiseFunction map,
int channel)
Sets the opacity map (
vtkPiecewiseFunction ) used to render the specified channel of
image volume. |
void |
setPickable(boolean value) |
void |
setSampleResolution(double value)
Set sample resolution for the raycaster volume rendering.
|
void |
setScale(double[] xyz)
Sets the XYZ scaling of the volume image
|
void |
setScale(double x,
double y,
double z)
Sets the XYZ scaling of the volume image
|
void |
setShade(boolean value)
Enable / Disable the shading (global)
|
void |
setSpecular(double value)
Sets the specular lighting coefficient (global)
|
void |
setSpecularPower(double value)
Sets the specular power (global)
|
void |
setVisible(boolean value)
Sets the visible state of the image volume object
|
void |
setVolumeData(vtk.vtkImageData data)
Set the volume image data.
|
boolean |
setVolumeMapperType(VtkImageVolume.VtkVolumeMapperType value)
Sets the current volume mapper type used to render the volume (see
VtkImageVolume.VtkVolumeMapperType ). |
public VtkImageVolume()
public void release()
public vtk.vtkVolume getVolume()
public void setColorMap(vtk.vtkColorTransferFunction map, int channel)
vtkColorTransferFunction
) used to render the specified channel of
image volume.public void setOpacityMap(vtk.vtkPiecewiseFunction map, int channel)
vtkPiecewiseFunction
) used to render the specified channel of
image volume.public void setLUT(LUT.LUTChannel lutChannel, int channel)
LUT.LUTChannel
used to render the specified channel of image volume.public double getSampleResolution()
public void setSampleResolution(double value)
public boolean isPickable()
public void setPickable(boolean value)
public double[] getScale()
public void setScale(double x, double y, double z)
public void setScale(double[] xyz)
public boolean getShade()
true
if shading is enabled (global)public void setShade(boolean value)
public double getAmbient()
public void setAmbient(double value)
public double getDiffuse()
public void setDiffuse(double value)
public double getSpecular()
public void setSpecular(double value)
public double getSpecularPower()
public void setSpecularPower(double value)
public int getInterpolationMode()
public void setInterpolationMode(int value)
public boolean isMultiChannelVolumeMapper()
true
if the current volume mapper support multi channel rendering.public static boolean isMultiChannelVolumeMapper(VtkImageVolume.VtkVolumeMapperType mapperType)
true
if the specified volume mapper support multi channel rendering.public VtkImageVolume.VtkVolumeMapperType getVolumeMapperType()
VtkImageVolume.VtkVolumeMapperType
).public boolean setVolumeMapperType(VtkImageVolume.VtkVolumeMapperType value)
VtkImageVolume.VtkVolumeMapperType
).public boolean isMapperSupported(vtk.vtkRenderer renderer)
true
if the current selected volume mapper is supported in the specified
vtkRenderer
public VtkImageVolume.VtkVolumeBlendType getBlendingMode()
public void setBlendingMode(VtkImageVolume.VtkVolumeBlendType value)
public void setVolumeData(vtk.vtkImageData data)
public void setVisible(boolean value)
public boolean isVisible()