Changeset 568 in Sophya for trunk/SophyaLib/Samba/pixelmap.h


Ignore:
Timestamp:
Nov 10, 1999, 3:17:10 PM (26 years ago)
Author:
ansari
Message:

ajout doc GLM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/pixelmap.h

    r525 r568  
    88#include <iostream.h>
    99
    10 // General map of pixels on part of sphere or whole sphere
    11 // Class hierarchy :
    12 //   PixelMap
    13 //      SphericalMap
    14 //         SphereThetaPhi
    15 //         SphereGorski
    16 //         SphereIco
    17 //      LocalMap
    18 
     10//! General map of pixels on part of sphere or whole sphere
     11/*! Class hierarchy :
     12\verbatim
     13   PixelMap
     14     SphericalMap
     15         SphereThetaPhi
     16         SphereGorski
     17         SphereIco
     18      LocalMap
     19\endverbatim
     20*/
    1921template<class T>
    2022class PixelMap 
     
    3335inline SphereCoordSys* GetCoordSys() const { return(cs_); }
    3436
    35 // Number of pixels
     37/*! Number of pixels */
    3638virtual int NbPixels() const=0;
    3739   
    38 // Value of pixel number k
     40/*! Value of pixel number k */
    3941virtual T& PixVal(int k)=0;
    4042virtual T const& PixVal(int k) const=0;
     
    4446virtual bool Contains(const SpherePosition& spos) const;
    4547
    46 // Index of pixel at (theta,phi)
     48/*! Index of pixel at (theta,phi) */
    4749virtual int PixIndexSph(double theta, double phi) const=0;
    4850// Index of pixel at a sky-position
    4951virtual int PixIndex(const SpherePosition& spos);
    5052
    51 
    52 // Value of pixel number at (theta,phi)
     53/*! Value of pixel number at (theta,phi) */
    5354virtual T& PixValSph(double theta, double phi)
    5455                           {return PixVal(PixIndexSph(theta,phi));}
     
    5657                           {return PixVal(PixIndexSph(theta,phi));}
    5758
    58 // Spherical coordinates of center of pixel number k
     59/*! Spherical coordinates of center of pixel number k */
    5960virtual void PixThetaPhi(int k, double& theta, double& phi) const=0;
    6061
    61 // provides a integer characterizing the pixelization refinement
    62 // (depending of the type of the map)             
     62/*! provides a integer characterizing the pixelization refinement
     63 (depending of the type of the map)
     64*/             
    6365virtual int SizeIndex() const=0;
    6466virtual char* TypeOfMap() const =0;
    6567
    66 // Pixel  (steradians)
     68/*! Pixel  (steradians) */
    6769virtual double PixSolAngle(int k) const =0;
    6870
    69 // Overloading of () to access pixel number k.
     71/*! Overloading of () to access pixel number k. */
    7072inline T& operator()(int k) {return(PixVal(k));}
    7173inline T const& operator()(int k) const {return(PixVal(k));}
Note: See TracChangeset for help on using the changeset viewer.