NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
icanvas.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_ICANVAS_H
9 #define MI_NEURAYLIB_ICANVAS_H
10 
12 
13 namespace mi {
14 
15 namespace neuraylib {
16 
17 class ITile;
18 
26 class ICanvas : public
63  mi::base::Interface_declare<0x20e5d5de,0x1f61,0x441c,0x88,0x88,0xff,0x85,0x89,0x98,0x7a,0xfa>
64 {
65 public:
67  virtual Uint32 get_resolution_x() const = 0;
68 
70  virtual Uint32 get_resolution_y() const = 0;
71 
73  virtual Uint32 get_tile_resolution_x() const = 0;
74 
76  virtual Uint32 get_tile_resolution_y() const = 0;
77 
79  virtual Uint32 get_tiles_size_x() const = 0;
80 
82  virtual Uint32 get_tiles_size_y() const = 0;
83 
85  virtual Uint32 get_layers_size() const = 0;
86 
92  virtual const char* get_type( Uint32 layer = 0) const = 0;
93 
95  virtual Float32 get_gamma() const = 0;
96 
100  virtual void set_gamma( Float32 gamma) = 0;
101 
109  virtual const ITile* get_tile( Uint32 pixel_x, Uint32 pixel_y, Uint32 layer = 0) const = 0;
110 
118  virtual ITile* get_tile( Uint32 pixel_x, Uint32 pixel_y, Uint32 layer = 0) = 0;
119 };
120  // end group mi_neuray_rendering
122 
123 } // namespace neuraylib
124 
125 } // namespace mi
126 
127 #endif // MI_NEURAYLIB_ICANVAS_H