[Paraview] PowerCrust in Filters
Berk Geveci
berk.geveci at kitware.com
Tue, 23 Mar 2004 11:32:41 -0500
If you created your own xml file, make sure that the root element is the
following:
<ModuleInterfaces>
</ModuleInterfaces>
On Tue, 2004-03-23 at 11:01, Amy Henderson wrote:
> Hi Axel,
>
> I just tried adding this algorithm to my build of VTK and then making it
> available in ParaView. It worked fine for me. Here is my XML code:
>
> <Module name="PowerCrust"
> menu_name="Power Crust"
> root_name="PowerCrust"
> module_type="Filter"
> long_help="power crust filter"
> short_help="power crust filter">
> <Filter class="vtkPowerCrustSurfaceReconstruction">
> <Input name="Input"
> class="vtkDataSet"/>
> </Filter>
> <InputMenu trace_name="Input" label="Input"
> help="Set the input to this filter."
> input_name="Input"/>
> </Module>
>
> The differences I see from yours are that 1) the input accepts vtkDataSet,
> not just vtkPolyData and 2) the InputMenu code should not go inside the
> <Filter> </Filter> tags.
>
> If you added this code to Filters.xml, be sure to recompile ParaView. It
> converts the XML to a header file. If you put this XML code in a separate
> file, it needs to be loaded before you can use it (File menu | Import Package).
>
> - Amy
>
> At 10:25 AM 3/23/2004, Axel Steuwer wrote:
> >Hi,
> >
> >has anyone tried accessing the PowerCrust SurfaceReconstruction algorithm
> >(http://www.eastman.ucl.ac.uk/~thutton/powercrust/) as a filter in ParaView?
> >I added it to the vtk-library, and I tried the following code but it doesn't
> >work
> >
> >...
> ><module>
> > <module name="PowerCrustSurfaceReconstruction"
> >root_name="PowerCrustSurfaceReconstruction" module_type="Filter">
> > <Filter class="vtkPowerCrustSurfaceReconstruction">
> > <Input name="Input" class="vtkPolyData" />
> > <InputMenu trace_name="Input" label="Input" help="PowerCrust Surface
> >reconstruction"/>
> > </Filter>
> ></module>
> >....
> >
> >
> >Any ideas?
> >
> >Axel
> >
> >
> >
> >_______________________________________________
> >ParaView mailing list
> >ParaView at paraview.org
> >http://www.paraview.org/mailman/listinfo/paraview
>
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview