20 #ifndef vtkOpenGLES30PolyDataMapper2D_h
21 #define vtkOpenGLES30PolyDataMapper2D_h
26 #include "vtkRenderingOpenGL2Module.h"
28 VTK_ABI_NAMESPACE_BEGIN
96 std::vector<unsigned int> PrimitiveIndexArrays[PrimitiveEnd];
105 VTK_ABI_NAMESPACE_END
virtual void UpdateShaders(vtkOpenGLHelper &cellBO, vtkViewport *viewport, vtkActor2D *act)
Determine what shader to use and compile/link it.
abstract specification for Viewports
void UpdateVBO(vtkActor2D *act, vtkViewport *viewport)
Update the scene when necessary.
a actor that draws 2D data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
window superclass for vtkRenderWindow
void RenderOverlay(vtkViewport *viewport, vtkActor2D *actor) override
Actually draw the poly data.
a simple class to control print indentation
2D PolyData support for OpenGL ES 3.0
virtual void SetMapperShaderParameters(vtkOpenGLHelper &cellBO, vtkViewport *viewport, vtkActor2D *act)
Set the shader parameters related to the mapper/input data, called by UpdateShader.
virtual void BuildShaders(std::string &VertexCode, std::string &fragmentCode, std::string &geometryCode, vtkViewport *ren, vtkActor2D *act)
Build the shader source code.
2D PolyData support for OpenGL
static vtkOpenGLPolyDataMapper2D * New()
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.