VTK
Public Attributes
vtkContextScenePrivate Class Reference

Private implementation for scene/items. More...

#include <vtkContextScenePrivate.h>

Inheritance diagram for vtkContextScenePrivate:
Inheritance graph
[legend]
Collaboration diagram for vtkContextScenePrivate:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector
< vtkAbstractContextItem * >
::const_iterator 
const_iterator
typedef std::vector
< vtkAbstractContextItem * >
::iterator 
iterator
typedef std::vector
< vtkAbstractContextItem * >
::reverse_iterator 
const_reverse_iterator
typedef std::vector
< vtkAbstractContextItem * >
::reverse_iterator 
reverse_iterator

Public Member Functions

 vtkContextScenePrivate (vtkAbstractContextItem *item)
 ~vtkContextScenePrivate ()
void PaintItems (vtkContext2D *context)
unsigned int AddItem (vtkAbstractContextItem *item)
bool RemoveItem (vtkAbstractContextItem *item)
bool RemoveItem (unsigned int index)
void Clear ()
void SetScene (vtkContextScene *scene)

Public Attributes

vtkContextSceneScene
vtkAbstractContextItemItem

Detailed Description

Private implementation for scene/items.

Provides a list of context items, and convenience functions to paint all of the children of the scene/item. This is a private class to be used in vtkContextScene, vtkAbstractContextItem and friends.

Definition at line 39 of file vtkContextScenePrivate.h.


Member Typedef Documentation

A few standard defines

Definition at line 61 of file vtkContextScenePrivate.h.

A few standard defines

Definition at line 62 of file vtkContextScenePrivate.h.

A few standard defines

Definition at line 71 of file vtkContextScenePrivate.h.

A few standard defines

Definition at line 74 of file vtkContextScenePrivate.h.


Constructor & Destructor Documentation

Default constructor.

Definition at line 44 of file vtkContextScenePrivate.h.

Destructor.

Definition at line 52 of file vtkContextScenePrivate.h.


Member Function Documentation

void vtkContextScenePrivate::PaintItems ( vtkContext2D context) [inline]

Paint all items in the list.

Definition at line 79 of file vtkContextScenePrivate.h.

Add an item to the list - ensure it is not already in the list.

Definition at line 93 of file vtkContextScenePrivate.h.

Remove an item from the list.

Definition at line 106 of file vtkContextScenePrivate.h.

bool vtkContextScenePrivate::RemoveItem ( unsigned int  index) [inline]

Remove an item from the list.

Definition at line 125 of file vtkContextScenePrivate.h.

void vtkContextScenePrivate::Clear ( ) [inline]

Clear all items from the list - unregister.

Definition at line 137 of file vtkContextScenePrivate.h.

Set the scene for the instance (and its items).

Definition at line 151 of file vtkContextScenePrivate.h.


Member Data Documentation

Store a reference to the scene.

Definition at line 166 of file vtkContextScenePrivate.h.

Store a reference to the item that these children are part of. May be NULL for items in the scene itself.

Definition at line 171 of file vtkContextScenePrivate.h.


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