#include <vtkVolumeProperty.h>
Inheritance diagram for vtkVolumeProperty:
vtkVolumeProperty is used to represent common properties associated with volume rendering. This includes properties for determining the type of interpolation to use when sampling a volume, the color of a volume, the scalar opacity of a volume, the gradient opacity of a volume, and the shading parameters of a volume.
When the scalar opacity or the gradient opacity of a volume is not set, then the function is defined to be a constant value of 1.0. When a scalar and gradient opacity are both set simultaneously, then the opacity is defined to be the product of the scalar opacity and gradient opacity transfer functions.
Most properties can be set per "component" for volume mappers that support multiple independent components. If you are using 2 component data as LV or 4 component data as RGBV (as specified in the mapper) only the first scalar opacity and gradient opacity transfer functions will be used (and all color functions will be ignored). Omitting the index parameter on the Set/Get methods will access index = 0.
Definition at line 58 of file vtkVolumeProperty.h.
|
Reimplemented from vtkObject. Definition at line 62 of file vtkVolumeProperty.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. |
|
Reimplemented from vtkObject. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. |
|
Reimplemented from vtkObject. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. |
|
Get the modified time for this object (or the properties registered with this object). Reimplemented from vtkObject. |
|
Does the data have independent components, or do some define color only? If IndependentComponents is On (the default) then each component will be independently passed through a lookup table to determine RGBA, shaded. Some volume Mappers can handle 1 to 4 component unsigned char or unsigned short data (see each mapper header file to determine functionality). If IndependentComponents is Off, then you must have either 2 or 4 component data. For 2 component data, the first is passed through the first color transfer function and the second component is passed through the first opacity transfer function. Normals will be generated off of the second component. For 4 component data, the first three will directly represent RGB (no lookup table). The fourth component will be passed through the first scalar opacity transfer function for opacity. Normals will be generated from the fourth component. |
|
Get the modified time for this object (or the properties registered with this object). |
|
Get the modified time for this object (or the properties registered with this object). |
|
Get the modified time for this object (or the properties registered with this object). |
|
Set/Get the scalar component weights |
|
Set/Get the scalar component weights |
|
Set the interpolation type for sampling a volume. |
|
Set the interpolation type for sampling a volume. |
|
Set the interpolation type for sampling a volume. Definition at line 100 of file vtkVolumeProperty.h. References VTK_NEAREST_INTERPOLATION. |
|
Set the interpolation type for sampling a volume. Definition at line 102 of file vtkVolumeProperty.h. References VTK_LINEAR_INTERPOLATION. |
|
Return the interpolation type as a descriptive character string. Definition at line 353 of file vtkVolumeProperty.h. References InterpolationType, VTK_LINEAR_INTERPOLATION, and VTK_NEAREST_INTERPOLATION. |
|
Set the color of a volume to a gray level transfer function for the component indicated by index. This will set the color channels for this component to 1. |
|
Set the color of a volume to a gray level transfer function for the component indicated by index. This will set the color channels for this component to 1. Definition at line 112 of file vtkVolumeProperty.h. |
|
Set the color of a volume to an RGB transfer function for the component indicated by index. This will set the color channels for this component to 3. This will also recompute the color channels |
|
Set the color of a volume to an RGB transfer function for the component indicated by index. This will set the color channels for this component to 3. This will also recompute the color channels Definition at line 120 of file vtkVolumeProperty.h. |
|
Get the number of color channels in the transfer function for the given component. |
|
Get the number of color channels in the transfer function for the given component. Definition at line 127 of file vtkVolumeProperty.h. |
|
Get the gray transfer function. If no transfer function has been set for this component, a default one is created and returned. |
|
Get the gray transfer function. If no transfer function has been set for this component, a default one is created and returned. Definition at line 134 of file vtkVolumeProperty.h. |
|
Get the RGB transfer function for the given component. If no transfer function has been set for this component, a default one is created and returned. |
|
Get the RGB transfer function for the given component. If no transfer function has been set for this component, a default one is created and returned. Definition at line 143 of file vtkVolumeProperty.h. |
|
Set the opacity of a volume to an opacity transfer function based on scalar value for the component indicated by index. |
|
Set the opacity of a volume to an opacity transfer function based on scalar value for the component indicated by index. Definition at line 151 of file vtkVolumeProperty.h. |
|
Get the scalar opacity transfer function for the given component. If no transfer function has been set for this component, a default one is created and returned. |
|
Get the scalar opacity transfer function for the given component. If no transfer function has been set for this component, a default one is created and returned. Definition at line 160 of file vtkVolumeProperty.h. |
|
Set/Get the unit distance on which the scalar opacity transfer function is defined. By default this is 1.0, meaning that over a distance of 1.0 units, a given opacity (from the transfer function) is accumulated. This is adjusted for the actual sampling distance during rendering. |
|
Set/Get the unit distance on which the scalar opacity transfer function is defined. By default this is 1.0, meaning that over a distance of 1.0 units, a given opacity (from the transfer function) is accumulated. This is adjusted for the actual sampling distance during rendering. Definition at line 171 of file vtkVolumeProperty.h. |
|
Set/Get the unit distance on which the scalar opacity transfer function is defined. By default this is 1.0, meaning that over a distance of 1.0 units, a given opacity (from the transfer function) is accumulated. This is adjusted for the actual sampling distance during rendering. |
|
Set/Get the unit distance on which the scalar opacity transfer function is defined. By default this is 1.0, meaning that over a distance of 1.0 units, a given opacity (from the transfer function) is accumulated. This is adjusted for the actual sampling distance during rendering. Definition at line 174 of file vtkVolumeProperty.h. |
|
Set the opacity of a volume to an opacity transfer function based on gradient magnitude for the given component. |
|
Set the opacity of a volume to an opacity transfer function based on gradient magnitude for the given component. Definition at line 183 of file vtkVolumeProperty.h. |
|
Get the gradient magnitude opacity transfer function for the given component. If no transfer function has been set for this component, a default one is created and returned. This default function is always returned if DisableGradientOpacity is On for that component. |
|
Get the gradient magnitude opacity transfer function for the given component. If no transfer function has been set for this component, a default one is created and returned. This default function is always returned if DisableGradientOpacity is On for that component. Definition at line 193 of file vtkVolumeProperty.h. |
|
Enable/Disable the gradient opacity function for the given component. If set to true, any call to GetGradientOpacity() will return a default function for this component. Note that the gradient opacity function is still stored, it is not set or reset and can be retrieved using GetStoredGradientOpacity(). |
|
Enable/Disable the gradient opacity function for the given component. If set to true, any call to GetGradientOpacity() will return a default function for this component. Note that the gradient opacity function is still stored, it is not set or reset and can be retrieved using GetStoredGradientOpacity(). Definition at line 204 of file vtkVolumeProperty.h. |
|
Enable/Disable the gradient opacity function for the given component. If set to true, any call to GetGradientOpacity() will return a default function for this component. Note that the gradient opacity function is still stored, it is not set or reset and can be retrieved using GetStoredGradientOpacity(). Definition at line 206 of file vtkVolumeProperty.h. |
|
Enable/Disable the gradient opacity function for the given component. If set to true, any call to GetGradientOpacity() will return a default function for this component. Note that the gradient opacity function is still stored, it is not set or reset and can be retrieved using GetStoredGradientOpacity(). Definition at line 208 of file vtkVolumeProperty.h. |
|
Enable/Disable the gradient opacity function for the given component. If set to true, any call to GetGradientOpacity() will return a default function for this component. Note that the gradient opacity function is still stored, it is not set or reset and can be retrieved using GetStoredGradientOpacity(). Definition at line 210 of file vtkVolumeProperty.h. |
|
Enable/Disable the gradient opacity function for the given component. If set to true, any call to GetGradientOpacity() will return a default function for this component. Note that the gradient opacity function is still stored, it is not set or reset and can be retrieved using GetStoredGradientOpacity(). Definition at line 212 of file vtkVolumeProperty.h. |
|
Enable/Disable the gradient opacity function for the given component. If set to true, any call to GetGradientOpacity() will return a default function for this component. Note that the gradient opacity function is still stored, it is not set or reset and can be retrieved using GetStoredGradientOpacity(). |
|
Enable/Disable the gradient opacity function for the given component. If set to true, any call to GetGradientOpacity() will return a default function for this component. Note that the gradient opacity function is still stored, it is not set or reset and can be retrieved using GetStoredGradientOpacity(). Definition at line 215 of file vtkVolumeProperty.h. |
|
Enable/Disable the gradient opacity function for the given component. If set to true, any call to GetGradientOpacity() will return a default function for this component. Note that the gradient opacity function is still stored, it is not set or reset and can be retrieved using GetStoredGradientOpacity(). |
|
Enable/Disable the gradient opacity function for the given component. If set to true, any call to GetGradientOpacity() will return a default function for this component. Note that the gradient opacity function is still stored, it is not set or reset and can be retrieved using GetStoredGradientOpacity(). Definition at line 218 of file vtkVolumeProperty.h. |
|
Set/Get the shading of a volume. If shading is turned off, then the mapper for the volume will not perform shading calculations. If shading is turned on, the mapper may perform shading calculations - in some cases shading does not apply (for example, in a maximum intensity projection) and therefore shading will not be performed even if this flag is on. For a compositing type of mapper, turning shading off is generally the same as setting ambient=1, diffuse=0, specular=0. Shading can be independently turned on/off per component. |
|
Set/Get the shading of a volume. If shading is turned off, then the mapper for the volume will not perform shading calculations. If shading is turned on, the mapper may perform shading calculations - in some cases shading does not apply (for example, in a maximum intensity projection) and therefore shading will not be performed even if this flag is on. For a compositing type of mapper, turning shading off is generally the same as setting ambient=1, diffuse=0, specular=0. Shading can be independently turned on/off per component. Definition at line 232 of file vtkVolumeProperty.h. |
|
Set/Get the shading of a volume. If shading is turned off, then the mapper for the volume will not perform shading calculations. If shading is turned on, the mapper may perform shading calculations - in some cases shading does not apply (for example, in a maximum intensity projection) and therefore shading will not be performed even if this flag is on. For a compositing type of mapper, turning shading off is generally the same as setting ambient=1, diffuse=0, specular=0. Shading can be independently turned on/off per component. |
|
Set/Get the shading of a volume. If shading is turned off, then the mapper for the volume will not perform shading calculations. If shading is turned on, the mapper may perform shading calculations - in some cases shading does not apply (for example, in a maximum intensity projection) and therefore shading will not be performed even if this flag is on. For a compositing type of mapper, turning shading off is generally the same as setting ambient=1, diffuse=0, specular=0. Shading can be independently turned on/off per component. Definition at line 234 of file vtkVolumeProperty.h. |
|
Set/Get the shading of a volume. If shading is turned off, then the mapper for the volume will not perform shading calculations. If shading is turned on, the mapper may perform shading calculations - in some cases shading does not apply (for example, in a maximum intensity projection) and therefore shading will not be performed even if this flag is on. For a compositing type of mapper, turning shading off is generally the same as setting ambient=1, diffuse=0, specular=0. Shading can be independently turned on/off per component. |
|
Set/Get the shading of a volume. If shading is turned off, then the mapper for the volume will not perform shading calculations. If shading is turned on, the mapper may perform shading calculations - in some cases shading does not apply (for example, in a maximum intensity projection) and therefore shading will not be performed even if this flag is on. For a compositing type of mapper, turning shading off is generally the same as setting ambient=1, diffuse=0, specular=0. Shading can be independently turned on/off per component. Definition at line 236 of file vtkVolumeProperty.h. |
|
Set/Get the shading of a volume. If shading is turned off, then the mapper for the volume will not perform shading calculations. If shading is turned on, the mapper may perform shading calculations - in some cases shading does not apply (for example, in a maximum intensity projection) and therefore shading will not be performed even if this flag is on. For a compositing type of mapper, turning shading off is generally the same as setting ambient=1, diffuse=0, specular=0. Shading can be independently turned on/off per component. |
|
Set/Get the shading of a volume. If shading is turned off, then the mapper for the volume will not perform shading calculations. If shading is turned on, the mapper may perform shading calculations - in some cases shading does not apply (for example, in a maximum intensity projection) and therefore shading will not be performed even if this flag is on. For a compositing type of mapper, turning shading off is generally the same as setting ambient=1, diffuse=0, specular=0. Shading can be independently turned on/off per component. Definition at line 238 of file vtkVolumeProperty.h. |
|
Set/Get the ambient lighting coefficient. |
|
Set/Get the ambient lighting coefficient. Definition at line 244 of file vtkVolumeProperty.h. |
|
Set/Get the ambient lighting coefficient. |
|
Set/Get the ambient lighting coefficient. Definition at line 246 of file vtkVolumeProperty.h. |
|
Set/Get the diffuse lighting coefficient. |
|
Set/Get the diffuse lighting coefficient. Definition at line 252 of file vtkVolumeProperty.h. |
|
Set/Get the diffuse lighting coefficient. |
|
Set/Get the diffuse lighting coefficient. Definition at line 254 of file vtkVolumeProperty.h. |
|
Set/Get the specular lighting coefficient. |
|
Set/Get the specular lighting coefficient. Definition at line 260 of file vtkVolumeProperty.h. |
|
Set/Get the specular lighting coefficient. |
|
Set/Get the specular lighting coefficient. Definition at line 262 of file vtkVolumeProperty.h. |
|
Set/Get the specular power. |
|
Set/Get the specular power. Definition at line 268 of file vtkVolumeProperty.h. |
|
Set/Get the specular power. |
|
Set/Get the specular power. Definition at line 270 of file vtkVolumeProperty.h. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE UpdateMTimes performs a Modified() on all TimeStamps. This is used by vtkVolume when the property is set, so that any other object that might have been caching information for the property will rebuild. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Get the time that the gradient opacity transfer function was set |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE UpdateMTimes performs a Modified() on all TimeStamps. This is used by vtkVolume when the property is set, so that any other object that might have been caching information for the property will rebuild. Definition at line 284 of file vtkVolumeProperty.h. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Get the time that the scalar opacity transfer function was set. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Get the time that the scalar opacity transfer function was set. Definition at line 292 of file vtkVolumeProperty.h. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Get the time that the RGBTransferFunction was set |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Get the time that the RGBTransferFunction was set Definition at line 300 of file vtkVolumeProperty.h. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Get the time that the GrayTransferFunction was set |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Get the time that the GrayTransferFunction was set Definition at line 308 of file vtkVolumeProperty.h. |
|
|
|
Definition at line 317 of file vtkVolumeProperty.h. |
|
Definition at line 318 of file vtkVolumeProperty.h. |
|
Definition at line 320 of file vtkVolumeProperty.h. Referenced by GetInterpolationTypeAsString(). |
|
Definition at line 322 of file vtkVolumeProperty.h. |
|
Definition at line 324 of file vtkVolumeProperty.h. |
|
Definition at line 325 of file vtkVolumeProperty.h. |
|
Definition at line 327 of file vtkVolumeProperty.h. |
|
Definition at line 328 of file vtkVolumeProperty.h. |
|
Definition at line 330 of file vtkVolumeProperty.h. |
|
Definition at line 331 of file vtkVolumeProperty.h. |
|
Definition at line 332 of file vtkVolumeProperty.h. |
|
Definition at line 334 of file vtkVolumeProperty.h. |
|
Definition at line 335 of file vtkVolumeProperty.h. |
|
Definition at line 336 of file vtkVolumeProperty.h. |
|
Definition at line 337 of file vtkVolumeProperty.h. |
|
Definition at line 339 of file vtkVolumeProperty.h. |
|
Definition at line 340 of file vtkVolumeProperty.h. |
|
Definition at line 341 of file vtkVolumeProperty.h. |
|
Definition at line 342 of file vtkVolumeProperty.h. |
|
Definition at line 343 of file vtkVolumeProperty.h. |