casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SkyCatOverlayDM.h
Go to the documentation of this file.
1 //# SkyCatOverlayDM.h: catalogue overlay drawing for SkyCatOverlayDD
2 //# Copyright (C) 1999,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 //# $Id$
27 
28 #ifndef TRIALDISPLAY_SKYCATOVERLAYDM_H
29 #define TRIALDISPLAY_SKYCATOVERLAYDM_H
30 
31 #include <casa/aips.h>
35 
36 namespace casa { //# NAMESPACE CASA - BEGIN
37 
38  class WorldCanvas;
39  class SkyCatOverlayDD;
40 
41 // <summary>
42 // Class to draw catalogue overlays for SkyCatOverlayDD.
43 // </summary>
44 
45 // <synopsis>
46 // This class adds to the interface defined by DisplayMethod to provide
47 // the necessary infrastructure to draw simple catalogue overlays when
48 // requested to do so by the SkyCatOverlayDD class.
49 // </synopsis>
50 
52 
53  public:
54 
55  // Constructor.
57  AttributeBuffer *wchAttributes,
58  AttributeBuffer *ddAttributes,
59  CachingDisplayData *dd);
60 
61  // Destructor.
62  virtual ~SkyCatOverlayDM();
63 
64  // Clean up (ie. delete any existing cached display list).
65  virtual void cleanup();
66 
67  // Draw into a cached drawing list, called by draw function.
69  WorldCanvasHolder &wcHolder);
70 
71  protected:
72 
73  // (Required) default constructor.
75 
76  // (Required) copy constructor.
77  SkyCatOverlayDM(const SkyCatOverlayDM &other);
78 
79  // (Required) copy assignment.
80  void operator=(const SkyCatOverlayDM &other);
81 
82  private:
83 
84  };
85 
86 
87 } //# NAMESPACE CASA - END
88 
89 #endif
Assistance class for auto-caching of DisplayData objects.
Buffer for storing Attributes.
virtual WorldCanvas * worldCanvas()
Return the WorldCanvas recorded in this CachingDisplayMethod.
void operator=(const SkyCatOverlayDM &other)
(Required) copy assignment.
Base class for auto-caching DisplayData objects.
virtual casacore::Bool drawIntoList(Display::RefreshReason reason, WorldCanvasHolder &wcHolder)
Draw into a cached drawing list, called by draw function.
virtual ~SkyCatOverlayDM()
Destructor.
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
SkyCatOverlayDM()
(Required) default constructor.
Class to draw catalogue overlays for SkyCatOverlayDD.
virtual void cleanup()
Clean up (ie.
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