<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>When I compiled vtk for Python 2.0, following error
occured:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT
size=2>vtkImageDecomposeFilterPython.cxx<BR>src\vtkImageDecomposeFilterPython.cxx(47)
: error C2146: syntax error : missing ';' before identifier 'loop'</FONT></DIV>
<DIV><FONT size=2>....</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>How to do it?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Following is the source of
vtkImageDecomposeFilterPython.cxx</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV><FONT size=2>
<DIV>///////////////////////////////////////////////////////////////////<BR>Into
loop<BR>/*<BR>return(*yyfnd++);
1<BR>=========================================================================</DIV>
<DIV> </DIV>
<DIV> Program: Visualization Toolkit<BR>
Module: $RCSfile: vtkImageDecomposeFilter.h,v $<BR>
Language: C++<BR> Date: $Date:
2000/02/04 17:08:16 $<BR> Version: $Revision: 1.9 $<BR>
Thanks: Thanks to C. Charles Law who developed this
class.</DIV>
<DIV> </DIV>
<DIV>Copyright (c) 1993-2000 Ken Martin, Will Schroeder, Bill Lorensen <BR>All
rights reserved.</DIV>
<DIV> </DIV>
<DIV>Redistribution and use in source and binary forms, with or
without<BR>modification, are permitted provided that the following conditions
are met:</DIV>
<DIV> </DIV>
<DIV> * Redistributions of source code must retain the above copyright
notice,<BR> this list of conditions and the following
disclaimer.</DIV>
<DIV> </DIV>
<DIV> * Redistributions in binary form must reproduce the above copyright
notice,<BR> this list of conditions and the following disclaimer in
the documentation<BR> and/or other materials provided with the
distribution.</DIV>
<DIV> </DIV>
<DIV> * Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor
the names<BR> of any contributors may be used to endorse or promote
products derived<BR> from this software without specific prior
written permission.</DIV>
<DIV> </DIV>
<DIV> * Modified source versions must be plainly marked as such, and must
not be<BR> misrepresented as being the original software.</DIV>
<DIV> </DIV>
<DIV>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
IS''<BR>AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE<BR>IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE<BR>ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE FOR<BR>ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL<BR>DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR<BR>SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER<BR>CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY,<BR>OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE<BR>OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.</DIV>
<DIV> </DIV>
<DIV>=========================================================================*/</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 65<BR>// .NAME vtkImageDecomposeFilter - Filters that
execute axes in series.</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 3</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR>// .SECTION Description</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 4</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR>// This superclass molds the
vtkImageIterateFilter superclass so</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 10</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR>// it iterates over the axes. The filter
uses dimensionality to </DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 10</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR>// determine how many axes to execute (starting
from x). </DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 10</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR>// The filter also provides convenience methods
for permuting information</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 10</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR>// retrieved from input, output and
vtkImageData.</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 10</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9<BR>#ifndef __vtkImageDecomposeFilter_h</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 62</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR>#define __vtkImageDecomposeFilter_h</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 62</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9<BR>#include "vtkImageIterateFilter.h"</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 62</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9<BR>class V<BR>return(*yyfnd++);
21<BR> <BR>return(*yyfnd++); 65<BR>VTK_EXPORT <BR>return(*yyfnd++);
12<BR> <BR>return(*yyfnd++); 65<BR>vtkImageDecomposeFilter
<BR>return(*yyfnd++); 63<BR> <BR>return(*yyfnd++);
65<BR>:<BR>return(*yyfnd++); 68<BR> <BR>return(*yyfnd++); 65<BR>public
<BR>return(*yyfnd++); 22<BR> <BR>return(*yyfnd++);
65<BR>vtkImageIterateFilter</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 63</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR>{<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR>public:<BR>return(*yyfnd++);
22<BR>:<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> // Description:</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 8</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> // Construct an instance of
vtkImageDecomposeFilter fitler with default</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 10</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> // dimensionality 3.</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 10</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> s<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>static <BR>return(*yyfnd++);
37<BR> <BR>return(*yyfnd++); 65<BR>vtkImageDecomposeFilter
<BR>return(*yyfnd++); 63<BR> <BR>return(*yyfnd++);
65<BR>*<BR>return(*yyfnd++); 68<BR>New(<BR>return(*yyfnd++);
64<BR>(<BR>return(*yyfnd++); 68<BR>)<BR>return(*yyfnd++);
68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>vtkTypeMacro(<BR>return(*yyfnd++);
59<BR>(<BR>return(*yyfnd++); 68<BR>vtkImageDecomposeFilter,<BR>return(*yyfnd++);
63<BR>,<BR>return(*yyfnd++); 68<BR>vtkImageIterateFilter)<BR>return(*yyfnd++);
63<BR>)<BR>return(*yyfnd++); 68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>void P<BR>return(*yyfnd++);
30<BR> <BR>return(*yyfnd++); 65<BR>PrintSelf(<BR>return(*yyfnd++);
64<BR>(<BR>return(*yyfnd++); 68<BR>ostream&<BR>return(*yyfnd++);
64<BR>&<BR>return(*yyfnd++); 68<BR> <BR>return(*yyfnd++);
65<BR>os,<BR>return(*yyfnd++); 64<BR>,<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>vtkIndent <BR>return(*yyfnd++);
63<BR> <BR>return(*yyfnd++); 65<BR>indent)<BR>return(*yyfnd++);
64<BR>)<BR>return(*yyfnd++); 68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9<BR> // Description:</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 8</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> // Dimensionality is the number of axes
which are considered durring</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 10</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> // execution. To process images
dimensionality would be set to 2.</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 10</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>void S<BR>return(*yyfnd++);
30<BR> <BR>return(*yyfnd++); 65<BR>SetDimensionality(<BR>return(*yyfnd++);
64<BR>(<BR>return(*yyfnd++); 68<BR>int d<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>dim)<BR>return(*yyfnd++);
64<BR>)<BR>return(*yyfnd++); 68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>vtkGetMacro(<BR>return(*yyfnd++);
39<BR>(<BR>return(*yyfnd++); 68<BR>Dimensionality,<BR>return(*yyfnd++);
64<BR>,<BR>return(*yyfnd++); 68<BR>int)<BR>return(*yyfnd++);
25<BR>)<BR>return(*yyfnd++); 68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9<BR> // Description:</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 8</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> // Obsolete legacy methods.</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 10</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>void S<BR>return(*yyfnd++);
30<BR> <BR>return(*yyfnd++); 65<BR>SetFilteredAxes(<BR>return(*yyfnd++);
64<BR>(<BR>return(*yyfnd++); 68<BR>int a<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>axis0)<BR>return(*yyfnd++);
64<BR>)<BR>return(*yyfnd++); 68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>void S<BR>return(*yyfnd++);
30<BR> <BR>return(*yyfnd++); 65<BR>SetFilteredAxes(<BR>return(*yyfnd++);
64<BR>(<BR>return(*yyfnd++); 68<BR>int a<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>axis0,<BR>return(*yyfnd++);
64<BR>,<BR>return(*yyfnd++); 68<BR> <BR>return(*yyfnd++); 65<BR>int
a<BR>return(*yyfnd++); 25<BR> <BR>return(*yyfnd++);
65<BR>axis2)<BR>return(*yyfnd++); 64<BR>)<BR>return(*yyfnd++);
68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>void S<BR>return(*yyfnd++);
30<BR> <BR>return(*yyfnd++); 65<BR>SetFilteredAxes(<BR>return(*yyfnd++);
64<BR>(<BR>return(*yyfnd++); 68<BR>int a<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>axis0,<BR>return(*yyfnd++);
64<BR>,<BR>return(*yyfnd++); 68<BR> <BR>return(*yyfnd++); 65<BR>int
a<BR>return(*yyfnd++); 25<BR> <BR>return(*yyfnd++);
65<BR>axis2,<BR>return(*yyfnd++); 64<BR>,<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>int a<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>axis3)<BR>return(*yyfnd++);
64<BR>)<BR>return(*yyfnd++); 68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9<BR> // Description:</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 8</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> // Private methods kept public for
template execute functions.</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 10</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>void P<BR>return(*yyfnd++);
30<BR> <BR>return(*yyfnd++); 65<BR>PermuteIncrements(<BR>return(*yyfnd++);
64<BR>(<BR>return(*yyfnd++); 68<BR>int *<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>*<BR>return(*yyfnd++);
68<BR>increments,<BR>return(*yyfnd++); 64<BR>,<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>int &<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>&<BR>return(*yyfnd++);
68<BR>inc0,<BR>return(*yyfnd++); 64<BR>,<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>int &<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>&<BR>return(*yyfnd++);
68<BR>inc1,<BR>return(*yyfnd++); 64<BR>,<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>int &<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>&<BR>return(*yyfnd++);
68<BR>inc2)<BR>return(*yyfnd++); 64<BR>)<BR>return(*yyfnd++);
68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>void P<BR>return(*yyfnd++);
30<BR> <BR>return(*yyfnd++); 65<BR>PermuteExtent(<BR>return(*yyfnd++);
64<BR>(<BR>return(*yyfnd++); 68<BR>int *<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>*<BR>return(*yyfnd++);
68<BR>extent,<BR>return(*yyfnd++); 64<BR>,<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>int &<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>&<BR>return(*yyfnd++);
68<BR>min0,<BR>return(*yyfnd++); 64<BR>,<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>int &<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>&<BR>return(*yyfnd++);
68<BR>max0,<BR>return(*yyfnd++); 64<BR>,<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>int &<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>&<BR>return(*yyfnd++);
68<BR>min1,<BR>return(*yyfnd++); 64<BR>,<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>int &<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>&<BR>return(*yyfnd++);
68<BR>max1,<BR>return(*yyfnd++); 64<BR>,<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR>
i<BR>return(*yyfnd++); 65<BR> <BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR> <BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR> <BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>int &<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>&<BR>return(*yyfnd++);
68<BR>min2,<BR>return(*yyfnd++); 64<BR>,<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>int &<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>&<BR>return(*yyfnd++);
68<BR>max2)<BR>return(*yyfnd++); 64<BR>)<BR>return(*yyfnd++);
68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> </DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 9<BR>protected:<BR>return(*yyfnd++);
24<BR>:<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++);
65<BR>vtkImageDecomposeFilter(<BR>return(*yyfnd++); 63<BR>(<BR>return(*yyfnd++);
68<BR>)<BR>return(*yyfnd++); 68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> ~<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>~<BR>return(*yyfnd++);
68<BR>vtkImageDecomposeFilter(<BR>return(*yyfnd++); 63<BR>(<BR>return(*yyfnd++);
68<BR>)<BR>return(*yyfnd++); 68<BR> <BR>return(*yyfnd++);
65<BR>{<BR>return(*yyfnd++); 68<BR>}<BR>return(*yyfnd++);
68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++);
65<BR>vtkImageDecomposeFilter(<BR>return(*yyfnd++); 63<BR>(<BR>return(*yyfnd++);
68<BR>const <BR>return(*yyfnd++); 33<BR> <BR>return(*yyfnd++);
65<BR>vtkImageDecomposeFilter&<BR>return(*yyfnd++);
63<BR>&<BR>return(*yyfnd++); 68<BR>)<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>{<BR>return(*yyfnd++);
68<BR>}<BR>return(*yyfnd++); 68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65<BR> v<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>void o<BR>return(*yyfnd++);
30<BR> <BR>return(*yyfnd++); 65<BR>operator=<BR>return(*yyfnd++);
34<BR>=<BR>return(*yyfnd++); 68<BR>(<BR>return(*yyfnd++); 68<BR>const
<BR>return(*yyfnd++); 33<BR> <BR>return(*yyfnd++);
65<BR>vtkImageDecomposeFilter&<BR>return(*yyfnd++);
63<BR>&<BR>return(*yyfnd++); 68<BR>)<BR>return(*yyfnd++);
68<BR> <BR>return(*yyfnd++); 65<BR>{<BR>return(*yyfnd++);
68<BR>}<BR>return(*yyfnd++); 68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9<BR> i<BR>return(*yyfnd++);
65<BR> <BR>return(*yyfnd++); 65<BR>int D<BR>return(*yyfnd++);
25<BR> <BR>return(*yyfnd++); 65<BR>Dimensionality;<BR>return(*yyfnd++);
64<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9<BR>}<BR>return(*yyfnd++);
68<BR>;<BR>return(*yyfnd++); 68</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9<BR>#endif</DIV>
<DIV> </DIV>
<DIV>return(*yyfnd++); 62</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 65</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9</DIV>
<DIV> </DIV>
<DIV><BR>return(*yyfnd++); 9<BR> <BR>yytext[0] == 0<BR> </DIV>
<DIV> </DIV>
<DIV>Accept<BR>// python wrapper for vtkImageDecomposeFilter
object<BR>//<BR>#include "vtkImageDecomposeFilter.h"<BR>#include
"vtkPythonUtil.h"</DIV>
<DIV> </DIV>
<DIV>PyObject *PyvtkImageIterateFilter_PyGetAttr(PyObject *self,char
*name);<BR>extern PyTypeObject PyvtkImageDecomposeFilterType;</DIV>
<DIV> </DIV>
<DIV>extern void *vtkImageIterateFilter_Typecast(void *op,char *dType);</DIV>
<DIV> </DIV>
<DIV>void *vtkImageDecomposeFilter_Typecast(void *me,char *dType)<BR>{<BR>
if (!strcmp("vtkImageDecomposeFilter",dType))<BR>
{<BR> return me;<BR> }<BR>
else<BR> {<BR> if
(vtkImageIterateFilter_Typecast(((void *)((vtkImageIterateFilter *)me)),dType)
!= NULL)<BR> {<BR>
return vtkImageIterateFilter_Typecast(((void *)((vtkImageIterateFilter
*)me)),dType);<BR> }<BR>
}<BR> return NULL;<BR>}</DIV>
<DIV> </DIV>
<DIV><BR>static PyObject *PyvtkImageDecomposeFilter_GetClassName(PyObject *self,
PyObject *args)<BR>{<BR> int error;<BR> vtkImageDecomposeFilter
*op;<BR> op = (vtkImageDecomposeFilter
*)vtkPythonGetPointerFromObject(self,"vtkImageDecomposeFilter");</DIV>
<DIV> </DIV>
<DIV> /* handle an occurrence */<BR> {<BR> const
char *temp20;</DIV>
<DIV> </DIV>
<DIV> PyErr_Clear();<BR> error = 0;<BR> if
(PyArg_ParseTuple(args, ""))<BR> {<BR> if
(!error)<BR> {<BR>
temp20 = op->GetClassName();<BR> return
PyString_FromString(temp20);<BR>
}<BR> }<BR> }<BR> return NULL;<BR>}</DIV>
<DIV> </DIV>
<DIV><BR>static PyObject *PyvtkImageDecomposeFilter_SetDimensionality(PyObject
*self, PyObject *args)<BR>{<BR> int error;<BR>
vtkImageDecomposeFilter *op;<BR> op = (vtkImageDecomposeFilter
*)vtkPythonGetPointerFromObject(self,"vtkImageDecomposeFilter");</DIV>
<DIV> </DIV>
<DIV> /* handle an occurrence */<BR> {<BR>
int temp0;</DIV>
<DIV> </DIV>
<DIV> PyErr_Clear();<BR> error = 0;<BR> if
(PyArg_ParseTuple(args, "i", &temp0))<BR>
{<BR> if (!error)<BR>
{<BR>
op->SetDimensionality(temp0);<BR>
Py_INCREF(Py_None);<BR> return
Py_None;<BR> }<BR> }<BR>
}<BR> return NULL;<BR>}</DIV>
<DIV> </DIV>
<DIV><BR>static PyObject *PyvtkImageDecomposeFilter_GetDimensionality(PyObject
*self, PyObject *args)<BR>{<BR> int error;<BR>
vtkImageDecomposeFilter *op;<BR> op = (vtkImageDecomposeFilter
*)vtkPythonGetPointerFromObject(self,"vtkImageDecomposeFilter");</DIV>
<DIV> </DIV>
<DIV> /* handle an occurrence */<BR> {<BR>
int temp20;</DIV>
<DIV> </DIV>
<DIV> PyErr_Clear();<BR> error = 0;<BR> if
(PyArg_ParseTuple(args, ""))<BR> {<BR> if
(!error)<BR> {<BR>
temp20 = op->GetDimensionality();<BR> return
PyInt_FromLong(temp20);<BR>
}<BR> }<BR> }<BR> return NULL;<BR>}</DIV>
<DIV> </DIV>
<DIV><BR>static PyObject *PyvtkImageDecomposeFilter_SetFilteredAxes(PyObject
*self, PyObject *args)<BR>{<BR> int error;<BR>
vtkImageDecomposeFilter *op;<BR> op = (vtkImageDecomposeFilter
*)vtkPythonGetPointerFromObject(self,"vtkImageDecomposeFilter");</DIV>
<DIV> </DIV>
<DIV> /* handle an occurrence */<BR> {<BR>
int temp0;</DIV>
<DIV> </DIV>
<DIV> PyErr_Clear();<BR> error = 0;<BR> if
(PyArg_ParseTuple(args, "i", &temp0))<BR>
{<BR> if (!error)<BR>
{<BR>
op->SetFilteredAxes(temp0);<BR>
Py_INCREF(Py_None);<BR> return
Py_None;<BR> }<BR> }<BR>
}<BR> /* handle an occurrence */<BR> {<BR>
int temp0;<BR>
int temp1;</DIV>
<DIV> </DIV>
<DIV> PyErr_Clear();<BR> error = 0;<BR> if
(PyArg_ParseTuple(args, "ii", &temp0, &temp1))<BR>
{<BR> if (!error)<BR>
{<BR>
op->SetFilteredAxes(temp0,temp1);<BR>
Py_INCREF(Py_None);<BR> return
Py_None;<BR> }<BR> }<BR>
}<BR> /* handle an occurrence */<BR> {<BR>
int temp0;<BR>
int temp1;<BR>
int temp2;</DIV>
<DIV> </DIV>
<DIV> PyErr_Clear();<BR> error = 0;<BR> if
(PyArg_ParseTuple(args, "iii", &temp0, &temp1,
&temp2))<BR> {<BR> if
(!error)<BR> {<BR>
op->SetFilteredAxes(temp0,temp1,temp2);<BR>
Py_INCREF(Py_None);<BR> return
Py_None;<BR> }<BR> }<BR>
}<BR> return NULL;<BR>}</DIV>
<DIV> </DIV>
<DIV>static PyMethodDef PyvtkImageDecomposeFilterMethods[] = {<BR>
{"GetClassName", (PyCFunction)PyvtkImageDecomposeFilter_GetClassName,
1},<BR>
{"SetDimensionality", (PyCFunction)PyvtkImageDecomposeFilter_SetDimensionality,
1},<BR>
{"GetDimensionality", (PyCFunction)PyvtkImageDecomposeFilter_GetDimensionality,
1},<BR>
{"SetFilteredAxes", (PyCFunction)PyvtkImageDecomposeFilter_SetFilteredAxes,
1},<BR> {NULL,
NULL}<BR>};</DIV>
<DIV> </DIV>
<DIV>extern int PyvtkImageIterateFilter_PyPrint(PyObject *,FILE *,int);<BR>int
PyvtkImageDecomposeFilter_PyPrint(PyObject *self, FILE *fp, int)<BR>{<BR>
return PyvtkImageIterateFilter_PyPrint(self, fp, 0);<BR>}</DIV>
<DIV> </DIV>
<DIV>extern PyObject *PyvtkImageIterateFilter_PyRepr(PyObject *);<BR>PyObject
*PyvtkImageDecomposeFilter_PyRepr(PyObject *self)<BR>{<BR> return
PyvtkImageIterateFilter_PyRepr(self);<BR>}</DIV>
<DIV> </DIV>
<DIV>static void PyvtkImageDecomposeFilter_PyDelete(PyObject
*self)<BR>{<BR> vtkImageDecomposeFilter *op;<BR> op =
(vtkImageDecomposeFilter
*)vtkPythonGetPointerFromObject(self,"vtkImageDecomposeFilter");<BR>
vtkPythonDeleteObjectFromHash(self);<BR> op->Delete();<BR>
PyMem_DEL(self);<BR>}</DIV>
<DIV> </DIV>
<DIV>PyObject *PyvtkImageDecomposeFilter_PyGetAttr(PyObject *self, char
*name)<BR>{<BR> PyObject *result;</DIV>
<DIV> </DIV>
<DIV> result = Py_FindMethod(PyvtkImageDecomposeFilterMethods, self,
name);<BR> if (!result) return
PyvtkImageIterateFilter_PyGetAttr(self,name);<BR> return
result;<BR>}</DIV>
<DIV> </DIV>
<DIV>PyTypeObject PyvtkImageDecomposeFilterType = {<BR>
PyObject_HEAD_INIT(NULL)<BR> 0,<BR>
"vtkImageDecomposeFilter",sizeof(PyObject),<BR> 0,<BR>
(destructor)PyvtkImageDecomposeFilter_PyDelete,<BR>
(printfunc)PyvtkImageDecomposeFilter_PyPrint,<BR>
(getattrfunc)PyvtkImageDecomposeFilter_PyGetAttr,<BR> 0, 0,
(reprfunc)PyvtkImageDecomposeFilter_PyRepr, 0, 0, 0,<BR>};</DIV>
<DIV> </DIV>
<DIV>static PyObject *PyvtkImageDecomposeFilter_PyNew(PyObject
*vtkNotUsed(self),PyObject *vtkNotUsed(args))<BR> {<BR> PyObject
*obj;</DIV>
<DIV> </DIV>
<DIV> if ((obj = PyObject_NEW(PyObject,
&PyvtkImageDecomposeFilterType)) == NULL)<BR> return
NULL;</DIV>
<DIV> </DIV>
<DIV> vtkPythonAddObjectToHash(obj,(void
*)(vtkImageDecomposeFilter::New()),(void
*)vtkImageDecomposeFilter_Typecast);<BR> return obj;<BR>}</DIV>
<DIV> </DIV>
<DIV>static PyMethodDef PyvtkImageDecomposeFilter_ClassMethods[] = {<BR>
{"New", (PyCFunction)PyvtkImageDecomposeFilter_PyNew},<BR> {NULL,
NULL}<BR>};</DIV>
<DIV> </DIV>
<DIV>extern "C" { void initvtkImageDecomposeFilter();}<BR>void
initvtkImageDecomposeFilter()<BR>{<BR>
Py_InitModule("vtkImageDecomposeFilter",
PyvtkImageDecomposeFilter_ClassMethods);<BR>}</DIV>
<DIV> </DIV>
<DIV></FONT> </DIV></BODY></HTML>