cartobase
5.0.5
|
RGBA Value. More...
#include <cartobase/type/voxelrgba_decl.h>
Public Types | |
typedef uint8_t | ChannelType |
![]() | |
typedef uint8_t | ChannelType |
Public Member Functions | |
VoxelRGBA (const VoxelRGBA &other) | |
VoxelRGBA (const VoxelRGB &other) | |
VoxelRGBA (const VoxelValue< uint8_t, 4 > &other) | |
VoxelRGBA (const uint8_t &r=0, const uint8_t &g=0, const uint8_t &b=0, const uint8_t &a=0) | |
~VoxelRGBA () | |
VoxelRGBA & | operator= (const VoxelRGBA &other) |
VoxelRGBA & | operator= (const VoxelRGB &other) |
VoxelRGBA & | operator= (const uint8_t &value) |
VoxelRGBA & | operator+= (const VoxelRGBA &other) |
VoxelRGBA & | operator+= (const VoxelRGB &other) |
VoxelRGBA & | operator-= (const VoxelRGBA &other) |
VoxelRGBA & | operator-= (const VoxelRGB &other) |
VoxelRGBA & | operator+= (const uint8_t &value) |
VoxelRGBA & | operator-= (const uint8_t &value) |
VoxelRGBA & | operator*= (const uint8_t &value) |
VoxelRGBA & | operator*= (const uint16_t &value) |
VoxelRGBA & | operator*= (const uint32_t &value) |
VoxelRGBA & | operator*= (const uint64_t &value) |
VoxelRGBA & | operator*= (const float &value) |
VoxelRGBA & | operator*= (const double &value) |
VoxelRGBA & | operator/= (const uint8_t &value) |
VoxelRGBA & | operator/= (const uint16_t &value) |
VoxelRGBA & | operator/= (const uint32_t &value) |
VoxelRGBA & | operator/= (const uint64_t &value) |
VoxelRGBA & | operator/= (const float &value) |
VoxelRGBA & | operator/= (const double &value) |
VoxelRGBA & | operator*= (const long &value) |
VoxelRGBA & | operator/= (const long &value) |
const uint8_t & | red () const |
const uint8_t & | green () const |
const uint8_t & | blue () const |
const uint8_t & | alpha () const |
uint8_t & | red () |
uint8_t & | green () |
uint8_t & | blue () |
uint8_t & | alpha () |
![]() | |
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 | |
![]() | |
static const unsigned int | channelcount |
![]() | |
uint8_t | _voxel [C] |
RGBA Value.
This class replaces AimsRGBA.
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/voxelrgba_decl.h
, you need to include cartobase/type/voxelrgba.h
in order to use this class (all methods are inline). Definition at line 71 of file voxelrgba_decl.h.
typedef uint8_t carto::VoxelRGBA::ChannelType |
Definition at line 75 of file voxelrgba_decl.h.
|
inline |
Definition at line 61 of file voxelrgba_def.h.
|
inline |
Definition at line 70 of file voxelrgba_def.h.
References alpha(), carto::VoxelRGB::blue(), blue(), carto::VoxelRGB::green(), green(), carto::VoxelRGB::red(), and red().
|
inline |
Definition at line 82 of file voxelrgba_def.h.
|
inline |
|
inline |
Definition at line 104 of file voxelrgba_def.h.
|
inline |
Definition at line 117 of file voxelrgba_decl.h.
Referenced by operator+=(), operator-=(), operator=(), and VoxelRGBA().
|
inline |
Definition at line 121 of file voxelrgba_decl.h.
References carto::operator*(), carto::operator+(), carto::operator-(), and carto::operator/().
|
inline |
Definition at line 116 of file voxelrgba_decl.h.
Referenced by operator*=(), carto::VoxelRGB::operator+=(), operator+=(), carto::VoxelRGB::operator-=(), operator-=(), operator/=(), carto::VoxelRGB::operator=(), operator=(), carto::VoxelRGB::VoxelRGB(), and VoxelRGBA().
|
inline |
Definition at line 120 of file voxelrgba_decl.h.
|
inline |
Definition at line 115 of file voxelrgba_decl.h.
Referenced by operator*=(), carto::VoxelRGB::operator+=(), operator+=(), carto::VoxelRGB::operator-=(), operator-=(), operator/=(), carto::VoxelRGB::operator=(), operator=(), carto::VoxelRGB::VoxelRGB(), and VoxelRGBA().
|
inline |
Definition at line 119 of file voxelrgba_decl.h.
|
inline |
Definition at line 290 of file voxelrgba_def.h.
|
inline |
Definition at line 302 of file voxelrgba_def.h.
|
inline |
Definition at line 314 of file voxelrgba_def.h.
|
inline |
Definition at line 326 of file voxelrgba_def.h.
|
inline |
Definition at line 338 of file voxelrgba_def.h.
|
inline |
Definition at line 351 of file voxelrgba_def.h.
|
inline |
Definition at line 888 of file voxelrgba_def.h.
Definition at line 186 of file voxelrgba_def.h.
References alpha(), carto::VoxelRGB::blue(), blue(), carto::VoxelRGB::green(), green(), carto::VoxelRGB::red(), and red().
|
inline |
Definition at line 234 of file voxelrgba_def.h.
References alpha(), carto::VoxelRGB::blue(), blue(), carto::VoxelRGB::green(), green(), carto::VoxelRGB::red(), and red().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 127 of file voxelrgba_def.h.
References alpha(), carto::VoxelRGB::blue(), blue(), carto::VoxelRGB::green(), green(), carto::VoxelRGB::red(), and red().
|
inline |
|
inline |
Definition at line 114 of file voxelrgba_decl.h.
Referenced by operator*=(), carto::VoxelRGB::operator+=(), operator+=(), carto::VoxelRGB::operator-=(), operator-=(), operator/=(), carto::VoxelRGB::operator=(), operator=(), carto::VoxelRGB::VoxelRGB(), and VoxelRGBA().
|
inline |
Definition at line 118 of file voxelrgba_decl.h.