2 #ifndef vcsl_coordinate_system_h_ 3 #define vcsl_coordinate_system_h_ 22 # include <vcl_msvc_warnings.h> 86 std::vector<vcsl_axis_sptr>
axes_;
89 #endif // vcsl_coordinate_system_h_ int dimensionality() const
Number of axes.
Abstract coordinate system.
vnl_vector< double > from_standard_units_to_cs(const vnl_vector< double > &v) const
Convert ‘v’, expressed with standard units, to cs units.
A spatial coordinate system.
~vcsl_coordinate_system() override=default
vnl_vector< double > from_cs_to_standard_units(const vnl_vector< double > &v) const
Convert ‘v’, expressed with cs units, to standard units.
vcsl_axis_sptr axis(int i) const
Return the axis ‘i’.
virtual const vcsl_spatial * cast_to_spatial() const
vcsl_coordinate_system()=default
std::vector< vcsl_axis_sptr > axes_
List of axes.
vcsl_coordinate_system(vcsl_coordinate_system const &c)
bool valid_axis(unsigned int i) const
Is ‘i’ an index on an axis ?.