I have the filter now accepting in Paraview, my syntax was incorrect int the sm and .xml files: <br><br>eg. <br><InputMenu trace_name="Input" property="Input"<br> source_list="Input"
<br> label="Input"<br> help="Set the input for this filter."<br> input_name="Input"<br> </InputMenu><br><br>should be one line:<br><InputMenu trace_name="Input" property="Input" source_list="Input" label="Input" help="Set the input for this filter." input_name="Input" />
<br><br><br><div><span class="gmail_quote">On 6/5/06, <b class="gmail_sendername">shawn mckenzie</b> <<a href="mailto:shawn.mcknezie@gmail.com">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 am attempting to allow texture mapping in Paraview (image file to plane/DEM). I have created the servermanager and xml interface classes for vtkTextureMapToPlane but when i load Paraview they do not appear in the Filter menu.
<br>When i attempt to import the filter it does not appear as an object.<br><br>If anyone has included this filter previously, or has suggestions regarding my syntax or problems could you let me know?<br>Any help appreciated, thanks
<br><br>shawn<br><br><br><ModuleInterfaces><br> <ServerManagerFile name="TextureMapToPlane.pvsm"/><br> <Module name="TextureMapToPlane"<br> root_name="mapToPlane"<br> replace_input="0"
<br> menu_name="Texture Map: Plane"<br> module_type="Filter"<br> long_help="maptoPlane"<br> short_help="maptoPlane"><br> <Filter class="vtkTextureMapToPlane">
<br> <Input name="Input"<br> class="vtkImageData"/><br> </Filter><br> <InputMenu trace_name="Input" property="Input"<br> source_list="Input"
<br> label="Input"<br> help="Set the input for this filter."<br> input_name="Input"<br> </InputMenu><br> <VectorEntry trace_name="Normal" property="Normal" type="float" length="3" label="Normal" help="Set the normal vector." input_name="Normal"/>
<br> <VectorEntry trace_name="SRange" property="SRange" type="float" length="2" label="SRange" help="Select range in the S direction." input_name="SRange"/>
<br> <VectorEntry trace_name="TRange" property="TRange" type="float" length="2" label="TRange" help="Select range in the T direction." input_name="TRange"/>
<br> <Documentation><br> To Come<br> </Documentation><br> </Module><br></ModuleInterfaces><br><br><br><br><br><ServerManagerConfiguration><br> <ProxyGroup name="filters">
<br> <SourceProxy name="TextureMapToPlane" class="vtkTextureMapToPlane"><br> <InputProperty<br> name="Input"<br> command="SetInput">
<br> <DataTypeDomain name="input_type"><br> <DataType value="vtkImageData"/><br> </DataTypeDomain>
<br> <ProxyGroupDomain name="groups"><br> <Group name="sources"/><br> <Group name="filters"/>
<br> </ProxyGroupDomain><br> </InputProperty><br> <DoubleVectorProperty name="Normal" command="SetNormal" number_of_elements="3" default_values="0 0 1">
<br> <DoubleRangeDomain name="range"/><br> </DoubleVectorProperty><br> <DoubleVectorProperty name="SRange" command="SetSRange" number_of_elements="2" default_values="0 1">
<br> <DoubleRangeDomain name="range"/><br> </DoubleVectorProperty><br> <DoubleVectorProperty name="TRange" command="SetTRange" number_of_elements="2" default_values="0 1">
<br> <DoubleRangeDomain name="range"/><br> </DoubleVectorProperty><br> </SourceProxy><br> </ProxyGroup><br></ServerManagerConfiguration>
<br><br><br>
</div></blockquote></div><br>