neuray API Programmer's Manual

mi::ISpectrum Class Reference

[Compounds]

Description

This interface represents spectrums. It can be used to represent spectrums by an interface derived from mi::base::IInterface.

See also:

mi::Spectrum_struct

Public Member Functions

virtual Spectrum_struct get_value() const =0
Returns the spectrum represented by this interface.
virtual void get_value( Spectrum_struct& 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.

Member Functions

virtual Spectrum_struct mi::​ISpectrum::get_value() const [pure virtual]

Returns the spectrum represented by this interface.

virtual void mi::​ISpectrum::get_value( Spectrum_struct& value) const [pure virtual]

Returns the spectrum represented by this interface.

virtual void mi::​ISpectrum::set_value( const Spectrum_struct& value) [pure virtual]

Sets the spectrum represented by this interface.