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

vtkScalarsToColorsPainter - painter that converts scalars to colors. It enable/disables coloring state depending on the ScalarMode. More...

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

List of all members.

Public Member Functions

 vtkScalarsToColorsPainter (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkScalarsToColorsPainter ()
 Undocumented Block.
virtual void CreateDefaultLookupTable ()
 Create default lookup table. Generally used to create one when none is available with the scalar data.
vtkScalarsToColors GetLookupTable ()
 Specify a lookup table for the mapper to use.
override vtkDataObject GetOutput ()
 Subclasses need to override this to return the output of the pipeline.
virtual int GetPremultiplyColorsWithAlpha (vtkActor actor)
 For alpha blending, we sometime premultiply the colors with alpha and change the alpha blending function. This call returns whether we are premultiplying or using the default blending function. Currently this checks if the actor has a texture, if not it returns true. TODO: It is possible to make this decision dependent on key passed down from a painter upstream that makes a more informed decision for alpha blending depending on extensions available, for example.
virtual int GetTextureSizeLimit ()
 Return the texture size limit. Subclasses need to override this to return the actual correct texture size limit. Here it is hardcoded to 1024.
override int IsA (string type)
 Undocumented Block.
new vtkScalarsToColorsPainter NewInstance ()
 Undocumented Block.
void SetLookupTable (vtkScalarsToColors lut)
 Specify a lookup table for the mapper to use.

Static Public Member Functions

static new
vtkScalarsToColorsPainter 
New ()
 Undocumented Block.
static vtkInformationIntegerKey ARRAY_ACCESS_MODE ()
 Controls what data array is used to generate colors.
static vtkInformationIntegerKey ARRAY_COMPONENT ()
 Controls what data array is used to generate colors.
static vtkInformationIntegerKey ARRAY_ID ()
 Controls what data array is used to generate colors.
static vtkInformationStringKey ARRAY_NAME ()
 Controls what data array is used to generate colors.
static vtkInformationIntegerKey COLOR_MODE ()
 Control how the scalar data is mapped to colors. By default (ColorModeToDefault), unsigned char scalars are treated as colors, and NOT mapped through the lookup table, while everything else is. Setting ColorModeToMapScalars means that all scalar data will be mapped through the lookup table.
static vtkInformationIntegerKey INTERPOLATE_SCALARS_BEFORE_MAPPING ()
 By default, vertex color is used to map colors to a surface. Colors are interpolated after being mapped. This option avoids color interpolation by using a one dimensional texture map for the colors.
static new int IsTypeOf (string type)
 Undocumented Block.
static vtkInformationObjectBaseKey LOOKUP_TABLE ()
 Specify a lookup table for the mapper to use.
static vtkInformationIntegerKey SCALAR_MATERIAL_MODE ()
 Set the light-model color mode.
static vtkInformationIntegerKey SCALAR_MODE ()
 Control how the painter works with scalar point data and cell attribute data. See vtkMapper::ScalarMode for more details.
static
vtkInformationDoubleVectorKey 
SCALAR_RANGE ()
 Specify range in terms of scalar minimum and maximum (smin,smax). These values are used to map scalars into lookup table. Has no effect when UseLookupTableScalarRange is true.
static vtkInformationIntegerKey SCALAR_VISIBILITY ()
 Turn on/off flag to control whether scalar data is used to color objects.
static new
vtkScalarsToColorsPainter 
SafeDownCast (vtkObjectBase o)
 Undocumented Block.
static vtkInformationIntegerKey USE_LOOKUP_TABLE_SCALAR_RANGE ()
 Control whether the mapper sets the lookuptable range based on its own ScalarRange, or whether it will use the LookupTable ScalarRange regardless of it's own setting. By default the Mapper is allowed to set the LookupTable range, but users who are sharing LookupTables between mappers/actors will probably wish to force the mapper to use the LookupTable unchanged.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkScalarsToColorsPainter"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "25vtkScalarsToColorsPainter"
 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.

Private Member Functions

static internal IntPtr vtkScalarsToColorsPainter_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_ARRAY_ACCESS_MODE_01 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_ARRAY_COMPONENT_02 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_ARRAY_ID_03 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_ARRAY_NAME_04 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_COLOR_MODE_05 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkScalarsToColorsPainter_CreateDefaultLookupTable_06 (HandleRef pThis)
static internal IntPtr vtkScalarsToColorsPainter_GetLookupTable_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_GetOutput_08 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkScalarsToColorsPainter_GetPremultiplyColorsWithAlpha_09 (HandleRef pThis, HandleRef actor)
static internal int vtkScalarsToColorsPainter_GetTextureSizeLimit_10 (HandleRef pThis)
static internal IntPtr vtkScalarsToColorsPainter_INTERPOLATE_SCALARS_BEFORE_MAPPING_11 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkScalarsToColorsPainter_IsA_12 (HandleRef pThis, string type)
static internal int vtkScalarsToColorsPainter_IsTypeOf_13 (string type)
static internal IntPtr vtkScalarsToColorsPainter_LOOKUP_TABLE_14 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_NewInstance_16 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_SCALAR_MATERIAL_MODE_17 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_SCALAR_MODE_18 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_SCALAR_RANGE_19 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_SCALAR_VISIBILITY_20 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkScalarsToColorsPainter_SafeDownCast_21 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkScalarsToColorsPainter_SetLookupTable_22 (HandleRef pThis, HandleRef lut)
static internal IntPtr vtkScalarsToColorsPainter_USE_LOOKUP_TABLE_SCALAR_RANGE_23 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)

Static Private Member Functions

static vtkScalarsToColorsPainter ()
 Automatically generated type registration mechanics.

Detailed Description

vtkScalarsToColorsPainter - painter that converts scalars to colors. It enable/disables coloring state depending on the ScalarMode.

Description This is a painter that converts scalars to colors. It enable/disables coloring state depending on the ScalarMode. This painter is composite dataset enabled.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Undocumented Block.


Member Function Documentation

Controls what data array is used to generate colors.

Here is the call graph for this function:

Controls what data array is used to generate colors.

Here is the call graph for this function:

Controls what data array is used to generate colors.

Here is the call graph for this function:

Controls what data array is used to generate colors.

Here is the call graph for this function:

Control how the scalar data is mapped to colors. By default (ColorModeToDefault), unsigned char scalars are treated as colors, and NOT mapped through the lookup table, while everything else is. Setting ColorModeToMapScalars means that all scalar data will be mapped through the lookup table.

Here is the call graph for this function:

Create default lookup table. Generally used to create one when none is available with the scalar data.

override void Kitware.VTK.vtkScalarsToColorsPainter.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.vtkPainter.

Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.

Specify a lookup table for the mapper to use.

Here is the call graph for this function:

Subclasses need to override this to return the output of the pipeline.

Reimplemented from Kitware.VTK.vtkPainter.

Here is the call graph for this function:

For alpha blending, we sometime premultiply the colors with alpha and change the alpha blending function. This call returns whether we are premultiplying or using the default blending function. Currently this checks if the actor has a texture, if not it returns true. TODO: It is possible to make this decision dependent on key passed down from a painter upstream that makes a more informed decision for alpha blending depending on extensions available, for example.

Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.

Return the texture size limit. Subclasses need to override this to return the actual correct texture size limit. Here it is hardcoded to 1024.

Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.

By default, vertex color is used to map colors to a surface. Colors are interpolated after being mapped. This option avoids color interpolation by using a one dimensional texture map for the colors.

Here is the call graph for this function:

override int Kitware.VTK.vtkScalarsToColorsPainter.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.

static new int Kitware.VTK.vtkScalarsToColorsPainter.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.

Specify a lookup table for the mapper to use.

Here is the call graph for this function:

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.

Here is the call graph for this function:

Set the light-model color mode.

Here is the call graph for this function:

Control how the painter works with scalar point data and cell attribute data. See vtkMapper::ScalarMode for more details.

Here is the call graph for this function:

Specify range in terms of scalar minimum and maximum (smin,smax). These values are used to map scalars into lookup table. Has no effect when UseLookupTableScalarRange is true.

Here is the call graph for this function:

Turn on/off flag to control whether scalar data is used to color objects.

Here is the call graph for this function:

Specify a lookup table for the mapper to use.

Control whether the mapper sets the lookuptable range based on its own ScalarRange, or whether it will use the LookupTable ScalarRange regardless of it's own setting. By default the Mapper is allowed to set the LookupTable range, but users who are sharing LookupTables between mappers/actors will probably wish to force the mapper to use the LookupTable unchanged.

Here is the call graph for this function:

static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_ARRAY_ACCESS_MODE_01 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_ARRAY_COMPONENT_02 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_ARRAY_ID_03 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_ARRAY_NAME_04 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_COLOR_MODE_05 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_GetLookupTable_07 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_GetOutput_08 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_GetPremultiplyColorsWithAlpha_09 ( HandleRef  pThis,
HandleRef  actor 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_INTERPOLATE_SCALARS_BEFORE_MAPPING_11 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_IsA_12 ( HandleRef  pThis,
string  type 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_LOOKUP_TABLE_14 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_NewInstance_16 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_SafeDownCast_21 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_SCALAR_MATERIAL_MODE_17 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_SCALAR_MODE_18 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_SCALAR_RANGE_19 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_SCALAR_VISIBILITY_20 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_SetLookupTable_22 ( HandleRef  pThis,
HandleRef  lut 
) [private]
static internal IntPtr Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_USE_LOOKUP_TABLE_SCALAR_RANGE_23 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkScalarsToColorsPainter.MRClassNameKey = "25vtkScalarsToColorsPainter" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.


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