contrib/gel/vifa/vifa_parallel_params.h
Go to the documentation of this file.
00001 // This is gel/vifa/vifa_parallel_params.h
00002 #ifndef VIFA_PARALLEL_PARAMS_H
00003 #define VIFA_PARALLEL_PARAMS_H
00004 
00005 //-----------------------------------------------------------------------------
00006 //:
00007 // \file
00008 // \brief Parameter mixin for parallel line calculations.
00009 //
00010 // \author Roddy Collins, from DDB in TargetJr
00011 //
00012 // \verbatim
00013 //  Modifications
00014 //   MPP Mar 2003, Ported to VXL
00015 // \endverbatim
00016 //-----------------------------------------------------------------------------
00017 
00018 #include <gevd/gevd_param_mixin.h>
00019 #include <vul/vul_timestamp.h>
00020 #include <vbl/vbl_ref_count.h>
00021 
00022 #define DEFAULT_MIN_ANGLE  0.0f
00023 #define DEFAULT_MAX_ANGLE  179.9999f
00024 #define DEFAULT_NBUCKETS  60
00025 
00026 
00027 class vifa_parallel_params : public gevd_param_mixin,
00028                public vul_timestamp,
00029                public vbl_ref_count
00030 {
00031  public:
00032   float  min_angle;
00033   float  max_angle;
00034   int    nbuckets;
00035 
00036   //: Default constructor
00037   vifa_parallel_params(float  angle_min = DEFAULT_MIN_ANGLE,
00038                        float  angle_max = DEFAULT_MAX_ANGLE,
00039                        int  buckets = DEFAULT_NBUCKETS
00040                       );
00041 
00042   //: Copy constructors.
00043   vifa_parallel_params(const vifa_parallel_params&  np);
00044   vifa_parallel_params(vifa_parallel_params*  np);
00045 
00046   //: Output contents
00047   void  print_info(void);
00048 };
00049 
00050 
00051 #endif  // VIFA_PARALLEL_PARAMS_H