#include <vtkColorTransferFunction.h>
Inheritance diagram for vtkColorTransferFunction:


vtkColorTransferFunction encapsulates three vtkPiecewiseFunction instances to provide a full RGB transfer function.
Definition at line 42 of file vtkColorTransferFunction.h.
Public Types | |
| typedef vtkScalarsToColors | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | DeepCopy (vtkColorTransferFunction *f) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| int | GetSize () |
| int | AddRGBPoint (double x, double r, double g, double b) |
| int | AddHSVPoint (double x, double h, double s, double v) |
| int | RemovePoint (double x) |
| void | AddRGBSegment (double x1, double r1, double g1, double b1, double x2, double r2, double g2, double b2) |
| void | AddHSVSegment (double x1, double h1, double s1, double v1, double x2, double h2, double s2, double v2) |
| void | RemoveAllPoints () |
| double * | GetColor (double x) |
| void | GetColor (double x, double rgb[3]) |
| double | GetRedValue (double x) |
| double | GetGreenValue (double x) |
| double | GetBlueValue (double x) |
| virtual unsigned char * | MapValue (double v) |
| virtual double * | GetRange () |
| virtual void | GetRange (double &, double &) |
| virtual void | GetRange (double[2]) |
| int | AdjustRange (double range[2]) |
| void | GetTable (double x1, double x2, int n, double *table) |
| void | GetTable (double x1, double x2, int n, float *table) |
| const unsigned char * | GetTable (double x1, double x2, int n) |
| void | BuildFunctionFromTable (double x1, double x2, int size, double *table) |
| virtual void | SetClamping (int) |
| virtual int | GetClamping () |
| virtual void | ClampingOn () |
| virtual void | ClampingOff () |
| virtual void | SetColorSpace (int) |
| void | SetColorSpaceToRGB () |
| void | SetColorSpaceToHSV () |
| virtual int | GetColorSpace () |
| virtual void | SetHSVWrap (int) |
| virtual int | GetHSVWrap () |
| virtual void | HSVWrapOn () |
| virtual void | HSVWrapOff () |
| void | SetColorSpaceToHSVNoWrap () |
| double * | GetDataPointer () |
| void | FillFromDataPointer (int, double *) |
| virtual void | MapScalarsThroughTable2 (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputIncrement) |
Static Public Member Functions | |
| static vtkColorTransferFunction * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkColorTransferFunction * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkColorTransferFunction () | |
| ~vtkColorTransferFunction () | |
| virtual void | SetRange (double, double) |
| void | SetRange (double rng[2]) |
Protected Attributes | |
| int | Clamping |
| int | ColorSpace |
| int | HSVWrap |
| double * | Function |
| int | FunctionSize |
| int | NumberOfPoints |
| unsigned char | UnsignedCharRGBAValue [4] |
| double | Range [2] |
| vtkPiecewiseFunction * | Red |
| vtkPiecewiseFunction * | Green |
| vtkPiecewiseFunction * | Blue |
| vtkTimeStamp | BuildTime |
| unsigned char * | Table |
| int | TableSize |
|
|
Reimplemented from vtkScalarsToColors. Definition at line 46 of file vtkColorTransferFunction.h. |
|
|
|
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. |
|
|
Reimplemented from vtkScalarsToColors. |
|
|
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 vtkScalarsToColors. |
|
|
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 vtkScalarsToColors. |
|
|
Reimplemented from vtkScalarsToColors. |
|
|
|
|
||||||||||||
|
Print method for vtkColorTransferFunction Reimplemented from vtkScalarsToColors. |
|
|
How many points are there defining this function? Definition at line 53 of file vtkColorTransferFunction.h. |
|
||||||||||||||||||||
|
Add/Remove a point to/from the function defined in RGB or HSV Return the index of the point (0 based), or -1 on error. |
|
||||||||||||||||||||
|
How many points are there defining this function? |
|
|
How many points are there defining this function? |
|
||||||||||||||||||||||||||||||||||||
|
Add two points to the function and remove all the points between them |
|
||||||||||||||||||||||||||||||||||||
|
Add two points to the function and remove all the points between them |
|
|
Remove all points |
|
|
Returns an RGB color for the specified scalar value Reimplemented from vtkScalarsToColors. Definition at line 76 of file vtkColorTransferFunction.h. References vtkScalarsToColors::GetColor(). |
|
||||||||||||
|
Remove all points Implements vtkScalarsToColors. |
|
|
Get the color components individually. |
|
|
Get the color components individually. |
|
|
Get the color components individually. |
|
|
Map one value through the lookup table. Implements vtkScalarsToColors. |
|
|
Returns min and max position of all function points. Implements vtkScalarsToColors. |
|
||||||||||||
|
Map one value through the lookup table. |
|
|
Map one value through the lookup table. |
|
|
Remove all points out of the new range, and make sure there is a point at each end of that range. Return 1 on success, 0 otherwise. |
|
||||||||||||||||||||
|
Fills in a table of n function values between x1 and x2 |
|
||||||||||||||||||||
|
Remove all points out of the new range, and make sure there is a point at each end of that range. Return 1 on success, 0 otherwise. |
|
||||||||||||||||
|
Remove all points out of the new range, and make sure there is a point at each end of that range. Return 1 on success, 0 otherwise. |
|
||||||||||||||||||||
|
Construct a color transfer function from a table. Function range is is set to [x1, x2], each function size is set to size, and function points are regularly spaced between x1 and x2. Parameter "table" is assumed to be a block of memory of size [3*size] |
|
|
Sets and gets the clamping value for this transfer function. |
|
|
Construct a color transfer function from a table. Function range is is set to [x1, x2], each function size is set to size, and function points are regularly spaced between x1 and x2. Parameter "table" is assumed to be a block of memory of size [3*size] |
|
|
Construct a color transfer function from a table. Function range is is set to [x1, x2], each function size is set to size, and function points are regularly spaced between x1 and x2. Parameter "table" is assumed to be a block of memory of size [3*size] |
|
|
Construct a color transfer function from a table. Function range is is set to [x1, x2], each function size is set to size, and function points are regularly spaced between x1 and x2. Parameter "table" is assumed to be a block of memory of size [3*size] |
|
|
Set/Get the color space used for interpolation: RGB, or HSV. In HSV mode, if HSVWrap is on, it will take the shortest path in Hue (going back through 0 if that is the shortest way around the hue circle) whereas if HSVWrap is off it will not go through 0 (in order the match the current functionality of vtkLookupTable) |
|
|
Set/Get the color space used for interpolation: RGB, or HSV. In HSV mode, if HSVWrap is on, it will take the shortest path in Hue (going back through 0 if that is the shortest way around the hue circle) whereas if HSVWrap is off it will not go through 0 (in order the match the current functionality of vtkLookupTable) Definition at line 127 of file vtkColorTransferFunction.h. References VTK_CTF_RGB. |
|
|
Set/Get the color space used for interpolation: RGB, or HSV. In HSV mode, if HSVWrap is on, it will take the shortest path in Hue (going back through 0 if that is the shortest way around the hue circle) whereas if HSVWrap is off it will not go through 0 (in order the match the current functionality of vtkLookupTable) Definition at line 128 of file vtkColorTransferFunction.h. References VTK_CTF_HSV. |
|
|
Set/Get the color space used for interpolation: RGB, or HSV. In HSV mode, if HSVWrap is on, it will take the shortest path in Hue (going back through 0 if that is the shortest way around the hue circle) whereas if HSVWrap is off it will not go through 0 (in order the match the current functionality of vtkLookupTable) |
|
|
Set/Get the color space used for interpolation: RGB, or HSV. In HSV mode, if HSVWrap is on, it will take the shortest path in Hue (going back through 0 if that is the shortest way around the hue circle) whereas if HSVWrap is off it will not go through 0 (in order the match the current functionality of vtkLookupTable) |
|
|
Set/Get the color space used for interpolation: RGB, or HSV. In HSV mode, if HSVWrap is on, it will take the shortest path in Hue (going back through 0 if that is the shortest way around the hue circle) whereas if HSVWrap is off it will not go through 0 (in order the match the current functionality of vtkLookupTable) |
|
|
Set/Get the color space used for interpolation: RGB, or HSV. In HSV mode, if HSVWrap is on, it will take the shortest path in Hue (going back through 0 if that is the shortest way around the hue circle) whereas if HSVWrap is off it will not go through 0 (in order the match the current functionality of vtkLookupTable) |
|
|
Set/Get the color space used for interpolation: RGB, or HSV. In HSV mode, if HSVWrap is on, it will take the shortest path in Hue (going back through 0 if that is the shortest way around the hue circle) whereas if HSVWrap is off it will not go through 0 (in order the match the current functionality of vtkLookupTable) |
|
|
Set/Get the color space used for interpolation: RGB, or HSV. In HSV mode, if HSVWrap is on, it will take the shortest path in Hue (going back through 0 if that is the shortest way around the hue circle) whereas if HSVWrap is off it will not go through 0 (in order the match the current functionality of vtkLookupTable) |
|
|
Returns a list of all nodes Fills from a pointer to data stored in a similar list of nodes. Definition at line 139 of file vtkColorTransferFunction.h. |
|
||||||||||||
|
Returns a list of all nodes Fills from a pointer to data stored in a similar list of nodes. |
|
||||||||||||||||||||||||||||
|
map a set of scalars through the lookup table Implements vtkScalarsToColors. |
|
||||||||||||
|
Set the range of scalars being mapped. The set has no functionality in this subclass of vtkScalarsToColors. Implements vtkScalarsToColors. Definition at line 189 of file vtkColorTransferFunction.h. |
|
|
Perform any processing required (if any) before processing scalars. Reimplemented from vtkScalarsToColors. Definition at line 190 of file vtkColorTransferFunction.h. References vtkScalarsToColors::SetRange(). |
|
|
Definition at line 158 of file vtkColorTransferFunction.h. |
|
|
Definition at line 161 of file vtkColorTransferFunction.h. |
|
|
Definition at line 164 of file vtkColorTransferFunction.h. |
|
|
Definition at line 167 of file vtkColorTransferFunction.h. |
|
|
Definition at line 168 of file vtkColorTransferFunction.h. |
|
|
Definition at line 169 of file vtkColorTransferFunction.h. |
|
|
Definition at line 172 of file vtkColorTransferFunction.h. |
|
|
Definition at line 175 of file vtkColorTransferFunction.h. |
|
|
Definition at line 179 of file vtkColorTransferFunction.h. |
|
|
Definition at line 180 of file vtkColorTransferFunction.h. |
|
|
Definition at line 181 of file vtkColorTransferFunction.h. |
|
|
Definition at line 182 of file vtkColorTransferFunction.h. |
|
|
Definition at line 183 of file vtkColorTransferFunction.h. |
|
|
Definition at line 184 of file vtkColorTransferFunction.h. |
1.4.3-20050530