src
paraview-5.12
Remoting
Views
vtkPVLight.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
11
#ifndef vtkPVLight_h
12
#define vtkPVLight_h
13
14
#include "
vtkLight.h
"
15
#include "vtkRemotingViewsModule.h"
//needed for exports
16
17
#include <string>
//needed for std::string
18
19
class
vtkInformationStringKey
;
20
21
#define VTK_LIGHT_TYPE_AMBIENT_LIGHT 4
22
23
class
VTKREMOTINGVIEWS_EXPORT
vtkPVLight
:
public
vtkLight
24
{
25
public
:
26
static
vtkPVLight
*
New
();
27
vtkTypeMacro(
vtkPVLight
,
vtkLight
);
28
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
29
33
void
SetRadius(
double
r);
34
35
static
vtkInformationStringKey
* LIGHT_NAME();
39
void
SetName(
const
std::string& name);
40
std::string GetName();
41
46
void
SetLightType
(
int
t)
override
;
47
48
protected
:
49
vtkPVLight
();
50
~
vtkPVLight
()
override
;
51
52
private
:
53
vtkPVLight
(
const
vtkPVLight
&) =
delete
;
54
void
operator=
(
const
vtkPVLight
&) =
delete
;
55
};
56
57
#endif
vtkLight::SetLightType
virtual void SetLightType(int)
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkInformationStringKey
vtkLight.h
vtkLight
vtkPVLight
Definition:
vtkPVLight.h:23
vtkLight::New
static vtkLight * New()
vtkLight::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkIndent
Generated by
1.8.17 on Wed Mar 27 2024