ufe  3.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
Ufe::TypedColor3< T > Struct Template Reference

Typed color template for creating a specialized color. More...

#include <types.h>

Inheritance diagram for Ufe::TypedColor3< T >:

Public Member Functions

 TypedColor3 ()
 
 TypedColor3 (T r, T g, T b)
 
r () const
 
g () const
 
b () const
 
void set (T r, T g, T b)
 
bool operator== (const TypedColor3< T > &rhs) const
 
bool operator!= (const TypedColor3< T > &rhs) const
 

Public Attributes

std::array< T, 3 > color
 

Detailed Description

template<typename T>
struct Ufe::TypedColor3< T >

Typed color template for creating a specialized color.

Definition at line 60 of file types.h.

Constructor & Destructor Documentation

◆ TypedColor3() [1/2]

template<typename T>
Ufe::TypedColor3< T >::TypedColor3 ( )
inline

Definition at line 62 of file types.h.

◆ TypedColor3() [2/2]

template<typename T>
Ufe::TypedColor3< T >::TypedColor3 ( r,
g,
b 
)
inline

Definition at line 67 of file types.h.

Member Function Documentation

◆ b()

template<typename T>
T Ufe::TypedColor3< T >::b ( ) const
inline

Definition at line 74 of file types.h.

◆ g()

template<typename T>
T Ufe::TypedColor3< T >::g ( ) const
inline

Definition at line 73 of file types.h.

◆ operator!=()

template<typename T>
bool Ufe::TypedColor3< T >::operator!= ( const TypedColor3< T > &  rhs) const
inline

Definition at line 82 of file types.h.

◆ operator==()

template<typename T>
bool Ufe::TypedColor3< T >::operator== ( const TypedColor3< T > &  rhs) const
inline

Definition at line 77 of file types.h.

◆ r()

template<typename T>
T Ufe::TypedColor3< T >::r ( ) const
inline

Definition at line 72 of file types.h.

◆ set()

template<typename T>
void Ufe::TypedColor3< T >::set ( r,
g,
b 
)
inline

Definition at line 75 of file types.h.

Member Data Documentation

◆ color

template<typename T>
std::array<T, 3> Ufe::TypedColor3< T >::color

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