27 #ifndef vtkAbstractContextItem_h 28 #define vtkAbstractContextItem_h 68 virtual void ReleaseGraphicsResources();
88 bool RemoveItem(vtkIdType
index);
105 vtkIdType GetNumberOfItems();
117 vtkIdType Raise(vtkIdType
index);
125 virtual vtkIdType StackAbove(vtkIdType
index,
133 vtkIdType Lower(vtkIdType
index);
141 virtual vtkIdType StackUnder(vtkIdType child,
266 vtkGetMacro(Visible,
bool);
281 vtkGetMacro(Interactive,
bool);
328 #endif //vtkContextItem_h data structure to represent key events.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool Visible
Store the visibility of the item (default is true).
Private implementation for scene/items.
vtkContextScene * GetScene()
Get the vtkContextScene for the item, always set for an item in a scene.
virtual void Update()
Updates the extensions string.
bool Interactive
Store whether the item should respond to interactions (default is true).
Class for drawing 2D primitives to a graphical context.
#define VTKRENDERINGCONTEXT2D_EXPORT
Provides a 2D scene for vtkContextItem objects.
data structure to represent mouse events.
a simple class to control print indentation
vtkAbstractContextItem * Parent
Point to the parent item - can be null.
vtkContextScene * Scene
Point to the scene the item is on - can be null.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
base class for items that are part of a vtkContextScene.
vtkContextScenePrivate * Children
This structure provides a list of children, along with convenience functions to paint the children et...
vtkAbstractContextItem * GetParent()
Get the parent item.