14#ifndef vtkOpenGLBatchedLabeledDataMapper_h
15#define vtkOpenGLBatchedLabeledDataMapper_h
19#include "vtkRenderingOpenGL2Module.h"
22VTK_ABI_NAMESPACE_BEGIN
70 bool HelperSetup =
false;
73#define vtkOpenGLBatchedLabeledDataMapper_OVERRIDE_ATTRIBUTES \
74 vtkOpenGLBatchedLabeledDataMapper::CreateOverrideAttributes()
a actor that draws 2D data
represents an object (geometry & properties) in a rendered scene
vtkBatchedLabeledDataMapper()
void SetLabelTextProperty(vtkTextProperty *p) override
Set/Get the text property.
topologically and geometrically regular array of data
a simple class to control print indentation
Allocate and hold a VTK object.
void RenderOpaqueGeometry(vtkViewport *viewport, vtkActor2D *actor) override
Rebuilds labels and the glyph atlas if the pipeline is stale, then issues the batched draw call throu...
static vtkOverrideAttribute * CreateOverrideAttributes()
Returns an override-attribute chain that selects this class for the OpenGL backend.
void SetLabelTextProperty(vtkTextProperty *p, int type) override
Calls the superclass and invalidates the helper's VBO attribute mapping so it is rebuilt on the next ...
void ActivateGlyphTexture() override
Called before and after the helper renders to bind/unbind the atlas texture.
void UploadGlyphAtlas(vtkImageData *atlas) override
Called by BuildLabels when the glyph atlas image has been rebuilt or updated.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ReleaseGraphicsResources(vtkWindow *) override
Releases the atlas texture object and the helper's GPU resources.
vtkOpenGLBatchedLabeledDataMapper()
static vtkOpenGLBatchedLabeledDataMapper * New()
~vtkOpenGLBatchedLabeledDataMapper() override
friend class vtkOpenGLBatchedLabeledDataMapperInternals
void DeactivateGlyphTexture() override
Attribute for vtkObjectFactory overrides.
represent text properties.
abstracts an OpenGL texture object.
abstract specification for Viewports
window superclass for vtkRenderWindow