Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
icolor.h
Go to the documentation of this file.
1 /***************************************************************************************************
2  * Copyright 2020 NVIDIA Corporation. All rights reserved.
3  **************************************************************************************************/
6 
7 #ifndef MI_NEURAYLIB_ICOLOR_H
8 #define MI_NEURAYLIB_ICOLOR_H
9 
10 #include <mi/math/color.h>
11 #include <mi/neuraylib/icompound.h>
12 #include <mi/neuraylib/typedefs.h>
13 
14 namespace mi {
15 
20 class IColor :
26  public base::Interface_declare<0x10a52754,0xa1c7,0x454c,0x8a,0x0b,0x56,0xd4,0xd4,0xdc,0x62,0x18,
27  ICompound>
28 {
29 public:
31  virtual Color_struct get_value() const = 0;
32 
34  virtual void get_value( Color_struct& value) const = 0;
35 
37  virtual void set_value( const Color_struct& value) = 0;
38 
40 
42 };
43 
49 class IColor3 :
50  public base::Interface_declare<0x1189e839,0x6d86,0x4bac,0xbc,0x72,0xb0,0xc0,0x2d,0xa9,0x3c,0x6c,
51  ICompound>
52 {
53 public:
57  virtual Color_struct get_value() const = 0;
58 
62  virtual void get_value( Color_struct& value) const = 0;
63 
67  virtual void set_value( const Color_struct& value) = 0;
68 
70 
72 };
73  // end group mi_neuray_compounds
75 
76 } // namespace mi
77 
78 #endif // MI_NEURAYLIB_ICOLOR_H