00001 #ifndef vcsl_spherical_h_ 00002 #define vcsl_spherical_h_ 00003 //: 00004 // \file 00005 // \brief 3D spherical coordinate system 00006 // \author François BERTEL 00007 // 00008 // \verbatim 00009 // Modifications 00010 // 2000/06/28 François BERTEL Creation. Adapted from IUE 00011 // 2001/04/10 Ian Scott (Manchester) Converted perceps header to doxygen 00012 // 2004/09/10 Peter Vanroose Inlined all 1-line methods in class decl 00013 // \endverbatim 00014 00015 #include <vcsl/vcsl_spatial.h> 00016 #include <vcsl/vcsl_spherical_sptr.h> 00017 00018 //: 3D coordinate system specified by distance rho, angles theta and phi. 00019 class vcsl_spherical 00020 : public vcsl_spatial 00021 { 00022 public: 00023 //*************************************************************************** 00024 // Constructors/Destructor 00025 //*************************************************************************** 00026 00027 // Default constructor 00028 vcsl_spherical(); 00029 00030 // Destructor 00031 virtual ~vcsl_spherical() {} 00032 00033 //*************************************************************************** 00034 // Because VXL does not necessarily use dynamic_cast<> 00035 //*************************************************************************** 00036 00037 virtual const vcsl_spherical *cast_to_spherical() const { return this; } 00038 }; 00039 00040 #endif // vcsl_spherical_h_