vtkPVLight.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVLight.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
23 #ifndef vtkPVLight_h
24 #define vtkPVLight_h
25 
26 #include "vtkLight.h"
27 #include "vtkRemotingViewsModule.h" //needed for exports
28 
29 #include <string> //needed for std::string
30 
32 
33 #define VTK_LIGHT_TYPE_AMBIENT_LIGHT 4
34 
36 {
37 public:
38  static vtkPVLight* New();
39  vtkTypeMacro(vtkPVLight, vtkLight);
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
45  void SetRadius(double r);
46 
47  static vtkInformationStringKey* LIGHT_NAME();
51  void SetName(const std::string& name);
52  std::string GetName();
53 
58  virtual void SetLightType(int t) override;
59 
60 protected:
61  vtkPVLight();
62  ~vtkPVLight();
63 
64 private:
65  vtkPVLight(const vtkPVLight&) = delete;
66  void operator=(const vtkPVLight&) = delete;
67 };
68 
69 #endif
virtual void SetLightType(int)
#define VTKREMOTINGVIEWS_EXPORT
static vtkLight * New()
vtkPVLight extends vtkLight with controls that are specific to OSPRay.
Definition: vtkPVLight.h:35
void PrintSelf(ostream &os, vtkIndent indent)
void operator=(const vtkObjectBase &)