ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions
Kitware.VTK.vtkDiscretizableColorTransferFunction Class Reference

vtkDiscretizableColorTransferFunction - a combination of vtkColorTransferFunction and vtkLookupTable. More...

Inheritance diagram for Kitware.VTK.vtkDiscretizableColorTransferFunction:
[legend]
Collaboration diagram for Kitware.VTK.vtkDiscretizableColorTransferFunction:
[legend]

List of all members.

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.
- Public Member Functions inherited from Kitware.VTK.vtkColorTransferFunction
 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
- Public Member Functions inherited from Kitware.VTK.vtkScalarsToColors
 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.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 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...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 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.)

Static Public Member Functions

static new
vtkDiscretizableColorTransferFunction 
New ()
 *Undocumented Block
static new int IsTypeOf (string type)
 *Undocumented Block
static new
vtkDiscretizableColorTransferFunction 
SafeDownCast (vtkObjectBase o)
 *Undocumented Block

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkDiscretizableColorTransferFunction"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkColorTransferFunction
- Public Attributes inherited from Kitware.VTK.vtkScalarsToColors
- Public Attributes inherited from Kitware.VTK.vtkObject
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

static new readonly string MRClassNameKey = "37vtkDiscretizableColorTransferFunction"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkColorTransferFunction
- Static Public Attributes inherited from Kitware.VTK.vtkScalarsToColors
- Static Public Attributes inherited from Kitware.VTK.vtkObject
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Static Private Member Functions

static vtkDiscretizableColorTransferFunction ()
 Automatically generated type registration mechanics.

Detailed Description

vtkDiscretizableColorTransferFunction - a combination of vtkColorTransferFunction and vtkLookupTable.

Description This is a cross between a vtkColorTransferFunction and a vtkLookupTable selectively combiniting the functionality of both. NOTE: One must call Build() after making any changes to the points in the ColorTransferFunction to ensure that the discrete and non-discrete version match up.


Constructor & Destructor Documentation

static Kitware.VTK.vtkDiscretizableColorTransferFunction.vtkDiscretizableColorTransferFunction ( )
staticprivate

Automatically generated type registration mechanics.

Kitware.VTK.vtkDiscretizableColorTransferFunction.vtkDiscretizableColorTransferFunction ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Kitware.VTK.vtkDiscretizableColorTransferFunction.vtkDiscretizableColorTransferFunction ( )

*Undocumented Block


Member Function Documentation

override void Kitware.VTK.vtkDiscretizableColorTransferFunction.Build ( )
virtual

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.

Reimplemented from Kitware.VTK.vtkScalarsToColors.

virtual void Kitware.VTK.vtkDiscretizableColorTransferFunction.DiscretizeOff ( )
virtual

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 Kitware.VTK.vtkDiscretizableColorTransferFunction.DiscretizeOn ( )
virtual

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 Kitware.VTK.vtkDiscretizableColorTransferFunction.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

override void Kitware.VTK.vtkDiscretizableColorTransferFunction.GetColor ( double  v,
IntPtr  rgb 
)
virtual

Map one value through the lookup table and return the color as an RGB array of doubles between 0 and 1.

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

virtual int Kitware.VTK.vtkDiscretizableColorTransferFunction.GetDiscretize ( )
virtual

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 Kitware.VTK.vtkDiscretizableColorTransferFunction.GetNumberOfAvailableColors ( )
virtual

Get the number of available colors for mapping to.

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

virtual int Kitware.VTK.vtkDiscretizableColorTransferFunction.GetNumberOfValues ( )
virtual

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 Kitware.VTK.vtkDiscretizableColorTransferFunction.GetRGBPoints ( )

Returns the (x, r, g, b) values as an array.

virtual int Kitware.VTK.vtkDiscretizableColorTransferFunction.GetUseLogScale ( )
virtual

Get/Set if log scale must be used while mapping scalars to colors. The default is 0.

override int Kitware.VTK.vtkDiscretizableColorTransferFunction.IsA ( string  type)
virtual

*Undocumented Block

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

static new int Kitware.VTK.vtkDiscretizableColorTransferFunction.IsTypeOf ( string  type)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

override vtkUnsignedCharArray Kitware.VTK.vtkDiscretizableColorTransferFunction.MapScalars ( vtkDataArray  scalars,
int  colorMode,
int  component 
)
virtual

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.

Reimplemented from Kitware.VTK.vtkScalarsToColors.

Here is the call graph for this function:

override IntPtr Kitware.VTK.vtkDiscretizableColorTransferFunction.MapValue ( double  v)
virtual

Map one value through the lookup table and return a color defined as a RGBA unsigned char tuple (4 bytes).

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

static new vtkDiscretizableColorTransferFunction Kitware.VTK.vtkDiscretizableColorTransferFunction.New ( )
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

new vtkDiscretizableColorTransferFunction Kitware.VTK.vtkDiscretizableColorTransferFunction.NewInstance ( )

*Undocumented Block

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

static new vtkDiscretizableColorTransferFunction Kitware.VTK.vtkDiscretizableColorTransferFunction.SafeDownCast ( vtkObjectBase  o)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

Here is the call graph for this function:

override void Kitware.VTK.vtkDiscretizableColorTransferFunction.SetAlpha ( double  alpha)
virtual

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.

Reimplemented from Kitware.VTK.vtkScalarsToColors.

virtual void Kitware.VTK.vtkDiscretizableColorTransferFunction.SetDiscretize ( int  _arg)
virtual

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 Kitware.VTK.vtkDiscretizableColorTransferFunction.SetNanColor ( double  r,
double  g,
double  b 
)
virtual

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.

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

override void Kitware.VTK.vtkDiscretizableColorTransferFunction.SetNanColor ( IntPtr  rgb)
virtual

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.

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

void Kitware.VTK.vtkDiscretizableColorTransferFunction.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 Kitware.VTK.vtkDiscretizableColorTransferFunction.SetUseLogScale ( int  useLogScale)
virtual

Get/Set if log scale must be used while mapping scalars to colors. The default is 0.

override int Kitware.VTK.vtkDiscretizableColorTransferFunction.UsingLogScale ( )
virtual

This should return 1 is the subclass is using log scale for mapping scalars to colors.

Reimplemented from Kitware.VTK.vtkScalarsToColors.


Member Data Documentation

new readonly string Kitware.VTK.vtkDiscretizableColorTransferFunction.MRClassNameKey = "37vtkDiscretizableColorTransferFunction"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkColorTransferFunction.

new const string Kitware.VTK.vtkDiscretizableColorTransferFunction.MRFullTypeName = "Kitware.VTK.vtkDiscretizableColorTransferFunction"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkColorTransferFunction.


The documentation for this class was generated from the following file: