Pulsar::PlotAnnotation Class Referenceabstract

Add generic annotations to any SimplePlot. More...

#include <PlotAnnotation.h>

Inheritance diagram for Pulsar::PlotAnnotation:
Reference::Able Reference::HeapTracked

Public Member Functions

virtual void draw (const Archive *)=0
 Draw the stuff.
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Protected Attributes

Reference::To< SimplePlotparent
 Reference to the plot that the annotation goes on.
 

Friends

class SimplePlot
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Detailed Description

Add generic annotations to any SimplePlot.

This class is meant to provide an easy way to put arbitrary simple/flexible annotations (circles, lines, text, etc) on to any plot derived from the SimplePlot class. Derived classes can put arbitrary pgplot code into the draw() method, which will be executed after drawing the main plot.

TODO: could eventually add a text interface for common annotation types.


The documentation for this class was generated from the following file:

Generated using doxygen 1.8.17