Ok that explains why its not regestering. Since i would rather deal with a non-generic data type, do you know of any particular vtkFilter that allows me to implement this method on regular data? <br>My intention is to allow for a plane to be input input in the probe filter (or a similarily functional filter), which is not available in the probe function currently.
<br><br>Thanks<br><br><div><span class="gmail_quote">On 5/18/06, <b class="gmail_sendername">Francois Bertel</b> <<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.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;">
What are you trying to do?<br><br>GenericProbeFilter works on GenericDataSet objects. GenericDataSet is an abstract class made for external packages for unstructured grid with higher order elements.<br>It makes sense to use it if you have a reader that reads your file and returns a GenericDataSet object:
<br>1. It means you have a concrete class of GenericDataSet implemented somewhere.<br>2. You have a reader that creates an object of the concrete class of GenericDataSet from your file.<br>3. You have also a pvsm and xml files for this reader
<br><br>There are a couple of filters already in ParaView that work on a GenericDataSet object (GenericClip, GenericContour, GenericCut, GenericGeometryFilter, GenericOutlineFilter, GenericStreamTracer. GenericDataSetTessellator).
<br><br>If they don't show up, it is because you don't have a reader that returns a GenericDataSet.<br><br>Regards.<br><br>shawn mckenziie wrote:<br>> Hi all,<br>><br>> I am adding the filter vtkGenericProbeFilter.vtk
to paraview and believe<br>> to have coded the .xml and .pvsm files properly. When i load paraview my<br>> filter does not appear in the filter list, nor does it appear in the<br>> pipeline if i import it directly (i have set my PV_INT_PATH correctly)
<br>><br>> I have incuded the aforementioned files. Syntax wise i believe the only<br>> command to question would be the line:<br>><br>> <ProxyProperty name="ProbeWith" command="SetInput">
<br>><br>> as in, perhaps there is a different method name for calling for the<br>> input object? This from what i see in the docs is correct.<br>><br>> Any help is appreciated. Thanks<br>> Shawn<br>>
<br>> GenericProbeFilter.xml<br>> ------------------------------------------<br>><br>> <ModuleInterfaces><br>> <ServerManagerFile name="GenericProbeFilter.pvsm"/><br>> <Module name="GenericProbeFilter"
<br>> root_name="GenericProbe"<br>> replace_input="0"<br>> menu_name="Generic Probe Filter"<br>> module_type="Filter"<br>> long_help="GenProbe"
<br>> short_help="GenProbe"><br>> <Filter class="vtkGenericProbeFilter"><br>> <Input name="Source"<br>> class="vtkGenericDataSet"/>
<br>> </Filter><br>> <InputMenu trace_name="Source" property="Source"<br>> id="im"<br>> source_list="Sources"<br>> label="Source"
<br>> help="Set the Source to this filter."<br>> input_name="Source"<br>> </InputMenu><br>> <SelectWidget label="Probe object" trace_name="Probe object"
<br>> property="ProbeWith"><br>> <Item label="Point" value="Output"><br>> <PointSourceWidget trace_name="Point" default_radius="0"<br>> input_menu="im" default_number_of_points="1" show_entries="0" />
<br>> </Item><br>> <Item label="Line" value="Output"><br>> <LineSourceWidget trace_name="Line" input_menu="im" /><br>> </Item>
<br>> <Item label="Plane" value="Output"><br>> <ImplicitPlaneWidget trace_name="Plane" use_label="0"<br>> input_menu="im" /><br>> <Item/>
<br>> </SelectWidget><br>> </Module><br>> </ModuleInterfaces><br>><br>> GenericProbeFilter.pvsm<br>> -----------------------------------------<br>><br>> <ServerManagerConfiguration>
<br>> <ProxyGroup name="filters"><br>> <SourceProxy name="GenericProbeFilter"<br>> class="vtkGenericProbeFilter"><br>> <InputProperty name="Source" command="SetSource">
<br>> <ProxyGroupDomain name="groups"><br>> <Group name="sources"/><br>> <Group name="filters"/>
<br>> </ProxyGroupDomain><br>> <DataTypeDomain name="input_type"><br>> <DataType value="vtkGenericDataSet"/>
<br>> </DataTypeDomain><br>> </InputProperty><br>> <ProxyProperty name="ProbeWith" command="SetInput">
<br>> <ProxyGroupDomain name="groups"><br>> <Group name="Sources" /><br>> </ProxyGroupDomain>
<br>> </ProxyProperty><br>> </SourceProxy><br>> </ProxyGroup><br>> </ServerManagerConfiguration><br>><br>><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> ParaView mailing list<br>> <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>> <a href="http://www.paraview.org/mailman/listinfo/paraview">
http://www.paraview.org/mailman/listinfo/paraview</a><br><br><br>--<br>François Bertel, PhD | Kitware Inc. Suite 204<br>1 (518) 371 3971 x113 | 28 Corporate Drive<br> | Clifton Park NY 12065, USA<br>
_______________________________________________<br>ParaView mailing list<br><a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview
</a><br></blockquote></div><br>