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

vtkAbstractContextItem - base class for items that are part of a vtkContextScene. More...

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

List of all members.

Public Member Functions

 vtkAbstractContextItem (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
uint AddItem (vtkAbstractContextItem item)
 Add child items to this item. Increments reference count of item.
void ClearItems ()
 Remove all child items from this item.
vtkAbstractContextItem GetItem (uint index)
 Get the item at the specified index.
uint GetNumberOfItems ()
 Get the number of child items.
vtkAbstractContextItem GetParent ()
 Get the parent item. The parent will be set for all items except top level items in a tree.
vtkContextScene GetScene ()
 Get the vtkContextScene for the item, always set for an item in a scene.
virtual bool GetVisible ()
 Get the visibility of the item (should it be drawn).
override int IsA (string type)
 Undocumented Block.
new vtkAbstractContextItem NewInstance ()
 Undocumented Block.
virtual bool Paint (vtkContext2D painter)
 Paint event for the item, called whenever the item needs to be drawn.
bool PaintChildren (vtkContext2D painter)
 Paint the children of the item, should be called whenever the children need to be rendered.
virtual void ReleaseGraphicsResources ()
 Release graphics resources hold by the item. The default implementation is empty.
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 SetParent (vtkAbstractContextItem parent)
 Set the parent item. The parent will be set for all items except top level items in a scene.
virtual void SetScene (vtkContextScene scene)
 Set the vtkContextScene for the item, always set for an item in a scene.
virtual void SetVisible (bool _arg)
 Set the visibility of the item (should it be drawn). Visible by default.
virtual void Update ()
 Perform any updates to the item that may be necessary before rendering. The scene should take care of calling this on all items before their Paint function is invoked.

Static Public Member Functions

static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkAbstractContextItem SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "22vtkAbstractContextItem"
 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 uint vtkAbstractContextItem_AddItem_01 (HandleRef pThis, HandleRef item)
static internal void vtkAbstractContextItem_ClearItems_02 (HandleRef pThis)
static internal IntPtr vtkAbstractContextItem_GetItem_03 (HandleRef pThis, uint index, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal uint vtkAbstractContextItem_GetNumberOfItems_04 (HandleRef pThis)
static internal IntPtr vtkAbstractContextItem_GetParent_05 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkAbstractContextItem_GetScene_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal byte vtkAbstractContextItem_GetVisible_07 (HandleRef pThis)
static internal int vtkAbstractContextItem_IsA_08 (HandleRef pThis, string type)
static internal int vtkAbstractContextItem_IsTypeOf_09 (string type)
static internal IntPtr vtkAbstractContextItem_NewInstance_10 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal byte vtkAbstractContextItem_Paint_11 (HandleRef pThis, HandleRef painter)
static internal byte vtkAbstractContextItem_PaintChildren_12 (HandleRef pThis, HandleRef painter)
static internal void vtkAbstractContextItem_ReleaseGraphicsResources_13 (HandleRef pThis)
static internal byte vtkAbstractContextItem_RemoveItem_14 (HandleRef pThis, HandleRef item)
static internal byte vtkAbstractContextItem_RemoveItem_15 (HandleRef pThis, uint index)
static internal IntPtr vtkAbstractContextItem_SafeDownCast_16 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAbstractContextItem_SetParent_17 (HandleRef pThis, HandleRef parent)
static internal void vtkAbstractContextItem_SetScene_18 (HandleRef pThis, HandleRef scene)
static internal void vtkAbstractContextItem_SetVisible_19 (HandleRef pThis, byte _arg)
static internal void vtkAbstractContextItem_Update_20 (HandleRef pThis)

Static Private Member Functions

static vtkAbstractContextItem ()
 Automatically generated type registration mechanics.

Detailed Description

vtkAbstractContextItem - base class for items that are part of a vtkContextScene.

Description This class is the common base for all context scene items. You should generally derive from vtkContextItem, rather than this class, as it provides most of the commonly used API.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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


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.vtkAbstractContextItem.Dispose ( bool  disposing) [protected]

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.

Get the parent item. The parent will be set for all items except top level items in a tree.

Here is the call graph for this function:

Get the vtkContextScene for the item, always set for an item in a scene.

Here is the call graph for this function:

Get the visibility of the item (should it be drawn).

override int Kitware.VTK.vtkAbstractContextItem.IsA ( string  type) [virtual]
static new int Kitware.VTK.vtkAbstractContextItem.IsTypeOf ( string  type) [static]
virtual bool Kitware.VTK.vtkAbstractContextItem.Paint ( vtkContext2D  painter) [virtual]

Paint the children of the item, should be called whenever the children need to be rendered.

Release graphics resources hold by the item. The default implementation is empty.

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.

Set the parent item. The parent will be set for all items except top level items in a scene.

Set the vtkContextScene for the item, always set for an item in a scene.

Reimplemented in Kitware.VTK.vtkChartPie.

virtual void Kitware.VTK.vtkAbstractContextItem.SetVisible ( bool  _arg) [virtual]

Set the visibility of the item (should it be drawn). Visible by default.

virtual void Kitware.VTK.vtkAbstractContextItem.Update ( ) [virtual]
static internal uint Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_AddItem_01 ( HandleRef  pThis,
HandleRef  item 
) [private]
static internal void Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_ClearItems_02 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_GetItem_03 ( HandleRef  pThis,
uint  index,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal uint Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_GetNumberOfItems_04 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_GetParent_05 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_GetScene_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal byte Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_GetVisible_07 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_IsA_08 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_IsTypeOf_09 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_NewInstance_10 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal byte Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_Paint_11 ( HandleRef  pThis,
HandleRef  painter 
) [private]
static internal byte Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_PaintChildren_12 ( HandleRef  pThis,
HandleRef  painter 
) [private]
static internal byte Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_RemoveItem_14 ( HandleRef  pThis,
HandleRef  item 
) [private]
static internal byte Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_RemoveItem_15 ( HandleRef  pThis,
uint  index 
) [private]
static internal IntPtr Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_SafeDownCast_16 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_SetParent_17 ( HandleRef  pThis,
HandleRef  parent 
) [private]
static internal void Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_SetScene_18 ( HandleRef  pThis,
HandleRef  scene 
) [private]
static internal void Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_SetVisible_19 ( HandleRef  pThis,
byte  _arg 
) [private]
static internal void Kitware.VTK.vtkAbstractContextItem.vtkAbstractContextItem_Update_20 ( HandleRef  pThis) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkAbstractContextItem.MRClassNameKey = "22vtkAbstractContextItem" [static]
new const string Kitware.VTK.vtkAbstractContextItem.MRFullTypeName = "Kitware.VTK.vtkAbstractContextItem"

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