PrecedenceSet contains PrecedenceRules, indexed by the area they affect.
More...
#include <precedence.h>
|
| PrecedenceSet () |
|
| PrecedenceSet (adore::mad::AFeed< PrecedenceRule > *ruleFeed) |
|
void | update (double radius, double x, double y) |
|
bool | readFile (const std::string &filename) |
| reads a set of precedence rules from a file More...
|
|
PrecedenceRule * | parseRule (const std::string &s, bool use_UTM_coordinates=true) |
| creates a precedence rule from string and adds it to container. More...
|
|
void | insertRule (const PrecedenceRule &rule) |
| inserts a copy of the given rule into container More...
|
|
void | init (PrecedenceSet *other) |
| initialize by copying entries More...
|
|
bool | contains (const PrecedenceRule &rule) |
| check whether a rule is contained More...
|
|
void | eraseRule (PrecedenceRule *rule) |
| removes a rule from the container More...
|
|
itRegion2PrecedenceRT | getRulesInRegion (double x0, double y0, double x1, double y1) const |
| returns a subset of rules in a region More...
|
|
itRegion2PrecedenceRT | getAllRulesIt () const |
| returns all rules More...
|
|
Region2PrecedenceRT * | getAllRules () |
| returns all rules More...
|
|
itRegion2PrecedenceRT | getRulesOutsideRegion (double x0, double y0, double x1, double y1) |
| returns a subset of rules outside of a region More...
|
|
void | refocus (double x0, double y0, double x1, double y1) |
| removes all rules outside of a region More...
|
|
PrecedenceSet contains PrecedenceRules, indexed by the area they affect.
◆ idxRegion2Precedence
◆ itRegion2PrecedenceRT
◆ Region2PrecedenceRT
◆ PrecedenceSet() [1/2]
adore::env::PrecedenceSet::PrecedenceSet |
( |
| ) |
|
|
inline |
◆ PrecedenceSet() [2/2]
◆ contains()
bool adore::env::PrecedenceSet::contains |
( |
const PrecedenceRule & |
rule | ) |
|
|
inline |
check whether a rule is contained
◆ eraseRule()
removes a rule from the container
◆ getAllRules()
◆ getAllRulesIt()
◆ getRulesInRegion()
itRegion2PrecedenceRT adore::env::PrecedenceSet::getRulesInRegion |
( |
double |
x0, |
|
|
double |
y0, |
|
|
double |
x1, |
|
|
double |
y1 |
|
) |
| const |
|
inline |
returns a subset of rules in a region
◆ getRulesOutsideRegion()
itRegion2PrecedenceRT adore::env::PrecedenceSet::getRulesOutsideRegion |
( |
double |
x0, |
|
|
double |
y0, |
|
|
double |
x1, |
|
|
double |
y1 |
|
) |
| |
|
inline |
returns a subset of rules outside of a region
◆ init()
initialize by copying entries
◆ insertRule()
void adore::env::PrecedenceSet::insertRule |
( |
const PrecedenceRule & |
rule | ) |
|
|
inline |
inserts a copy of the given rule into container
◆ parseRule()
PrecedenceRule* adore::env::PrecedenceSet::parseRule |
( |
const std::string & |
s, |
|
|
bool |
use_UTM_coordinates = true |
|
) |
| |
|
inline |
creates a precedence rule from string and adds it to container.
◆ readFile()
bool adore::env::PrecedenceSet::readFile |
( |
const std::string & |
filename | ) |
|
|
inline |
reads a set of precedence rules from a file
◆ refocus()
void adore::env::PrecedenceSet::refocus |
( |
double |
x0, |
|
|
double |
y0, |
|
|
double |
x1, |
|
|
double |
y1 |
|
) |
| |
|
inline |
removes all rules outside of a region
◆ update()
void adore::env::PrecedenceSet::update |
( |
double |
radius, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
|
inline |
◆ precedenceRT_
◆ ruleFeed_
The documentation for this class was generated from the following file:
- /home/fascar/temp/adore/libadore/libadore/adore/env/include/adore/env/map/precedence.h