NVIDIA Iray API
 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, 2014 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
37  mi::base::Interface_declare<0x44e2a997,0x8a86,0x468d,0x8d,0x31,0xed,0x93,0xc0,0xb9,0xac,0x83>
38 {
39 public:
50  virtual Sint32 set_rootgroup( const char* root) = 0;
51 
55  virtual const IString* get_rootgroup() const = 0;
56 
67  virtual Sint32 set_options( const char* options) = 0;
68 
72  virtual const IString* get_options() const = 0;
73 
84  virtual Sint32 set_camera_instance( const char* camera) = 0;
85 
89  virtual const IString* get_camera_instance() const = 0;
90 
102  virtual Sint32 get_bbox_min( Float32_3_struct& vector3) = 0;
103 
115  virtual Sint32 get_bbox_max( Float32_3_struct& vector3) = 0;
116 
144  virtual IRender_context* create_render_context(
145  ITransaction* transaction, const char* render_mode, Sint32* errors = 0) = 0;
146 };
147  // end group mi_neuray_rendering
149 
150 } // namespace neuraylib
151 
152 } // namespace mi
153 
154 #endif // MI_NEURAYLIB_ISCENE_H