a render widget for volumes More...
#include <vtkKWVolumePropertyHelper.h>


a render widget for volumes
Definition at line 37 of file vtkKWVolumePropertyHelper.h.
Reimplemented from vtkObject.
Definition at line 42 of file vtkKWVolumePropertyHelper.h.
| anonymous enum |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
| ScalarOpacityRamp0At0To20At100 | |
| ScalarOpacityRamp0At25To100At50 | |
| ScalarOpacityRamp0At50To100At75 | |
| ScalarOpacitySteps0To25Then20To50Then40To75Then100To100 |
Definition at line 49 of file vtkKWVolumePropertyHelper.h.
| anonymous enum |
Apply a normalized color transfer function preset to a specific component. Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). Some presets will set 2, 3, 4 or more color points. You can specify any number of colors though, the missing ones will be picked/rotated from the one you passed (i.e. if 2 points are created and one color is provided, the same color will be used at both locations). Convenience methods are provided to pass one, two, three or four RGB color(s) directly instead of an array of RGB colors (i.e. an array of double triplets). BTX
| RGBTransferFunctionRampAt0At100 | |
| RGBTransferFunctionRampAt0At70At100 | |
| RGBTransferFunctionStepsTo25To50To75To100 |
Definition at line 80 of file vtkKWVolumePropertyHelper.h.
| anonymous enum |
Apply a normalized gradient opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
Definition at line 115 of file vtkKWVolumePropertyHelper.h.
| anonymous enum |
Apply a lighting preset to a specific component BTX
Definition at line 133 of file vtkKWVolumePropertyHelper.h.
| anonymous enum |
Apply a normalized preset, i.e. a combination of a scalar opacity preset, a color transfer function preset, a gradient opacity preset and a lighting preset (see ApplyScalarOpacityPreset, ApplyRGBTransferFunctionPreset, ApplyGradientOpacityPreset and ApplyLightingPreset). IMPORTANT: note that the vtkVolumeProperty's IndependentComponenents flag will be taken into account when setting the transfer functions for each components of the property. See ConvertNormalizedRange and/or ApplyPresetAndConvertNormalizedRange to convert the normalized range to real scalar ranges. BTX
Definition at line 162 of file vtkKWVolumePropertyHelper.h.
| anonymous enum |
Retrieve some solid color RGB presets. BTX
Definition at line 217 of file vtkKWVolumePropertyHelper.h.
| anonymous enum |
Copy a volume property from source to target, optionally skipping some fields. BTX
Definition at line 274 of file vtkKWVolumePropertyHelper.h.
| vtkKWVolumePropertyHelper::vtkKWVolumePropertyHelper | ( | ) | [inline, protected] |
Definition at line 287 of file vtkKWVolumePropertyHelper.h.
| vtkKWVolumePropertyHelper::~vtkKWVolumePropertyHelper | ( | ) | [inline, protected] |
Definition at line 288 of file vtkKWVolumePropertyHelper.h.
| static vtkKWVolumePropertyHelper* vtkKWVolumePropertyHelper::New | ( | ) | [static] |
Reimplemented from vtkObject.
| virtual const char* vtkKWVolumePropertyHelper::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
| static int vtkKWVolumePropertyHelper::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkObject.
| virtual int vtkKWVolumePropertyHelper::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkObject.
| static vtkKWVolumePropertyHelper* vtkKWVolumePropertyHelper::SafeDownCast | ( | vtkObject * | o | ) | [static] |
| void vtkKWVolumePropertyHelper::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkObject.
| static void vtkKWVolumePropertyHelper::ApplyScalarOpacityPreset | ( | vtkVolumeProperty * | prop, | |
| int | comp, | |||
| int | preset | |||
| ) | [static] |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
| static void vtkKWVolumePropertyHelper::ApplyRGBTransferFunctionPreset | ( | vtkVolumeProperty * | prop, | |
| int | comp, | |||
| int | preset, | |||
| int | nb_colors, | |||
| double ** | rgb | |||
| ) | [static] |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
| static void vtkKWVolumePropertyHelper::ApplyRGBTransferFunctionPreset | ( | vtkVolumeProperty * | prop, | |
| int | comp, | |||
| int | preset, | |||
| double | rgb[3] | |||
| ) | [static] |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
| static void vtkKWVolumePropertyHelper::ApplyRGBTransferFunctionPreset | ( | vtkVolumeProperty * | prop, | |
| int | comp, | |||
| int | preset, | |||
| double | rgb1[3], | |||
| double | rgb2[3] | |||
| ) | [static] |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
| static void vtkKWVolumePropertyHelper::ApplyRGBTransferFunctionPreset | ( | vtkVolumeProperty * | prop, | |
| int | comp, | |||
| int | preset, | |||
| double | rgb1[3], | |||
| double | rgb2[3], | |||
| double | rgb3[3] | |||
| ) | [static] |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
| static void vtkKWVolumePropertyHelper::ApplyRGBTransferFunctionPreset | ( | vtkVolumeProperty * | prop, | |
| int | comp, | |||
| int | preset, | |||
| double | rgb1[3], | |||
| double | rgb2[3], | |||
| double | rgb3[3], | |||
| double | rgb4[3] | |||
| ) | [static] |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
| static void vtkKWVolumePropertyHelper::ApplyGradientOpacityPreset | ( | vtkVolumeProperty * | prop, | |
| int | comp, | |||
| int | preset | |||
| ) | [static] |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
| static void vtkKWVolumePropertyHelper::ApplyLightingPreset | ( | vtkVolumeProperty * | prop, | |
| int | comp, | |||
| int | preset | |||
| ) | [static] |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
| static void vtkKWVolumePropertyHelper::ApplyPreset | ( | vtkVolumeProperty * | prop, | |
| int | preset | |||
| ) | [static] |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
| static double* vtkKWVolumePropertyHelper::GetRGBColor | ( | int | preset | ) | [static] |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
| static void vtkKWVolumePropertyHelper::ConvertNormalizedRange | ( | vtkVolumeProperty * | normalized_prop, | |
| vtkVolumeProperty * | target_prop, | |||
| vtkImageData * | image, | |||
| int | independent_component, | |||
| vtkKWHistogramSet * | histogram_set | |||
| ) | [static] |
Convert a normalized volume property to real scalar ranges. The contents of normalized_prop is entirely deep-copied to target_prop (EXCEPT the ScalarOpacityUnitDistance). The points are all moved from normalized space to real scalar ranges computed either from the image's data range or from its histogram (if any).
| static void vtkKWVolumePropertyHelper::ApplyPresetAndConvertNormalizedRange | ( | int | preset, | |
| vtkVolumeProperty * | target_prop, | |||
| vtkImageData * | image, | |||
| int | independent_component, | |||
| vtkKWHistogramSet * | histogram_set | |||
| ) | [static] |
Convenience method that will create a temporary volume property, use ApplyPreset to convert it to a normalized preset, then convert its normalized values to real scalar ranges by calling ConvertNormalizedRange. The points are all moved from normalized space to real scalar ranges computed either from the image's data range or from its histogram (if any).
| static void vtkKWVolumePropertyHelper::DeepCopyVolumeProperty | ( | vtkVolumeProperty * | target, | |
| vtkVolumeProperty * | source | |||
| ) | [static] |
Deep copy a volume property from source to target.
| static void vtkKWVolumePropertyHelper::CopyVolumeProperty | ( | vtkVolumeProperty * | target, | |
| vtkVolumeProperty * | source, | |||
| int | options | |||
| ) | [static] |
Apply a normalized scalar opacity preset to a specific component Such normalized values can later be converted to real scalar values given an image data and/or an histogram (see ConvertNormalizedToReal). BTX
1.6.1