YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::sig::ImageColorKey Class Reference

#include <yarp/sig/ImageColorKey.h>

+ Inheritance diagram for yarp::sig::ImageColorKey:

Public Member Functions

 ImageColorKey ()=default
 
void setValueAsPixelRgb (yarp::sig::PixelRgb v)
 
yarp::sig::PixelRgb getValueAsPixelRgb ()
 
- Public Member Functions inherited from yarp::sig::ImageColorKeyData
 ImageColorKeyData ()=default
 
 ImageColorKeyData (const bool enable, const std::int32_t value)
 
bool read (yarp::os::idl::WireReader &reader) override
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection.
 
bool write (const yarp::os::idl::WireWriter &writer) const override
 
bool write (yarp::os::ConnectionWriter &connection) const override
 Write this object to a network connection.
 
std::string toString () const
 
- Public Member Functions inherited from yarp::os::idl::WirePortable
virtual bool readBare (yarp::os::ConnectionReader &reader)
 
virtual bool writeBare (yarp::os::ConnectionWriter &writer) const
 
virtual bool readBottle (yarp::os::ConnectionReader &reader)
 
virtual bool writeBottle (yarp::os::ConnectionWriter &writer) const
 
- Public Member Functions inherited from yarp::os::Portable
virtual Type getType () const
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor.
 
virtual Type getReadType () const
 
- Public Member Functions inherited from yarp::os::PortWriter
virtual ~PortWriter ()
 Destructor.
 
virtual void onCompletion () const
 This is called when the port has finished all writing operations.
 
virtual void onCommencement () const
 This is called when the port is about to begin writing operations.
 
virtual yarp::os::Type getWriteType () const
 

Additional Inherited Members

- Public Types inherited from yarp::sig::ImageColorKeyData
typedef yarp::os::idl::Unwrapped< ImageColorKeyData > unwrapped
 
- Static Public Member Functions inherited from yarp::os::Portable
static bool copyPortable (const PortWriter &writer, PortReader &reader)
 Copy one portable to another, via writing and reading.
 
- Public Attributes inherited from yarp::sig::ImageColorKeyData
bool enable {true}
 
std::int32_t value {0}
 

Detailed Description

Definition at line 14 of file ImageColorKey.h.

Constructor & Destructor Documentation

◆ ImageColorKey()

yarp::sig::ImageColorKey::ImageColorKey ( )
default

Member Function Documentation

◆ getValueAsPixelRgb()

yarp::sig::PixelRgb yarp::sig::ImageColorKey::getValueAsPixelRgb ( )
inline

Definition at line 24 of file ImageColorKey.h.

◆ setValueAsPixelRgb()

void yarp::sig::ImageColorKey::setValueAsPixelRgb ( yarp::sig::PixelRgb  v)
inline

Definition at line 20 of file ImageColorKey.h.


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