A plotting widget that handles incremental addition of data.  
 More...
#include <IncrementalPlot.hh>
 | 
| void  | Add (const QString &_label, const QPointF &_pt) | 
|   | Add a new point to a curve.  More...
  | 
|   | 
| void  | Add (const QString &_label, const std::list< QPointF > &_pts) | 
|   | Add new points to a curve.  More...
  | 
|   | 
A plotting widget that handles incremental addition of data. 
 
      
        
          | gazebo::gui::IncrementalPlot::IncrementalPlot  | 
          ( | 
          QWidget *  | 
          _parent = NULL | ) | 
           | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | [in] | _parent | Pointer to a parent widget  | 
  
   
 
 
  
  
      
        
          | virtual gazebo::gui::IncrementalPlot::~IncrementalPlot  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | void gazebo::gui::IncrementalPlot::Add  | 
          ( | 
          const QString &  | 
          _label,  | 
         
        
           | 
           | 
          const QPointF &  | 
          _pt  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
Add a new point to a curve. 
- Parameters
 - 
  
    | [in] | _label | Name of the curve to add a point to. A curve will be added if it doesn't exist.  | 
    | [in] | _pt | Point to add.  | 
  
   
 
 
  
  
      
        
          | void gazebo::gui::IncrementalPlot::Add  | 
          ( | 
          const QString &  | 
          _label,  | 
         
        
           | 
           | 
          const std::list< QPointF > &  | 
          _pts  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
Add new points to a curve. 
- Parameters
 - 
  
    | [in] | _label | Name of the curve to add a point to. A curve will be added if it doesn't exist.  | 
    | [in] | _pt | Points to add.  | 
  
   
 
 
      
        
          | void gazebo::gui::IncrementalPlot::Clear  | 
          ( | 
          const QString &  | 
          _label | ) | 
           | 
        
      
 
Clear a single curve from the plot. 
- Parameters
 - 
  
    | [in] | _label | Name of the curve to remove.  | 
  
   
 
 
      
        
          | void gazebo::gui::IncrementalPlot::Clear  | 
          ( | 
           | ) | 
           | 
        
      
 
Clear all points from the plot. 
 
 
  
  
      
        
          | void gazebo::gui::IncrementalPlot::dragEnterEvent  | 
          ( | 
          QDragEnterEvent *  | 
          _evt | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Used to accept drag enter events. 
- Parameters
 - 
  
  
 
 
 
  
  
      
        
          | void gazebo::gui::IncrementalPlot::dropEvent  | 
          ( | 
          QDropEvent *  | 
          _evt | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Used to accept drop events. 
- Parameters
 - 
  
  
 
 
 
      
        
          | bool gazebo::gui::IncrementalPlot::HasCurve  | 
          ( | 
          const QString &  | 
          _label | ) | 
           | 
        
      
 
Return true if the plot has the labled curve. 
- Parameters
 - 
  
    | [in] | _label | Name of the curve to check for.  | 
  
   
- Returns
 - True if _label is currently plotted. 
 
 
 
  
  
      
        
          | virtual QSize gazebo::gui::IncrementalPlot::sizeHint  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Give QT a size hint. 
- Returns
 - Default size of the plot. 
 
 
 
      
        
          | void gazebo::gui::IncrementalPlot::Update  | 
          ( | 
           | ) | 
           | 
        
      
 
Update all the curves in the plot. 
 
 
The documentation for this class was generated from the following file: