VISR  0.11.7
Versatile Interactive Scene Renderer
point_source_with_diffuseness.hpp
Go to the documentation of this file.
1 /* Copyright Institute of Sound and Vibration Research - All rights reserved */
2 
3 #ifndef VISR_OBJECTMODEL_POINT_SOURCE_WITH_DIFFUSENESS_HPP_INCLUDED
4 #define VISR_OBJECTMODEL_POINT_SOURCE_WITH_DIFFUSENESS_HPP_INCLUDED
5 
6 #include "point_source.hpp"
7 
8 #include "export_symbols.hpp"
9 
10 namespace visr
11 {
12 namespace objectmodel
13 {
14 
18 class VISR_OBJECTMODEL_LIBRARY_SYMBOL PointSourceWithDiffuseness: public PointSource
19 {
20 public:
21 
22  PointSourceWithDiffuseness( ) = delete;
23 
24  explicit PointSourceWithDiffuseness( ObjectId id );
25 
26  virtual ~PointSourceWithDiffuseness();
27 
28  /*virtual*/ ObjectTypeId type() const;
29 
30  /*virtual*/ std::unique_ptr<Object> clone() const;
31 
32  Coordinate diffuseness() const { return mDiffuseness; }
33 
34  void setDiffuseness( Coordinate newDiffuseness );
35 
36 protected:
37  Coordinate mDiffuseness;
38 private:
39 };
40 
41 } // namespace objectmodel
42 } // namespace visr
43 
44 #endif // VISR_OBJECTMODEL_POINT_SOURCE_WITH_DIFFUSENESS_HPP_INCLUDED
Coordinate diffuseness() const
Definition: point_source_with_diffuseness.hpp:32
unsigned int ObjectId
Definition: object.hpp:23
Definition: point_source.hpp:18
ObjectTypeId
Definition: object_type.hpp:26
Definition: options.cpp:10
Definition: point_source_with_diffuseness.hpp:18
Coordinate mDiffuseness
Definition: point_source_with_diffuseness.hpp:37