VTK  9.6.20260216
vtkOpenGLLight.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
11#ifndef vtkOpenGLLight_h
12#define vtkOpenGLLight_h
13
14#include "vtkLight.h"
15#include "vtkRenderingOpenGL2Module.h" // For export macro
16#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
17
18VTK_ABI_NAMESPACE_BEGIN
21
22class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkOpenGLLight : public vtkLight
23{
24public:
28 vtkTypeMacro(vtkOpenGLLight, vtkLight);
29 void PrintSelf(ostream& os, vtkIndent indent) override;
30
31protected:
32 vtkOpenGLLight() = default;
33 ~vtkOpenGLLight() override = default;
34
35private:
36 vtkOpenGLLight(const vtkOpenGLLight&) = delete;
37 void operator=(const vtkOpenGLLight&) = delete;
38};
39
40#define vtkOpenGLLight_OVERRIDE_ATTRIBUTES vtkOpenGLLight::CreateOverrideAttributes()
41VTK_ABI_NAMESPACE_END
42#endif
a simple class to control print indentation
Definition vtkIndent.h:108
~vtkOpenGLLight() override=default
static vtkOverrideAttribute * CreateOverrideAttributes()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkOpenGLLight * New()
vtkOpenGLLight()=default
OpenGL renderer.
Attribute for vtkObjectFactory overrides.
#define VTK_MARSHALAUTO
#define VTK_NEWINSTANCE