HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA Struct Reference

Floating-point RGBA components in the range [0, 1]. More...

#include <RayTracer.h>

Public Types

using ValueT = float
 

Public Member Functions

 RGBA ()
 
 RGBA (ValueT intensity)
 
 RGBA (ValueT _r, ValueT _g, ValueT _b, ValueT _a=static_cast< ValueT >(1.0))
 
 RGBA (double _r, double _g, double _b, double _a=1.0)
 
RGBA operator* (ValueT scale) const
 
RGBA operator+ (const RGBA &rhs) const
 
RGBA operator* (const RGBA &rhs) const
 
RGBAoperator+= (const RGBA &rhs)
 
void over (const RGBA &rhs)
 

Public Attributes

ValueT r
 
ValueT g
 
ValueT b
 
ValueT a
 

Detailed Description

Floating-point RGBA components in the range [0, 1].

This is our preferred representation for color processing.

Definition at line 230 of file RayTracer.h.

Member Typedef Documentation

Constructor & Destructor Documentation

openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::RGBA ( )
inline

Definition at line 234 of file RayTracer.h.

openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::RGBA ( ValueT  intensity)
inlineexplicit

Definition at line 235 of file RayTracer.h.

openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::RGBA ( ValueT  _r,
ValueT  _g,
ValueT  _b,
ValueT  _a = static_cast<ValueT>(1.0) 
)
inline

Definition at line 236 of file RayTracer.h.

openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::RGBA ( double  _r,
double  _g,
double  _b,
double  _a = 1.0 
)
inline

Definition at line 239 of file RayTracer.h.

Member Function Documentation

RGBA openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::operator* ( ValueT  scale) const
inline

Definition at line 246 of file RayTracer.h.

RGBA openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::operator* ( const RGBA rhs) const
inline

Definition at line 248 of file RayTracer.h.

RGBA openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::operator+ ( const RGBA rhs) const
inline

Definition at line 247 of file RayTracer.h.

RGBA& openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::operator+= ( const RGBA rhs)
inline

Definition at line 249 of file RayTracer.h.

void openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::over ( const RGBA rhs)
inline

Definition at line 251 of file RayTracer.h.

Member Data Documentation

ValueT openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::a

Definition at line 260 of file RayTracer.h.

ValueT openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::b

Definition at line 260 of file RayTracer.h.

ValueT openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::g

Definition at line 260 of file RayTracer.h.

ValueT openvdb::OPENVDB_VERSION_NAME::tools::Film::RGBA::r

Definition at line 260 of file RayTracer.h.


The documentation for this struct was generated from the following file: