FramedPlot.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2006 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Plotting/Pulsar/FramedPlot.h
10 
11 #ifndef __Pulsar_FramedPlot_h
12 #define __Pulsar_FramedPlot_h
13 
14 #include "Pulsar/Plot.h"
15 #include "Pulsar/PlotFrame.h"
16 
17 namespace Pulsar {
18 
20  class FramedPlot : public Plot {
21 
22  public:
23 
26 
29 
32 
34  virtual PlotFrame* get_frame ();
35 
37  virtual const PlotFrame* get_frame () const;
38 
40  virtual void set_frame (PlotFrame*);
41 
43  virtual void prepare (const Archive*) {}
44 
45  protected:
46 
49  };
50 
51 }
52 
53 #endif
The primary interface to pulsar observational data.
Definition: Archive.h:45
Stores the properties of the plot frame.
Definition: PlotAttributes.h:25
Reference::To< PlotFrame > frame
The plot frame.
Definition: FramedPlot.h:58
virtual TextInterface::Parser * get_frame_interface()
Get the text interface to the frame attributes.
Definition: FramedPlot.C:16
virtual PlotFrame * get_frame()
Get the frame.
Definition: FramedPlot.C:27
virtual void set_frame(PlotFrame *)
Set the frame.
Definition: FramedPlot.C:39
PlotAttributes * get_attributes()
Get the plot attributes.
Definition: FramedPlot.C:21
Defines the PSRCHIVE library.
Definition: CalSource.h:17
FramedPlot()
Default constructor.
Definition: FramedPlot.C:10
Stores the properties of the plot frame.
Definition: PlotFrame.h:31
virtual void prepare(const Archive *)
Derived classes must prepare to draw.
Definition: FramedPlot.h:53

Generated using doxygen 1.8.17