15 #ifndef vtkAbstractContextItem_h
16 #define vtkAbstractContextItem_h
19 #include "vtkRenderingContext2DModule.h"
22 VTK_ABI_NAMESPACE_BEGIN
41 virtual void Update();
58 virtual void ReleaseGraphicsResources();
98 vtkIdType GetNumberOfItems() VTK_FUTURE_CONST;
255 vtkDebugMacro(<< this->
GetClassName() <<
" (" <<
this <<
"): returning Visible of "
257 return this->Visible;
267 vtkSetMacro(Visible,
bool);
274 vtkGetMacro(Interactive,
bool);
281 vtkSetMacro(Interactive,
bool);
291 virtual void ReleaseGraphicsCache();
325 VTK_ABI_NAMESPACE_END
326 #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).
#define VTK_MARSHAL_EXCLUDE_REASON_IS_REDUNDANT
Private implementation for scene/items.
bool Interactive
Store whether the item should respond to interactions (default is true).
Class for drawing 2D primitives to a graphical context.
Provides a 2D scene for vtkContextItem objects.
data structure to represent mouse events.
a simple class to control print indentation
const char * GetClassName() const
Return the class name as a string.
vtkAbstractContextItem * Parent
Point to the parent item - can be null.
vtkContextScene * Scene
Point to the scene the item is on - can be null.
#define VTK_MARSHALEXCLUDE(reason)
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...
virtual bool GetVisible()
Get the visibility of the item (should it be drawn).
#define VTK_MARSHAL_EXCLUDE_REASON_IS_INTERNAL