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 
20 
21 #define VTK_LIGHT_TYPE_AMBIENT_LIGHT 4
22 
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
virtual void SetLightType(int)
#define VTKREMOTINGVIEWS_EXPORT
static vtkLight * New()
vtkPVLight extends vtkLight with controls that are specific to OSPRay.
Definition: vtkPVLight.h:23
void PrintSelf(ostream &os, vtkIndent indent)
void operator=(const vtkObjectBase &)