ActiViz .NET
5.8.0
|
vtkBrush - provides a brush that fills shapes drawn by vtkContext2D. More...
Public Types | |
enum | TextureProperty { Linear = 2, Nearest = 1, Repeat = 8, Stretch = 4 } |
Description Texture properties. More... | |
Public Member Functions | |
vtkBrush (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkBrush () | |
Undocumented Block. | |
void | DeepCopy (vtkBrush brush) |
Make a deep copy of the supplied brush. | |
void | GetColor (IntPtr color) |
Get the color of the brush - expects an unsigned char of length 4. | |
IntPtr | GetColor () |
Get the color of the brush - gives a pointer to the underlying data. | |
void | GetColorF (IntPtr color) |
Get the color of the brush - expects a double of length 4 to copy into. | |
virtual vtkImageData | GetTexture () |
Description Get the texture that is used to fill polygons. | |
virtual int | GetTextureProperties () |
Description Get the properties associated to the texture. | |
override int | IsA (string type) |
Undocumented Block. | |
new vtkBrush | NewInstance () |
Undocumented Block. | |
void | SetColor (IntPtr color) |
Set the color of the brush with three component unsigned chars (RGB), ranging from 0 to 255. | |
void | SetColor (byte r, byte g, byte b) |
Set the color of the brush with three component unsigned chars (RGB), ranging from 0 to 255. | |
void | SetColor (byte r, byte g, byte b, byte a) |
Set the color of the brush with four component unsigned chars (RGBA), ranging from 0 to 255. | |
void | SetColorF (IntPtr color) |
Set the color of the brush with three component doubles (RGB), ranging from 0.0 to 1.0. | |
void | SetColorF (double r, double g, double b) |
Set the color of the brush with three component doubles (RGB), ranging from 0.0 to 1.0. | |
void | SetColorF (double r, double g, double b, double a) |
Set the color of the brush with four component doubles (RGBA), ranging from 0.0 to 1.0. | |
void | SetOpacity (byte a) |
Set the opacity with an unsigned char, ranging from 0 (transparent) to 255 (opaque). | |
void | SetOpacityF (double a) |
Set the opacity with a double, ranging from 0.0 (transparent) to 1.0 (opaque). | |
void | SetTexture (vtkImageData image) |
Set the texture that will be used to fill polygons By default, no texture is set. The image will be registered with the brush (ref count is incremented) To disable the texture, set Texture to 0. | |
virtual void | SetTextureProperties (int _arg) |
Description Set properties to the texture By default, the texture is linearly stretched. The behavior is undefined when Linear and Nearest are both set The behavior is undefined when Stretch and Repeat are both set The behavior is undefined if TextureProperties is 0. | |
Static Public Member Functions | |
static new vtkBrush | New () |
Undocumented Block. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkBrush | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkBrush" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "8vtkBrush" |
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 | vtkBrush_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkBrush_DeepCopy_01 (HandleRef pThis, HandleRef brush) |
static internal void | vtkBrush_GetColor_02 (HandleRef pThis, IntPtr color) |
static internal IntPtr | vtkBrush_GetColor_03 (HandleRef pThis) |
static internal void | vtkBrush_GetColorF_04 (HandleRef pThis, IntPtr color) |
static internal IntPtr | vtkBrush_GetTexture_05 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkBrush_GetTextureProperties_06 (HandleRef pThis) |
static internal int | vtkBrush_IsA_07 (HandleRef pThis, string type) |
static internal int | vtkBrush_IsTypeOf_08 (string type) |
static internal IntPtr | vtkBrush_NewInstance_10 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkBrush_SafeDownCast_11 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkBrush_SetColor_12 (HandleRef pThis, IntPtr color) |
static internal void | vtkBrush_SetColor_13 (HandleRef pThis, byte r, byte g, byte b) |
static internal void | vtkBrush_SetColor_14 (HandleRef pThis, byte r, byte g, byte b, byte a) |
static internal void | vtkBrush_SetColorF_15 (HandleRef pThis, IntPtr color) |
static internal void | vtkBrush_SetColorF_16 (HandleRef pThis, double r, double g, double b) |
static internal void | vtkBrush_SetColorF_17 (HandleRef pThis, double r, double g, double b, double a) |
static internal void | vtkBrush_SetOpacity_18 (HandleRef pThis, byte a) |
static internal void | vtkBrush_SetOpacityF_19 (HandleRef pThis, double a) |
static internal void | vtkBrush_SetTexture_20 (HandleRef pThis, HandleRef image) |
static internal void | vtkBrush_SetTextureProperties_21 (HandleRef pThis, int _arg) |
Static Private Member Functions | |
static | vtkBrush () |
Automatically generated type registration mechanics. |
vtkBrush - provides a brush that fills shapes drawn by vtkContext2D.
Description The vtkBrush defines the fill (or pattern) of shapes that are drawn by vtkContext2D. The color is stored as four unsigned chars (RGBA), where the opacity defaults to 255, but can be modified separately to the other components. Ideally we would use a lightweight color class to store and pass around colors.
static Kitware.VTK.vtkBrush.vtkBrush | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkBrush.vtkBrush | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Undocumented Block.
void Kitware.VTK.vtkBrush.DeepCopy | ( | vtkBrush | brush | ) |
Make a deep copy of the supplied brush.
override void Kitware.VTK.vtkBrush.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.vtkObject.
void Kitware.VTK.vtkBrush.GetColor | ( | IntPtr | color | ) |
Get the color of the brush - expects an unsigned char of length 4.
IntPtr Kitware.VTK.vtkBrush.GetColor | ( | ) |
Get the color of the brush - gives a pointer to the underlying data.
void Kitware.VTK.vtkBrush.GetColorF | ( | IntPtr | color | ) |
Get the color of the brush - expects a double of length 4 to copy into.
virtual vtkImageData Kitware.VTK.vtkBrush.GetTexture | ( | ) | [virtual] |
Description Get the texture that is used to fill polygons.
virtual int Kitware.VTK.vtkBrush.GetTextureProperties | ( | ) | [virtual] |
Description Get the properties associated to the texture.
override int Kitware.VTK.vtkBrush.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
static new int Kitware.VTK.vtkBrush.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
static new vtkBrush Kitware.VTK.vtkBrush.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
static new vtkBrush Kitware.VTK.vtkBrush.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
void Kitware.VTK.vtkBrush.SetColor | ( | IntPtr | color | ) |
Set the color of the brush with three component unsigned chars (RGB), ranging from 0 to 255.
void Kitware.VTK.vtkBrush.SetColor | ( | byte | r, |
byte | g, | ||
byte | b | ||
) |
Set the color of the brush with three component unsigned chars (RGB), ranging from 0 to 255.
void Kitware.VTK.vtkBrush.SetColor | ( | byte | r, |
byte | g, | ||
byte | b, | ||
byte | a | ||
) |
Set the color of the brush with four component unsigned chars (RGBA), ranging from 0 to 255.
void Kitware.VTK.vtkBrush.SetColorF | ( | IntPtr | color | ) |
Set the color of the brush with three component doubles (RGB), ranging from 0.0 to 1.0.
void Kitware.VTK.vtkBrush.SetColorF | ( | double | r, |
double | g, | ||
double | b | ||
) |
Set the color of the brush with three component doubles (RGB), ranging from 0.0 to 1.0.
void Kitware.VTK.vtkBrush.SetColorF | ( | double | r, |
double | g, | ||
double | b, | ||
double | a | ||
) |
Set the color of the brush with four component doubles (RGBA), ranging from 0.0 to 1.0.
void Kitware.VTK.vtkBrush.SetOpacity | ( | byte | a | ) |
Set the opacity with an unsigned char, ranging from 0 (transparent) to 255 (opaque).
void Kitware.VTK.vtkBrush.SetOpacityF | ( | double | a | ) |
Set the opacity with a double, ranging from 0.0 (transparent) to 1.0 (opaque).
void Kitware.VTK.vtkBrush.SetTexture | ( | vtkImageData | image | ) |
Set the texture that will be used to fill polygons By default, no texture is set. The image will be registered with the brush (ref count is incremented) To disable the texture, set Texture to 0.
virtual void Kitware.VTK.vtkBrush.SetTextureProperties | ( | int | _arg | ) | [virtual] |
Description Set properties to the texture By default, the texture is linearly stretched. The behavior is undefined when Linear and Nearest are both set The behavior is undefined when Stretch and Repeat are both set The behavior is undefined if TextureProperties is 0.
static internal void Kitware.VTK.vtkBrush.vtkBrush_DeepCopy_01 | ( | HandleRef | pThis, |
HandleRef | brush | ||
) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_GetColor_02 | ( | HandleRef | pThis, |
IntPtr | color | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkBrush.vtkBrush_GetColor_03 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_GetColorF_04 | ( | HandleRef | pThis, |
IntPtr | color | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkBrush.vtkBrush_GetTexture_05 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkBrush.vtkBrush_GetTextureProperties_06 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkBrush.vtkBrush_IsA_07 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkBrush.vtkBrush_IsTypeOf_08 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkBrush.vtkBrush_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkBrush.vtkBrush_NewInstance_10 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkBrush.vtkBrush_SafeDownCast_11 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_SetColor_12 | ( | HandleRef | pThis, |
IntPtr | color | ||
) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_SetColor_13 | ( | HandleRef | pThis, |
byte | r, | ||
byte | g, | ||
byte | b | ||
) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_SetColor_14 | ( | HandleRef | pThis, |
byte | r, | ||
byte | g, | ||
byte | b, | ||
byte | a | ||
) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_SetColorF_15 | ( | HandleRef | pThis, |
IntPtr | color | ||
) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_SetColorF_16 | ( | HandleRef | pThis, |
double | r, | ||
double | g, | ||
double | b | ||
) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_SetColorF_17 | ( | HandleRef | pThis, |
double | r, | ||
double | g, | ||
double | b, | ||
double | a | ||
) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_SetOpacity_18 | ( | HandleRef | pThis, |
byte | a | ||
) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_SetOpacityF_19 | ( | HandleRef | pThis, |
double | a | ||
) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_SetTexture_20 | ( | HandleRef | pThis, |
HandleRef | image | ||
) | [private] |
static internal void Kitware.VTK.vtkBrush.vtkBrush_SetTextureProperties_21 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
new readonly string Kitware.VTK.vtkBrush.MRClassNameKey = "8vtkBrush" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.
new const string Kitware.VTK.vtkBrush.MRFullTypeName = "Kitware.VTK.vtkBrush" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.