VTK  9.3.0
vtkDGOpenGLRenderer.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
10#ifndef vtkDGOpenGLRenderer_h
11#define vtkDGOpenGLRenderer_h
12
13#include "vtkCellGridResponder.h" // For API.
15
16VTK_ABI_NAMESPACE_BEGIN
17class vtkCellMetadata;
18class vtkDGCell;
19class vtkDGOpenGLRenderers;
20
21class VTKRENDERINGCELLGRID_EXPORT vtkDGOpenGLRenderer
22 : public vtkCellGridResponder<vtkOpenGLCellGridRenderRequest>
23{
24public:
27
29 vtkCellGridResponders* caches) override;
30
31protected:
33 ~vtkDGOpenGLRenderer() override = default;
34
37
38 bool DrawShapes(vtkOpenGLCellGridRenderRequest* request, vtkDGCell* metadata, int shape);
39
40private:
42 void operator=(const vtkDGOpenGLRenderer&) = delete;
43};
44
45VTK_ABI_NAMESPACE_END
46#endif // vtkDGOpenGLRenderer_h
47// VTK-HeaderTest-Exclude: vtkDGOpenGLRenderer.h
Respond to a query on one particular type of cell.
A container that holds objects able to respond to queries specialized for particular vtkCellMetadata ...
Metadata for a particular type of cell (finite element).
Base class for a discontinuous Galerkin cells of all shapes.
Definition vtkDGCell.h:37
Rendering simple DG cells (i.e., those with a fixed reference shape).
static vtkDGOpenGLRenderer * New()
bool ReleaseResources(vtkOpenGLCellGridRenderRequest *request, vtkCellMetadata *metadata)
vtkDGOpenGLRenderer()=default
bool Query(vtkOpenGLCellGridRenderRequest *request, vtkCellMetadata *metadata, vtkCellGridResponders *caches) override
bool DrawCells(vtkOpenGLCellGridRenderRequest *request, vtkCellMetadata *metadata)
~vtkDGOpenGLRenderer() override=default
bool DrawShapes(vtkOpenGLCellGridRenderRequest *request, vtkDGCell *metadata, int shape)
State used by vtkOpenGLCellGridMapper during rendering.