<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C539FE.72A6AF10">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:HyphenationZone>21</w:HyphenationZone>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailFormatvorlage17
        {mso-style-type:personal-compose;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Normale Tabelle";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=DE link=blue vlink=purple style='tab-interval:35.4pt'>
<div class=Section1>
<p class=MsoNormal><span class=SpellE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Hi</span></font></span><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>I have a problem to install
dynamically the number of output ports for my reader source object.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>The reader source object is inherent
from the class <span class=SpellE>vtkUnstructuredGridAlgorithm</span>. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>What I want is to install in
my class a dynamically count of output ports because my class has to read a
file that can contain <o:p></o:p></span></font></p>
<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>a</span></font></span><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-GB'> set of geometries. I will construct <span
class=GramE>for each geometry</span> a separate visualisation pipeline.
Therefore I need the dynamically count of output ports.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>One port <span class=GramE>for
each geometry</span>. Problem now is that the only time, that I now, to install
the count of output ports is when I call the constructor of the class with the <span
class=GramE>New(</span>) function. But the <span class=GramE>New(</span>)
function can not be overridden to get a parameter for my constructor like count
of ports.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Did someone now how I can set
the number of output port dynamically or is this impossible? <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>When it is possible where do
I have to call the <span class=SpellE><span class=GramE>SetNumberOfOutputPorts</span></span><span
class=GramE>(</span><span class=SpellE>int</span> Count) and what kind of initialization
did I have to do?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Thanks for your help.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Best regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'>Stephan Franke<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-GB'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=1 color=gray face=Arial><span lang=EN-GB style='font-size:9.0pt;
font-family:Arial;color:gray;mso-ansi-language:EN-GB;mso-no-proof:yes'>Dipl.
Ing. Stephan Franke<br>
Virtuelles Prototyping (</span></font><st1:PersonName><font size=1 color=gray
face=Arial><span lang=EN-GB style='font-size:9.0pt;font-family:Arial;
color:gray;mso-ansi-language:EN-GB;mso-no-proof:yes'>VPT</span></font></st1:PersonName><font
size=1 color=gray face=Arial><span lang=EN-GB style='font-size:9.0pt;
font-family:Arial;color:gray;mso-ansi-language:EN-GB;mso-no-proof:yes'>)<br>
</span></font><font size=1 face=Arial><span lang=EN-GB style='font-size:9.0pt;
font-family:Arial;mso-ansi-language:EN-GB;mso-no-proof:yes'><br>
<b><font color=gray><span style='color:gray;font-weight:bold'>IN</span></font><font
color=blue><span style='color:blue'>PRO</span></font></b><font color=black><span
style='color:black'> </span></font><font color=gray><span style='color:gray'>Innovationsgesellschaft
für <br>
fortgeschritten</span></font></span></font><font size=1 color=gray face=Arial><span
style='font-size:9.0pt;font-family:Arial;color:gray;mso-no-proof:yes'>e
Produktionssysteme <br>
in der Fahrzeugindustrie mbH <br>
Hallerstraße 1, D-10587 Berlin <br>
<br>
Telefon: +49 (0)30 399 97-278<br>
Fax: +49 (0)30 399 97-117 <br>
E-Mail: <a href="mailto:Stephan.Franke@inpro.de">Stephan.Franke@inpro.de</a></span></font><font
size=1 color=blue face=Arial><span style='font-size:9.0pt;font-family:Arial;
color:blue;mso-no-proof:yes'> <br>
</span></font><font size=1 color=gray face=Arial><span style='font-size:9.0pt;
font-family:Arial;color:gray;mso-no-proof:yes'>Web:
</span></font><font size=1 face=Arial><span style='font-size:9.0pt;
font-family:Arial;mso-no-proof:yes'><a href="http://www.inpro.de/">www.inpro.de</a></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>