struct mrpt::graphs::detail::TNodeAnnotations

Abstract class from which NodeAnnotations related classes can be implemented.

#include <mrpt/graphs/TNodeAnnotations.h>

struct TNodeAnnotations
{
    //
methods

    TNodeAnnotations* getCopyOfAnnots() const;
    bool setAnnots(const self_t& other);
};

// direct descendants

struct TMRSlamNodeAnnotations;
struct TNodeAnnotationsEmpty;

Methods

TNodeAnnotations* getCopyOfAnnots() const

Create and return a copy of the TNodeAnnotations object at hand.

Caller is responsible of afterwards deleting the object which is allocaed in heap

bool setAnnots(const self_t& other)

Set the properties of the current TNodeAnnotations object.

Returns:

True if setting the annotations part is successful.