RMF
RMF::decorator::AlternativesConst Class Reference

#include <RMF/decorator/alternatives.h>

Inheritance diagram for RMF::decorator::AlternativesConst:

Public Member Functions

NodeConstHandle get_alternative (RepresentationType type, double resolution) const
NodeConstHandles get_alternatives (RepresentationType type) const
RepresentationType get_representation_type (NodeConstHandle id) const
RepresentationType get_representation_type (NodeID id) const

Static Public Member Functions

static std::string get_decorator_type_name ()

Additional Inherited Members

Protected Member Functions inherited from RMF::Decorator
 Decorator (NodeConstHandle handle)
NodeHandle get_node () const

Detailed Description

See also Alternatives and AlternativesFactory.

Definition at line 27 of file alternatives.h.

Member Function Documentation

◆ get_alternative()

NodeConstHandle RMF::decorator::AlternativesConst::get_alternative ( RepresentationType type,
double resolution ) const

Get the alternative root that best matches the criteria.

◆ get_alternatives()

NodeConstHandles RMF::decorator::AlternativesConst::get_alternatives ( RepresentationType type) const

Get all the alternatives (including this node).

You can use get_resolution() and get_representation_type() to get info about them.

◆ get_decorator_type_name()

std::string RMF::decorator::AlternativesConst::get_decorator_type_name ( )
static

Definition at line 55 of file alternatives.h.

◆ get_representation_type() [1/2]

RepresentationType RMF::decorator::AlternativesConst::get_representation_type ( NodeConstHandle id) const

Definition at line 45 of file alternatives.h.

◆ get_representation_type() [2/2]

RepresentationType RMF::decorator::AlternativesConst::get_representation_type ( NodeID id) const

Get the type of the representation with the given node id.

Here is the call graph for this function:

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