VTK  9.3.20240919
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 "vtkCellGridRenderRequest.h" // For RenderQuery ivar
14#include <memory> // for ivar
15
16VTK_ABI_NAMESPACE_BEGIN
17
19
20class VTKRENDERINGCELLGRID_EXPORT vtkOpenGLCellGridMapper : public vtkCellGridMapper
21{
22public:
25 void PrintSelf(ostream& os, vtkIndent indent) override;
26
27 void Render(vtkRenderer*, vtkActor*) override;
28
34 void ReleaseGraphicsResources(vtkWindow* window) override;
35
42 bool GetSupportsSelection() override { return true; }
43
47 void ShallowCopy(vtkAbstractMapper* m) override;
48
49protected:
52
54
55private:
57 void operator=(const vtkOpenGLCellGridMapper&) = delete;
58
59 class vtkInternals;
60 vtkInternals* Internal;
61 // vtkNew<vtkCellGridRenderRequest> RenderQuery;
62};
63
64VTK_ABI_NAMESPACE_END
65#endif // vtkOpenGLCellGridMapper_h
abstract class specifies interface to map data
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:151
map a vtkCellGrid to graphics primitives.
a simple class to control print indentation
Definition vtkIndent.h:108
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.
vtkGenericOpenGLResourceFreeCallback * ResourceCallback
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.
static vtkOpenGLCellGridMapper * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
window superclass for vtkRenderWindow
Definition vtkWindow.h:48