ActiViz .NET
5.8.0
|
vtkTextMapper - 2D text annotation More...
Public Member Functions | |
vtkTextMapper (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkTextMapper () | |
Creates a new text mapper. | |
virtual int | GetHeight (vtkViewport v) |
Return the size[2]/width/height of the rectangle required to draw this mapper (in pixels). | |
virtual string | GetInput () |
Set the input text string to the mapper. The mapper recognizes " " as a carriage return/linefeed (line separator). | |
int | GetNumberOfLines (string input) |
Determine the number of lines in the input string (delimited by " "). | |
virtual int | GetNumberOfLines () |
Get the number of lines in the input string (the method GetNumberOfLines(char*) must have been previously called for the return value to be valid). | |
virtual void | GetSize (vtkViewport arg0, IntPtr size) |
Return the size[2]/width/height of the rectangle required to draw this mapper (in pixels). | |
virtual int | GetSystemFontSize (int size) |
Get the available system font size matching a font size. | |
virtual vtkTextProperty | GetTextProperty () |
Set/Get the text property. | |
virtual int | GetWidth (vtkViewport v) |
Return the size[2]/width/height of the rectangle required to draw this mapper (in pixels). | |
override int | IsA (string type) |
Undocumented Block. | |
new vtkTextMapper | NewInstance () |
Undocumented Block. | |
virtual int | SetConstrainedFontSize (vtkViewport arg0, int targetWidth, int targetHeight) |
Set and return the font size required to make this mapper fit in a given target rectangle (width x height, in pixels). A static version of the method is also available for convenience to other classes (e.g., widgets). | |
virtual void | SetInput (string inputString) |
Set the input text string to the mapper. The mapper recognizes " " as a carriage return/linefeed (line separator). | |
virtual void | SetTextProperty (vtkTextProperty p) |
Set/Get the text property. | |
void | ShallowCopy (vtkTextMapper tm) |
Shallow copy of an actor. | |
Static Public Member Functions | |
static new vtkTextMapper | New () |
Creates a new text mapper. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkTextMapper | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
static int | SetConstrainedFontSize (vtkTextMapper arg0, vtkViewport arg1, int targetWidth, int targetHeight) |
Set and return the font size required to make this mapper fit in a given target rectangle (width x height, in pixels). A static version of the method is also available for convenience to other classes (e.g., widgets). | |
static int | SetRelativeFontSize (vtkTextMapper arg0, vtkViewport arg1, IntPtr winSize, IntPtr stringSize, float sizeFactor) |
Use these methods when setting font size relative to the renderer's size. These methods are static so that external classes (e.g., widgets) can easily use them. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkTextMapper" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "13vtkTextMapper" |
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 | vtkTextMapper_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkTextMapper_GetHeight_01 (HandleRef pThis, HandleRef v) |
static internal IntPtr | vtkTextMapper_GetInput_02 (HandleRef pThis) |
static internal int | vtkTextMapper_GetNumberOfLines_03 (HandleRef pThis, string input) |
static internal int | vtkTextMapper_GetNumberOfLines_04 (HandleRef pThis) |
static internal void | vtkTextMapper_GetSize_05 (HandleRef pThis, HandleRef arg0, IntPtr size) |
static internal int | vtkTextMapper_GetSystemFontSize_06 (HandleRef pThis, int size) |
static internal IntPtr | vtkTextMapper_GetTextProperty_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkTextMapper_GetWidth_08 (HandleRef pThis, HandleRef v) |
static internal int | vtkTextMapper_IsA_09 (HandleRef pThis, string type) |
static internal int | vtkTextMapper_IsTypeOf_10 (string type) |
static internal IntPtr | vtkTextMapper_NewInstance_12 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkTextMapper_SafeDownCast_13 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkTextMapper_SetConstrainedFontSize_14 (HandleRef pThis, HandleRef arg0, int targetWidth, int targetHeight) |
static internal int | vtkTextMapper_SetConstrainedFontSize_15 (HandleRef arg0, HandleRef arg1, int targetWidth, int targetHeight) |
static internal void | vtkTextMapper_SetInput_16 (HandleRef pThis, string inputString) |
static internal int | vtkTextMapper_SetRelativeFontSize_17 (HandleRef arg0, HandleRef arg1, IntPtr winSize, IntPtr stringSize, float sizeFactor) |
static internal void | vtkTextMapper_SetTextProperty_18 (HandleRef pThis, HandleRef p) |
static internal void | vtkTextMapper_ShallowCopy_19 (HandleRef pThis, HandleRef tm) |
Static Private Member Functions | |
static | vtkTextMapper () |
Automatically generated type registration mechanics. |
vtkTextMapper - 2D text annotation
Description vtkTextMapper provides 2D text annotation support for VTK. It is a vtkMapper2D that can be associated with a vtkActor2D and placed into a vtkRenderer.
To use vtkTextMapper, specify an input text string.
static Kitware.VTK.vtkTextMapper.vtkTextMapper | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkTextMapper.vtkTextMapper | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Creates a new text mapper.
override void Kitware.VTK.vtkTextMapper.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.vtkMapper2D.
Reimplemented in Kitware.VTK.vtkOpenGLFreeTypeTextMapper.
virtual int Kitware.VTK.vtkTextMapper.GetHeight | ( | vtkViewport | v | ) | [virtual] |
Return the size[2]/width/height of the rectangle required to draw this mapper (in pixels).
virtual string Kitware.VTK.vtkTextMapper.GetInput | ( | ) | [virtual] |
Set the input text string to the mapper. The mapper recognizes "
" as a carriage return/linefeed (line separator).
int Kitware.VTK.vtkTextMapper.GetNumberOfLines | ( | string | input | ) |
Determine the number of lines in the input string (delimited by "
").
virtual int Kitware.VTK.vtkTextMapper.GetNumberOfLines | ( | ) | [virtual] |
Get the number of lines in the input string (the method GetNumberOfLines(char*) must have been previously called for the return value to be valid).
virtual void Kitware.VTK.vtkTextMapper.GetSize | ( | vtkViewport | arg0, |
IntPtr | size | ||
) | [virtual] |
Return the size[2]/width/height of the rectangle required to draw this mapper (in pixels).
Reimplemented in Kitware.VTK.vtkOpenGLFreeTypeTextMapper.
virtual int Kitware.VTK.vtkTextMapper.GetSystemFontSize | ( | int | size | ) | [virtual] |
Get the available system font size matching a font size.
virtual vtkTextProperty Kitware.VTK.vtkTextMapper.GetTextProperty | ( | ) | [virtual] |
Set/Get the text property.
virtual int Kitware.VTK.vtkTextMapper.GetWidth | ( | vtkViewport | v | ) | [virtual] |
Return the size[2]/width/height of the rectangle required to draw this mapper (in pixels).
override int Kitware.VTK.vtkTextMapper.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkMapper2D.
Reimplemented in Kitware.VTK.vtkOpenGLFreeTypeTextMapper.
static new int Kitware.VTK.vtkTextMapper.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkMapper2D.
Reimplemented in Kitware.VTK.vtkOpenGLFreeTypeTextMapper.
static new vtkTextMapper Kitware.VTK.vtkTextMapper.New | ( | ) | [static] |
Creates a new text mapper.
Reimplemented from Kitware.VTK.vtkAlgorithm.
Reimplemented in Kitware.VTK.vtkOpenGLFreeTypeTextMapper.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkMapper2D.
Reimplemented in Kitware.VTK.vtkOpenGLFreeTypeTextMapper.
static new vtkTextMapper Kitware.VTK.vtkTextMapper.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkMapper2D.
Reimplemented in Kitware.VTK.vtkOpenGLFreeTypeTextMapper.
virtual int Kitware.VTK.vtkTextMapper.SetConstrainedFontSize | ( | vtkViewport | arg0, |
int | targetWidth, | ||
int | targetHeight | ||
) | [virtual] |
Set and return the font size required to make this mapper fit in a given target rectangle (width x height, in pixels). A static version of the method is also available for convenience to other classes (e.g., widgets).
static int Kitware.VTK.vtkTextMapper.SetConstrainedFontSize | ( | vtkTextMapper | arg0, |
vtkViewport | arg1, | ||
int | targetWidth, | ||
int | targetHeight | ||
) | [static] |
Set and return the font size required to make this mapper fit in a given target rectangle (width x height, in pixels). A static version of the method is also available for convenience to other classes (e.g., widgets).
virtual void Kitware.VTK.vtkTextMapper.SetInput | ( | string | inputString | ) | [virtual] |
Set the input text string to the mapper. The mapper recognizes "
" as a carriage return/linefeed (line separator).
static int Kitware.VTK.vtkTextMapper.SetRelativeFontSize | ( | vtkTextMapper | arg0, |
vtkViewport | arg1, | ||
IntPtr | winSize, | ||
IntPtr | stringSize, | ||
float | sizeFactor | ||
) | [static] |
Use these methods when setting font size relative to the renderer's size. These methods are static so that external classes (e.g., widgets) can easily use them.
virtual void Kitware.VTK.vtkTextMapper.SetTextProperty | ( | vtkTextProperty | p | ) | [virtual] |
Set/Get the text property.
Shallow copy of an actor.
static internal int Kitware.VTK.vtkTextMapper.vtkTextMapper_GetHeight_01 | ( | HandleRef | pThis, |
HandleRef | v | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkTextMapper.vtkTextMapper_GetInput_02 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkTextMapper.vtkTextMapper_GetNumberOfLines_03 | ( | HandleRef | pThis, |
string | input | ||
) | [private] |
static internal int Kitware.VTK.vtkTextMapper.vtkTextMapper_GetNumberOfLines_04 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkTextMapper.vtkTextMapper_GetSize_05 | ( | HandleRef | pThis, |
HandleRef | arg0, | ||
IntPtr | size | ||
) | [private] |
static internal int Kitware.VTK.vtkTextMapper.vtkTextMapper_GetSystemFontSize_06 | ( | HandleRef | pThis, |
int | size | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkTextMapper.vtkTextMapper_GetTextProperty_07 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkTextMapper.vtkTextMapper_GetWidth_08 | ( | HandleRef | pThis, |
HandleRef | v | ||
) | [private] |
static internal int Kitware.VTK.vtkTextMapper.vtkTextMapper_IsA_09 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkTextMapper.vtkTextMapper_IsTypeOf_10 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkTextMapper.vtkTextMapper_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkTextMapper.vtkTextMapper_NewInstance_12 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkTextMapper.vtkTextMapper_SafeDownCast_13 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkTextMapper.vtkTextMapper_SetConstrainedFontSize_14 | ( | HandleRef | pThis, |
HandleRef | arg0, | ||
int | targetWidth, | ||
int | targetHeight | ||
) | [private] |
static internal int Kitware.VTK.vtkTextMapper.vtkTextMapper_SetConstrainedFontSize_15 | ( | HandleRef | arg0, |
HandleRef | arg1, | ||
int | targetWidth, | ||
int | targetHeight | ||
) | [private] |
static internal void Kitware.VTK.vtkTextMapper.vtkTextMapper_SetInput_16 | ( | HandleRef | pThis, |
string | inputString | ||
) | [private] |
static internal int Kitware.VTK.vtkTextMapper.vtkTextMapper_SetRelativeFontSize_17 | ( | HandleRef | arg0, |
HandleRef | arg1, | ||
IntPtr | winSize, | ||
IntPtr | stringSize, | ||
float | sizeFactor | ||
) | [private] |
static internal void Kitware.VTK.vtkTextMapper.vtkTextMapper_SetTextProperty_18 | ( | HandleRef | pThis, |
HandleRef | p | ||
) | [private] |
static internal void Kitware.VTK.vtkTextMapper.vtkTextMapper_ShallowCopy_19 | ( | HandleRef | pThis, |
HandleRef | tm | ||
) | [private] |
new readonly string Kitware.VTK.vtkTextMapper.MRClassNameKey = "13vtkTextMapper" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkMapper2D.
Reimplemented in Kitware.VTK.vtkOpenGLFreeTypeTextMapper.
new const string Kitware.VTK.vtkTextMapper.MRFullTypeName = "Kitware.VTK.vtkTextMapper" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkMapper2D.
Reimplemented in Kitware.VTK.vtkOpenGLFreeTypeTextMapper.