Public Member Functions |
| | vtkDiscretizableColorTransferFunction (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| | vtkDiscretizableColorTransferFunction () |
| | *Undocumented Block
|
| override void | Build () |
| | Generate discretized lookup table, if applicable. This method must be called after changes to the ColorTransferFunction otherwise the discretized version will be inconsitent with the non-discretized one.
|
| virtual void | DiscretizeOff () |
| | Set if the values are to mapped after discretization. The number of discrete values is set by using SetNumberOfValues(). Not set by default, i.e. color value is determined by interpolating at the scalar value.
|
| virtual void | DiscretizeOn () |
| | Set if the values are to mapped after discretization. The number of discrete values is set by using SetNumberOfValues(). Not set by default, i.e. color value is determined by interpolating at the scalar value.
|
| override void | GetColor (double v, IntPtr rgb) |
| | Map one value through the lookup table and return the color as an RGB array of doubles between 0 and 1.
|
| virtual int | GetDiscretize () |
| | Set if the values are to mapped after discretization. The number of discrete values is set by using SetNumberOfValues(). Not set by default, i.e. color value is determined by interpolating at the scalar value.
|
| override int | GetNumberOfAvailableColors () |
| | Get the number of available colors for mapping to.
|
| virtual int | GetNumberOfValues () |
| | Set the number of values i.e. colors to be generated in the discrete lookup table. This has no effect if Discretize is off. The default is 256.
|
| IntPtr | GetRGBPoints () |
| | Returns the (x, r, g, b) values as an array.
|
| virtual int | GetUseLogScale () |
| | Get/Set if log scale must be used while mapping scalars to colors. The default is 0.
|
| override int | IsA (string type) |
| | *Undocumented Block
|
| override vtkUnsignedCharArray | MapScalars (vtkDataArray scalars, int colorMode, int component) |
| | An internal method maps a data array into a 4-component, unsigned char RGBA array. The color mode determines the behavior of mapping. If VTK_COLOR_MODE_DEFAULT is set, then unsigned char data arrays are treated as colors (and converted to RGBA if necessary); otherwise, the data is mapped through this instance of ScalarsToColors. The offset is used for data arrays with more than one component; it indicates which component to use to do the blending. When the component argument is -1, then the this object uses its own selected technique to change a vector into a scalar to map.
|
| override IntPtr | MapValue (double v) |
| | Map one value through the lookup table and return a color defined as a RGBA unsigned char tuple (4 bytes).
|
new
vtkDiscretizableColorTransferFunction | NewInstance () |
| | *Undocumented Block
|
| override void | SetAlpha (double alpha) |
| | Specify an additional opacity (alpha) value to blend with. Values != 1 modify the resulting color consistent with the requested form of the output. This is typically used by an actor in order to blend its opacity. Overridden to pass the alpha to the internal vtkLookupTable.
|
| virtual void | SetDiscretize (int _arg) |
| | Set if the values are to mapped after discretization. The number of discrete values is set by using SetNumberOfValues(). Not set by default, i.e. color value is determined by interpolating at the scalar value.
|
| override void | SetNanColor (double r, double g, double b) |
| | Set the color to use when a NaN (not a number) is encountered. This is an RGB 3-tuple color of doubles in the range [0,1]. Overridden to pass the NanColor to the internal vtkLookupTable.
|
| override void | SetNanColor (IntPtr rgb) |
| | Set the color to use when a NaN (not a number) is encountered. This is an RGB 3-tuple color of doubles in the range [0,1]. Overridden to pass the NanColor to the internal vtkLookupTable.
|
| void | SetNumberOfValues (int number) |
| | Set the number of values i.e. colors to be generated in the discrete lookup table. This has no effect if Discretize is off. The default is 256.
|
| virtual void | SetUseLogScale (int useLogScale) |
| | Get/Set if log scale must be used while mapping scalars to colors. The default is 0.
|
| override int | UsingLogScale () |
| | This should return 1 is the subclass is using log scale for mapping scalars to colors.
|
| | vtkColorTransferFunction (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| | vtkColorTransferFunction () |
| | *Undocumented Block
|
| int | AddHSVPoint (double x, double h, double s, double v) |
| | 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. See the description of class vtkPiecewiseFunction for an explanation of midpoint and sharpness.
|
| int | AddHSVPoint (double x, double h, double s, double v, double midpoint, double sharpness) |
| | 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. See the description of class vtkPiecewiseFunction for an explanation of midpoint and sharpness.
|
| void | AddHSVSegment (double x1, double h1, double s1, double v1, double x2, double h2, double s2, double v2) |
| | Add two points to the function and remove all the points between them.
|
| int | AddRGBPoint (double x, double r, double g, double b) |
| | 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. See the description of class vtkPiecewiseFunction for an explanation of midpoint and sharpness.
|
| int | AddRGBPoint (double x, double r, double g, double b, double midpoint, double sharpness) |
| | 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. See the description of class vtkPiecewiseFunction for an explanation of midpoint and sharpness.
|
| void | AddRGBSegment (double x1, double r1, double g1, double b1, double x2, double r2, double g2, double b2) |
| | Add two points to the function and remove all the points between them.
|
| int | AdjustRange (IntPtr range) |
| | 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.
|
| virtual void | AllowDuplicateScalarsOff () |
| | Toggle whether to allow duplicate scalar values in the color transfer function (off by default).
|
| virtual void | AllowDuplicateScalarsOn () |
| | Toggle whether to allow duplicate scalar values in the color transfer function (off by default).
|
| void | BuildFunctionFromTable (double x1, double x2, int size, IntPtr table) |
| | 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].
|
| virtual void | ClampingOff () |
| | Sets and gets the clamping value for this transfer function.
|
| virtual void | ClampingOn () |
| | Sets and gets the clamping value for this transfer function.
|
| void | DeepCopy (vtkColorTransferFunction f) |
| | *Undocumented Block
|
| void | FillFromDataPointer (int arg0, IntPtr arg1) |
| | Returns a list of all nodes Fills from a pointer to data stored in a similar list of nodes.
|
| virtual int | GetAllowDuplicateScalars () |
| | Toggle whether to allow duplicate scalar values in the color transfer function (off by default).
|
| double | GetBlueValue (double x) |
| | Get the color components individually.
|
| virtual int | GetClamping () |
| | Sets and gets the clamping value for this transfer function.
|
| virtual int | GetClampingMaxValue () |
| | Sets and gets the clamping value for this transfer function.
|
| virtual int | GetClampingMinValue () |
| | Sets and gets the clamping value for this transfer function.
|
| new double[] | GetColor (double x) |
| | Returns an RGB color for the specified scalar value.
|
| virtual int | GetColorSpace () |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| virtual int | GetColorSpaceMaxValue () |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| virtual int | GetColorSpaceMinValue () |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| IntPtr | GetDataPointer () |
| | Returns a list of all nodes Fills from a pointer to data stored in a similar list of nodes.
|
| double | GetGreenValue (double x) |
| | Get the color components individually.
|
| virtual int | GetHSVWrap () |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| virtual double[] | GetNanColor () |
| | Set the color to use when a NaN (not a number) is encountered. This is an RGB 3-tuple color of doubles in the range [0,1].
|
| virtual void | GetNanColor (ref double _arg1, ref double _arg2, ref double _arg3) |
| | Set the color to use when a NaN (not a number) is encountered. This is an RGB 3-tuple color of doubles in the range [0,1].
|
| virtual void | GetNanColor (IntPtr _arg) |
| | Set the color to use when a NaN (not a number) is encountered. This is an RGB 3-tuple color of doubles in the range [0,1].
|
| int | GetNodeValue (int index, IntPtr val) |
| | For the node specified by index, set/get the location (X), R, G, and B values, midpoint, and sharpness values at the node.
|
| override double[] | GetRange () |
| | Returns min and max position of all function points.
|
| virtual void | GetRange (ref double _arg1, ref double _arg2) |
| | Returns min and max position of all function points.
|
| virtual void | GetRange (IntPtr _arg) |
| | Returns min and max position of all function points.
|
| double | GetRedValue (double x) |
| | Get the color components individually.
|
| virtual int | GetScale () |
| | Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, and the range contains zero, the color mapping will be linear.
|
| int | GetSize () |
| | How many points are there defining this function?
|
| void | GetTable (double x1, double x2, int n, IntPtr table) |
| | Fills in a table of n function values between x1 and x2.
|
| IntPtr | GetTable (double x1, double x2, int n) |
| | Fills in a table of n function values between x1 and x2.
|
| virtual void | HSVWrapOff () |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| virtual void | HSVWrapOn () |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| override void | MapScalarsThroughTable2 (IntPtr input, IntPtr output, int inputDataType, int numberOfValues, int inputIncrement, int outputIncrement) |
| | map a set of scalars through the lookup table
|
| void | RemoveAllPoints () |
| | Remove all points.
|
| int | RemovePoint (double x) |
| | 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. See the description of class vtkPiecewiseFunction for an explanation of midpoint and sharpness.
|
| virtual void | SetAllowDuplicateScalars (int _arg) |
| | Toggle whether to allow duplicate scalar values in the color transfer function (off by default).
|
| virtual void | SetClamping (int _arg) |
| | Sets and gets the clamping value for this transfer function.
|
| virtual void | SetColorSpace (int _arg) |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| void | SetColorSpaceToDiverging () |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| void | SetColorSpaceToHSV () |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| void | SetColorSpaceToLab () |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| void | SetColorSpaceToRGB () |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| virtual void | SetHSVWrap (int _arg) |
| | Set/Get the color space used for interpolation: RGB, HSV, CIELAB, or Diverging. 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). Diverging is a special mode where colors will pass through white when interpolating between two saturated colors.
|
| int | SetNodeValue (int index, IntPtr val) |
| | For the node specified by index, set/get the location (X), R, G, and B values, midpoint, and sharpness values at the node.
|
| virtual void | SetScale (int _arg) |
| | Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, and the range contains zero, the color mapping will be linear.
|
| void | SetScaleToLinear () |
| | Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, and the range contains zero, the color mapping will be linear.
|
| void | SetScaleToLog10 () |
| | Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, and the range contains zero, the color mapping will be linear.
|
| void | ShallowCopy (vtkColorTransferFunction f) |
| | *Undocumented Block
|
| | vtkScalarsToColors (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| virtual vtkUnsignedCharArray | ConvertUnsignedCharToRGBA (vtkUnsignedCharArray colors, int numComp, int numTuples) |
| | An internal method used to convert a color array to RGBA. The method instantiates a vtkUnsignedCharArray and returns it. The user is responsible for managing the memory.
|
| virtual double | GetAlpha () |
| | Specify an additional opacity (alpha) value to blend with. Values != 1 modify the resulting color consistent with the requested form of the output. This is typically used by an actor in order to blend its opacity.
|
| double | GetLuminance (double x) |
| | Map one value through the lookup table and return the luminance 0.3*red + 0.59*green + 0.11*blue as a double between 0 and 1. Returns the luminance value for the specified scalar value.
|
| virtual double | GetOpacity (double arg0) |
| | Map one value through the lookup table and return the alpha value (the opacity) as a double between 0 and 1.
|
| virtual int | GetVectorComponent () |
| | If the mapper does not select which component of a vector to map to colors, you can specify it here.
|
| virtual int | GetVectorMode () |
| | Change mode that maps vectors by magnitude vs. component.
|
| virtual int | IsOpaque () |
| | Return true if all of the values defining the mapping have an opacity equal to 1. Default implementation return true.
|
| void | MapScalarsThroughTable (vtkDataArray scalars, IntPtr output, int outputFormat) |
| | Map a set of scalars through the lookup table in a single operation. The output format can be set to VTK_RGBA (4 components), VTK_RGB (3 components), VTK_LUMINANCE (1 component, greyscale), or VTK_LUMINANCE_ALPHA (2 components) If not supplied, the output format defaults to RGBA.
|
| void | MapScalarsThroughTable (vtkDataArray scalars, IntPtr output) |
| | Map a set of scalars through the lookup table in a single operation. The output format can be set to VTK_RGBA (4 components), VTK_RGB (3 components), VTK_LUMINANCE (1 component, greyscale), or VTK_LUMINANCE_ALPHA (2 components) If not supplied, the output format defaults to RGBA.
|
| virtual void | SetRange (double min, double max) |
| | Sets/Gets the range of scalars which will be mapped.
|
| void | SetRange (IntPtr rng) |
| | Sets/Gets the range of scalars which will be mapped.
|
| virtual void | SetVectorComponent (int _arg) |
| | If the mapper does not select which component of a vector to map to colors, you can specify it here.
|
| virtual void | SetVectorMode (int _arg) |
| | Change mode that maps vectors by magnitude vs. component.
|
| void | SetVectorModeToComponent () |
| | Change mode that maps vectors by magnitude vs. component.
|
| void | SetVectorModeToMagnitude () |
| | Change mode that maps vectors by magnitude vs. component.
|
| | vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| | vtkObject () |
| | Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
|
| uint | AddObserver (uint arg0, vtkCommand arg1, float priority) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| uint | AddObserver (string arg0, vtkCommand arg1, float priority) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| virtual void | DebugOff () |
| | Turn debugging output off.
|
| virtual void | DebugOn () |
| | Turn debugging output on.
|
| vtkCommand | GetCommand (uint tag) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| byte | GetDebug () |
| | Get the value of the debug flag.
|
| virtual uint | GetMTime () |
| | Return this object's modified time.
|
| int | HasObserver (uint arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | HasObserver (string arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | HasObserver (uint arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | HasObserver (string arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (uint arg0, IntPtr callData) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (string arg0, IntPtr callData) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (uint arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (string arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| virtual void | Modified () |
| | Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
|
| void | RemoveAllObservers () |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObserver (vtkCommand arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObserver (uint tag) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (uint arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (string arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (uint arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (string arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | SetDebug (byte debugFlag) |
| | Set the value of the debug flag. A non-zero value turns debugging on.
|
| override string | ToString () |
| | Returns the result of calling vtkObject::Print as a C# string.
|
| delegate void | vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e) |
| | Generic signature for all vtkObject events.
|
| void | RemoveAllHandlersForAllEvents () |
| | Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
|
| | vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| | vtkObjectBase () |
| | Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
|
| virtual void | Register (vtkObjectBase o) |
| | Increase the reference count (mark as used by another object).
|
| virtual void | FastDelete () |
| | Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
|
| string | GetClassName () |
| | Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
|
| int | GetReferenceCount () |
| | Return the current reference count of this object.
|
| void | SetReferenceCount (int arg0) |
| | Sets the reference count. (This is very dangerous, use with care.)
|