cartobase
5.0.5
|
RGB Value. More...
#include <cartobase/type/voxelrgb_decl.h>
Public Member Functions | |
VoxelRGB (const VoxelRGB &other) | |
VoxelRGB (const VoxelRGBA &other) | |
VoxelRGB (const VoxelValue< uint8_t, 3 > &other) | |
VoxelRGB (const uint8_t &r=0, const uint8_t &g=0, const uint8_t &b=0) | |
~VoxelRGB () | |
VoxelRGB & | operator= (const VoxelRGB &other) |
VoxelRGB & | operator= (const VoxelRGBA &other) |
VoxelRGB & | operator= (const uint8_t &value) |
VoxelRGB & | operator+= (const VoxelRGB &other) |
VoxelRGB & | operator+= (const VoxelRGBA &other) |
VoxelRGB & | operator-= (const VoxelRGB &other) |
VoxelRGB & | operator-= (const VoxelRGBA &other) |
VoxelRGB & | operator+= (const uint8_t &value) |
VoxelRGB & | operator-= (const uint8_t &value) |
VoxelRGB & | operator*= (const uint8_t &value) |
VoxelRGB & | operator*= (const uint16_t &value) |
VoxelRGB & | operator*= (const uint32_t &value) |
VoxelRGB & | operator*= (const uint64_t &value) |
VoxelRGB & | operator*= (const float &value) |
VoxelRGB & | operator*= (const double &value) |
VoxelRGB & | operator/= (const uint8_t &value) |
VoxelRGB & | operator/= (const uint16_t &value) |
VoxelRGB & | operator/= (const uint32_t &value) |
VoxelRGB & | operator/= (const uint64_t &value) |
VoxelRGB & | operator/= (const float &value) |
VoxelRGB & | operator/= (const double &value) |
VoxelRGB & | operator*= (const long &value) |
VoxelRGB & | operator/= (const long &value) |
const uint8_t & | red () const |
const uint8_t & | green () const |
const uint8_t & | blue () const |
uint8_t & | red () |
uint8_t & | green () |
uint8_t & | blue () |
![]() | |
VoxelValue () | |
VoxelValue (const VoxelValue< uint8_t, C > &other) | |
~VoxelValue () | |
bool | operator== (const VoxelValue< uint8_t, C > &) const |
bool | operator== (const uint8_t &) const |
bool | operator!= (const VoxelValue< uint8_t, C > &) const |
bool | operator!= (const uint8_t &) const |
operator bool () const | |
const uint8_t & | operator[] (unsigned int i) const |
uint8_t & | operator[] (unsigned int i) |
Additional Inherited Members | |
![]() | |
typedef uint8_t | ChannelType |
![]() | |
static const unsigned int | channelcount |
![]() | |
uint8_t | _voxel [C] |
RGB Value.
This class replaces AimsRGB.
All previous operators are implemented.
Read/Write operators are implemented in soma-io/utilities/asciidatasourcetraits.h
so you need to include this file for read/write operations.
cartobase/type/voxelrgb_decl.h
, you need to include cartobase/type/voxelrgb.h
in order to use this class (all methods are inline). Definition at line 71 of file voxelrgb_decl.h.
|
inline |
Definition at line 61 of file voxelrgb_def.h.
|
inline |
Definition at line 70 of file voxelrgb_def.h.
References blue(), carto::VoxelRGBA::blue(), green(), carto::VoxelRGBA::green(), red(), and carto::VoxelRGBA::red().
|
inline |
Definition at line 81 of file voxelrgb_def.h.
|
inline |
Definition at line 90 of file voxelrgb_def.h.
|
inline |
Definition at line 101 of file voxelrgb_def.h.
|
inline |
Definition at line 115 of file voxelrgb_decl.h.
Referenced by operator*=(), operator+=(), carto::VoxelRGBA::operator+=(), operator-=(), carto::VoxelRGBA::operator-=(), operator/=(), operator=(), carto::VoxelRGBA::operator=(), VoxelRGB(), and carto::VoxelRGBA::VoxelRGBA().
|
inline |
Definition at line 118 of file voxelrgb_decl.h.
References carto::operator*(), carto::operator+(), carto::operator-(), and carto::operator/().
|
inline |
Definition at line 114 of file voxelrgb_decl.h.
Referenced by operator*=(), operator+=(), carto::VoxelRGBA::operator+=(), operator-=(), carto::VoxelRGBA::operator-=(), operator/=(), operator=(), carto::VoxelRGBA::operator=(), VoxelRGB(), and carto::VoxelRGBA::VoxelRGBA().
|
inline |
Definition at line 117 of file voxelrgb_decl.h.
|
inline |
Definition at line 221 of file voxelrgb_def.h.
|
inline |
Definition at line 233 of file voxelrgb_def.h.
|
inline |
Definition at line 245 of file voxelrgb_def.h.
|
inline |
Definition at line 257 of file voxelrgb_def.h.
|
inline |
Definition at line 269 of file voxelrgb_def.h.
|
inline |
Definition at line 282 of file voxelrgb_def.h.
|
inline |
Definition at line 819 of file voxelrgb_def.h.
Definition at line 149 of file voxelrgb_def.h.
Definition at line 161 of file voxelrgb_def.h.
References blue(), carto::VoxelRGBA::blue(), green(), carto::VoxelRGBA::green(), red(), and carto::VoxelRGBA::red().
|
inline |
Definition at line 197 of file voxelrgb_def.h.
Definition at line 173 of file voxelrgb_def.h.
Definition at line 185 of file voxelrgb_def.h.
References blue(), carto::VoxelRGBA::blue(), green(), carto::VoxelRGBA::green(), red(), and carto::VoxelRGBA::red().
|
inline |
Definition at line 209 of file voxelrgb_def.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 111 of file voxelrgb_def.h.
Definition at line 123 of file voxelrgb_def.h.
References blue(), carto::VoxelRGBA::blue(), green(), carto::VoxelRGBA::green(), red(), and carto::VoxelRGBA::red().
|
inline |
Definition at line 135 of file voxelrgb_def.h.
|
inline |
Definition at line 113 of file voxelrgb_decl.h.
Referenced by operator*=(), operator+=(), carto::VoxelRGBA::operator+=(), operator-=(), carto::VoxelRGBA::operator-=(), operator/=(), operator=(), carto::VoxelRGBA::operator=(), VoxelRGB(), and carto::VoxelRGBA::VoxelRGBA().
|
inline |
Definition at line 116 of file voxelrgb_decl.h.