20 #ifndef vtkContextScene_h
21 #define vtkContextScene_h
24 #include "vtkRenderingContext2DModule.h"
29 VTK_ABI_NAMESPACE_BEGIN
77 bool RemoveItem(
unsigned int index);
88 unsigned int GetNumberOfItems() VTK_FUTURE_CONST;
94 void RemoveAllItems() { this->ClearItems(); }
112 vtkSetVector2Macro(Origin,
int);
113 vtkGetVector2Macro(Origin,
int);
120 vtkSetVector2Macro(Geometry,
int);
127 vtkGetVector2Macro(Geometry,
int);
134 vtkSetMacro(UseBufferId,
bool);
141 vtkGetMacro(UseBufferId,
bool);
150 virtual int GetViewWidth();
158 virtual int GetViewHeight();
164 virtual int GetSceneLeft();
170 virtual int GetSceneBottom();
180 int GetSceneHeight();
188 vtkSetMacro(ScaleTiles,
bool);
189 vtkGetMacro(ScaleTiles,
bool);
190 vtkBooleanMacro(ScaleTiles,
bool);
216 void SetDirty(
bool isDirty);
217 bool GetDirty()
const;
223 void ReleaseGraphicsResources();
272 SELECTION_DEFAULT = 0,
285 virtual bool ProcessSelectionEvent(
unsigned int rect[5]);
326 virtual void PaintIds();
331 void TestBufferIdSupport();
336 void UpdateBufferId();
395 VTK_ABI_NAMESPACE_END
396 #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.