ActiViz .NET
5.8.0
|
vtkScalarsToColorsPainter - painter that converts scalars to colors. It enable/disables coloring state depending on the ScalarMode. More...
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. |
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.
static Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter | ( | ) | [static, private] |
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.
static vtkInformationIntegerKey Kitware.VTK.vtkScalarsToColorsPainter.ARRAY_ACCESS_MODE | ( | ) | [static] |
Controls what data array is used to generate colors.
static vtkInformationIntegerKey Kitware.VTK.vtkScalarsToColorsPainter.ARRAY_COMPONENT | ( | ) | [static] |
Controls what data array is used to generate colors.
static vtkInformationIntegerKey Kitware.VTK.vtkScalarsToColorsPainter.ARRAY_ID | ( | ) | [static] |
Controls what data array is used to generate colors.
static vtkInformationStringKey Kitware.VTK.vtkScalarsToColorsPainter.ARRAY_NAME | ( | ) | [static] |
Controls what data array is used to generate colors.
static vtkInformationIntegerKey Kitware.VTK.vtkScalarsToColorsPainter.COLOR_MODE | ( | ) | [static] |
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.
virtual void Kitware.VTK.vtkScalarsToColorsPainter.CreateDefaultLookupTable | ( | ) | [virtual] |
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.
override vtkDataObject Kitware.VTK.vtkScalarsToColorsPainter.GetOutput | ( | ) | [virtual] |
Subclasses need to override this to return the output of the pipeline.
Reimplemented from Kitware.VTK.vtkPainter.
virtual int Kitware.VTK.vtkScalarsToColorsPainter.GetPremultiplyColorsWithAlpha | ( | vtkActor | actor | ) | [virtual] |
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.
virtual int Kitware.VTK.vtkScalarsToColorsPainter.GetTextureSizeLimit | ( | ) | [virtual] |
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.
static vtkInformationIntegerKey Kitware.VTK.vtkScalarsToColorsPainter.INTERPOLATE_SCALARS_BEFORE_MAPPING | ( | ) | [static] |
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.
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.
static vtkInformationObjectBaseKey Kitware.VTK.vtkScalarsToColorsPainter.LOOKUP_TABLE | ( | ) | [static] |
Specify a lookup table for the mapper to use.
static new vtkScalarsToColorsPainter Kitware.VTK.vtkScalarsToColorsPainter.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkPainter.
Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.
static new vtkScalarsToColorsPainter Kitware.VTK.vtkScalarsToColorsPainter.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkPainter.
Reimplemented in Kitware.VTK.vtkOpenGLScalarsToColorsPainter.
static vtkInformationIntegerKey Kitware.VTK.vtkScalarsToColorsPainter.SCALAR_MATERIAL_MODE | ( | ) | [static] |
Set the light-model color mode.
static vtkInformationIntegerKey Kitware.VTK.vtkScalarsToColorsPainter.SCALAR_MODE | ( | ) | [static] |
Control how the painter works with scalar point data and cell attribute data. See vtkMapper::ScalarMode for more details.
static vtkInformationDoubleVectorKey Kitware.VTK.vtkScalarsToColorsPainter.SCALAR_RANGE | ( | ) | [static] |
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 Kitware.VTK.vtkScalarsToColorsPainter.SCALAR_VISIBILITY | ( | ) | [static] |
Turn on/off flag to control whether scalar data is used to color objects.
Specify a lookup table for the mapper to use.
static vtkInformationIntegerKey Kitware.VTK.vtkScalarsToColorsPainter.USE_LOOKUP_TABLE_SCALAR_RANGE | ( | ) | [static] |
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.
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 void Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_CreateDefaultLookupTable_06 | ( | HandleRef | pThis | ) | [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 int Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_GetTextureSizeLimit_10 | ( | HandleRef | pThis | ) | [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 int Kitware.VTK.vtkScalarsToColorsPainter.vtkScalarsToColorsPainter_IsTypeOf_13 | ( | 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] |
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.