29 #ifndef vtkContextScene_h
30 #define vtkContextScene_h
32 #include "vtkRenderingContext2DModule.h"
84 bool RemoveItem(
unsigned int index);
95 unsigned int GetNumberOfItems();
118 vtkSetVector2Macro(Geometry,
int);
125 vtkGetVector2Macro(Geometry,
int);
139 vtkGetMacro(UseBufferId,
bool);
145 virtual int GetViewWidth();
150 virtual int GetViewHeight();
160 int GetSceneHeight();
169 vtkGetMacro(ScaleTiles,
bool);
196 void SetDirty(
bool isDirty);
197 bool GetDirty()
const;
203 void ReleaseGraphicsResources();
252 virtual bool ProcessSelectionEvent(
unsigned int rect[5]);
293 virtual void PaintIds();
298 void TestBufferIdSupport();
316 void UpdateBufferId();
369 const vtkContextMouseEvent& event,
370 MouseEvents eventPtr);
371 void EventCopy(const vtkContextMouseEvent &event);
375 #endif //vtkContextScene_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.
Private implementation for scene/items.
abstract specification for renderers
vtkWeakPointer< vtkRenderer > Renderer
bool HasTransform()
Check whether the scene has a transform.
vtkWeakPointer< vtkContext2D > LastPainter
Class for drawing 2D primitives to a graphical context.
An interactor for chart views.
Provides a 2D scene for vtkContextItem objects.
data structure to represent mouse events.
a simple class to control print indentation
bool BufferIdSupportTested
Some derived classes for the different vectors commonly used.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
2D array of ids, used for picking.
vtkContextScenePrivate * Children
This structure provides a list of children, along with convenience functions to paint the children et...
vtkAbstractContextBufferId * BufferId
base class for items that are part of a vtkContextScene.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkTransform2D * Transform
The scene level transform.
vtkAnnotationLink * AnnotationLink
An algorithm for linking annotations among objects.