Hi all,<br>
I had made a previous post indicating that i could get Paraview to recognize the vtkTextureMapToPlane filter. Following the correction, I now have widgets allowing for Manual/Automatic plane generation along with input variables
for the origin, point1, and point2 to specify the plane.<br>The problem: accepting the filter simply copies the imageData, rather than projecting it. When i change the projection points, the image is copied to the same original location (does not recognize the changes, or the original points).
<br>I have read posts in the vtk archives that do exactly what i would like (project image to DEM) and have followed accordingly, with little success.<br>Has anyone implimented this filter, or have any suggestion/workarounds?
<br>thanks<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" 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 the filter now accepting in Paraview, my syntax was incorrect int the sm and .xml files: <br><br>eg. </div><div><span><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></span></div><div>should be one line:
</div><div><span><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></span></div><div><span><div><span class="gmail_quote">On 6/5/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>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>
</span></div></blockquote></div><br>