NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
icolor.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2014 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_ICOLOR_H
9 #define MI_NEURAYLIB_ICOLOR_H
10 
11 #include <mi/math/color.h>
12 #include <mi/neuraylib/icompound.h>
13 #include <mi/neuraylib/typedefs.h>
14 
15 namespace mi {
16 
21 class IColor :
27  public base::Interface_declare<0x10a52754,0xa1c7,0x454c,0x8a,0x0b,0x56,0xd4,0xd4,0xdc,0x62,0x18,
28  ICompound>
29 {
30 public:
32  virtual Color_struct get_value() const = 0;
33 
35  virtual void get_value( Color_struct& value) const = 0;
36 
38  virtual void set_value( const Color_struct& value) = 0;
39 
41 
43 };
44 
50 class IColor3 :
51  public base::Interface_declare<0x1189e839,0x6d86,0x4bac,0xbc,0x72,0xb0,0xc0,0x2d,0xa9,0x3c,0x6c,
52  ICompound>
53 {
54 public:
58  virtual Color_struct get_value() const = 0;
59 
63  virtual void get_value( Color_struct& value) const = 0;
64 
68  virtual void set_value( const Color_struct& value) = 0;
69 
71 
73 };
74  // end group mi_neuray_compounds
76 
77 } // namespace mi
78 
79 #endif // MI_NEURAYLIB_ICOLOR_H