[Paraview] Add filter problem

Jean M. Favre jfavre at cscs.ch
Thu Oct 21 08:42:51 EDT 2004


A Steuwer wrote:
> Hi,
> 
> I've noticed the same effect on my custom filters when moving from 1.4 to
> 1.6 using e.g. the Delaunay2D filter, and would be interested
> why that happens? It works in 1.4 on my data sets, but not in 1.6 (grayed
> out) on the same data sets.

This was explained by Brad King on his mail of October 19.

"You also need a .pvsm file to which the .xml file points."

I have prepared the Delaunay3D example, tested with 1.6.3 on my Linux 
box. Both files (xml and pvsm) need to be in the same directory. You may 
use the Import Package menu to load an xml file.

Examples of the syntax to use for xml and pvsm files can be found in
./GUI/Client/Resources/Filters.xml and 
./Servers/ServerManager/Resources/filters.xml

-- 
Dr. Jean M. Favre,                            email:favre @ cscs.ch
http://www.cscs.ch/about/Favre.php
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.40
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82
-------------- next part --------------
<ServerManagerConfiguration>
  <ProxyGroup name="filters">
   <SourceProxy name="Delaunay3D" class="vtkDelaunay3D">
      <InputProperty
         name="Input"
         command="SetInput">
           <ProxyGroupDomain name="groups">
             <Group name="sources"/>
             <Group name="filters"/>
           </ProxyGroupDomain>
           <DataTypeDomain name="input_type">
             <DataType value="vtkPointSet"/>
           </DataTypeDomain>
      </InputProperty>

     <DoubleVectorProperty
        name="Tolerance"
        command="SetTolerance"
        number_of_elements="1"
        default_values="0.001">
       <DoubleRangeDomain name="range" min="0.0" max="1.0" />
     </DoubleVectorProperty>

     <DoubleVectorProperty
        name="Alpha"
        command="SetAlpha"
        number_of_elements="1"
        default_values="2.0">
       <DoubleRangeDomain name="range" min="0.0" max="10.0" />
     </DoubleVectorProperty>

     <DoubleVectorProperty
        name="Offset"
        command="SetOffset"
        number_of_elements="1"
        default_values="2.5">
       <DoubleRangeDomain name="range" min="2.5" max="10.0" />
     </DoubleVectorProperty>

     <IntVectorProperty
        name="BoundingTriangulation"
        command="SetBoundingTriangulation"
        number_of_elements="1"
        default_values="0">
       <BooleanDomain name="bool"/>
     </IntVectorProperty>

   </SourceProxy>
 </ProxyGroup>

</ServerManagerConfiguration>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Delaunay3D.xml
Type: text/xml
Size: 1818 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/paraview/attachments/20041021/de34bb5c/Delaunay3D.bin


More information about the ParaView mailing list