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

#include <yarp/sig/ImageLayer.h>

+ Inheritance diagram for yarp::sig::ImageLayer:

Public Member Functions

 ImageLayer ()=default
 
 ImageLayer (const yarp::sig::FlexImage &img, bool ena=true, yarp::sig::ImageColorKey ckey=yarp::sig::ImageColorKey(), yarp::sig::ImageAlphaData alph=yarp::sig::ImageAlphaData(), bool compress=true, int off_x=0, int off_y=0)
 
- Public Member Functions inherited from yarp::sig::ImageLayerData
 ImageLayerData ()=default
 
 ImageLayerData (const bool enable, const yarp::sig::FlexImage &layer, const yarp::sig::ImageColorKey &colorkey, const yarp::sig::ImageAlphaData &alpha, const bool can_be_compressed, const std::int32_t offset_x, const std::int32_t offset_y)
 
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::ImageLayerData
typedef yarp::os::idl::Unwrapped< ImageLayerData > 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::ImageLayerData
bool enable {true}
 
yarp::sig::FlexImage layer {}
 
yarp::sig::ImageColorKey colorkey {}
 
yarp::sig::ImageAlphaData alpha {}
 
bool can_be_compressed {true}
 
std::int32_t offset_x {0}
 
std::int32_t offset_y {0}
 

Detailed Description

Definition at line 15 of file ImageLayer.h.

Constructor & Destructor Documentation

◆ ImageLayer() [1/2]

yarp::sig::ImageLayer::ImageLayer ( )
default

◆ ImageLayer() [2/2]

yarp::sig::ImageLayer::ImageLayer ( const yarp::sig::FlexImage &  img,
bool  ena = true,
yarp::sig::ImageColorKey  ckey = yarp::sig::ImageColorKey(),
yarp::sig::ImageAlphaData  alph = yarp::sig::ImageAlphaData(),
bool  compress = true,
int  off_x = 0,
int  off_y = 0 
)
inline

Definition at line 19 of file ImageLayer.h.


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