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);
132 vtkSetMacro(UseBufferId,
bool);
139 vtkGetMacro(UseBufferId,
bool);
145 virtual int GetViewWidth();
150 virtual int GetViewHeight();
160 int GetSceneHeight();
168 vtkSetMacro(ScaleTiles,
bool);
169 vtkGetMacro(ScaleTiles,
bool);
170 vtkBooleanMacro(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();
370 MouseEvents eventPtr);
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.
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.