20 #ifndef vtkContextScene_h
21 #define vtkContextScene_h
24 #include "vtkRenderingContext2DModule.h"
28 VTK_ABI_NAMESPACE_BEGIN
76 bool RemoveItem(
unsigned int index);
87 unsigned int GetNumberOfItems();
110 vtkSetVector2Macro(Origin,
int);
111 vtkGetVector2Macro(Origin,
int);
118 vtkSetVector2Macro(Geometry,
int);
125 vtkGetVector2Macro(Geometry,
int);
132 vtkSetMacro(UseBufferId,
bool);
139 vtkGetMacro(UseBufferId,
bool);
148 virtual int GetViewWidth();
156 virtual int GetViewHeight();
162 virtual int GetSceneLeft();
168 virtual int GetSceneBottom();
178 int GetSceneHeight();
186 vtkSetMacro(ScaleTiles,
bool);
187 vtkGetMacro(ScaleTiles,
bool);
188 vtkBooleanMacro(ScaleTiles,
bool);
214 void SetDirty(
bool isDirty);
215 bool GetDirty()
const;
221 void ReleaseGraphicsResources();
270 SELECTION_DEFAULT = 0,
283 virtual bool ProcessSelectionEvent(
unsigned int rect[5]);
324 virtual void PaintIds();
329 void TestBufferIdSupport();
334 void UpdateBufferId();
393 VTK_ABI_NAMESPACE_END
394 #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
SelectionModifier
Enum of valid selection modes for charts in the scene.
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.
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.
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.