VTK  9.3.1
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:
20  static vtkOpenGLCellGridMapper* New();
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:
48  ~vtkOpenGLCellGridMapper() override;
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
void ShallowCopy(vtkAbstractMapper *m) override
Make a shallow copy of this mapper.
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:40
static vtkCellGridMapper * New()
abstract specification for renderers
Definition: vtkRenderer.h:61
window superclass for vtkRenderWindow
Definition: vtkWindow.h:27
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
void Render(vtkRenderer *, vtkActor *) override
Implemented by sub classes.
map a vtkCellGrid to graphics primitives.
CellGrid mapper using OpenGL to render exotic finite element fields and cells.
abstract class specifies interface to map data
bool GetSupportsSelection() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
Definition: vtkMapper.h:104