ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions | List of all members
Kitware.VTK.vtkLookupTable Class Reference

vtkLookupTable - map scalar values into colors via a lookup table More...

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

Public Member Functions

 vtkLookupTable (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkLookupTable ()
 Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).
int Allocate (int sz, int ext)
 Allocate a color table of specified size.
override void Build ()
 Generate lookup table from hue, saturation, value, alpha min/max values. Table is built from linear ramp of each value.
void DeepCopy (vtkLookupTable lut)
 Copy the contents from another LookupTable
virtual void ForceBuild ()
 Force the lookup table to regenerate from hue, saturation, value, and alpha min/max values. Table is built from a linear ramp of each value. ForceBuild() is useful if a lookup table has been defined manually (using SetTableValue) and then an application decides to rebuild the lookup table using the implicit process.
virtual double[] GetAlphaRange ()
 Set the range in alpha (using automatic generation). Alpha ranges from [0,1].
virtual void GetAlphaRange (ref double _arg1, ref double _arg2)
 Set the range in alpha (using automatic generation). Alpha ranges from [0,1].
virtual void GetAlphaRange (IntPtr _arg)
 Set the range in alpha (using automatic generation). Alpha ranges from [0,1].
override void GetColor (double x, IntPtr rgb)
 Map one value through the lookup table and return the color as an RGB array of doubles between 0 and 1.
virtual double[] GetHueRange ()
 Set the range in hue (using automatic generation). Hue ranges between [0,1].
virtual void GetHueRange (ref double _arg1, ref double _arg2)
 Set the range in hue (using automatic generation). Hue ranges between [0,1].
virtual void GetHueRange (IntPtr _arg)
 Set the range in hue (using automatic generation). Hue ranges between [0,1].
virtual int GetIndex (double v)
 Return the table index associated with a particular value.
virtual double[] GetNanColor ()
 Set the color to use when a NaN (not a number) is encountered. This is an RGBA 4-tuple color of doubles in the range [0,1].
virtual void GetNanColor (ref double _arg1, ref double _arg2, ref double _arg3, ref double _arg4)
 Set the color to use when a NaN (not a number) is encountered. This is an RGBA 4-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 RGBA 4-tuple color of doubles in the range [0,1].
override int GetNumberOfAvailableColors ()
 Get the number of available colors for mapping to.
virtual int GetNumberOfColors ()
 Set the number of colors in the lookup table. Use SetNumberOfTableValues() instead, it can be used both before and after the table has been built whereas SetNumberOfColors() has no effect after the table has been built.
virtual int GetNumberOfColorsMaxValue ()
 Set the number of colors in the lookup table. Use SetNumberOfTableValues() instead, it can be used both before and after the table has been built whereas SetNumberOfColors() has no effect after the table has been built.
virtual int GetNumberOfColorsMinValue ()
 Set the number of colors in the lookup table. Use SetNumberOfTableValues() instead, it can be used both before and after the table has been built whereas SetNumberOfColors() has no effect after the table has been built.
int GetNumberOfTableValues ()
 Specify the number of values (i.e., colors) in the lookup table.
override double GetOpacity (double v)
 Map one value through the lookup table and return the alpha value (the opacity) as a double between 0 and 1.
IntPtr GetPointer (int id)
 Get pointer to color table data. Format is array of unsigned char r-g-b-a-r-g-b-a...
virtual int GetRamp ()
 Set the shape of the table ramp to either linear or S-curve. The default is S-curve, which tails off gradually at either end. The equation used for the S-curve is y = (sin((x - 1/2)*pi) + 1)/2, while the equation for the linear ramp is simply y = x. For an S-curve greyscale ramp, you should set NumberOfTableValues to 402 (which is 256*pi/2) to provide room for the tails of the ramp. The equation for the SQRT is y = sqrt(x).
override double[] GetRange ()
 Sets/Gets the range of scalars which will be mapped. This is a duplicate of Get/SetTableRange.
virtual double[] GetSaturationRange ()
 Set the range in saturation (using automatic generation). Saturation ranges between [0,1].
virtual void GetSaturationRange (ref double _arg1, ref double _arg2)
 Set the range in saturation (using automatic generation). Saturation ranges between [0,1].
virtual void GetSaturationRange (IntPtr _arg)
 Set the range in saturation (using automatic generation). Saturation ranges between [0,1].
virtual int GetScale ()
 Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, then the TableRange must not cross the value zero.
virtual vtkUnsignedCharArray GetTable ()
 Set/Get the internal table array that is used to map the scalars to colors. The table array is an unsigned char array with 4 components representing RGBA.
virtual double[] GetTableRange ()
 Set/Get the minimum/maximum scalar values for scalar mapping. Scalar values less than minimum range value are clamped to minimum range value. Scalar values greater than maximum range value are clamped to maximum range value.
virtual void GetTableRange (IntPtr data)
 Set/Get the minimum/maximum scalar values for scalar mapping. Scalar values less than minimum range value are clamped to minimum range value. Scalar values greater than maximum range value are clamped to maximum range value.
double[] GetTableValue (int id)
 Return a rgba color value for the given index into the lookup table. Color components are expressed as [0,1] double values.
void GetTableValue (int id, IntPtr rgba)
 Return a rgba color value for the given index into the lookup table. Color components are expressed as [0,1] double values.
virtual double[] GetValueRange ()
 Set the range in value (using automatic generation). Value ranges between [0,1].
virtual void GetValueRange (ref double _arg1, ref double _arg2)
 Set the range in value (using automatic generation). Value ranges between [0,1].
virtual void GetValueRange (IntPtr _arg)
 Set the range in value (using automatic generation). Value ranges between [0,1].
override int IsA (string type)
 Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).
override int IsOpaque ()
 Return true if all of the values defining the mapping have an opacity equal to 1. Default implementation return true.
override void MapScalarsThroughTable2 (IntPtr input, IntPtr output, int inputDataType, int numberOfValues, int inputIncrement, int outputIncrement)
 map a set of scalars through the lookup table
override IntPtr MapValue (double v)
 Map one value through the lookup table.
new vtkLookupTable NewInstance ()
 Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).
virtual void SetAlphaRange (double _arg1, double _arg2)
 Set the range in alpha (using automatic generation). Alpha ranges from [0,1].
void SetAlphaRange (IntPtr _arg)
 Set the range in alpha (using automatic generation). Alpha ranges from [0,1].
virtual void SetHueRange (double _arg1, double _arg2)
 Set the range in hue (using automatic generation). Hue ranges between [0,1].
void SetHueRange (IntPtr _arg)
 Set the range in hue (using automatic generation). Hue ranges between [0,1].
virtual void SetNanColor (double _arg1, double _arg2, double _arg3, double _arg4)
 Set the color to use when a NaN (not a number) is encountered. This is an RGBA 4-tuple color of doubles in the range [0,1].
virtual void SetNanColor (IntPtr _arg)
 Set the color to use when a NaN (not a number) is encountered. This is an RGBA 4-tuple color of doubles in the range [0,1].
virtual void SetNumberOfColors (int _arg)
 Set the number of colors in the lookup table. Use SetNumberOfTableValues() instead, it can be used both before and after the table has been built whereas SetNumberOfColors() has no effect after the table has been built.
void SetNumberOfTableValues (int number)
 Specify the number of values (i.e., colors) in the lookup table.
virtual void SetRamp (int _arg)
 Set the shape of the table ramp to either linear or S-curve. The default is S-curve, which tails off gradually at either end. The equation used for the S-curve is y = (sin((x - 1/2)*pi) + 1)/2, while the equation for the linear ramp is simply y = x. For an S-curve greyscale ramp, you should set NumberOfTableValues to 402 (which is 256*pi/2) to provide room for the tails of the ramp. The equation for the SQRT is y = sqrt(x).
void SetRampToLinear ()
 Set the shape of the table ramp to either linear or S-curve. The default is S-curve, which tails off gradually at either end. The equation used for the S-curve is y = (sin((x - 1/2)*pi) + 1)/2, while the equation for the linear ramp is simply y = x. For an S-curve greyscale ramp, you should set NumberOfTableValues to 402 (which is 256*pi/2) to provide room for the tails of the ramp. The equation for the SQRT is y = sqrt(x).
void SetRampToSCurve ()
 Set the shape of the table ramp to either linear or S-curve. The default is S-curve, which tails off gradually at either end. The equation used for the S-curve is y = (sin((x - 1/2)*pi) + 1)/2, while the equation for the linear ramp is simply y = x. For an S-curve greyscale ramp, you should set NumberOfTableValues to 402 (which is 256*pi/2) to provide room for the tails of the ramp. The equation for the SQRT is y = sqrt(x).
void SetRampToSQRT ()
 Set the shape of the table ramp to either linear or S-curve. The default is S-curve, which tails off gradually at either end. The equation used for the S-curve is y = (sin((x - 1/2)*pi) + 1)/2, while the equation for the linear ramp is simply y = x. For an S-curve greyscale ramp, you should set NumberOfTableValues to 402 (which is 256*pi/2) to provide room for the tails of the ramp. The equation for the SQRT is y = sqrt(x).
override void SetRange (double min, double max)
 Sets/Gets the range of scalars which will be mapped. This is a duplicate of Get/SetTableRange.
new void SetRange (IntPtr rng)
 Sets/Gets the range of scalars which will be mapped. This is a duplicate of Get/SetTableRange.
virtual void SetSaturationRange (double _arg1, double _arg2)
 Set the range in saturation (using automatic generation). Saturation ranges between [0,1].
void SetSaturationRange (IntPtr _arg)
 Set the range in saturation (using automatic generation). Saturation ranges between [0,1].
void SetScale (int scale)
 Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, then the TableRange must not cross the value zero.
void SetScaleToLinear ()
 Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, then the TableRange must not cross the value zero.
void SetScaleToLog10 ()
 Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, then the TableRange must not cross the value zero.
void SetTable (vtkUnsignedCharArray arg0)
 Set/Get the internal table array that is used to map the scalars to colors. The table array is an unsigned char array with 4 components representing RGBA.
void SetTableRange (IntPtr r)
 Set/Get the minimum/maximum scalar values for scalar mapping. Scalar values less than minimum range value are clamped to minimum range value. Scalar values greater than maximum range value are clamped to maximum range value.
virtual void SetTableRange (double min, double max)
 Set/Get the minimum/maximum scalar values for scalar mapping. Scalar values less than minimum range value are clamped to minimum range value. Scalar values greater than maximum range value are clamped to maximum range value.
void SetTableValue (int indx, IntPtr rgba)
 Directly load color into lookup table. Use [0,1] double values for color component specification. Make sure that you've either used the Build() method or used SetNumberOfTableValues() prior to using this method.
void SetTableValue (int indx, double r, double g, double b, double a)
 Directly load color into lookup table. Use [0,1] double values for color component specification.
virtual void SetValueRange (double _arg1, double _arg2)
 Set the range in value (using automatic generation). Value ranges between [0,1].
void SetValueRange (IntPtr _arg)
 Set the range in value (using automatic generation). Value ranges between [0,1].
override int UsingLogScale ()
 This should return 1 is the subclass is using log scale for mapping scalars to colors. Returns 1 is scale == VTK_SCALE_LOG10.
IntPtr WritePointer (int id, int number)
 


- 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[] GetColor (double v)
 Map one value through the lookup table and return the color as an RGB array of doubles between 0 and 1.
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 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 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.
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 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.
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 vtkLookupTable New ()
 Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).
static double ApplyLogScale (double v, IntPtr range, IntPtr log_range)
 Sets/Gets the range of scalars which will be mapped. This is a duplicate of Get/SetTableRange.
static void GetLogRange (IntPtr range, IntPtr log_range)
 Sets/Gets the range of scalars which will be mapped. This is a duplicate of Get/SetTableRange.
static new int IsTypeOf (string type)
 Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).
static new vtkLookupTable SafeDownCast (vtkObjectBase o)
 Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkLookupTable"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkScalarsToColors
new const string MRFullTypeName = "Kitware.VTK.vtkScalarsToColors"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkObject
new const string MRFullTypeName = "Kitware.VTK.vtkObject"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
new const string MRFullTypeName = "Kitware.VTK.vtkObjectBase"
 Automatically generated type registration mechanics.
- 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 = "14vtkLookupTable"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkScalarsToColors
static new readonly string MRClassNameKey = "18vtkScalarsToColors"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkObject
static new readonly string MRClassNameKey = "9vtkObject"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase
static new readonly string MRClassNameKey = "13vtkObjectBase"
 Automatically generated type registration mechanics.

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 vtkLookupTable ()
 Automatically generated type registration mechanics.

Additional Inherited Members

- Public Types inherited from Kitware.VTK.vtkScalarsToColors
enum  VectorModes { COMPONENT = 1, MAGNITUDE = 0 }
 Change mode that maps vectors by magnitude vs. component. More...
- Properties inherited from Kitware.VTK.vtkObject
Kitware.VTK.vtkObject.vtkObjectEventHandler AbortCheckEvt
 The AbortCheckEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AbortCheckEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler AnimationCueTickEvt
 The AnimationCueTickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnimationCueTickEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler AnyEvt
 The AnyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnyEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler CharEvt
 The CharEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CharEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ConfigureEvt
 The ConfigureEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConfigureEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ConnectionClosedEvt
 The ConnectionClosedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionClosedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ConnectionCreatedEvt
 The ConnectionCreatedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionCreatedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler CreateTimerEvt
 The CreateTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CreateTimerEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler CursorChangedEvt
 The CursorChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CursorChangedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler DeleteEvt
 The DeleteEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DeleteEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler DestroyTimerEvt
 The DestroyTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DestroyTimerEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler DisableEvt
 The DisableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DisableEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler DomainModifiedEvt
 The DomainModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DomainModifiedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EnableEvt
 The EnableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnableEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EndAnimationCueEvt
 The EndAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndAnimationCueEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EndEvt
 The EndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EndInteractionEvt
 The EndInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndInteractionEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EndPickEvt
 The EndPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndPickEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EndWindowLevelEvt
 The EndWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndWindowLevelEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler EnterEvt
 The EnterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnterEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ErrorEvt
 The ErrorEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ErrorEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ExecuteInformationEvt
 The ExecuteInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExecuteInformationEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ExitEvt
 The ExitEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExitEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ExposeEvt
 The ExposeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExposeEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler InteractionEvt
 The InteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.InteractionEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler KeyPressEvt
 The KeyPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyPressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler KeyReleaseEvt
 The KeyReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyReleaseEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler LeaveEvt
 The LeaveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeaveEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler LeftButtonPressEvt
 The LeftButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonPressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler LeftButtonReleaseEvt
 The LeftButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonReleaseEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler MiddleButtonPressEvt
 The MiddleButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonPressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler MiddleButtonReleaseEvt
 The MiddleButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonReleaseEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ModifiedEvt
 The ModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ModifiedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler MouseMoveEvt
 The MouseMoveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseMoveEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler MouseWheelBackwardEvt
 The MouseWheelBackwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelBackwardEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler MouseWheelForwardEvt
 The MouseWheelForwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelForwardEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler PickEvt
 The PickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PickEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler PlacePointEvt
 The PlacePointEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlacePointEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler PlaceWidgetEvt
 The PlaceWidgetEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlaceWidgetEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ProgressEvt
 The ProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ProgressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler PropertyModifiedEvt
 The PropertyModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PropertyModifiedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler RegisterEvt
 The RegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RegisterEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler RenderEvt
 The RenderEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler RenderWindowMessageEvt
 The RenderWindowMessageEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderWindowMessageEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ResetCameraClippingRangeEvt
 The ResetCameraClippingRangeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraClippingRangeEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ResetCameraEvt
 The ResetCameraEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler ResetWindowLevelEvt
 The ResetWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetWindowLevelEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler RightButtonPressEvt
 The RightButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonPressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler RightButtonReleaseEvt
 The RightButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonReleaseEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler SelectionChangedEvt
 The SelectionChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SelectionChangedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler SetOutputEvt
 The SetOutputEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SetOutputEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler StartAnimationCueEvt
 The StartAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartAnimationCueEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler StartEvt
 The StartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler StartInteractionEvt
 The StartInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartInteractionEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler StartPickEvt
 The StartPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartPickEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler StartWindowLevelEvt
 The StartWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartWindowLevelEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler TimerEvt
 The TimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.TimerEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler UnRegisterEvt
 The UnRegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UnRegisterEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler UpdateEvt
 The UpdateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler UpdateInformationEvt
 The UpdateInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateInformationEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler UpdatePropertyEvt
 The UpdatePropertyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdatePropertyEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperComputeGradientsEndEvt
 The VolumeMapperComputeGradientsEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsEndEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperComputeGradientsProgressEvt
 The VolumeMapperComputeGradientsProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsProgressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperComputeGradientsStartEvt
 The VolumeMapperComputeGradientsStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsStartEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperRenderEndEvt
 The VolumeMapperRenderEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderEndEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperRenderProgressEvt
 The VolumeMapperRenderProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderProgressEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperRenderStartEvt
 The VolumeMapperRenderStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderStartEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WarningEvt
 The WarningEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WarningEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WidgetActivateEvt
 The WidgetActivateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetActivateEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WidgetModifiedEvt
 The WidgetModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetModifiedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WidgetValueChangedEvt
 The WidgetValueChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetValueChangedEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WindowLevelEvt
 The WindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WindowLevelEvent as the eventId parameter.
Kitware.VTK.vtkObject.vtkObjectEventHandler WrongTagEvt
 The WrongTagEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WrongTagEvent as the eventId parameter.

Detailed Description

vtkLookupTable - map scalar values into colors via a lookup table

Description vtkLookupTable is an object that is used by mapper objects to map scalar values into rgba (red-green-blue-alpha transparency) color specification, or rgba into scalar values. The color table can be created by direct insertion of color values, or by specifying hue, saturation, value, and alpha range and generating a table.

Caveats You need to explicitly call Build() when constructing the LUT by hand.

vtkLogLookupTable vtkWindowLevelLookupTable

Constructor & Destructor Documentation

static Kitware.VTK.vtkLookupTable.vtkLookupTable ( )
staticprivate

Automatically generated type registration mechanics.

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

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

Kitware.VTK.vtkLookupTable.vtkLookupTable ( )

Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).

Member Function Documentation

int Kitware.VTK.vtkLookupTable.Allocate ( int  sz,
int  ext 
)

Allocate a color table of specified size.

static double Kitware.VTK.vtkLookupTable.ApplyLogScale ( double  v,
IntPtr  range,
IntPtr  log_range 
)
static

Sets/Gets the range of scalars which will be mapped. This is a duplicate of Get/SetTableRange.

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

Generate lookup table from hue, saturation, value, alpha min/max values. Table is built from linear ramp of each value.

Reimplemented from Kitware.VTK.vtkScalarsToColors.

Reimplemented in Kitware.VTK.vtkWindowLevelLookupTable.

void Kitware.VTK.vtkLookupTable.DeepCopy ( vtkLookupTable  lut)

Copy the contents from another LookupTable

override void Kitware.VTK.vtkLookupTable.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.vtkScalarsToColors.

Reimplemented in Kitware.VTK.vtkLookupTableWithEnabling, Kitware.VTK.vtkLogLookupTable, and Kitware.VTK.vtkWindowLevelLookupTable.

virtual void Kitware.VTK.vtkLookupTable.ForceBuild ( )
virtual

Force the lookup table to regenerate from hue, saturation, value, and alpha min/max values. Table is built from a linear ramp of each value. ForceBuild() is useful if a lookup table has been defined manually (using SetTableValue) and then an application decides to rebuild the lookup table using the implicit process.

virtual double [] Kitware.VTK.vtkLookupTable.GetAlphaRange ( )
virtual

Set the range in alpha (using automatic generation). Alpha ranges from [0,1].

virtual void Kitware.VTK.vtkLookupTable.GetAlphaRange ( ref double  _arg1,
ref double  _arg2 
)
virtual

Set the range in alpha (using automatic generation). Alpha ranges from [0,1].

virtual void Kitware.VTK.vtkLookupTable.GetAlphaRange ( IntPtr  _arg)
virtual

Set the range in alpha (using automatic generation). Alpha ranges from [0,1].

override void Kitware.VTK.vtkLookupTable.GetColor ( double  x,
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.vtkScalarsToColors.

virtual double [] Kitware.VTK.vtkLookupTable.GetHueRange ( )
virtual

Set the range in hue (using automatic generation). Hue ranges between [0,1].

virtual void Kitware.VTK.vtkLookupTable.GetHueRange ( ref double  _arg1,
ref double  _arg2 
)
virtual

Set the range in hue (using automatic generation). Hue ranges between [0,1].

virtual void Kitware.VTK.vtkLookupTable.GetHueRange ( IntPtr  _arg)
virtual

Set the range in hue (using automatic generation). Hue ranges between [0,1].

virtual int Kitware.VTK.vtkLookupTable.GetIndex ( double  v)
virtual

Return the table index associated with a particular value.

static void Kitware.VTK.vtkLookupTable.GetLogRange ( IntPtr  range,
IntPtr  log_range 
)
static

Sets/Gets the range of scalars which will be mapped. This is a duplicate of Get/SetTableRange.

virtual double [] Kitware.VTK.vtkLookupTable.GetNanColor ( )
virtual

Set the color to use when a NaN (not a number) is encountered. This is an RGBA 4-tuple color of doubles in the range [0,1].

virtual void Kitware.VTK.vtkLookupTable.GetNanColor ( ref double  _arg1,
ref double  _arg2,
ref double  _arg3,
ref double  _arg4 
)
virtual

Set the color to use when a NaN (not a number) is encountered. This is an RGBA 4-tuple color of doubles in the range [0,1].

virtual void Kitware.VTK.vtkLookupTable.GetNanColor ( IntPtr  _arg)
virtual

Set the color to use when a NaN (not a number) is encountered. This is an RGBA 4-tuple color of doubles in the range [0,1].

override int Kitware.VTK.vtkLookupTable.GetNumberOfAvailableColors ( )
virtual

Get the number of available colors for mapping to.

Reimplemented from Kitware.VTK.vtkScalarsToColors.

virtual int Kitware.VTK.vtkLookupTable.GetNumberOfColors ( )
virtual

Set the number of colors in the lookup table. Use SetNumberOfTableValues() instead, it can be used both before and after the table has been built whereas SetNumberOfColors() has no effect after the table has been built.

virtual int Kitware.VTK.vtkLookupTable.GetNumberOfColorsMaxValue ( )
virtual

Set the number of colors in the lookup table. Use SetNumberOfTableValues() instead, it can be used both before and after the table has been built whereas SetNumberOfColors() has no effect after the table has been built.

virtual int Kitware.VTK.vtkLookupTable.GetNumberOfColorsMinValue ( )
virtual

Set the number of colors in the lookup table. Use SetNumberOfTableValues() instead, it can be used both before and after the table has been built whereas SetNumberOfColors() has no effect after the table has been built.

int Kitware.VTK.vtkLookupTable.GetNumberOfTableValues ( )

Specify the number of values (i.e., colors) in the lookup table.

override double Kitware.VTK.vtkLookupTable.GetOpacity ( double  v)
virtual

Map one value through the lookup table and return the alpha value (the opacity) as a double between 0 and 1.

Reimplemented from Kitware.VTK.vtkScalarsToColors.

IntPtr Kitware.VTK.vtkLookupTable.GetPointer ( int  id)

Get pointer to color table data. Format is array of unsigned char r-g-b-a-r-g-b-a...

virtual int Kitware.VTK.vtkLookupTable.GetRamp ( )
virtual

Set the shape of the table ramp to either linear or S-curve. The default is S-curve, which tails off gradually at either end. The equation used for the S-curve is y = (sin((x - 1/2)*pi) + 1)/2, while the equation for the linear ramp is simply y = x. For an S-curve greyscale ramp, you should set NumberOfTableValues to 402 (which is 256*pi/2) to provide room for the tails of the ramp. The equation for the SQRT is y = sqrt(x).

override double [] Kitware.VTK.vtkLookupTable.GetRange ( )
virtual

Sets/Gets the range of scalars which will be mapped. This is a duplicate of Get/SetTableRange.

Reimplemented from Kitware.VTK.vtkScalarsToColors.

virtual double [] Kitware.VTK.vtkLookupTable.GetSaturationRange ( )
virtual

Set the range in saturation (using automatic generation). Saturation ranges between [0,1].

virtual void Kitware.VTK.vtkLookupTable.GetSaturationRange ( ref double  _arg1,
ref double  _arg2 
)
virtual

Set the range in saturation (using automatic generation). Saturation ranges between [0,1].

virtual void Kitware.VTK.vtkLookupTable.GetSaturationRange ( IntPtr  _arg)
virtual

Set the range in saturation (using automatic generation). Saturation ranges between [0,1].

virtual int Kitware.VTK.vtkLookupTable.GetScale ( )
virtual

Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, then the TableRange must not cross the value zero.

virtual vtkUnsignedCharArray Kitware.VTK.vtkLookupTable.GetTable ( )
virtual

Set/Get the internal table array that is used to map the scalars to colors. The table array is an unsigned char array with 4 components representing RGBA.

Here is the call graph for this function:

virtual double [] Kitware.VTK.vtkLookupTable.GetTableRange ( )
virtual

Set/Get the minimum/maximum scalar values for scalar mapping. Scalar values less than minimum range value are clamped to minimum range value. Scalar values greater than maximum range value are clamped to maximum range value.

virtual void Kitware.VTK.vtkLookupTable.GetTableRange ( IntPtr  data)
virtual

Set/Get the minimum/maximum scalar values for scalar mapping. Scalar values less than minimum range value are clamped to minimum range value. Scalar values greater than maximum range value are clamped to maximum range value.

double [] Kitware.VTK.vtkLookupTable.GetTableValue ( int  id)

Return a rgba color value for the given index into the lookup table. Color components are expressed as [0,1] double values.

void Kitware.VTK.vtkLookupTable.GetTableValue ( int  id,
IntPtr  rgba 
)

Return a rgba color value for the given index into the lookup table. Color components are expressed as [0,1] double values.

virtual double [] Kitware.VTK.vtkLookupTable.GetValueRange ( )
virtual

Set the range in value (using automatic generation). Value ranges between [0,1].

virtual void Kitware.VTK.vtkLookupTable.GetValueRange ( ref double  _arg1,
ref double  _arg2 
)
virtual

Set the range in value (using automatic generation). Value ranges between [0,1].

virtual void Kitware.VTK.vtkLookupTable.GetValueRange ( IntPtr  _arg)
virtual

Set the range in value (using automatic generation). Value ranges between [0,1].

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

Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).

Reimplemented from Kitware.VTK.vtkScalarsToColors.

Reimplemented in Kitware.VTK.vtkWindowLevelLookupTable, Kitware.VTK.vtkLookupTableWithEnabling, and Kitware.VTK.vtkLogLookupTable.

override int Kitware.VTK.vtkLookupTable.IsOpaque ( )
virtual

Return true if all of the values defining the mapping have an opacity equal to 1. Default implementation return true.

Reimplemented from Kitware.VTK.vtkScalarsToColors.

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

Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).

Reimplemented from Kitware.VTK.vtkScalarsToColors.

Reimplemented in Kitware.VTK.vtkWindowLevelLookupTable, Kitware.VTK.vtkLookupTableWithEnabling, and Kitware.VTK.vtkLogLookupTable.

override void Kitware.VTK.vtkLookupTable.MapScalarsThroughTable2 ( IntPtr  input,
IntPtr  output,
int  inputDataType,
int  numberOfValues,
int  inputIncrement,
int  outputIncrement 
)
virtual

map a set of scalars through the lookup table

Reimplemented from Kitware.VTK.vtkScalarsToColors.

Reimplemented in Kitware.VTK.vtkLookupTableWithEnabling.

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

Map one value through the lookup table.

Reimplemented from Kitware.VTK.vtkScalarsToColors.

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

Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkLookupTableWithEnabling, Kitware.VTK.vtkLogLookupTable, and Kitware.VTK.vtkWindowLevelLookupTable.

new vtkLookupTable Kitware.VTK.vtkLookupTable.NewInstance ( )

Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).

Reimplemented from Kitware.VTK.vtkScalarsToColors.

Reimplemented in Kitware.VTK.vtkWindowLevelLookupTable, Kitware.VTK.vtkLookupTableWithEnabling, and Kitware.VTK.vtkLogLookupTable.

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

Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue).

Reimplemented from Kitware.VTK.vtkScalarsToColors.

Reimplemented in Kitware.VTK.vtkWindowLevelLookupTable, Kitware.VTK.vtkLookupTableWithEnabling, and Kitware.VTK.vtkLogLookupTable.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkLookupTable.SetAlphaRange ( double  _arg1,
double  _arg2 
)
virtual

Set the range in alpha (using automatic generation). Alpha ranges from [0,1].

void Kitware.VTK.vtkLookupTable.SetAlphaRange ( IntPtr  _arg)

Set the range in alpha (using automatic generation). Alpha ranges from [0,1].

virtual void Kitware.VTK.vtkLookupTable.SetHueRange ( double  _arg1,
double  _arg2 
)
virtual

Set the range in hue (using automatic generation). Hue ranges between [0,1].

void Kitware.VTK.vtkLookupTable.SetHueRange ( IntPtr  _arg)

Set the range in hue (using automatic generation). Hue ranges between [0,1].

virtual void Kitware.VTK.vtkLookupTable.SetNanColor ( double  _arg1,
double  _arg2,
double  _arg3,
double  _arg4 
)
virtual

Set the color to use when a NaN (not a number) is encountered. This is an RGBA 4-tuple color of doubles in the range [0,1].

virtual void Kitware.VTK.vtkLookupTable.SetNanColor ( IntPtr  _arg)
virtual

Set the color to use when a NaN (not a number) is encountered. This is an RGBA 4-tuple color of doubles in the range [0,1].

virtual void Kitware.VTK.vtkLookupTable.SetNumberOfColors ( int  _arg)
virtual

Set the number of colors in the lookup table. Use SetNumberOfTableValues() instead, it can be used both before and after the table has been built whereas SetNumberOfColors() has no effect after the table has been built.

void Kitware.VTK.vtkLookupTable.SetNumberOfTableValues ( int  number)

Specify the number of values (i.e., colors) in the lookup table.

virtual void Kitware.VTK.vtkLookupTable.SetRamp ( int  _arg)
virtual

Set the shape of the table ramp to either linear or S-curve. The default is S-curve, which tails off gradually at either end. The equation used for the S-curve is y = (sin((x - 1/2)*pi) + 1)/2, while the equation for the linear ramp is simply y = x. For an S-curve greyscale ramp, you should set NumberOfTableValues to 402 (which is 256*pi/2) to provide room for the tails of the ramp. The equation for the SQRT is y = sqrt(x).

void Kitware.VTK.vtkLookupTable.SetRampToLinear ( )

Set the shape of the table ramp to either linear or S-curve. The default is S-curve, which tails off gradually at either end. The equation used for the S-curve is y = (sin((x - 1/2)*pi) + 1)/2, while the equation for the linear ramp is simply y = x. For an S-curve greyscale ramp, you should set NumberOfTableValues to 402 (which is 256*pi/2) to provide room for the tails of the ramp. The equation for the SQRT is y = sqrt(x).

void Kitware.VTK.vtkLookupTable.SetRampToSCurve ( )

Set the shape of the table ramp to either linear or S-curve. The default is S-curve, which tails off gradually at either end. The equation used for the S-curve is y = (sin((x - 1/2)*pi) + 1)/2, while the equation for the linear ramp is simply y = x. For an S-curve greyscale ramp, you should set NumberOfTableValues to 402 (which is 256*pi/2) to provide room for the tails of the ramp. The equation for the SQRT is y = sqrt(x).

void Kitware.VTK.vtkLookupTable.SetRampToSQRT ( )

Set the shape of the table ramp to either linear or S-curve. The default is S-curve, which tails off gradually at either end. The equation used for the S-curve is y = (sin((x - 1/2)*pi) + 1)/2, while the equation for the linear ramp is simply y = x. For an S-curve greyscale ramp, you should set NumberOfTableValues to 402 (which is 256*pi/2) to provide room for the tails of the ramp. The equation for the SQRT is y = sqrt(x).

override void Kitware.VTK.vtkLookupTable.SetRange ( double  min,
double  max 
)
virtual

Sets/Gets the range of scalars which will be mapped. This is a duplicate of Get/SetTableRange.

Reimplemented from Kitware.VTK.vtkScalarsToColors.

new void Kitware.VTK.vtkLookupTable.SetRange ( IntPtr  rng)

Sets/Gets the range of scalars which will be mapped. This is a duplicate of Get/SetTableRange.

Reimplemented from Kitware.VTK.vtkScalarsToColors.

virtual void Kitware.VTK.vtkLookupTable.SetSaturationRange ( double  _arg1,
double  _arg2 
)
virtual

Set the range in saturation (using automatic generation). Saturation ranges between [0,1].

void Kitware.VTK.vtkLookupTable.SetSaturationRange ( IntPtr  _arg)

Set the range in saturation (using automatic generation). Saturation ranges between [0,1].

void Kitware.VTK.vtkLookupTable.SetScale ( int  scale)

Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, then the TableRange must not cross the value zero.

void Kitware.VTK.vtkLookupTable.SetScaleToLinear ( )

Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, then the TableRange must not cross the value zero.

void Kitware.VTK.vtkLookupTable.SetScaleToLog10 ( )

Set the type of scale to use, linear or logarithmic. The default is linear. If the scale is logarithmic, then the TableRange must not cross the value zero.

void Kitware.VTK.vtkLookupTable.SetTable ( vtkUnsignedCharArray  arg0)

Set/Get the internal table array that is used to map the scalars to colors. The table array is an unsigned char array with 4 components representing RGBA.

void Kitware.VTK.vtkLookupTable.SetTableRange ( IntPtr  r)

Set/Get the minimum/maximum scalar values for scalar mapping. Scalar values less than minimum range value are clamped to minimum range value. Scalar values greater than maximum range value are clamped to maximum range value.

virtual void Kitware.VTK.vtkLookupTable.SetTableRange ( double  min,
double  max 
)
virtual

Set/Get the minimum/maximum scalar values for scalar mapping. Scalar values less than minimum range value are clamped to minimum range value. Scalar values greater than maximum range value are clamped to maximum range value.

void Kitware.VTK.vtkLookupTable.SetTableValue ( int  indx,
IntPtr  rgba 
)

Directly load color into lookup table. Use [0,1] double values for color component specification. Make sure that you've either used the Build() method or used SetNumberOfTableValues() prior to using this method.

void Kitware.VTK.vtkLookupTable.SetTableValue ( int  indx,
double  r,
double  g,
double  b,
double  a 
)

Directly load color into lookup table. Use [0,1] double values for color component specification.

virtual void Kitware.VTK.vtkLookupTable.SetValueRange ( double  _arg1,
double  _arg2 
)
virtual

Set the range in value (using automatic generation). Value ranges between [0,1].

void Kitware.VTK.vtkLookupTable.SetValueRange ( IntPtr  _arg)

Set the range in value (using automatic generation). Value ranges between [0,1].

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

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

Reimplemented from Kitware.VTK.vtkScalarsToColors.

IntPtr Kitware.VTK.vtkLookupTable.WritePointer ( int  id,
int  number 
)

Member Data Documentation

new readonly string Kitware.VTK.vtkLookupTable.MRClassNameKey = "14vtkLookupTable"
static

Automatically generated type registration mechanics.

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

Automatically generated type registration mechanics.


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