iscene.h File Reference
Description
neuray services scene abstraction
Code Example
iscene.h
//*****************************************************************************
// Copyright 1986-2011 by mental images GmbH, Fasanenstr. 81, D-10623 Berlin,
// Germany. All rights reserved.
//*****************************************************************************
//*****************************************************************************
#ifndef MI_NSERVICES_ISCENE_H
#define MI_NSERVICES_ISCENE_H
#include <mi/neuraylib/iuser_class.h>
#include <mi/neuraylib/iscene.h>
#include <mi/neuraylib/iattribute_container.h>
#include <mi/neuraylib/ivector.h>
namespace mi {
class IString;
namespace nservices {
class IRender_context;
class IScene : public
mi::base::Interface_declare<0xD74AB7B1,0xBBAF,0xECA0,0x7F,0x87,0xC4,0x67,0x44,0xDD,0xDF,0x47>
{
public:
virtual Sint32
set_rootgroup(const char* root) = 0;
virtual const mi::IString* get_rootgroup() const = 0;
virtual Sint32
set_options(const char* options) = 0;
virtual const mi::IString* get_options() const = 0;
virtual Sint32
set_camera_instance(const char* camera) = 0;
virtual const mi::IString* get_camera_instance() const = 0;
virtual Sint32
get_bbox_min(Float32_3_struct &vector3) = 0;
virtual Sint32
get_bbox_max(Float32_3_struct &vector3) = 0;
virtual IRender_context* get_render_context(
neuraylib::ITransaction *transaction,
const char *renderer,
const char *name = NULL,
mi::Uint32 timeout = 0,
mi::Sint32 *errors = 0) = 0;
virtual IRender_context* get_render_context(const char *name) const = 0;
virtual mi::Sint32
remove_render_context(const char *name) = 0;
virtual neuraylib::IScene *get_scene() const = 0;
virtual mi::Sint32
start_expiry_timer(mi::Uint32 delay) = 0;
virtual mi::Sint32
stop_expiry_timer() = 0;
virtual Sint32 remove() = 0;
}; // end group mi_nservices_abstractions
} // namespace nservices
} // namespace mi
#endif // MI_NSERVICES_ISCENE_H
Namespaces
- namespace mi
- namespace
- Namespace for the neuray Services API. More...
Classes
- class
- The neuray services scene abstraction. More...