DiCE API nvidia_logo_transpbg.gif Up
ispectrum.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_ISPECTRUM_H
8#define MI_NEURAYLIB_ISPECTRUM_H
9
10#include <mi/math/spectrum.h>
13
14namespace mi {
15
25class ISpectrum :
26 public base::Interface_declare<0x127293dc,0x1fad,0x4df5,0x94,0x38,0xe3,0x48,0xda,0x7b,0x8c,0xf6,
27 ICompound>
28{
29public:
31 virtual Spectrum_struct get_value() const = 0;
32
34 virtual void get_value( Spectrum_struct& value) const = 0;
35
37 virtual void set_value( const Spectrum_struct& value) = 0;
38
40
42};
43 // end group mi_neuray_compounds
45
46} // namespace mi
47
48#endif // MI_NEURAYLIB_ISPECTRUM_H
virtual bool get_value(Size row, Size column, bool &value) const =0
Accesses the (row, column)-th element.
virtual bool set_value(Size row, Size column, bool value)=0
Sets the (row, column)-th element to value.
This interface represents spectrums.
Definition: ispectrum.h:28
virtual Spectrum_struct get_value() const =0
Returns the spectrum represented by this interface.
virtual void set_value(const Spectrum_struct &value)=0
Sets the spectrum represented by this interface.
virtual void get_value(Spectrum_struct &value) const =0
Returns the spectrum represented by this interface.
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Compounds type, i.e., vectors, matrices, colors, spectrums, and bounding boxes.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: dice.h:89
Spectrum class with floating point elements and operations.
Generic storage class template for a Spectrum representation storing three floating point elements.
Definition: color.h:47
Typedefs for types from the math API.