casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TblAsXYDM.h
Go to the documentation of this file.
1 //# TblAsXYDM.h: Display Method for xy displays of data from a table
2 //# Copyright (C) 2000,2001
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be addressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //#
27 //# $Id$
28 
29 #ifndef TRIALDISPLAY_TBLASXYDM_H
30 #define TRIALDISPLAY_TBLASXYDM_H
31 
32 #include <casa/aips.h>
33 #include <tables/Tables/Table.h>
36 
37 namespace casa { //# NAMESPACE CASA - BEGIN
38 
39 //# Forward Declarations
40 
41 // <summary>
42 // A DisplayMethod to draw XY plots from table data
43 // </summary>
44 //
45 // <use visibility=local> or <use visibility=export>
46 
47 // <reviewed reviewer="" date="" tests="" demos="">
48 // </reviewed>
49 //
50 // <prerequisite>
51 // <li> DisplayMethod
52 // <li> CachingDisplayMethod
53 // </prerequisite>
54 //
55 // <etymology>
56 // </etymology>
57 //
58 // <synopsis>
59 // This class adds to the interface defined by DisplayMethod to provide
60 // the necessary infrastructure to draw xy displays of data from a
61 // table when requested to do so by the TblAsXYDD class.
62 // </synopsis>
63 
65 
66  public:
67 
68  // constructor
70  AttributeBuffer *wchAttributes,
71  AttributeBuffer *ddAttributes,
72  CachingDisplayData *dd);
73 
74  // Destructor.
75  virtual ~TblAsXYDM();
76 
77  // Clean up (ie. delete any existing cached display list).
78  virtual void cleanup();
79 
80  // Draw into a cached drawing list, called by draw function.
82  WorldCanvasHolder &wcHolder);
83 
84  protected:
85 
86  // (Required) default constructor.
87  TblAsXYDM();
88 
89  // (Required) copy constructor.
90  TblAsXYDM(const TblAsXYDM &other);
91 
92  // (Required) copy assignment.
93  void operator=(const TblAsXYDM &other);
94 
95  private:
96 
97  };
98 
99 
100 } //# NAMESPACE CASA - END
101 
102 #endif
Assistance class for auto-caching of DisplayData objects.
virtual void cleanup()
Clean up (ie.
Buffer for storing Attributes.
virtual casacore::Bool drawIntoList(Display::RefreshReason reason, WorldCanvasHolder &wcHolder)
Draw into a cached drawing list, called by draw function.
TblAsXYDM()
(Required) default constructor.
A DisplayMethod to draw XY plots from table data.
Definition: TblAsXYDM.h:64
virtual WorldCanvas * worldCanvas()
Return the WorldCanvas recorded in this CachingDisplayMethod.
void operator=(const TblAsXYDM &other)
(Required) copy assignment.
Base class for auto-caching DisplayData objects.
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
RefreshReason
Callback reasons for PCRefreshEvent and WCRefreshEvent.
Definition: DisplayEnums.h:267
A holder to interface between DisplayDatas and a WorldCanvas.
Implementation of drawing in world coordinates on top of a PixelCanvas.
Definition: WorldCanvas.h:204
virtual ~TblAsXYDM()
Destructor.