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


Public Methods | |
| virtual const char * | GetClassName () | 
| virtual int | IsA (const char *type) | 
| void | DeepCopy (vtkColorTransferFunction *f) | 
| void | PrintSelf (ostream &os, vtkIndent indent) | 
| int | GetSize () | 
| virtual unsigned char * | MapValue (float v) | 
| void | BuildFunctionFromTable (float x1, float x2, int size, float *table) | 
| float * | GetDataPointer () | 
| void | AddRGBPoint (float x, float r, float g, float b) | 
| void | AddHSVPoint (float x, float h, float s, float v) | 
| void | AddRGBSegment (float x1, float r1, float g1, float b1, float x2, float r2, float g2, float b2) | 
| void | AddHSVSegment (float x1, float h1, float s1, float v1, float x2, float h2, float s2, float v2) | 
| void | RemovePoint (float x) | 
| void | RemoveAllPoints () | 
| float * | GetColor (float x) | 
| void | GetColor (float x, float rgb[3]) | 
| float | GetRedValue (float x) | 
| float | GetGreenValue (float x) | 
| float | GetBlueValue (float x) | 
| virtual float * | GetRange () | 
| virtual void | GetRange (float &, float &) | 
| virtual void | GetRange (float[2]) | 
| void | GetTable (float x1, float x2, int n, float *table) | 
| const unsigned char * | GetTable (float x1, float x2, int n) | 
| 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 | MapScalarsThroughTable2 (void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputIncrement) | 
Static Public Methods | |
| vtkColorTransferFunction * | New () | 
| int | IsTypeOf (const char *type) | 
| vtkColorTransferFunction * | SafeDownCast (vtkObject *o) | 
Protected Methods | |
| vtkColorTransferFunction () | |
| ~vtkColorTransferFunction () | |
| void | RGBToHSV (float r, float g, float b, float &h, float &s, float &v) | 
| void | HSVToRGB (float h, float s, float v, float &r, float &g, float &b) | 
| virtual void | SetRange (float, float) | 
| void | SetRange (float rng[2]) | 
Protected Attributes | |
| int | Clamping | 
| int | ColorSpace | 
| float * | Function | 
| int | FunctionSize | 
| int | NumberOfPoints | 
| unsigned char | UnsignedCharRGBAValue [4] | 
| float | Range [2] | 
| vtkPiecewiseFunction * | Red | 
| vtkPiecewiseFunction * | Green | 
| vtkPiecewiseFunction * | Blue | 
| vtkTimeStamp | BuildTime | 
| unsigned char * | Table | 
| int | TableSize | 
vtkColorTransferFunction encapsulates three vtkPiecewiseFunction instances to provide a full RGB transfer function.
Definition at line 69 of file vtkColorTransferFunction.h.
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject.  | 
  
      
  | 
  
| 
 Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. 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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkScalarsToColors.  | 
  
      
  | 
  
| 
 Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkScalarsToColors.  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  ||||||||||||
| 
 Print method for vtkColorTransferFunction Reimplemented from vtkScalarsToColors.  | 
  
      
  | 
  
| 
 How many points are there defining this function? Definition at line 80 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  ||||||||||||||||||||
| 
 Add a point to the function defined in RGB or HSV  | 
  
      
  | 
  ||||||||||||||||||||
| 
 Add a point to the function defined in RGB or HSV  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||||||
| 
 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 a point / remove all points  | 
  
      
  | 
  
| 
 Remove a point / remove all points  | 
  
      
  | 
  
| 
 Returns an RGB color for the specified scalar value (from vtkScalarsToColors) Reimplemented from vtkScalarsToColors. Definition at line 105 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  ||||||||||||
| 
 Returns an RGB color for the specified scalar value (from vtkScalarsToColors) Reimplemented from vtkScalarsToColors.  | 
  
      
  | 
  
| 
 Get the color components individually.  | 
  
      
  | 
  
| 
 Get the color components individually.  | 
  
      
  | 
  
| 
 Get the color components individually.  | 
  
      
  | 
  
| 
 Map one value through the lookup table. Reimplemented from vtkScalarsToColors.  | 
  
      
  | 
  
| 
 Returns min and max position of all function points. Reimplemented from vtkScalarsToColors.  | 
  
      
  | 
  ||||||||||||
| 
 Returns min and max position of all function points.  | 
  
      
  | 
  
| 
 Returns min and max position of all function points.  | 
  
      
  | 
  ||||||||||||||||||||
| 
 Fills in a table of n function values between x1 and x2  | 
  
      
  | 
  ||||||||||||||||
| 
 Fills in a table of n function values between x1 and x2  | 
  
      
  | 
  ||||||||||||||||||||
| 
 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.  | 
  
      
  | 
  
| 
 Sets and gets the clamping value for this transfer function.  | 
  
      
  | 
  
| 
 Sets and gets the clamping value for this transfer function.  | 
  
      
  | 
  
| 
 Sets and gets the clamping value for this transfer function.  | 
  
      
  | 
  
| 
 How should we interpolate - in RGB, or HSV  | 
  
      
  | 
  
| 
 How should we interpolate - in RGB, or HSV Definition at line 147 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 How should we interpolate - in RGB, or HSV Definition at line 148 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 How should we interpolate - in RGB, or HSV  | 
  
      
  | 
  
| 
 Returns a list of all nodes Definition at line 153 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  ||||||||||||||||||||||||||||
| 
 map a set of scalars through the lookup table Reimplemented from vtkScalarsToColors.  | 
  
      
  | 
  ||||||||||||||||||||||||||||
| 
 
  | 
  
      
  | 
  ||||||||||||||||||||||||||||
| 
 
  | 
  
      
  | 
  ||||||||||||
| 
 Set the range of scalars being mapped. The set has no functionality in this subclass of vtkScalarsToColors. Reimplemented from vtkScalarsToColors. Definition at line 202 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 Set the range of scalars being mapped. The set has no functionality in this subclass of vtkScalarsToColors. Reimplemented from vtkScalarsToColors. Definition at line 203 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 170 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 173 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 176 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 177 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 178 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 185 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 188 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 192 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 193 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 194 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 195 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 196 of file vtkColorTransferFunction.h.  | 
  
      
  | 
  
| 
 
 Definition at line 197 of file vtkColorTransferFunction.h.  | 
  
1.2.11.1 written by Dimitri van Heesch,
 © 1997-2001