VTK  9.3.0
vtkOpenGLCellGridMapper.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 vtkOpenGLCellGridMapper_h
9 #define vtkOpenGLCellGridMapper_h
10 
11 #include "vtkCellGridMapper.h"
12 #include "vtkRenderingCellGridModule.h" // For export macro
13 #include <memory> // for ivar
14 
15 VTK_ABI_NAMESPACE_BEGIN
16 
17 class VTKRENDERINGCELLGRID_EXPORT vtkOpenGLCellGridMapper : public vtkCellGridMapper
18 {
19 public:
22  void PrintSelf(ostream&, vtkIndent indent) override;
23 
24  void Render(vtkRenderer*, vtkActor*) override;
25 
31  void ReleaseGraphicsResources(vtkWindow* window) override;
32 
39  bool GetSupportsSelection() override { return false; }
40 
44  void ShallowCopy(vtkAbstractMapper* m) override;
45 
46 protected:
49 
50 private:
52  void operator=(const vtkOpenGLCellGridMapper&) = delete;
53 
54  class vtkInternals;
55  vtkInternals* Internal;
56 };
57 
58 VTK_ABI_NAMESPACE_END
59 #endif // vtkOpenGLCellGridMapper_h
abstract class specifies interface to map data
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
map a vtkCellGrid to graphics primitives.
a simple class to control print indentation
Definition: vtkIndent.h:38
CellGrid mapper using OpenGL to render exotic finite element fields and cells.
void ShallowCopy(vtkAbstractMapper *m) override
Make a shallow copy of this mapper.
static vtkOpenGLCellGridMapper * New()
void Render(vtkRenderer *, vtkActor *) override
Method initiates the mapping process.
bool GetSupportsSelection() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
~vtkOpenGLCellGridMapper() override
void ReleaseGraphicsResources(vtkWindow *window) override
Release any graphics resources that are being consumed by this mapper.
void PrintSelf(ostream &, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
Definition: vtkRenderer.h:71
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37