Struct FrameEvent
Defined in File frame.hpp
Inheritance Relationships
Base Type
public caer_frame_event
Struct Documentation
-
struct FrameEvent : public caer_frame_event
Assignment/Move Constructors/Operators cannot be used with Frame Events due to their particular memory layout that is not entirely known to the compiler (dynamic pixel array). As such those constructors and operators are disabled. Please use caerGenericEventCopy() to copy frame events!
Public Types
-
enum class colorChannels
Values:
-
enumerator GRAYSCALE
Grayscale, one channel only.
-
enumerator RGB
Red Green Blue, 3 color channels.
-
enumerator RGBA
Red Green Blue Alpha, 3 color channels plus transparency.
-
enumerator GRAYSCALE
-
enum class colorFilter
Values:
-
enumerator MONO
No color filter present, all light passes.
-
enumerator RGBG
Standard Bayer color filter, 1 red 2 green 1 blue. Variation 1.
-
enumerator GRGB
Standard Bayer color filter, 1 red 2 green 1 blue. Variation 2.
-
enumerator GBGR
Standard Bayer color filter, 1 red 2 green 1 blue. Variation 3.
-
enumerator BGRG
Standard Bayer color filter, 1 red 2 green 1 blue. Variation 4.
-
enumerator RGBW
Modified Bayer color filter, with white (pass all light) instead of extra green. Variation 1.
-
enumerator GRWB
Modified Bayer color filter, with white (pass all light) instead of extra green. Variation 2.
-
enumerator WBGR
Modified Bayer color filter, with white (pass all light) instead of extra green. Variation 3.
-
enumerator BWRG
Modified Bayer color filter, with white (pass all light) instead of extra green. Variation 4.
-
enumerator MONO
Public Functions
-
FrameEvent() = default
-
FrameEvent(const FrameEvent &rhs) = delete
-
FrameEvent &operator=(const FrameEvent &rhs) = delete
-
FrameEvent(FrameEvent &&rhs) = delete
-
FrameEvent &operator=(FrameEvent &&rhs) = delete
-
inline int64_t getTSStartOfFrame64(const EventPacket &packet) const noexcept
-
inline int64_t getTSEndOfFrame64(const EventPacket &packet) const noexcept
-
inline int64_t getTSStartOfExposure64(const EventPacket &packet) const noexcept
-
inline int64_t getTSEndOfExposure64(const EventPacket &packet) const noexcept
-
inline int64_t getTimestamp64(const EventPacket &packet) const noexcept
-
inline bool isValid() const noexcept
-
inline void validate(EventPacket &packet) noexcept
-
inline void invalidate(EventPacket &packet) noexcept
-
inline colorFilter getColorFilter() const noexcept
-
inline void setColorFilter(colorFilter cFilter) noexcept
-
inline colorChannels getChannelNumber() const noexcept
-
inline void setLengthXLengthYChannelNumber(int32_t lenX, int32_t lenY, colorChannels cNumber, const EventPacket &packet)
-
inline size_t getPixelsMaxIndex() const noexcept
-
inline size_t getPixelsSize() const noexcept
-
enum class colorChannels