iimage.h File Reference
Description
Scene element Image.
Code Example
iimage.h
//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************
#ifndef MI_NEURAYLIB_IIMAGE_H
#define MI_NEURAYLIB_IIMAGE_H
#include <mi/neuraylib/iscene_element.h>
#include <mi/neuraylib/version.h>
namespace mi {
namespace neuraylib {
class ICanvas;
class IImage :
public base::Interface_declare<0xca59b977,0x30ee,0x4172,0x91,0x53,0xb7,0x70,0x2c,0x6b,0x3a,0x76,
neuraylib::IScene_element>
{
public:
virtual Sint32
reset_file( const char* filename) = 0;
virtual const char* get_filename() const = 0;
virtual const char* get_original_filename() const = 0;
virtual bool set_from_canvas( const ICanvas* canvas) = 0;
virtual bool set_from_canvas( ICanvas* canvas, bool shared = false) = 0;
virtual const ICanvas* get_canvas( Uint32 level = 0) const = 0;
virtual const char* get_type() const = 0 ;
virtual Uint32
get_levels() const = 0;
virtual Uint32
resolution_x( Uint32 level = 0) const = 0;
virtual Uint32
resolution_y( Uint32 level = 0) const = 0;
virtual Uint32
resolution_z( Uint32 level = 0) const = 0;
};
// end group mi_neuray_misc
} // namespace neuraylib
#ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
using neuraylib::IImage;
using neuraylib::IScene_element;
#endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
} // namespace mi
#endif // MI_NEURAYLIB_IIMAGE_H
Namespaces
- namespace
- Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
- namespace
- Namespace for the neuray API. More...
Classes
- class
- This interface represents a pixel image file. More...