VTK
|
Private implementation for scene/items. More...
#include <vtkContextScenePrivate.h>
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 | |
vtkContextScene * | Scene |
vtkAbstractContextItem * | Item |
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.
typedef std::vector<vtkAbstractContextItem*>::const_iterator vtkContextScenePrivate::const_iterator |
A few standard defines
Definition at line 61 of file vtkContextScenePrivate.h.
typedef std::vector<vtkAbstractContextItem*>::iterator vtkContextScenePrivate::iterator |
A few standard defines
Definition at line 62 of file vtkContextScenePrivate.h.
typedef std::vector<vtkAbstractContextItem*>::reverse_iterator vtkContextScenePrivate::const_reverse_iterator |
A few standard defines
Definition at line 71 of file vtkContextScenePrivate.h.
typedef std::vector<vtkAbstractContextItem*>::reverse_iterator vtkContextScenePrivate::reverse_iterator |
A few standard defines
Definition at line 74 of file vtkContextScenePrivate.h.
vtkContextScenePrivate::vtkContextScenePrivate | ( | vtkAbstractContextItem * | item | ) | [inline] |
Default constructor.
Definition at line 44 of file vtkContextScenePrivate.h.
vtkContextScenePrivate::~vtkContextScenePrivate | ( | ) | [inline] |
Destructor.
Definition at line 52 of file vtkContextScenePrivate.h.
void vtkContextScenePrivate::PaintItems | ( | vtkContext2D * | context | ) | [inline] |
Paint all items in the list.
Definition at line 79 of file vtkContextScenePrivate.h.
unsigned int vtkContextScenePrivate::AddItem | ( | vtkAbstractContextItem * | item | ) | [inline] |
Add an item to the list - ensure it is not already in the list.
Definition at line 93 of file vtkContextScenePrivate.h.
bool vtkContextScenePrivate::RemoveItem | ( | vtkAbstractContextItem * | item | ) | [inline] |
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.
void vtkContextScenePrivate::SetScene | ( | vtkContextScene * | scene | ) | [inline] |
Set the scene for the instance (and its items).
Definition at line 151 of file vtkContextScenePrivate.h.
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.