VTK  9.4.20250102
vtkOpenGLLowMemoryVerticesAgent.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
8#ifndef vtkOpenGLLowMemoryVerticesAgent_h
9#define vtkOpenGLLowMemoryVerticesAgent_h
10
12
13#include "vtkPolyData.h"
14#include "vtkRenderingOpenGL2Module.h"
15
16VTK_ABI_NAMESPACE_BEGIN
17class VTKRENDERINGOPENGL2_NO_EXPORT vtkOpenGLLowMemoryVerticesAgent
19{
20public:
23
24 bool ImplementsVertexVisibilityPass() const override { return false; }
25
26protected:
27 void PreDrawInternal(vtkRenderer* renderer, vtkActor* actor,
28 vtkOpenGLLowMemoryPolyDataMapper* lmMapper) const override;
29 void PostDrawInternal(vtkRenderer* renderer, vtkActor* actor,
30 vtkOpenGLLowMemoryPolyDataMapper* lmMapper) const override;
31};
32
33VTK_ABI_NAMESPACE_END
34#endif
35
36// Need to skip header testing since we do not inherit vtkObject:
37// VTK-HeaderTest-Exclude: vtkOpenGLLowMemoryVerticesAgent.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_VERTEX and VTK_POLY_VERTEX into GL_POINTS and draws 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