neuray API Programmer's Manual

mi::IColor Class Reference

[Compounds]

Description

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

See also:

mi::Color_struct

Public Member Functions

virtual Color_struct get_value() const =0
Returns the color represented by this interface.
virtual void get_value( Color_struct& value) const =0
Returns the color represented by this interface.
virtual void set_value( const Color_struct& value) =0
Sets the color represented by this interface.

Member Functions

virtual Color_struct mi::​IColor::get_value() const [pure virtual]

Returns the color represented by this interface.

virtual void mi::​IColor::get_value( Color_struct& value) const [pure virtual]

Returns the color represented by this interface.

virtual void mi::​IColor::set_value( const Color_struct& value) [pure virtual]

Sets the color represented by this interface.