18 #ifndef vtkOpenGLBatchedPolyDataMapper_h
19 #define vtkOpenGLBatchedPolyDataMapper_h
24 #include "vtkRenderingOpenGL2Module.h"
30 #ifndef GL_ES_VERSION_3_0
32 #define vtkOpenGLPolyDataMapperImplementation vtkOpenGLPolyDataMapper
35 #define vtkOpenGLPolyDataMapperImplementation vtkOpenGLES30PolyDataMapper
42 VTK_ABI_NAMESPACE_BEGIN
52 void PrintSelf(ostream& os,
vtkIndent indent)
override;
60 void AddBatchElement(
unsigned int flatIndex,
BatchElement&& batchElement);
62 void ClearBatchElements();
68 std::vector<vtkPolyData*> GetRenderedList()
const;
75 void UnmarkBatchElements();
76 void ClearUnmarkedBatchElements();
82 void ProcessSelectorPixelBuffers(
86 GLBatchElement* glBatchElement, std::vector<unsigned int>& mypixels);
99 GLenum
mode,
int pointSize);
104 virtual void SetShaderValues(
117 void ReplaceShaderColor(
118 std::map<vtkShader::Type, vtkShader*> shaders,
vtkRenderer* renderer,
vtkActor* actor)
override;
131 std::vector<float>& norms);
136 void BuildSelectionIBO(
151 std::vector<unsigned int> IndexArray[PrimitiveEnd];
168 VTK_ABI_NAMESPACE_END
abstract superclass for all actors, volumes and annotations
represents an object (geometry & properties) in a rendered scene
An OpenGL mapper for batched rendering of vtkPolyData.
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkCompositePolyDataMapperDelegator::BatchElement BatchElement
a simple class to control print indentation
vtkHardwareSelector * CurrentSelector
std::map< std::uintptr_t, std::unique_ptr< GLBatchElement > > VTKPolyDataToGLBatchElement
#define vtkOpenGLPolyDataMapperImplementation
std::map< vtkAbstractArray *, vtkDataArray * > ColorArrayMap
general representation of visualization data
std::vector< std::vector< unsigned int > > PickPixels
a class that renders hierarchical polygonal data
The ShaderProgram uses one or more Shader objects.