|
| PointCloud () |
| PointCloud, default constructor. More...
|
|
template<class T1 > |
| PointCloud (const PointCloud< T1 > &alt) |
| PointCloud, copy constructor. More...
|
|
virtual void | resize (size_t width, size_t height) |
| Resize the PointCloud. More...
|
|
virtual void | resize (size_t width) |
| Resize the PointCloud. More...
|
|
const char * | getRawData () const override |
| Get the pointer to the data. More...
|
|
size_t | wireSizeBytes () const override |
| Get the size of the data + the header in terms of number of bytes. More...
|
|
size_t | dataSizeBytes () const override |
| Get the size of the data in terms of number of bytes. More...
|
|
size_t | size () const override |
|
T & | operator() (size_t u, size_t v) |
| Obtain the point given by the (column, row) coordinates. More...
|
|
const T & | operator() (size_t u, size_t v) const |
| Obtain the point given by the (column, row) coordinates (const version). More...
|
|
T & | operator() (size_t i) |
| Obtain the point given by the index. More...
|
|
const T & | operator() (size_t i) const |
| Obtain the point given by the index (const version). More...
|
|
template<class T1 > |
const PointCloud< T > & | operator= (const PointCloud< T1 > &alt) |
| Assignment operator. More...
|
|
PointCloud< T > & | operator+= (const PointCloud< T > &rhs) |
| Concatenate a point cloud to the current cloud. More...
|
|
const PointCloud< T > | operator+ (const PointCloud< T > &rhs) |
| Concatenate a point cloud to another cloud. More...
|
|
void | push_back (const T &pt) |
| Insert a new point in the cloud, at the end of the container. More...
|
|
virtual void | clear () |
| Clear the data. More...
|
|
virtual void | fromExternalPC (const char *source, int type, size_t width, size_t height, bool isDense=true) |
| Copy the content of an external PointCloud. More...
|
|
template<class T1 > |
void | copy (const PointCloud< T1 > &alt) |
| Copy operator. More...
|
|
bool | read (yarp::os::ConnectionReader &connection) override |
| Read this object from a network connection. More...
|
|
bool | write (yarp::os::ConnectionWriter &writer) const override |
| Write this object to a network connection. More...
|
|
virtual std::string | toString (int precision=-1, int width=-1) const |
|
yarp::os::Bottle | toBottle () const |
| Generate a yarp::os::Bottle filled with the PointCloud data. More...
|
|
bool | fromBottle (const yarp::os::Bottle &bt) |
| Populate the PointCloud from a yarp::os::Bottle. More...
|
|
int | getBottleTag () const override |
|
virtual | ~PointCloudBase ()=default |
|
virtual size_t | wireSizeBytes () const =0 |
| Get the size of the data + the header in terms of number of bytes. More...
|
|
virtual size_t | dataSizeBytes () const =0 |
| Get the size of the data in terms of number of bytes. More...
|
|
virtual size_t | size () const =0 |
|
virtual const char * | getRawData () const =0 |
| Get the pointer to the data. More...
|
|
bool | read (yarp::os::ConnectionReader &connection) override=0 |
| Read this object from a network connection. More...
|
|
bool | write (yarp::os::ConnectionWriter &writer) const override=0 |
| Write this object to a network connection. More...
|
|
virtual int | getBottleTag () const =0 |
|
virtual size_t | height () const |
|
virtual size_t | width () const |
|
virtual int | getPointType () const |
|
yarp::os::Type | getType () const override |
|
virtual bool | isOrganized () const |
|
virtual bool | isDense () const |
|
bool | read (ConnectionReader &reader) override=0 |
| Read this object from a network connection. More...
|
|
bool | write (ConnectionWriter &writer) const override=0 |
| Write this object to a network connection. More...
|
|
virtual Type | getType () const |
|
virtual | ~PortReader () |
| Destructor. More...
|
|
virtual bool | read (ConnectionReader &reader)=0 |
| Read this object from a network connection. More...
|
|
virtual Type | getReadType () const |
|
virtual | ~PortWriter () |
| Destructor. More...
|
|
virtual bool | write (ConnectionWriter &writer) const =0 |
| Write this object to a network connection. More...
|
|
virtual void | onCompletion () const |
| This is called when the port has finished all writing operations. More...
|
|
virtual void | onCommencement () const |
| This is called when the port is about to begin writing operations. More...
|
|
virtual yarp::os::Type | getWriteType () const |
|
template<class T>
class yarp::sig::PointCloud< T >
The PointCloud class.
Definition at line 21 of file PointCloud.h.
Write this object to a network connection.
Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write
- Parameters
-
writer | an interface to the network connection for writing |
- Returns
- true iff the object is successfully written
Implements yarp::sig::PointCloudBase.
Definition at line 311 of file PointCloud.h.