Drake
Color< T > Struct Template Reference

Holds r, g, b values to represent a color pixel. More...

#include <systems/sensors/color_palette.h>

Collaboration diagram for Color< T >:
[legend]

Public Member Functions

bool operator== (const Color< T > &other) const
 Blue. More...
 

Public Attributes

r
 
g
 Red. More...
 
b
 Green. More...
 

Friends

template<class HashAlgorithm >
void hash_append (HashAlgorithm &hasher, const Color &item) noexcept
 Implements the hash_append generic hashing concept. More...
 

Detailed Description

template<typename T>
struct drake::systems::sensors::Color< T >

Holds r, g, b values to represent a color pixel.

Template Parameters
TA type for each color channel.

Member Function Documentation

bool operator== ( const Color< T > &  other) const
inline

Blue.

Friends And Related Function Documentation

void hash_append ( HashAlgorithm &  hasher,
const Color< T > &  item 
)
friend

Implements the hash_append generic hashing concept.

Member Data Documentation

T b

Green.

T g

Red.

T r

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