HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 262 of file RayTracer.h.

Member Typedef Documentation

Constructor & Destructor Documentation

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

Definition at line 266 of file RayTracer.h.

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

Definition at line 267 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 268 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 271 of file RayTracer.h.

Member Function Documentation

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

Definition at line 278 of file RayTracer.h.

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

Definition at line 280 of file RayTracer.h.

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

Definition at line 279 of file RayTracer.h.

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

Definition at line 281 of file RayTracer.h.

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

Definition at line 283 of file RayTracer.h.

Member Data Documentation

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

Definition at line 292 of file RayTracer.h.

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

Definition at line 292 of file RayTracer.h.

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

Definition at line 292 of file RayTracer.h.

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

Definition at line 292 of file RayTracer.h.


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