/[escript]/trunk/pyvisi/py_src/renderers/opendx/image.py
ViewVC logotype

Contents of /trunk/pyvisi/py_src/renderers/opendx/image.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 605 - (show annotations)
Mon Mar 20 07:16:27 2006 UTC (13 years, 7 months ago) by gross
File MIME type: text/x-python
File size: 4163 byte(s)
pyvisi with vtk runs noe on the altix
1 # Copyright (C) 2004-2005 Paul Cochrane
2 #
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16
17 # $Id: image.py,v 1.5 2005/02/24 04:27:48 paultcochrane Exp $
18
19 ## @file image.py
20
21 """
22 Brief introduction to what the file contains/does
23 """
24
25 from common import debugMsg
26
27 from opendx.item import Item
28
29 __revision__ = '$Revision: 1.5 $'
30
31
32 class Image(Item):
33 """
34 Brief introduction to what the class does
35 """
36
37 def __init__(self, arg):
38 """
39 Brief description of the init function
40
41 @param arg: a description of the argument
42 @type arg: the type of the argument
43 """
44 debugMsg("Called Image.__init__()")
45 Item.__init__(self) # initialisation of base class
46
47 class JpegImage(Image):
48 """
49 Brief introduction to what the class does
50 """
51
52 def __init__(self, arg):
53 """
54 Brief description of the init function
55
56 @param arg: a description of the argument
57 @type arg: the type of the argument
58 """
59 debugMsg("Called JpegImage.__init__()")
60 Image.__init__(self) # initialisation of base class
61
62 class PbmImage(Image):
63 """
64 Brief introduction to what the class does
65 """
66
67 def __init__(self, arg):
68 """
69 Brief description of the init function
70
71 @param arg: a description of the argument
72 @type arg: the type of the argument
73 """
74 debugMsg("Called PbmImage.__init__()")
75 Image.__init__(self) # initialisation of base class
76
77 class PdfImage(Image):
78 """
79 Brief introduction to what the class does
80 """
81
82 def __init__(self, arg):
83 """
84 Brief description of the init function
85
86 @param arg: a description of the argument
87 @type arg: the type of the argument
88 """
89 debugMsg("Called PdfImage.__init__()")
90 Image.__init__(self) # initialisation of base class
91
92 class PngImage(Image):
93 """
94 Brief introduction to what the class does
95 """
96
97 def __init__(self, arg):
98 """
99 Brief description of the init function
100
101 @param arg: a description of the argument
102 @type arg: the type of the argument
103 """
104 debugMsg("Called PngImage.__init__()")
105 Image.__init__(self) # initialisation of base class
106
107 class PnmImage(Image):
108 """
109 Brief introduction to what the class does
110 """
111
112 def __init__(self, arg):
113 """
114 Brief description of the init function
115
116 @param arg: a description of the argument
117 @type arg: the type of the argument
118 """
119 debugMsg("Called PnmImage.__init__()")
120 Image.__init__(self) # initialisation of base class
121
122 class PsImage(Image):
123 """
124 Brief introduction to what the class does
125 """
126
127 def __init__(self, arg):
128 """
129 Brief description of the init function
130
131 @param arg: a description of the argument
132 @type arg: the type of the argument
133 """
134 debugMsg("Called PsImage.__init__()")
135 Image.__init__(self) # initialisation of base class
136
137 class TiffImage(Image):
138 """
139 Brief introduction to what the class does
140 """
141
142 def __init__(self, arg):
143 """
144 Brief description of the init function
145
146 @param arg: a description of the argument
147 @type arg: the type of the argument
148 """
149 debugMsg("Called TiffImage.__init__()")
150 Image.__init__(self) # initialisation of base class
151
152 # vim: expandtab shiftwidth=4:

  ViewVC Help
Powered by ViewVC 1.1.26