26 #ifndef vtkContextScene_h 27 #define vtkContextScene_h 30 #include "vtkRenderingContext2DModule.h" 81 bool RemoveItem(
unsigned int index);
92 unsigned int GetNumberOfItems();
115 vtkSetVector2Macro(Geometry,
int);
122 vtkGetVector2Macro(Geometry,
int);
129 vtkSetMacro(UseBufferId,
bool);
136 vtkGetMacro(UseBufferId,
bool);
142 virtual int GetViewWidth();
147 virtual int GetViewHeight();
157 int GetSceneHeight();
165 vtkSetMacro(ScaleTiles,
bool);
166 vtkGetMacro(ScaleTiles,
bool);
167 vtkBooleanMacro(ScaleTiles,
bool);
193 void SetDirty(
bool isDirty);
194 bool GetDirty()
const;
200 void ReleaseGraphicsResources();
250 virtual bool ProcessSelectionEvent(
unsigned int rect[5]);
291 virtual void PaintIds();
296 void TestBufferIdSupport();
314 void UpdateBufferId();
371 #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.