Thanks alot, Berk. It does just what i had expected.<br>Much appreciated.<br><br>Shawn<br><br><div><span class="gmail_quote">On 6/14/06, <b class="gmail_sendername">Berk Geveci</b> <<a href="mailto:berk.geveci@gmail.com">
berk.geveci@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Try the attached xml (just a few minor modifications). Make sure that the surface you want to probe with is the input, the data you are probing is the source.
</div><div><span class="q"><br><br> <SourceProxy name="SurfaceProbeFilter" class="vtkPProbeFilter">
<br> <InputProperty<br> name="Source"<br> command="SetSource"><br> <ProxyGroupDomain name="groups"><br></span></div><div><span class="q">
<Group name="sources"/>
<br> <Group name="filters"/><br> </ProxyGroupDomain><br> <DataTypeDomain name="input_type" composite_data_supported="1"><br>
<DataType value="vtkDataSet"/><br> </DataTypeDomain> <br> </InputProperty> <br> <InputProperty name="Input" command="AddInput" clean_command="RemoveAllInputs" multiple_input="1">
<br> <ProxyGroupDomain name="groups"><br> <Group name="sources"/><br> <Group name="filters"/><br> </ProxyGroupDomain>
<br> <DataTypeDomain name="input_type"><br> <DataType value="vtkDataSet"/><br> </DataTypeDomain><br> </InputProperty>
<br> </SourceProxy><br><br></span></div><div><span class="q"> <Module name="SurfaceProbeFilter"<br> root_name="surfProbe"<br> replace_input="0"<br> menu_name="Surface Probe Filter"
<br> module_type="Filter"
<br> long_help="surfProbe"<br> short_help="surfProbe"><br> <Filter class="vtkPProbeFilter"><br></span></div><div> <Input name="Input" class="vtkDataSet"/>
</div><div><span class="q"><br> <Input name="Source" class="vtkDataSet"/>
<br></span></div><div><span class="q"> </Filter><br> <InputMenu trace_name="Source"<br> property="Source"<br> label="Source"<br> help="Select the object to evaluate."
<br> input_name="Source"
<br> initialize_with_current="0"/> <br> <InputMenu trace_name="Input"<br> property="Input"<br> label="Input"<br> help="Set the input for this filter."
<br> input_name="Input"/><br> </Module><br><br></span></div><div><span class="e" id="q_10bd2fab0bb5bb6b_7"><div><span class="gmail_quote">On 6/14/06, <b class="gmail_sendername">shawn mckenzie</b>
<<a href="mailto:shawn.mcknezie@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">shawn.mcknezie@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Hi all,<br>Revisiting an earlier post, I have included a General Probe filter that allows for the user to probe object A with any object B (as opposed to only point or line). I can bring the filter up for any object but my secondary input is not accessible (attachment Screenshot-Kitware
ParaView1.png).<br><br>I am using Paraview 2.5 (to allow dual input). On certain objects ( currently only the output of dual streamTracer), my filter enables the second input. Still, the probe does not funtion as expected (it does not probe on boundary, but recolours the whole object A over object B's colour map, still the opposite of what i would like).
<br><br>I have included my .pvsm and .xml files...i have tried multiple changes to these files without acheiving 100% success.<br>any help is appreciated, thanks<br>shawn<br><br><br><ModuleInterfaces><br> <ServerManagerFile name="
SurfaceProbeFilter.pvsm"/><br> <Module name="SurfaceProbeFilter"<br> root_name="surfProbe"<br> replace_input="0"<br> menu_name="Surface Probe Filter"<br> module_type="Filter"
<br> long_help="surfProbe"<br> short_help="surfProbe"><br> <Filter class="vtkPProbeFilter"><br> <Input name="Source" class="vtkDataSet"/><br> <Input name="Input" class="vtkDataSet" quantity="Multiple"/>
<br> </Filter><br> <InputMenu trace_name="Source"<br> property="Source"<br> label="Source"<br> help="Select the object to evaluate."<br> input_name="Source"
<br> initialize_with_current="0"/> <br> <InputMenu trace_name="Input"<br> property="Input"<br> label="Input"<br> help="Set the input for this filter."
<br> input_name="Input"/><br> </Module><br></ModuleInterfaces><br><br><br><ServerManagerConfiguration><br> <ProxyGroup name="filters"><br> <SourceProxy name="SurfaceProbeFilter" class="vtkPProbeFilter">
<br> <InputProperty<br> name="Source"<br> command="SetSource"><br> <ProxyGroupDomain name="groups">
<br> <Group name="Sources"/><br> <Group name="filters"/><br> </ProxyGroupDomain><br> <DataTypeDomain name="input_type" composite_data_supported="1">
<br> <DataType value="vtkDataSet"/><br> </DataTypeDomain> <br> </InputProperty>
<br> <InputProperty name="Input" command="AddInput" clean_command="RemoveAllInputs" multiple_input="1"><br> <ProxyGroupDomain name="groups">
<br> <Group name="sources"/><br> <Group name="filters"/><br> </ProxyGroupDomain><br>
<DataTypeDomain name="input_type"><br> <DataType value="vtkDataSet"/><br> </DataTypeDomain>
<br> </InputProperty> <br> </SourceProxy><br> </ProxyGroup><br></ServerManagerConfiguration><br><br><br>
<br><div><span class="gmail_quote">On 5/19/06, <b class="gmail_sendername">shawn mckenziie</b> <<a href="mailto:shawn.mcknezie@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
shawn.mcknezie@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>I have made the necessary changes as far as i can see:
<br>a) a second input was added to the .xml to account for the desired object probe<br>b) <InputProperty name="Source" line in the .pvsm was modified to match the .xml
<br><br>I will update my source with the latest cvs version, as this is still necessary for my changes as well, correct?<br><br>Thanks for the help<br></div><div><span>Shawn</span></div><div><span>
<br><br><div><span class="gmail_quote">On 5/19/06, <b class="gmail_sendername">
Berk Geveci</b> <<a href="mailto:berk.geveci@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">berk.geveci@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>You are going down the wrong path. Look at these posts:<br><a href="http://public.kitware.com/pipermail/paraview/2006-March/002747.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://public.kitware.com/pipermail/paraview/2006-March/002747.html
</a><br><a href="http://public.kitware.com/pipermail/paraview/2006-March/002818.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://public.kitware.com/pipermail/paraview/2006-March/002818.html</a><br><br>Your problem is very similar in that you want to change the hard-wired input of the probe filter (Stephen wanted to change the input of the streamline filter). I will forward you the configuration files for the stream tracer. Looking at those, you should be able to figure out how to write a new configuration for a probe filter.
<br><br>-Berk<br><br><br><div></div><div><span><span class="gmail_quote">On 5/19/06, <b class="gmail_sendername">shawn mckenziie</b> <<a href="mailto:shawn.mcknezie@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
shawn.mcknezie@gmail.com</a>> wrote:</span></span></div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"></blockquote></div><div><span>
<div>Hi,<br>I wish to make the probe filter take in any source as an input object . The current Probe filter calls the "GetInput" method to set the input as a line or point, but when i call this method with a general object, my filter does not appear on the filter list.
<br><br>this input will allow any object so i should be ok. In the vtkProbeFilter code i cannot find any method SetInput so i am assuming it is inherited from above somewhere, since it works for a point/line already.<br>
<br>
Should i have to change my SetInput call? any suggestions appreciated.<br>thanks<br>
</div><br></span></div><div>_______________________________________________<br>ParaView mailing list<br><a href="mailto:ParaView@paraview.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ParaView@paraview.org
</a><br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.paraview.org/mailman/listinfo/paraview</a><br><br><br></div><br>
</div></blockquote></div><br>
</span></div></blockquote></div><br>
</div><br clear="all"></blockquote></div><br>
</span></div></blockquote></div><br>