One Hat Cyber Team
Your IP :
216.73.216.136
Server IP :
162.240.179.46
Server :
Linux vps-14493116.nutrivittasaude.com.br 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
imath-devel
/
html
/
_sources
/
classes
/
View File Name :
Color4.rst.txt
Color4 ###### .. code-block:: #include <Imath/ImathColor.h> The ``Color4`` class template represents a 4-component color (red, green, blue, and alpha), with pre-defined typedefs of ``unsigned char``, ``half``, and ``float``. The ``Color4`` class is *not* derived from ``Vec4``. Its fields are named ``r``, ``g``, ``b``, and ``a``. The class itself implies no specific interpretation of the values. There are also various utility functions that operate on colors defined in ``ImathColorAlgo.h`` and described in :ref:`Color Functions <color-functions>`. Example: .. literalinclude:: ../examples/Color4.cpp :language: c++ .. doxygentypedef:: Color4c .. doxygentypedef:: Color4h .. doxygentypedef:: Color4f .. doxygentypedef:: C4c .. doxygentypedef:: C4h .. doxygentypedef:: C4f .. doxygenclass:: Imath::Color4 :undoc-members: :members: .. doxygenfunction:: operator<<(std::ostream& s, const Color4<T>& v)