Version: 1.0
Classes | Public Member Functions | Public Attributes | List of all members
pixel_set Struct Reference

#include <pixel_set.h>

Classes

struct  find_pixel
 

Public Member Functions

 pixel_set ()
 
 pixel_set (const YAML::Node &ps_node)
 
 pixel_set (std::initializer_list< pixel > il, std::vector< uint8_t > shifts)
 
 pixel_set (std::initializer_list< pixel > il)
 
void SetShifts (std::vector< uint8_t > shifts)
 
auto & operator[] (size_t i)
 
auto & operator[] (size_t i) const
 
auto & operator[] (const std::string &s)
 
auto & operator[] (const std::string &s) const
 
auto size () const
 
auto begin ()
 
auto end ()
 
auto begin () const
 
auto end () const
 
int GetShiftX () const
 
YAML::Node Serialize () const
 
void Deserialize (const YAML::Node &node)
 

Public Attributes

std::vector< pixelpixels_
 
std::vector< uint8_t > shifts_
 

Detailed Description

Definition at line 87 of file pixel_set.h.

Constructor & Destructor Documentation

◆ pixel_set() [1/4]

pixel_set::pixel_set ( )
inline

Definition at line 91 of file pixel_set.h.

◆ pixel_set() [2/4]

pixel_set::pixel_set ( const YAML::Node &  ps_node)
inline

Definition at line 93 of file pixel_set.h.

◆ pixel_set() [3/4]

pixel_set::pixel_set ( std::initializer_list< pixel il,
std::vector< uint8_t >  shifts 
)
inline

Definition at line 96 of file pixel_set.h.

◆ pixel_set() [4/4]

pixel_set::pixel_set ( std::initializer_list< pixel il)
inline

Definition at line 98 of file pixel_set.h.

Member Function Documentation

◆ begin() [1/2]

auto pixel_set::begin ( )
inline

Definition at line 128 of file pixel_set.h.

◆ begin() [2/2]

auto pixel_set::begin ( ) const
inline

Definition at line 130 of file pixel_set.h.

◆ Deserialize()

void pixel_set::Deserialize ( const YAML::Node &  node)
inline

Definition at line 149 of file pixel_set.h.

◆ end() [1/2]

auto pixel_set::end ( )
inline

Definition at line 129 of file pixel_set.h.

◆ end() [2/2]

auto pixel_set::end ( ) const
inline

Definition at line 131 of file pixel_set.h.

◆ GetShiftX()

int pixel_set::GetShiftX ( ) const
inline

Definition at line 134 of file pixel_set.h.

◆ operator[]() [1/4]

auto& pixel_set::operator[] ( const std::string &  s)
inline

Definition at line 123 of file pixel_set.h.

◆ operator[]() [2/4]

auto& pixel_set::operator[] ( const std::string &  s) const
inline

Definition at line 124 of file pixel_set.h.

◆ operator[]() [3/4]

auto& pixel_set::operator[] ( size_t  i)
inline

Definition at line 109 of file pixel_set.h.

◆ operator[]() [4/4]

auto& pixel_set::operator[] ( size_t  i) const
inline

Definition at line 110 of file pixel_set.h.

◆ Serialize()

YAML::Node pixel_set::Serialize ( ) const
inline

Definition at line 136 of file pixel_set.h.

◆ SetShifts()

void pixel_set::SetShifts ( std::vector< uint8_t >  shifts)
inline

Definition at line 104 of file pixel_set.h.

◆ size()

auto pixel_set::size ( ) const
inline

Definition at line 126 of file pixel_set.h.

Member Data Documentation

◆ pixels_

std::vector<pixel> pixel_set::pixels_

Definition at line 88 of file pixel_set.h.

◆ shifts_

std::vector<uint8_t> pixel_set::shifts_

Definition at line 89 of file pixel_set.h.


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