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

vtkBalloonRepresentation - represent the vtkBalloonWidget More...

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

List of all members.

Public Types

enum  ImageBottom_WrapperEnum { ImageBottom = 2, ImageLeft = 0, ImageRight = 1, ImageTop = 3 }
 Set/get the image property (relevant only if an image is shown). More...
enum  _InteractionState { OnImage = 2, OnText = 1, Outside = 0 }
 State is either outside, or inside (on the text portion ot the image). More...

Public Member Functions

 vtkBalloonRepresentation (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkBalloonRepresentation ()
 Instantiate the class.
override void BuildRepresentation ()
 These are methods that satisfy vtkWidgetRepresentation's API.
override int ComputeInteractionState (int X, int Y, int modify)
 These are methods that satisfy vtkWidgetRepresentation's API.
override void EndWidgetInteraction (IntPtr e)
 These are methods that satisfy vtkWidgetRepresentation's API.
virtual vtkImageData GetBalloonImage ()
 Specify/retrieve the image to display in the balloon.
virtual int GetBalloonLayout ()
 BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.
virtual string GetBalloonText ()
 Specify/retrieve the text to display in the balloon.
virtual vtkProperty2D GetFrameProperty ()
 Set/get the frame property (relevant only if text is shown). The frame lies behind the text.
virtual vtkProperty2D GetImageProperty ()
 Set/get the image property (relevant only if an image is shown).
virtual int[] GetImageSize ()
 Specify the minimum size for the image. Note that this is a bounding rectangle, the image will fit inside of it. However, if the balloon consists of text plus an image, then the image may be bigger than ImageSize[2] to fit into the balloon frame.
virtual void GetImageSize (ref int _arg1, ref int _arg2)
 Specify the minimum size for the image. Note that this is a bounding rectangle, the image will fit inside of it. However, if the balloon consists of text plus an image, then the image may be bigger than ImageSize[2] to fit into the balloon frame.
virtual void GetImageSize (IntPtr _arg)
 Specify the minimum size for the image. Note that this is a bounding rectangle, the image will fit inside of it. However, if the balloon consists of text plus an image, then the image may be bigger than ImageSize[2] to fit into the balloon frame.
virtual int[] GetOffset ()
 Set/Get the offset from the mouse pointer from which to place the balloon. The representation will try and honor this offset unless there is a collision with the side of the renderer, in which case the balloon will be repositioned to lie within the rendering window.
virtual void GetOffset (ref int _arg1, ref int _arg2)
 Set/Get the offset from the mouse pointer from which to place the balloon. The representation will try and honor this offset unless there is a collision with the side of the renderer, in which case the balloon will be repositioned to lie within the rendering window.
virtual void GetOffset (IntPtr _arg)
 Set/Get the offset from the mouse pointer from which to place the balloon. The representation will try and honor this offset unless there is a collision with the side of the renderer, in which case the balloon will be repositioned to lie within the rendering window.
virtual int GetPadding ()
 Set/Get the padding (in pixels) that is used between the text and the frame.
virtual int GetPaddingMaxValue ()
 Set/Get the padding (in pixels) that is used between the text and the frame.
virtual int GetPaddingMinValue ()
 Set/Get the padding (in pixels) that is used between the text and the frame.
virtual vtkTextProperty GetTextProperty ()
 Set/get the text property (relevant only if text is shown).
override int IsA (string type)
 Standard VTK methods.
new vtkBalloonRepresentation NewInstance ()
 Standard VTK methods.
override void ReleaseGraphicsResources (vtkWindow w)
 Methods required by vtkProp superclass.
override int RenderOverlay (vtkViewport viewport)
 Methods required by vtkProp superclass.
virtual void SetBalloonImage (vtkImageData img)
 Specify/retrieve the image to display in the balloon.
virtual void SetBalloonLayout (int _arg)
 BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.
void SetBalloonLayoutToImageBottom ()
 BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.
void SetBalloonLayoutToImageLeft ()
 BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.
void SetBalloonLayoutToImageRight ()
 BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.
void SetBalloonLayoutToImageTop ()
 BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.
void SetBalloonLayoutToTextBottom ()
 BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.
void SetBalloonLayoutToTextLeft ()
 BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.
void SetBalloonLayoutToTextRight ()
 BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.
void SetBalloonLayoutToTextTop ()
 BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.
virtual void SetBalloonText (string _arg)
 Specify/retrieve the text to display in the balloon.
virtual void SetFrameProperty (vtkProperty2D p)
 Set/get the frame property (relevant only if text is shown). The frame lies behind the text.
virtual void SetImageProperty (vtkProperty2D p)
 Set/get the image property (relevant only if an image is shown).
virtual void SetImageSize (int _arg1, int _arg2)
 Specify the minimum size for the image. Note that this is a bounding rectangle, the image will fit inside of it. However, if the balloon consists of text plus an image, then the image may be bigger than ImageSize[2] to fit into the balloon frame.
void SetImageSize (IntPtr _arg)
 Specify the minimum size for the image. Note that this is a bounding rectangle, the image will fit inside of it. However, if the balloon consists of text plus an image, then the image may be bigger than ImageSize[2] to fit into the balloon frame.
virtual void SetOffset (int _arg1, int _arg2)
 Set/Get the offset from the mouse pointer from which to place the balloon. The representation will try and honor this offset unless there is a collision with the side of the renderer, in which case the balloon will be repositioned to lie within the rendering window.
void SetOffset (IntPtr _arg)
 Set/Get the offset from the mouse pointer from which to place the balloon. The representation will try and honor this offset unless there is a collision with the side of the renderer, in which case the balloon will be repositioned to lie within the rendering window.
virtual void SetPadding (int _arg)
 Set/Get the padding (in pixels) that is used between the text and the frame.
virtual void SetTextProperty (vtkTextProperty p)
 Set/get the text property (relevant only if text is shown).
override void StartWidgetInteraction (IntPtr e)
 These are methods that satisfy vtkWidgetRepresentation's API.

Static Public Member Functions

static new vtkBalloonRepresentation New ()
 Instantiate the class.
static new int IsTypeOf (string type)
 Standard VTK methods.
static new vtkBalloonRepresentation SafeDownCast (vtkObjectBase o)
 Standard VTK methods.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "24vtkBalloonRepresentation"
 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 vtkBalloonRepresentation_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkBalloonRepresentation_BuildRepresentation_01 (HandleRef pThis)
static internal int vtkBalloonRepresentation_ComputeInteractionState_02 (HandleRef pThis, int X, int Y, int modify)
static internal void vtkBalloonRepresentation_EndWidgetInteraction_03 (HandleRef pThis, IntPtr e)
static internal IntPtr vtkBalloonRepresentation_GetBalloonImage_04 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkBalloonRepresentation_GetBalloonLayout_05 (HandleRef pThis)
static internal IntPtr vtkBalloonRepresentation_GetBalloonText_06 (HandleRef pThis)
static internal IntPtr vtkBalloonRepresentation_GetFrameProperty_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkBalloonRepresentation_GetImageProperty_08 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkBalloonRepresentation_GetImageSize_09 (HandleRef pThis)
static internal void vtkBalloonRepresentation_GetImageSize_10 (HandleRef pThis, ref int _arg1, ref int _arg2)
static internal void vtkBalloonRepresentation_GetImageSize_11 (HandleRef pThis, IntPtr _arg)
static internal IntPtr vtkBalloonRepresentation_GetOffset_12 (HandleRef pThis)
static internal void vtkBalloonRepresentation_GetOffset_13 (HandleRef pThis, ref int _arg1, ref int _arg2)
static internal void vtkBalloonRepresentation_GetOffset_14 (HandleRef pThis, IntPtr _arg)
static internal int vtkBalloonRepresentation_GetPadding_15 (HandleRef pThis)
static internal int vtkBalloonRepresentation_GetPaddingMaxValue_16 (HandleRef pThis)
static internal int vtkBalloonRepresentation_GetPaddingMinValue_17 (HandleRef pThis)
static internal IntPtr vtkBalloonRepresentation_GetTextProperty_18 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkBalloonRepresentation_IsA_19 (HandleRef pThis, string type)
static internal int vtkBalloonRepresentation_IsTypeOf_20 (string type)
static internal IntPtr vtkBalloonRepresentation_NewInstance_22 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkBalloonRepresentation_ReleaseGraphicsResources_23 (HandleRef pThis, HandleRef w)
static internal int vtkBalloonRepresentation_RenderOverlay_24 (HandleRef pThis, HandleRef viewport)
static internal IntPtr vtkBalloonRepresentation_SafeDownCast_25 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkBalloonRepresentation_SetBalloonImage_26 (HandleRef pThis, HandleRef img)
static internal void vtkBalloonRepresentation_SetBalloonLayout_27 (HandleRef pThis, int _arg)
static internal void vtkBalloonRepresentation_SetBalloonLayoutToImageBottom_28 (HandleRef pThis)
static internal void vtkBalloonRepresentation_SetBalloonLayoutToImageLeft_29 (HandleRef pThis)
static internal void vtkBalloonRepresentation_SetBalloonLayoutToImageRight_30 (HandleRef pThis)
static internal void vtkBalloonRepresentation_SetBalloonLayoutToImageTop_31 (HandleRef pThis)
static internal void vtkBalloonRepresentation_SetBalloonLayoutToTextBottom_32 (HandleRef pThis)
static internal void vtkBalloonRepresentation_SetBalloonLayoutToTextLeft_33 (HandleRef pThis)
static internal void vtkBalloonRepresentation_SetBalloonLayoutToTextRight_34 (HandleRef pThis)
static internal void vtkBalloonRepresentation_SetBalloonLayoutToTextTop_35 (HandleRef pThis)
static internal void vtkBalloonRepresentation_SetBalloonText_36 (HandleRef pThis, string _arg)
static internal void vtkBalloonRepresentation_SetFrameProperty_37 (HandleRef pThis, HandleRef p)
static internal void vtkBalloonRepresentation_SetImageProperty_38 (HandleRef pThis, HandleRef p)
static internal void vtkBalloonRepresentation_SetImageSize_39 (HandleRef pThis, int _arg1, int _arg2)
static internal void vtkBalloonRepresentation_SetImageSize_40 (HandleRef pThis, IntPtr _arg)
static internal void vtkBalloonRepresentation_SetOffset_41 (HandleRef pThis, int _arg1, int _arg2)
static internal void vtkBalloonRepresentation_SetOffset_42 (HandleRef pThis, IntPtr _arg)
static internal void vtkBalloonRepresentation_SetPadding_43 (HandleRef pThis, int _arg)
static internal void vtkBalloonRepresentation_SetTextProperty_44 (HandleRef pThis, HandleRef p)
static internal void vtkBalloonRepresentation_StartWidgetInteraction_45 (HandleRef pThis, IntPtr e)

Static Private Member Functions

static vtkBalloonRepresentation ()
 Automatically generated type registration mechanics.

Detailed Description

vtkBalloonRepresentation - represent the vtkBalloonWidget

Description The vtkBalloonRepresentation is used to represent the vtkBalloonWidget. This representation is defined by two items: a text string and an image. At least one of these two items must be defined, but it is allowable to specify both, or just an image or just text. If both the text and image are specified, then methods are available for positioning the text and image with respect to each other.

The balloon representation consists of three parts: text, a rectangular frame behind the text, and an image placed next to the frame and sized to match the frame.

The size of the balloon is ultimately controlled by the text properties (i.e., font size). This representation uses a layout policy as follows.

If there is just text and no image, then the text properties and padding are used to control the size of the balloon.

If there is just an image and no text, then the ImageSize[2] member is used to control the image size. (The image will fit into this rectangle, but will not necessarily fill the whole rectangle, i.e., the image is not stretched).

If there is text and an image, the following approach ia used. First, based on the font size and other related properties (e.g., padding), determine the size of the frame. Second, depending on the layout of the image and text frame, control the size of the neighboring image (since the frame and image share a common edge). However, if this results in an image that is smaller than ImageSize[2], then the image size will be set to ImageSize[2] and the frame will be adjusted accordingly. The text is always placed in the center of the frame if the frame is resized.


Member Enumeration Documentation

State is either outside, or inside (on the text portion ot the image).

Enumerator:
OnImage 

enum member

OnText 

enum member

Outside 

enum member

Set/get the image property (relevant only if an image is shown).

Enumerator:
ImageBottom 

enum member

ImageLeft 

enum member

ImageRight 

enum member

ImageTop 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Instantiate the class.


Member Function Documentation

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

override int Kitware.VTK.vtkBalloonRepresentation.ComputeInteractionState ( int  X,
int  Y,
int  modify 
) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

override void Kitware.VTK.vtkBalloonRepresentation.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.vtkWidgetRepresentation.

override void Kitware.VTK.vtkBalloonRepresentation.EndWidgetInteraction ( IntPtr  e) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Specify/retrieve the image to display in the balloon.

Here is the call graph for this function:

BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.

Specify/retrieve the text to display in the balloon.

Set/get the frame property (relevant only if text is shown). The frame lies behind the text.

Here is the call graph for this function:

Set/get the image property (relevant only if an image is shown).

Here is the call graph for this function:

Specify the minimum size for the image. Note that this is a bounding rectangle, the image will fit inside of it. However, if the balloon consists of text plus an image, then the image may be bigger than ImageSize[2] to fit into the balloon frame.

virtual void Kitware.VTK.vtkBalloonRepresentation.GetImageSize ( ref int  _arg1,
ref int  _arg2 
) [virtual]

Specify the minimum size for the image. Note that this is a bounding rectangle, the image will fit inside of it. However, if the balloon consists of text plus an image, then the image may be bigger than ImageSize[2] to fit into the balloon frame.

virtual void Kitware.VTK.vtkBalloonRepresentation.GetImageSize ( IntPtr  _arg) [virtual]

Specify the minimum size for the image. Note that this is a bounding rectangle, the image will fit inside of it. However, if the balloon consists of text plus an image, then the image may be bigger than ImageSize[2] to fit into the balloon frame.

virtual int [] Kitware.VTK.vtkBalloonRepresentation.GetOffset ( ) [virtual]

Set/Get the offset from the mouse pointer from which to place the balloon. The representation will try and honor this offset unless there is a collision with the side of the renderer, in which case the balloon will be repositioned to lie within the rendering window.

virtual void Kitware.VTK.vtkBalloonRepresentation.GetOffset ( ref int  _arg1,
ref int  _arg2 
) [virtual]

Set/Get the offset from the mouse pointer from which to place the balloon. The representation will try and honor this offset unless there is a collision with the side of the renderer, in which case the balloon will be repositioned to lie within the rendering window.

virtual void Kitware.VTK.vtkBalloonRepresentation.GetOffset ( IntPtr  _arg) [virtual]

Set/Get the offset from the mouse pointer from which to place the balloon. The representation will try and honor this offset unless there is a collision with the side of the renderer, in which case the balloon will be repositioned to lie within the rendering window.

Set/Get the padding (in pixels) that is used between the text and the frame.

Set/Get the padding (in pixels) that is used between the text and the frame.

Set/Get the padding (in pixels) that is used between the text and the frame.

Set/get the text property (relevant only if text is shown).

Here is the call graph for this function:

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

Standard VTK methods.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

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

Standard VTK methods.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Instantiate the class.

Reimplemented from Kitware.VTK.vtkObject.

Standard VTK methods.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Methods required by vtkProp superclass.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Methods required by vtkProp superclass.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Standard VTK methods.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Here is the call graph for this function:

Specify/retrieve the image to display in the balloon.

virtual void Kitware.VTK.vtkBalloonRepresentation.SetBalloonLayout ( int  _arg) [virtual]

BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.

BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.

BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.

BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.

BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.

BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.

BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.

BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.

BTX enum {ImageLeft=0,ImageRight,ImageBottom,ImageTop}; ETX Specify the layout of the image and text within the balloon. Note that there are reduncies in these methods, for example SetBalloonLayoutToImageLeft() results in the same effect as SetBalloonLayoutToTextRight(). If only text is specified, or only an image is specified, then it doesn't matter how the layout is specified.

virtual void Kitware.VTK.vtkBalloonRepresentation.SetBalloonText ( string  _arg) [virtual]

Specify/retrieve the text to display in the balloon.

Set/get the frame property (relevant only if text is shown). The frame lies behind the text.

Set/get the image property (relevant only if an image is shown).

virtual void Kitware.VTK.vtkBalloonRepresentation.SetImageSize ( int  _arg1,
int  _arg2 
) [virtual]

Specify the minimum size for the image. Note that this is a bounding rectangle, the image will fit inside of it. However, if the balloon consists of text plus an image, then the image may be bigger than ImageSize[2] to fit into the balloon frame.

Specify the minimum size for the image. Note that this is a bounding rectangle, the image will fit inside of it. However, if the balloon consists of text plus an image, then the image may be bigger than ImageSize[2] to fit into the balloon frame.

virtual void Kitware.VTK.vtkBalloonRepresentation.SetOffset ( int  _arg1,
int  _arg2 
) [virtual]

Set/Get the offset from the mouse pointer from which to place the balloon. The representation will try and honor this offset unless there is a collision with the side of the renderer, in which case the balloon will be repositioned to lie within the rendering window.

Set/Get the offset from the mouse pointer from which to place the balloon. The representation will try and honor this offset unless there is a collision with the side of the renderer, in which case the balloon will be repositioned to lie within the rendering window.

virtual void Kitware.VTK.vtkBalloonRepresentation.SetPadding ( int  _arg) [virtual]

Set/Get the padding (in pixels) that is used between the text and the frame.

Set/get the text property (relevant only if text is shown).

override void Kitware.VTK.vtkBalloonRepresentation.StartWidgetInteraction ( IntPtr  e) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

static internal int Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_ComputeInteractionState_02 ( HandleRef  pThis,
int  X,
int  Y,
int  modify 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_EndWidgetInteraction_03 ( HandleRef  pThis,
IntPtr  e 
) [private]
static internal IntPtr Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetBalloonImage_04 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetBalloonText_06 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetFrameProperty_07 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetImageProperty_08 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetImageSize_09 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetImageSize_10 ( HandleRef  pThis,
ref int  _arg1,
ref int  _arg2 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetImageSize_11 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetOffset_12 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetOffset_13 ( HandleRef  pThis,
ref int  _arg1,
ref int  _arg2 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetOffset_14 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal int Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetPadding_15 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_GetTextProperty_18 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_IsA_19 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_IsTypeOf_20 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_NewInstance_22 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_ReleaseGraphicsResources_23 ( HandleRef  pThis,
HandleRef  w 
) [private]
static internal int Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_RenderOverlay_24 ( HandleRef  pThis,
HandleRef  viewport 
) [private]
static internal IntPtr Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SafeDownCast_25 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SetBalloonImage_26 ( HandleRef  pThis,
HandleRef  img 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SetBalloonLayout_27 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SetBalloonText_36 ( HandleRef  pThis,
string  _arg 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SetFrameProperty_37 ( HandleRef  pThis,
HandleRef  p 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SetImageProperty_38 ( HandleRef  pThis,
HandleRef  p 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SetImageSize_39 ( HandleRef  pThis,
int  _arg1,
int  _arg2 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SetImageSize_40 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SetOffset_41 ( HandleRef  pThis,
int  _arg1,
int  _arg2 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SetOffset_42 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SetPadding_43 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_SetTextProperty_44 ( HandleRef  pThis,
HandleRef  p 
) [private]
static internal void Kitware.VTK.vtkBalloonRepresentation.vtkBalloonRepresentation_StartWidgetInteraction_45 ( HandleRef  pThis,
IntPtr  e 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkBalloonRepresentation.MRClassNameKey = "24vtkBalloonRepresentation" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.


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