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 (NodeID id) const
 
RepresentationType get_representation_type (NodeConstHandle 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

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

Get the alternative root that best matches the criteria.

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.

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

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


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