Spatial coordinate system transformation graph. More...
#include <vcsl_graph.h>

Public Member Functions | |
| vcsl_graph ()=default | |
| vcsl_graph (vcsl_graph const &x) | |
| ~vcsl_graph () override=default | |
| unsigned int | count () const |
| Number of coordinate systems. More... | |
| bool | has (const vcsl_spatial_sptr &cs) const |
| Has ‘this’ ‘cs’ as node ?. More... | |
| bool | valid_index (unsigned int index) const |
| Is ‘index’ valid in the list of the spatial coordinate systems ?. More... | |
| vcsl_spatial_sptr | item (unsigned int index) const |
| Spatial coordinate system number ‘index’. More... | |
| void | put (const vcsl_spatial_sptr &cs) |
| Add ‘cs’ in ‘this’. More... | |
| void | remove (const vcsl_spatial_sptr &cs) |
| Remove ‘cs’ from ‘this’. More... | |
| void | init_vertices () const |
| Set the flag ‘reached’ to false for each spatial coordinate system. More... | |
| void | ref () |
| void | unref () |
| long | get_references () const |
| bool | is_referenced () const |
Protected Attributes | |
| std::vector< vcsl_spatial_sptr > | vertices_ |
| Vertices of the graph: all the spatial coordinate systems. More... | |
Spatial coordinate system transformation graph.
Graph where nodes are spatial coordinate systems and arrows are transformations. Only the nodes are in the graph class. The transformations are in the spatial coordinates systems
Definition at line 30 of file vcsl_graph.h.
|
default |
|
inline |
Definition at line 42 of file vcsl_graph.h.
|
overridedefault |
|
inline |
Number of coordinate systems.
Definition at line 52 of file vcsl_graph.h.
| bool vcsl_graph::has | ( | const vcsl_spatial_sptr & | cs | ) | const |
Has ‘this’ ‘cs’ as node ?.
Definition at line 12 of file vcsl_graph.cxx.
| void vcsl_graph::init_vertices | ( | ) | const |
Set the flag ‘reached’ to false for each spatial coordinate system.
Used by the search path algorithm
Definition at line 67 of file vcsl_graph.cxx.
| vcsl_spatial_sptr vcsl_graph::item | ( | unsigned int | index | ) | const |
Spatial coordinate system number ‘index’.
REQUIRE: valid_index(index)
Definition at line 29 of file vcsl_graph.cxx.
| void vcsl_graph::put | ( | const vcsl_spatial_sptr & | cs | ) |
| void vcsl_graph::remove | ( | const vcsl_spatial_sptr & | cs | ) |
|
inline |
Is ‘index’ valid in the list of the spatial coordinate systems ?.
Definition at line 62 of file vcsl_graph.h.
|
protected |
Vertices of the graph: all the spatial coordinate systems.
Definition at line 91 of file vcsl_graph.h.
1.8.15