NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
iscene.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_ISCENE_H
9 #define MI_NEURAYLIB_ISCENE_H
10 
12 #include <mi/neuraylib/typedefs.h>
13 
14 namespace mi {
15 
16 class IString;
17 
18 namespace neuraylib {
19 
20 class IRender_context;
21 class ITransaction;
22 
27 class IScene : public
43  mi::base::Interface_declare<0x44e2a997,0x8a86,0x468d,0x8d,0x31,0xed,0x93,0xc0,0xb9,0xac,0x83>
44 {
45 public:
59  virtual Sint32 set_rootgroup( const char* root) = 0;
60 
64  virtual const IString* get_rootgroup() const = 0;
65 
79  virtual Sint32 set_options( const char* options) = 0;
80 
84  virtual const IString* get_options() const = 0;
85 
99  virtual Sint32 set_camera_instance( const char* camera) = 0;
100 
104  virtual const IString* get_camera_instance() const = 0;
105 
117  virtual Sint32 get_bbox_min( Float32_3_struct& corner) = 0;
118 
130  virtual Sint32 get_bbox_max( Float32_3_struct& corner) = 0;
131 
161  virtual IRender_context* create_render_context(
162  ITransaction* transaction, const char* render_mode, Sint32* errors = 0) = 0;
163 };
164  // end group mi_neuray_rendering
166 
167 } // namespace neuraylib
168 
169 } // namespace mi
170 
171 #endif // MI_NEURAYLIB_ISCENE_H