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
15VTK_ABI_NAMESPACE_BEGIN
16
17class VTKRENDERINGCELLGRID_EXPORT vtkOpenGLCellGridMapper : public vtkCellGridMapper
18{
19public:
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
46protected:
49
50private:
52 void operator=(const vtkOpenGLCellGridMapper&) = delete;
53
54 class vtkInternals;
55 vtkInternals* Internal;
56};
57
58VTK_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:41
map a vtkCellGrid to graphics primitives.
a simple class to control print indentation
Definition vtkIndent.h:29
CellGrid mapper using OpenGL to render exotic finite element fields and cells.
void ShallowCopy(vtkAbstractMapper *m) override
Make a shallow copy of this mapper.
void Render(vtkRenderer *, vtkActor *) override
Implemented by sub classes.
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.
static vtkOpenGLCellGridMapper * New()
abstract specification for renderers
Definition vtkRenderer.h:59
window superclass for vtkRenderWindow
Definition vtkWindow.h:25