14 #ifndef vtkOpenGLBatchedLabeledDataMapper_h
15 #define vtkOpenGLBatchedLabeledDataMapper_h
19 #include "vtkRenderingOpenGL2Module.h"
22 VTK_ABI_NAMESPACE_BEGIN
70 bool HelperSetup =
false;
73 #define vtkOpenGLBatchedLabeledDataMapper_OVERRIDE_ATTRIBUTES \
74 vtkOpenGLBatchedLabeledDataMapper::CreateOverrideAttributes()
Attribute for vtkObjectFactory overrides.
represents an object (geometry & properties) in a rendered scene
virtual void UploadGlyphAtlas(vtkImageData *atlas)
Called by BuildLabels when the glyph atlas image has been rebuilt or updated.
draw text labels at dataset points using batch rendering
void SetLabelTextProperty(vtkTextProperty *p) override
Set/Get the text property.
abstract specification for Viewports
a actor that draws 2D data
void RenderOpaqueGeometry(vtkViewport *, vtkActor2D *) override
No-op: backend subclasses override this to drive the render pipeline.
static vtkBatchedLabeledDataMapper * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
window superclass for vtkRenderWindow
virtual void ActivateGlyphTexture()
Called before and after the helper renders to bind/unbind the atlas texture.
a simple class to control print indentation
OpenGL backend for vtkBatchedLabeledDataMapper.
topologically and geometrically regular array of data
represent text properties.
abstracts an OpenGL texture object.
void ReleaseGraphicsResources(vtkWindow *) override
Releases any GPU resources held by backend subclasses.
virtual void DeactivateGlyphTexture()