<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoPlainText>I'm experimenting with calling functions in the ServerManager
directly from a parallel application<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>On each node, I have a vtkDataset (piece of),<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>I need to set the dataset as input to a pipeline - for example<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-autospace:none'><b><span style='font-size:12.0pt;
font-family:"Courier New"'>&nbsp; <span style='color:green'>vtkSMProxyManager</span><span
style='color:olive'>*</span> <span style='color:green'>pxm</span> <span
style='color:olive'>=</span> <span style='color:green'>vtkSMProxyManager</span><span
style='color:olive'>::</span><span style='color:green'>GetProxyManager</span><span
style='color:olive'>();</span></span></b><span style='font-size:12.0pt;
font-family:"Courier New";color:olive'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span style='font-size:12.0pt;
font-family:"Courier New"'>&nbsp; <span style='color:green'>vtkSMProxy</span> <span
style='color:olive'>*</span><span style='color:green'>contour</span> <span
style='color:olive'>=</span> <span style='color:green'>pxm</span><span
style='color:olive'>-&gt;</span><span style='color:green'>NewProxy</span><span
style='color:olive'>(</span><span style='color:blue'>&quot;filters&quot;</span><span
style='color:olive'>,</span> <span style='color:blue'>&quot;Contour&quot;</span><span
style='color:olive'>);</span></span></b><span style='font-size:12.0pt;
font-family:"Courier New";color:olive'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span style='font-size:12.0pt;
font-family:"Courier New"'>&nbsp; <span style='color:navy'>//</span></span></b><span
style='font-size:12.0pt;font-family:"Courier New";color:navy'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span style='font-size:12.0pt;
font-family:"Courier New"'>&nbsp; <span style='color:green'>vtkSMInputProperty</span>
<span style='color:olive'>*</span><span style='color:green'>input</span> <span
style='color:olive'>=</span> <span style='color:green'>vtkSMInputProperty</span><span
style='color:olive'>::</span><span style='color:green'>SafeDownCast</span><span
style='color:olive'>(</span></span></b><span style='font-size:12.0pt;
font-family:"Courier New";color:olive'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><b><span style='font-size:12.0pt;
font-family:"Courier New"'>&nbsp;&nbsp;&nbsp; <span style='color:green'>contour</span><span
style='color:olive'>-&gt;</span><span style='color:green'>GetProperty</span><span
style='color:olive'>(</span><span style='color:blue'>&quot;Input&quot;</span><span
style='color:olive'>));<o:p></o:p></span></span></b></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:12.0pt;
font-family:"Courier New";color:olive'><o:p>&nbsp;</o:p></span></p>

<p class=MsoPlainText>How can I manually set the vtkDataSet as the input to the
contour filter (through the inputproxy). I presume I need a data object proxy,
which has its pointer set directly. But I can&#8217;t seem to find that right
combination of calls.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Thanks<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>JB<o:p></o:p></p>

</div>

</body>

</html>