neuray API Programmer's Manual

ispectrum.h File Reference

Description

Spectrum type.

Code Example

ispectrum.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_ISPECTRUM_H
#define MI_NEURAYLIB_ISPECTRUM_H

#include <mi/math/spectrum.h>
#include <mi/neuraylib/icompound.h>
#include <mi/neuraylib/typedefs.h>

namespace mi {






class ISpectrum :
    public base::Interface_declare<0x127293dc,0x1fad,0x4df5,0x94,0x38,0xe3,0x48,0xda,0x7b,0x8c,0xf6,
                                   ICompound>
{
public:
    virtual Spectrum_struct 
               get_value() const = 0;

    virtual void get_value( Spectrum_struct& value) const = 0;

    virtual void set_value( const Spectrum_struct& value) = 0;

    using ICompound::get_value;

    using ICompound::set_value;
};
 // end group mi_neuray_compounds

} // namespace mi

#endif // MI_NEURAYLIB_ISPECTRUM_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...

Classes

class 
This interface represents spectrums. More...