$search
#include <vlrImage.h>
Classes | |
struct | complex |
struct | dcomplex |
Public Types | |
enum | borderMode_t { BOMO_IGNORE = 0, BOMO_CONSTANT, BOMO_REPLICATE, BOMO_REFLECT, BOMO_WRAP } |
enum | colorSpace_t { CS_GRAY, CS_RGB, CS_CMY, CS_CMYK, CS_HSV, CS_HLS, CS_XYZ, CS_LUV, CS_LAB, CS_YCR, CS_YCC, CS_YUV, CS_RGB_C } |
enum | padMode_t { PAD_LEFT, PAD_SYM, PAD_RIGHT, PAD_TOP, PAD_BOTTOM, PAD_CUSTOM } |
typedef std::multimap < uint32_t, TagBase * > ::const_iterator | tagCIter |
Public Member Functions | |
TagLine * | addLine (const float x0, const float y0, const float x1, const float y1) |
TagLine * | addLine (const float x0, const float y0, const float x1, const float y1, const std::string &label) |
TagLine * | addLine (const float x0, const float y0, const float x1, const float y1, const std::string &label, const float r, const float g, const float b, const float a) |
TagPoint * | addPoint (const float x, const float y) |
TagPoint * | addPoint (const float x, const float y, const std::string &label) |
TagPoint * | addPoint (const float x, const float y, const std::string &label, const float r, const float g, const float b, const float a) |
TagBase * | addTag (TagBase *tag) |
uint32_t | channels () const |
void | clearTags () |
colorSpace_t | colorSpace () const |
uint32_t | height () const |
void | lines (std::pair< tagCIter, tagCIter > &range) |
bool | manageBuffer () const |
const std::string & | name () const |
uint32_t | numElements () const |
uint32_t | paddedWidth () const |
void | points (std::pair< tagCIter, tagCIter > &range) |
void | setName (const std::string &name) |
void | setTimeStamp (double time_stamp) |
double | timeStamp () const |
const std::string & | typeName () const |
uint32_t | width () const |
virtual | ~ImageBase () |
Protected Member Functions | |
ImageBase (uint32_t width, uint32_t height, uint32_t channels, uint32_t padded_width, bool manage_buffer, colorSpace_t colorSpace) | |
Protected Attributes | |
uint32_t | channels_ |
colorSpace_t | color_space_ |
std::string | description_ |
uint32_t | height_ |
bool | manage_buffer_ |
std::string | name_ |
uint32_t | num_elements_ |
uint32_t | padded_width_ |
std::multimap< uint32_t, TagBase * > | tags_ |
double | time_stamp_ |
std::string | type_name_ |
uint32_t | width_ |
Definition at line 47 of file vlrImage.h.
typedef std::multimap<uint32_t, TagBase*>::const_iterator vlr::ImageBase::tagCIter |
Definition at line 73 of file vlrImage.h.
Definition at line 53 of file vlrImage.h.
CS_GRAY | |
CS_RGB | |
CS_CMY | |
CS_CMYK | |
CS_HSV | |
CS_HLS | |
CS_XYZ | |
CS_LUV | |
CS_LAB | |
CS_YCR | |
CS_YCC | |
CS_YUV | |
CS_RGB_C |
Definition at line 56 of file vlrImage.h.
Definition at line 54 of file vlrImage.h.
vlr::ImageBase::ImageBase | ( | uint32_t | width, | |
uint32_t | height, | |||
uint32_t | channels, | |||
uint32_t | padded_width, | |||
bool | manage_buffer, | |||
colorSpace_t | colorSpace | |||
) | [inline, protected] |
Definition at line 76 of file vlrImage.h.
virtual vlr::ImageBase::~ImageBase | ( | ) | [inline, virtual] |
Definition at line 91 of file vlrImage.h.
TagLine* vlr::ImageBase::addLine | ( | const float | x0, | |
const float | y0, | |||
const float | x1, | |||
const float | y1 | |||
) | [inline] |
Definition at line 145 of file vlrImage.h.
TagLine* vlr::ImageBase::addLine | ( | const float | x0, | |
const float | y0, | |||
const float | x1, | |||
const float | y1, | |||
const std::string & | label | |||
) | [inline] |
Definition at line 138 of file vlrImage.h.
TagLine* vlr::ImageBase::addLine | ( | const float | x0, | |
const float | y0, | |||
const float | x1, | |||
const float | y1, | |||
const std::string & | label, | |||
const float | r, | |||
const float | g, | |||
const float | b, | |||
const float | a | |||
) | [inline] |
Definition at line 130 of file vlrImage.h.
TagPoint* vlr::ImageBase::addPoint | ( | const float | x, | |
const float | y | |||
) | [inline] |
Definition at line 120 of file vlrImage.h.
TagPoint* vlr::ImageBase::addPoint | ( | const float | x, | |
const float | y, | |||
const std::string & | label | |||
) | [inline] |
Definition at line 114 of file vlrImage.h.
TagPoint* vlr::ImageBase::addPoint | ( | const float | x, | |
const float | y, | |||
const std::string & | label, | |||
const float | r, | |||
const float | g, | |||
const float | b, | |||
const float | a | |||
) | [inline] |
Definition at line 107 of file vlrImage.h.
Definition at line 155 of file vlrImage.h.
uint32_t vlr::ImageBase::channels | ( | ) | const [inline] |
Definition at line 96 of file vlrImage.h.
void vlr::ImageBase::clearTags | ( | ) | [inline] |
Definition at line 160 of file vlrImage.h.
colorSpace_t vlr::ImageBase::colorSpace | ( | ) | const [inline] |
Definition at line 100 of file vlrImage.h.
uint32_t vlr::ImageBase::height | ( | ) | const [inline] |
Definition at line 95 of file vlrImage.h.
Definition at line 151 of file vlrImage.h.
bool vlr::ImageBase::manageBuffer | ( | ) | const [inline] |
Definition at line 98 of file vlrImage.h.
const std::string& vlr::ImageBase::name | ( | ) | const [inline] |
Definition at line 103 of file vlrImage.h.
uint32_t vlr::ImageBase::numElements | ( | ) | const [inline] |
Definition at line 99 of file vlrImage.h.
uint32_t vlr::ImageBase::paddedWidth | ( | ) | const [inline] |
Definition at line 97 of file vlrImage.h.
Definition at line 126 of file vlrImage.h.
void vlr::ImageBase::setName | ( | const std::string & | name | ) | [inline] |
Definition at line 104 of file vlrImage.h.
void vlr::ImageBase::setTimeStamp | ( | double | time_stamp | ) | [inline] |
Definition at line 102 of file vlrImage.h.
double vlr::ImageBase::timeStamp | ( | ) | const [inline] |
Definition at line 101 of file vlrImage.h.
const std::string& vlr::ImageBase::typeName | ( | ) | const [inline] |
Definition at line 105 of file vlrImage.h.
uint32_t vlr::ImageBase::width | ( | ) | const [inline] |
Definition at line 94 of file vlrImage.h.
uint32_t vlr::ImageBase::channels_ [protected] |
Definition at line 170 of file vlrImage.h.
colorSpace_t vlr::ImageBase::color_space_ [protected] |
Definition at line 174 of file vlrImage.h.
std::string vlr::ImageBase::description_ [protected] |
Definition at line 178 of file vlrImage.h.
uint32_t vlr::ImageBase::height_ [protected] |
Definition at line 169 of file vlrImage.h.
bool vlr::ImageBase::manage_buffer_ [protected] |
Definition at line 173 of file vlrImage.h.
std::string vlr::ImageBase::name_ [protected] |
Definition at line 177 of file vlrImage.h.
uint32_t vlr::ImageBase::num_elements_ [protected] |
Definition at line 172 of file vlrImage.h.
uint32_t vlr::ImageBase::padded_width_ [protected] |
Definition at line 171 of file vlrImage.h.
std::multimap<uint32_t, TagBase*> vlr::ImageBase::tags_ [protected] |
Definition at line 180 of file vlrImage.h.
double vlr::ImageBase::time_stamp_ [protected] |
Definition at line 175 of file vlrImage.h.
std::string vlr::ImageBase::type_name_ [protected] |
Definition at line 181 of file vlrImage.h.
uint32_t vlr::ImageBase::width_ [protected] |
Definition at line 168 of file vlrImage.h.