vcsl_coordinate_system Class Reference

#include <vcsl_coordinate_system.h>

Inheritance diagram for vcsl_coordinate_system:

vbl_ref_count vcsl_cartesian vcsl_spatial vcsl_cartesian_2d vcsl_cartesian_3d vcsl_cylindrical vcsl_geographic vcsl_polar vcsl_spherical vcsl_geocentric vcsl_geodetic vcsl_lambertian vcsl_utm List of all members.

Detailed Description

Abstract coordinate system.

Definition at line 25 of file vcsl_coordinate_system.h.


Public Member Functions

 vcsl_coordinate_system (vcsl_coordinate_system const &c)
virtual ~vcsl_coordinate_system ()
int dimensionality () const
 Number of axes.
bool valid_axis (unsigned int i) const
 Is `i' an index on an axis ?.
vcsl_axis_sptr axis (int i) const
 Return the axis `i'.
virtual const vcsl_spatialcast_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.
vnl_vector< double > from_standard_units_to_cs (const vnl_vector< double > &v) const
 Convert `v', expressed with standard units, to cs units.
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Protected Member Functions

 vcsl_coordinate_system ()

Protected Attributes

vcl_vector< vcsl_axis_sptraxes_
 List of axes.

Constructor & Destructor Documentation

vcsl_coordinate_system::vcsl_coordinate_system (  )  [inline, protected]

Definition at line 34 of file vcsl_coordinate_system.h.

vcsl_coordinate_system::vcsl_coordinate_system ( vcsl_coordinate_system const &  c  )  [inline]

Definition at line 38 of file vcsl_coordinate_system.h.

virtual vcsl_coordinate_system::~vcsl_coordinate_system (  )  [inline, virtual]

Definition at line 42 of file vcsl_coordinate_system.h.


Member Function Documentation

int vcsl_coordinate_system::dimensionality (  )  const [inline]

Number of axes.

Definition at line 49 of file vcsl_coordinate_system.h.

bool vcsl_coordinate_system::valid_axis ( unsigned int  i  )  const [inline]

Is `i' an index on an axis ?.

Definition at line 52 of file vcsl_coordinate_system.h.

vcsl_axis_sptr vcsl_coordinate_system::axis ( int  i  )  const

Return the axis `i'.

REQUIRE: valid_axis(i)

Definition at line 11 of file vcsl_coordinate_system.cxx.

virtual const vcsl_spatial* vcsl_coordinate_system::cast_to_spatial (  )  const [inline, virtual]

Reimplemented in vcsl_spatial.

Definition at line 61 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 24 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 41 of file vcsl_coordinate_system.cxx.


Member Data Documentation

vcl_vector<vcsl_axis_sptr> vcsl_coordinate_system::axes_ [protected]

List of axes.

Definition at line 83 of file vcsl_coordinate_system.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 22 05:09:22 2008 for core/vcsl by  doxygen 1.5.1