Abstract coordinate system. More...
#include <vcsl_coordinate_system.h>

Public Member Functions | |
| vcsl_coordinate_system (vcsl_coordinate_system const &c) | |
| ~vcsl_coordinate_system () override=default | |
| int | dimensionality () const |
| Number of axes. More... | |
| bool | valid_axis (unsigned int i) const |
| Is ‘i’ an index on an axis ?. More... | |
| vcsl_axis_sptr | axis (int i) const |
| Return the axis ‘i’. More... | |
| virtual const vcsl_spatial * | cast_to_spatial () const |
| vnl_vector< double > | from_cs_to_standard_units (const vnl_vector< double > &v) const |
| Convert ‘v’, expressed with cs units, to standard units. More... | |
| vnl_vector< double > | from_standard_units_to_cs (const vnl_vector< double > &v) const |
| Convert ‘v’, expressed with standard units, to cs units. More... | |
| void | ref () |
| void | unref () |
| long | get_references () const |
| bool | is_referenced () const |
Protected Member Functions | |
| vcsl_coordinate_system ()=default | |
Protected Attributes | |
| std::vector< vcsl_axis_sptr > | axes_ |
| List of axes. More... | |
Abstract coordinate system.
Definition at line 28 of file vcsl_coordinate_system.h.
|
protecteddefault |
|
inline |
Definition at line 41 of file vcsl_coordinate_system.h.
|
overridedefault |
| vcsl_axis_sptr vcsl_coordinate_system::axis | ( | int | i | ) | const |
Return the axis ‘i’.
REQUIRE: valid_axis(i)
Definition at line 14 of file vcsl_coordinate_system.cxx.
|
inlinevirtual |
Reimplemented in vcsl_spatial.
Definition at line 64 of file vcsl_coordinate_system.h.
|
inline |
Number of axes.
Definition at line 52 of file vcsl_coordinate_system.h.
| vnl_vector< double > vcsl_coordinate_system::from_cs_to_standard_units | ( | const vnl_vector< double > & | v | ) | const |
Convert ‘v’, expressed with cs units, to standard units.
REQUIRE: v.size()==dimensionality()
Definition at line 27 of file vcsl_coordinate_system.cxx.
| vnl_vector< double > vcsl_coordinate_system::from_standard_units_to_cs | ( | const vnl_vector< double > & | v | ) | const |
Convert ‘v’, expressed with standard units, to cs units.
REQUIRE: v.size()==dimensionality()
Definition at line 44 of file vcsl_coordinate_system.cxx.
|
inline |
Is ‘i’ an index on an axis ?.
Definition at line 55 of file vcsl_coordinate_system.h.
|
protected |
List of axes.
Definition at line 86 of file vcsl_coordinate_system.h.
1.8.15