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.vtkContextScene Class Reference

vtkContextScene - Provides a 2D scene for vtkContextItem objects. More...

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

List of all members.

Public Member Functions

 vtkContextScene (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkContextScene ()
 Creates a 2D Painter object.
uint AddItem (vtkAbstractContextItem item)
 Add child items to this item. Increments reference count of item.
void ClearItems ()
 Remove all child items from this item.
virtual vtkAnnotationLink GetAnnotationLink ()
 Get the vtkAnnotationLink for the chart.
bool GetDirty ()
 Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.
virtual int[] GetGeometry ()
 Get the width and height of the scene in pixels.
virtual void GetGeometry (ref int _arg1, ref int _arg2)
 Get the width and height of the scene in pixels.
virtual void GetGeometry (IntPtr _arg)
 Get the width and height of the scene in pixels.
vtkAbstractContextItem GetItem (uint index)
 Get the item at the specified index.
uint GetNumberOfItems ()
 Get the number of child items.
virtual bool GetScaleTiles ()
 Whether to scale the scene transform when tiling, for example when using vtkWindowToImageFilter to take a large screenshot. The default is true.
int GetSceneHeight ()
 Get the height of the scene.
int GetSceneWidth ()
 Get the width of the scene.
vtkTransform2D GetTransform ()
 Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.
virtual bool GetUseBufferId ()
 Get whether the scene is using the color buffer. Default is true.
virtual int GetViewHeight ()
 Get the height of the view.
virtual int GetViewWidth ()
 Get the width of the view.
bool HasTransform ()
 Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.
override int IsA (string type)
 Undocumented Block.
new vtkContextScene NewInstance ()
 Undocumented Block.
virtual bool Paint (vtkContext2D painter)
 Paint event for the chart, called whenever the chart needs to be drawn.
void ReleaseGraphicsResources ()
 Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.
bool RemoveItem (vtkAbstractContextItem item)
 Remove child item from this item. Decrements reference count of item.
bool RemoveItem (uint index)
 Remove child item from this item. Decrements reference count of item.
virtual void ScaleTilesOff ()
 Whether to scale the scene transform when tiling, for example when using vtkWindowToImageFilter to take a large screenshot. The default is true.
virtual void ScaleTilesOn ()
 Whether to scale the scene transform when tiling, for example when using vtkWindowToImageFilter to take a large screenshot. The default is true.
virtual void SetAnnotationLink (vtkAnnotationLink link)
 Set the vtkAnnotationLink for the chart.
void SetDirty (bool isDirty)
 Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.
virtual void SetGeometry (int _arg1, int _arg2)
 Set the width and height of the scene in pixels.
void SetGeometry (IntPtr _arg)
 Set the width and height of the scene in pixels.
virtual void SetRenderer (vtkRenderer renderer)
 This should not be necessary as the context view should take care of rendering.
virtual void SetScaleTiles (bool _arg)
 Whether to scale the scene transform when tiling, for example when using vtkWindowToImageFilter to take a large screenshot. The default is true.
virtual void SetTransform (vtkTransform2D transform)
 Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.
virtual void SetUseBufferId (bool _arg)
 Set whether the scene should use the color buffer. Default is true.

Static Public Member Functions

static new vtkContextScene New ()
 Creates a 2D Painter object.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkContextScene SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "15vtkContextScene"
 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 vtkContextScene_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal uint vtkContextScene_AddItem_01 (HandleRef pThis, HandleRef item)
static internal void vtkContextScene_ClearItems_02 (HandleRef pThis)
static internal IntPtr vtkContextScene_GetAnnotationLink_03 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal byte vtkContextScene_GetDirty_04 (HandleRef pThis)
static internal IntPtr vtkContextScene_GetGeometry_05 (HandleRef pThis)
static internal void vtkContextScene_GetGeometry_06 (HandleRef pThis, ref int _arg1, ref int _arg2)
static internal void vtkContextScene_GetGeometry_07 (HandleRef pThis, IntPtr _arg)
static internal IntPtr vtkContextScene_GetItem_08 (HandleRef pThis, uint index, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal uint vtkContextScene_GetNumberOfItems_09 (HandleRef pThis)
static internal byte vtkContextScene_GetScaleTiles_10 (HandleRef pThis)
static internal int vtkContextScene_GetSceneHeight_11 (HandleRef pThis)
static internal int vtkContextScene_GetSceneWidth_12 (HandleRef pThis)
static internal IntPtr vtkContextScene_GetTransform_13 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal byte vtkContextScene_GetUseBufferId_14 (HandleRef pThis)
static internal int vtkContextScene_GetViewHeight_15 (HandleRef pThis)
static internal int vtkContextScene_GetViewWidth_16 (HandleRef pThis)
static internal byte vtkContextScene_HasTransform_17 (HandleRef pThis)
static internal int vtkContextScene_IsA_18 (HandleRef pThis, string type)
static internal int vtkContextScene_IsTypeOf_19 (string type)
static internal IntPtr vtkContextScene_NewInstance_21 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal byte vtkContextScene_Paint_22 (HandleRef pThis, HandleRef painter)
static internal void vtkContextScene_ReleaseGraphicsResources_23 (HandleRef pThis)
static internal byte vtkContextScene_RemoveItem_24 (HandleRef pThis, HandleRef item)
static internal byte vtkContextScene_RemoveItem_25 (HandleRef pThis, uint index)
static internal IntPtr vtkContextScene_SafeDownCast_26 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkContextScene_ScaleTilesOff_27 (HandleRef pThis)
static internal void vtkContextScene_ScaleTilesOn_28 (HandleRef pThis)
static internal void vtkContextScene_SetAnnotationLink_29 (HandleRef pThis, HandleRef link)
static internal void vtkContextScene_SetDirty_30 (HandleRef pThis, byte isDirty)
static internal void vtkContextScene_SetGeometry_31 (HandleRef pThis, int _arg1, int _arg2)
static internal void vtkContextScene_SetGeometry_32 (HandleRef pThis, IntPtr _arg)
static internal void vtkContextScene_SetRenderer_33 (HandleRef pThis, HandleRef renderer)
static internal void vtkContextScene_SetScaleTiles_34 (HandleRef pThis, byte _arg)
static internal void vtkContextScene_SetTransform_35 (HandleRef pThis, HandleRef transform)
static internal void vtkContextScene_SetUseBufferId_36 (HandleRef pThis, byte _arg)

Static Private Member Functions

static vtkContextScene ()
 Automatically generated type registration mechanics.

Detailed Description

vtkContextScene - Provides a 2D scene for vtkContextItem objects.

Description Provides a 2D scene that vtkContextItem objects can be added to. Manages the items, ensures that they are rendered at the right times and passes on mouse events.


Constructor & Destructor Documentation

static Kitware.VTK.vtkContextScene.vtkContextScene ( ) [static, private]

Automatically generated type registration mechanics.

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

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

Creates a 2D Painter object.


Member Function Documentation

Add child items to this item. Increments reference count of item.

Returns:
the index of the child item.

Remove all child items from this item.

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

Get the vtkAnnotationLink for the chart.

Here is the call graph for this function:

Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.

virtual int [] Kitware.VTK.vtkContextScene.GetGeometry ( ) [virtual]

Get the width and height of the scene in pixels.

virtual void Kitware.VTK.vtkContextScene.GetGeometry ( ref int  _arg1,
ref int  _arg2 
) [virtual]

Get the width and height of the scene in pixels.

virtual void Kitware.VTK.vtkContextScene.GetGeometry ( IntPtr  _arg) [virtual]

Get the width and height of the scene in pixels.

Get the item at the specified index.

Returns:
the item at the specified index (null if index is invalid).

Here is the call graph for this function:

Get the number of child items.

virtual bool Kitware.VTK.vtkContextScene.GetScaleTiles ( ) [virtual]

Whether to scale the scene transform when tiling, for example when using vtkWindowToImageFilter to take a large screenshot. The default is true.

Get the height of the scene.

Get the width of the scene.

Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.

Here is the call graph for this function:

virtual bool Kitware.VTK.vtkContextScene.GetUseBufferId ( ) [virtual]

Get whether the scene is using the color buffer. Default is true.

virtual int Kitware.VTK.vtkContextScene.GetViewHeight ( ) [virtual]

Get the height of the view.

virtual int Kitware.VTK.vtkContextScene.GetViewWidth ( ) [virtual]

Get the width of the view.

Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Creates a 2D Painter object.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

virtual bool Kitware.VTK.vtkContextScene.Paint ( vtkContext2D  painter) [virtual]

Paint event for the chart, called whenever the chart needs to be drawn.

Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.

Remove child item from this item. Decrements reference count of item.

Parameters:
itemthe item to be removed.
Returns:
true on success, false otherwise.

Remove child item from this item. Decrements reference count of item.

Parameters:
indexof the item to be removed.
Returns:
true on success, false otherwise.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkContextScene.ScaleTilesOff ( ) [virtual]

Whether to scale the scene transform when tiling, for example when using vtkWindowToImageFilter to take a large screenshot. The default is true.

virtual void Kitware.VTK.vtkContextScene.ScaleTilesOn ( ) [virtual]

Whether to scale the scene transform when tiling, for example when using vtkWindowToImageFilter to take a large screenshot. The default is true.

Set the vtkAnnotationLink for the chart.

void Kitware.VTK.vtkContextScene.SetDirty ( bool  isDirty)

Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.

virtual void Kitware.VTK.vtkContextScene.SetGeometry ( int  _arg1,
int  _arg2 
) [virtual]

Set the width and height of the scene in pixels.

Set the width and height of the scene in pixels.

virtual void Kitware.VTK.vtkContextScene.SetRenderer ( vtkRenderer  renderer) [virtual]

This should not be necessary as the context view should take care of rendering.

virtual void Kitware.VTK.vtkContextScene.SetScaleTiles ( bool  _arg) [virtual]

Whether to scale the scene transform when tiling, for example when using vtkWindowToImageFilter to take a large screenshot. The default is true.

virtual void Kitware.VTK.vtkContextScene.SetTransform ( vtkTransform2D  transform) [virtual]

Inform the scene that something changed that requires a repaint of the scene. This should only be used by the vtkContextItem derived objects in a scene in their event handlers.

virtual void Kitware.VTK.vtkContextScene.SetUseBufferId ( bool  _arg) [virtual]

Set whether the scene should use the color buffer. Default is true.

static internal uint Kitware.VTK.vtkContextScene.vtkContextScene_AddItem_01 ( HandleRef  pThis,
HandleRef  item 
) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_ClearItems_02 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkContextScene.vtkContextScene_GetAnnotationLink_03 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal byte Kitware.VTK.vtkContextScene.vtkContextScene_GetDirty_04 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkContextScene.vtkContextScene_GetGeometry_05 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_GetGeometry_06 ( HandleRef  pThis,
ref int  _arg1,
ref int  _arg2 
) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_GetGeometry_07 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkContextScene.vtkContextScene_GetItem_08 ( HandleRef  pThis,
uint  index,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal uint Kitware.VTK.vtkContextScene.vtkContextScene_GetNumberOfItems_09 ( HandleRef  pThis) [private]
static internal byte Kitware.VTK.vtkContextScene.vtkContextScene_GetScaleTiles_10 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkContextScene.vtkContextScene_GetSceneHeight_11 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkContextScene.vtkContextScene_GetSceneWidth_12 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkContextScene.vtkContextScene_GetTransform_13 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal byte Kitware.VTK.vtkContextScene.vtkContextScene_GetUseBufferId_14 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkContextScene.vtkContextScene_GetViewHeight_15 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkContextScene.vtkContextScene_GetViewWidth_16 ( HandleRef  pThis) [private]
static internal byte Kitware.VTK.vtkContextScene.vtkContextScene_HasTransform_17 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkContextScene.vtkContextScene_IsA_18 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkContextScene.vtkContextScene_IsTypeOf_19 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkContextScene.vtkContextScene_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkContextScene.vtkContextScene_NewInstance_21 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal byte Kitware.VTK.vtkContextScene.vtkContextScene_Paint_22 ( HandleRef  pThis,
HandleRef  painter 
) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_ReleaseGraphicsResources_23 ( HandleRef  pThis) [private]
static internal byte Kitware.VTK.vtkContextScene.vtkContextScene_RemoveItem_24 ( HandleRef  pThis,
HandleRef  item 
) [private]
static internal byte Kitware.VTK.vtkContextScene.vtkContextScene_RemoveItem_25 ( HandleRef  pThis,
uint  index 
) [private]
static internal IntPtr Kitware.VTK.vtkContextScene.vtkContextScene_SafeDownCast_26 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_ScaleTilesOff_27 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_ScaleTilesOn_28 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_SetAnnotationLink_29 ( HandleRef  pThis,
HandleRef  link 
) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_SetDirty_30 ( HandleRef  pThis,
byte  isDirty 
) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_SetGeometry_31 ( HandleRef  pThis,
int  _arg1,
int  _arg2 
) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_SetGeometry_32 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_SetRenderer_33 ( HandleRef  pThis,
HandleRef  renderer 
) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_SetScaleTiles_34 ( HandleRef  pThis,
byte  _arg 
) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_SetTransform_35 ( HandleRef  pThis,
HandleRef  transform 
) [private]
static internal void Kitware.VTK.vtkContextScene.vtkContextScene_SetUseBufferId_36 ( HandleRef  pThis,
byte  _arg 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkContextScene.MRClassNameKey = "15vtkContextScene" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


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