Ignore:
Timestamp:
08/04/04 16:57:28 (20 years ago)
Author:
merck
Message:
MMerck: Code to calculate spot position to floating point accuracy.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/videospot.h

    r4175 r4496  
    2929public:
    3030        VideoSpot();
    31         VideoSpot(  int p_iX, int p_iY  );
     31        VideoSpot(  double p_iX, double p_iY, int p_iNumPixel  );
     32
     33  VideoSpot( const VideoSpot& p_Spot );
     34  VideoSpot& operator=( const VideoSpot& p_Spot );
     35
    3236        virtual ~VideoSpot();
    3337  /** No descriptions */
     
    3842  virtual void append( int p_iX, int p_iY, int p_iWeight );
    3943  /** No descriptions */
    40   virtual int getX();
     44  virtual double getX();
    4145  /** No descriptions */
    42   virtual int getY();
     46  virtual double getY();
     47  /** No descriptions */
     48  virtual int getNumPixel() { return m_iNumPixel; }
    4349  /** No descriptions */
    4450  virtual bool isValid();
    45 public: // Public attributes
    46   /**  */
    47 //  QList<VideoPixel> m_qlPixels;
     51
    4852private: // Private attributes
    4953  /**  */
     
    5155  /**  */
    5256  int m_iYSum;
    53 public: // Public attributes
    5457  /**  */
    5558  int m_iNumPixel;
Note: See TracChangeset for help on using the changeset viewer.