VTK  9.3.20240720
vtkOpenGLLowMemoryLinesAgent.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 vtkOpenGLLowMemoryLinesAgent_h
9#define vtkOpenGLLowMemoryLinesAgent_h
10
12
13#include "vtkRenderingOpenGL2Module.h"
14
15VTK_ABI_NAMESPACE_BEGIN
16class VTKRENDERINGOPENGL2_NO_EXPORT vtkOpenGLLowMemoryLinesAgent
18{
19public:
22
23 bool ImplementsVertexVisibilityPass() const override { return true; }
24
25protected:
26 void PreDrawInternal(vtkRenderer* renderer, vtkActor* actor,
27 vtkOpenGLLowMemoryPolyDataMapper* lmMapper) const override;
28 void PostDrawInternal(vtkRenderer* renderer, vtkActor* actor,
29 vtkOpenGLLowMemoryPolyDataMapper* lmMapper) const override;
30};
31
32VTK_ABI_NAMESPACE_END
33#endif
34
35// Need to skip header testing since we do not inherit vtkObject:
36// VTK-HeaderTest-Exclude: vtkOpenGLLowMemoryLinesAgent.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...
Maps VTK_LINE and VTK_POLY_LINE into GL_LINES and draws 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
bool ImplementsVertexVisibilityPass() const override
~vtkOpenGLLowMemoryLinesAgent() override
PolyDataMapper using OpenGL to render surface meshes.
abstract specification for renderers