[Paraview] Extending ParaView unsing existing VTK sources anf filters.

Mattijs Janssens m.janssens at opencfd.co.uk
Tue Apr 19 04:00:38 EDT 2005


Hi Andrew,

these are the xml files we use for our reader module. This is perhaps 
not what you are looking for (since it is about a reader, not a filter).

Maybe there is a section in the paraview book?

Andrew Maclean wrote:
> It is not clear from the ParaView manual how to extend ParaView using
> existing VTK sources and filters.
> 
> Do I:
> 1) Create a new directory somewhere and define PV_INTERFACE_PATH to point to
> it?
> 2) Create a file called myfilters.xml with entries in it like:
>    <ModuleInterfaces>
>    <Module name="" ...
> ...
>    </Module>
>    </ModuleInterfaces>
> 
> I have looked at:
> http://public.kitware.com/pipermail/paraview/2003-September/000290.html
> 
> But I think this is more for when you create your own code.
> 
> Has anyone any pointers on how to do this for existing VTK code such as 
> vtkParametricMobius (a source) or vtkQuantizePolyData (a filter)?
> 
> If I manage to get the vtk sources or filters into ParaView will static
> linking still work?
> 
> What about parallelization? Some filters are not parallelizable - will this
> affect ParaView?
> 
> Thanks for any comments.
> 
> Andrew
> 
> 
> ___________________________________________
> Andrew J. P. Maclean
> Centre for Autonomous Systems
> The Rose Street Building J04
> The University of Sydney  2006  NSW
> AUSTRALIA
> Ph: +61 2 9351 3283
> Fax: +61 2 9351 7474
> URL: http://www.cas.edu.au/
> ___________________________________________
> 
> 
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
> 


-- 
Best regards,

Mattijs

Mattijs Janssens

OpenCFD Ltd.
The Mews, Picketts Lodge,
Picketts Lane, Salfords,
Surrey RH1 5RG.
Tel: +44 (0)1293 821272
Email: M.Janssens at OpenCFD.co.uk
URL: http://www.OpenCFD.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PVFoamReader.xml
Type: text/xml
Size: 2008 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/paraview/attachments/20050419/82832ed9/PVFoamReader.bin
-------------- next part --------------
<ServerManagerConfiguration>
    <ProxyGroup name="sources">
    <SourceProxy

        name="FoamReader" 
        class="vtkFoamReader">

        <StringVectorProperty
            name="FileName"
            command="SetFileName"
            number_of_elements="1">
            <StringListDomain name="files"/>
        </StringVectorProperty>

        <IntVectorProperty 
            name="UpdateGUI" 
            command="SetUpdateGUI" 
            number_of_elements="1"
            default_values="0"> 
            <BooleanDomain name="bool"/>
        </IntVectorProperty>

        <IntVectorProperty 
            name="CacheMesh" 
            command="SetCacheMesh" 
            number_of_elements="1"
            default_values="1">
            <BooleanDomain name="bool"/>
        </IntVectorProperty>

        <IntVectorProperty 
            name="TimeStepRangeInfo"
            command="GetTimeStepRange"
            information_only="1">
            <SimpleIntInformationHelper/>
        </IntVectorProperty>
        <IntVectorProperty
            name="TimeStep"
            command="SetTimeStep"
            number_of_elements="1"
            default_values="0">
            <IntRangeDomain name="range">
                <RequiredProperties>
                    <Property name="TimeStepRangeInfo" function="Range"/>
                </RequiredProperties>
            </IntRangeDomain>
        </IntVectorProperty>

        <IntVectorProperty 
            name="TimeStepLimitsInfo"
            command="GetTimeStepLimits"
            information_only="1">
            <SimpleIntInformationHelper/>
        </IntVectorProperty>
        <IntVectorProperty
            name="TimeStepLimits"
            command="SetTimeStepLimits"
            number_of_elements="2"
            default_values="2 5" >
            <IntRangeDomain name="range">
                <RequiredProperties>
                    <Property name="TimeStepLimitsInfo" function="Range"/>
                </RequiredProperties>
            </IntRangeDomain>
        </IntVectorProperty>

        <StringVectorProperty 
            name="TimeArrayInfo"
            information_only="1">
            <ArraySelectionInformationHelper attribute_name="Time"/>
        </StringVectorProperty>
        <StringVectorProperty
            name="TimeStatus"
            command="SetTimeArrayStatus"
            number_of_elements="0" 
            repeat_command="1"
            number_of_elements_per_command="2"
            element_types="2 0"
    	    information_property="TimeArrayInfo">
            <ArraySelectionDomain name="array_list">
                <RequiredProperties>
                    <Property name="TimeArrayInfo"
                    function="ArrayList"/>
                </RequiredProperties>
            </ArraySelectionDomain>
        </StringVectorProperty>

        <StringVectorProperty 
            name="RegionArrayInfo"
            information_only="1">
            <ArraySelectionInformationHelper attribute_name="Region"/>
        </StringVectorProperty>
        <StringVectorProperty
            name="RegionStatus"
            command="SetRegionArrayStatus"
            number_of_elements="0" 
            repeat_command="1"
            number_of_elements_per_command="2"
            element_types="2 0"
    	    information_property="RegionArrayInfo">
            <ArraySelectionDomain name="array_list">
                <RequiredProperties>
                    <Property name="RegionArrayInfo"
                        function="ArrayList"/>
                </RequiredProperties>
            </ArraySelectionDomain>
        </StringVectorProperty>

        <StringVectorProperty 
            name="VolFieldArrayInfo"
            information_only="1">
            <ArraySelectionInformationHelper attribute_name="VolField"/>
        </StringVectorProperty>
        <StringVectorProperty
            name="VolFieldStatus"
            command="SetVolFieldArrayStatus"
            number_of_elements="0" 
            repeat_command="1"
            number_of_elements_per_command="2"
            element_types="2 0"
    	    information_property="VolFieldArrayInfo">
            <ArraySelectionDomain name="array_list">
                <RequiredProperties>
                    <Property name="VolFieldArrayInfo"
                        function="ArrayList"/>
                </RequiredProperties>
            </ArraySelectionDomain>
        </StringVectorProperty>

        <StringVectorProperty 
            name="PointFieldArrayInfo"
            information_only="1">
            <ArraySelectionInformationHelper attribute_name="PointField"/>
        </StringVectorProperty>
        <StringVectorProperty
            name="PointFieldStatus"
            command="SetPointFieldArrayStatus"
            number_of_elements="0" 
            repeat_command="1"
            number_of_elements_per_command="2"
            element_types="2 0"
	        information_property="PointFieldArrayInfo">
            <ArraySelectionDomain name="array_list">
                <RequiredProperties>
                    <Property name="PointFieldArrayInfo"
                        function="ArrayList"/>
                </RequiredProperties>
            </ArraySelectionDomain>
        </StringVectorProperty>

    </SourceProxy>
    </ProxyGroup>
</ServerManagerConfiguration>


More information about the ParaView mailing list