VTK  9.4.20241103
vtkOpenGLLowMemoryPolygonsAgent.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
9#ifndef vtkOpenGLLowMemoryPolygonsAgent_h
10#define vtkOpenGLLowMemoryPolygonsAgent_h
11
13
15#include "vtkRenderingOpenGL2Module.h"
16
17VTK_ABI_NAMESPACE_BEGIN
18class VTKRENDERINGOPENGL2_NO_EXPORT vtkOpenGLLowMemoryPolygonsAgent
20{
21public:
24
25 bool ImplementsVertexVisibilityPass() const override { return true; }
26
27protected:
28 void PreDrawInternal(vtkRenderer* renderer, vtkActor* actor,
29 vtkOpenGLLowMemoryPolyDataMapper* lmMapper) const override;
30 void PostDrawInternal(vtkRenderer* renderer, vtkActor* actor,
31 vtkOpenGLLowMemoryPolyDataMapper* lmMapper) const override;
32};
33
34VTK_ABI_NAMESPACE_END
35#endif
36
37// Need to skip header testing since we do not inherit vtkObject:
38// VTK-HeaderTest-Exclude: vtkOpenGLLowMemoryPolygonsAgent.h
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:151
Helps vtkOpenGLLowMemoryPolyDataMapper map and draw cell types from vtkPolyData as OpenGL graphics pr...
PolyDataMapper using OpenGL to render surface meshes.
Maps VTK_TRIANGLE and VTK_POLYGON into GL_TRIANGLES and draws GL_TRIANGLES or GL_LINES or GL_POINTS.
void PostDrawInternal(vtkRenderer *renderer, vtkActor *actor, vtkOpenGLLowMemoryPolyDataMapper *lmMapper) const override
void PreDrawInternal(vtkRenderer *renderer, vtkActor *actor, vtkOpenGLLowMemoryPolyDataMapper *lmMapper) const override
abstract specification for renderers