[Paraview] Re: Paraview not recognizing filter

shawn mckenzie shawn.mcknezie at gmail.com
Mon Jun 5 10:52:00 EDT 2006


I have the filter now accepting in Paraview, my syntax was incorrect int the
sm and .xml files:

eg.
<InputMenu trace_name="Input" property="Input"
              source_list="Input"
              label="Input"
              help="Set the input for this filter."
              input_name="Input"
   </InputMenu>

should be one line:
<InputMenu trace_name="Input" property="Input" source_list="Input"
label="Input" help="Set the input for this filter." input_name="Input" />


On 6/5/06, shawn mckenzie <shawn.mcknezie at gmail.com> wrote:
>
> 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.
> When i attempt to import the filter it does not appear as an object.
>
> If anyone has included this filter previously, or has suggestions
> regarding my syntax or problems could you let me know?
> Any help appreciated, thanks
>
> shawn
>
>
> <ModuleInterfaces>
>  <ServerManagerFile name="TextureMapToPlane.pvsm"/>
>  <Module name="TextureMapToPlane"
>          root_name="mapToPlane"
>          replace_input="0"
>          menu_name="Texture Map: Plane"
>          module_type="Filter"
>          long_help="maptoPlane"
>          short_help="maptoPlane">
>    <Filter class="vtkTextureMapToPlane">
>      <Input name="Input"
>             class="vtkImageData"/>
>    </Filter>
>    <InputMenu trace_name="Input" property="Input"
>               source_list="Input"
>               label="Input"
>               help="Set the input for this filter."
>               input_name="Input"
>    </InputMenu>
>    <VectorEntry trace_name="Normal" property="Normal" type="float"
> length="3" label="Normal" help="Set the normal vector."
> input_name="Normal"/>
>    <VectorEntry trace_name="SRange" property="SRange" type="float"
> length="2" label="SRange" help="Select range in the S direction."
> input_name="SRange"/>
>    <VectorEntry trace_name="TRange" property="TRange" type="float"
> length="2" label="TRange" help="Select range in the T direction."
> input_name="TRange"/>
>    <Documentation>
>                   To Come
>    </Documentation>
>  </Module>
> </ModuleInterfaces>
>
>
>
>
> <ServerManagerConfiguration>
>        <ProxyGroup name="filters">
>                <SourceProxy name="TextureMapToPlane"
> class="vtkTextureMapToPlane">
>                         <InputProperty
>                             name="Input"
>                             command="SetInput">
>                             <DataTypeDomain name="input_type">
>                                 <DataType value="vtkImageData"/>
>                             </DataTypeDomain>
>                             <ProxyGroupDomain name="groups">
>                                 <Group name="sources"/>
>                                 <Group name="filters"/>
>                            </ProxyGroupDomain>
>                         </InputProperty>
>                         <DoubleVectorProperty name="Normal"
> command="SetNormal" number_of_elements="3" default_values="0 0 1">
>                           <DoubleRangeDomain name="range"/>
>                         </DoubleVectorProperty>
>                         <DoubleVectorProperty name="SRange"
> command="SetSRange" number_of_elements="2" default_values="0 1">
>                           <DoubleRangeDomain name="range"/>
>                         </DoubleVectorProperty>
>                         <DoubleVectorProperty name="TRange"
> command="SetTRange" number_of_elements="2" default_values="0 1">
>                           <DoubleRangeDomain name="range"/>
>                         </DoubleVectorProperty>
>                </SourceProxy>
>        </ProxyGroup>
> </ServerManagerConfiguration>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20060605/14febfc4/attachment.htm


More information about the ParaView mailing list