casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DefaultWCSizeControlHandler.h
Go to the documentation of this file.
1 //# DefaultWCSizeControlHandler.h: default size control handling for WC
2 //# Copyright (C) 1993,1994,1995,1996,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_DEFAULTWCSIZECONTROLHANDLER_H
29 #define TRIALDISPLAY_DEFAULTWCSIZECONTROLHANDLER_H
30 
31 #include <casa/aips.h>
33 
34 namespace casa { //# NAMESPACE CASA - BEGIN
35 
36 // <summary>
37 // Default WorldCanvas SizeControl handler
38 // </summary>
39 //
40 // <etymology>
41 // DefaultWCSizeControlHandler - Default WorldCanvas Size Control Handler.
42 // </etymology>
43 //
44 // <synopsis>
45 // This class implements default functionality for the size control handler
46 // that the WorldCanvas creates for itself when the WorldCanvas constructor
47 // is called.
48 //
49 // Presently the default size control handler does nothing, relying on the
50 // <linkto class="WCResampleHandler">WCResampleHandler</linkto>
51 // to fit output images to the screen pixel array when images are supposed
52 // to be drawn.
53 // </synopsis>
54 //
55 // <motivation>
56 // Wanted to have default functionality for this to make it easier on the user
57 // of this class and to avoid having to check all the time in the WorldCanvas
58 // to see if a size control handler has been registered.
59 // </motivation>
60 //
61 // <example>
62 // none available yet.
63 // </example>
64 //
65 // <todo>
66 // <li> provide example
67 // <li> consider restricting interface to accepting and modifying
68 // a rectangle representing the largest available plotting size.
69 // </todo>
70 //
71 
73 
74  public:
75 
76  // Default Constructor Required
78 
79  // apply modifies the world canvas parameters through the passed pointer.
81 
82  // Destructor
84 
85  };
86 
87 
88 } //# NAMESPACE CASA - END
89 
90 #endif
91 
92 
Base class defining the interface to controlling the WorldCanvas size.
virtual ~DefaultWCSizeControlHandler()
Destructor.
DefaultWCSizeControlHandler()
Default Constructor Required.
Default WorldCanvas SizeControl handler.
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
Implementation of drawing in world coordinates on top of a PixelCanvas.
Definition: WorldCanvas.h:204
virtual casacore::Bool executeSizeControl(WorldCanvas *wc)
apply modifies the world canvas parameters through the passed pointer.