Functions | |
| void | init () |
| void | end () |
| RGBAColor | getIntensity (int anIntensity) |
| void | removeColorMarker (int anIntensity) |
| void | removeOpacityMarker (int anIntensity) |
| void | addMarker (int anIntensity, Float_Color aColor) |
| void | addMarker (int anIntensity, float anOpacity) |
| std::map< int, Float_Color > * | getColorTransferPt () |
| std::map< int, float > * | getOpacityTransferPt () |
| void | useSpline (bool useSplines) |
| bool | splineIsUsed () |
| void | useExactAlgorithm (bool useIt) |
| void ColorTransfer::init | ( | ) |
(re-)initializes the namespace
| void ColorTransfer::end | ( | ) |
| RGBAColor ColorTransfer::getIntensity | ( | int | anIntensity | ) |
returns the color at a given intensity
| anIntensity | the intinsity the color is requested for |
| void ColorTransfer::removeColorMarker | ( | int | anIntensity | ) |
removes a marker from the color map
| anIntensity | the position of the marker |
| void ColorTransfer::removeOpacityMarker | ( | int | anIntensity | ) |
removes a marker from the opacity map
| anIntensity | the position of the marker |
| void ColorTransfer::addMarker | ( | int | anIntensity, | |
| Float_Color | aColor | |||
| ) |
adds a marker to the color map
| anIntensity | the position of the marker | |
| aColor | the color to add |
| void ColorTransfer::addMarker | ( | int | anIntensity, | |
| float | anOpacity | |||
| ) |
adds a marker to the opacity map
| anIntensity | the position of the marker | |
| aColor | the opacity to add |
| std::map< int, Float_Color > * ColorTransfer::getColorTransferPt | ( | ) |
returns a pointer to the color map
| std::map< int, float > * ColorTransfer::getOpacityTransferPt | ( | ) |
returns a pointer to the opacity map
| void ColorTransfer::useSpline | ( | bool | useSplines | ) |
switches between catmull-rom splines and linear interpolation
| useSplineInterpolation | switch to spline interpolation (otherwise linear) |
| bool ColorTransfer::splineIsUsed | ( | ) |
indicates whether splines are used for interpolation or not
| void ColorTransfer::useExactAlgorithm | ( | bool | useIt | ) |
indicates whether splines are computed exactly when using spline interpolation
| useIt | indicates whether to use exact calculation or not |
1.4.7