[Paraview] Pieces

Mattijs Janssens M.Janssens at nabla.co.uk
Tue, 02 Mar 2004 18:03:24 +0000


This is a multi-part message in MIME format.
--------------040402070100020908020401
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

The Extract Parts filter unfortunately does not appear in my list of
Filters.

I tried adding it to my own list of filters (I created a
$PV_INTERFACE_PATH/standardFilters.xml with just the 'ExtractParts'
module in it (copied from Paraview/ParaView/Resources/Filters.xml)) but
that didn't help.

Guess it checks the <GroupRequirement quantity="Multiple"/> and my data
isn't actually multiple groups?

A attach a simple Xml file with three <Piece>s. Could you have a look at it?

Regards,

Mattijs

p.s. sorry Amy, just hit reply.

Amy Henderson wrote:
> Hi Mattijs,
> 
> Once you have loaded your data into ParaView, you can run the Extract 
> Parts filter on it. To look at the pieces individually, run the Extract 
> Parts filter once per part on your data.
> 
> - Amy
> 
> At 09:56 AM 3/2/2004, Mattijs Janssens wrote:
> 
>> I have written a PolyData file with multiple <Piece>s. Is there a way 
>> in which to look at those pieces individually? Or do I have to split 
>> the file into separate files?
>>
>> Mattijs
>>
>> _______________________________________________
>> 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
> 

-- 
/*---------------------------------------------------------*\
| ===========           Mattijs Janssens                    |
| \\        /           Development Engineer                |
|  \\      /                                                |
|   \\    /             Nabla Ltd.                          |
|    \\  /              The Mews, Picketts Lodge            |
|     \\/               Picketts Lane, Salfords,            |
|     F ield            Surrey RH1 5RG.                     |
|     O peration        Tel: +44 (0)1293 821272             |
|     A nd              Email: m.janssens at Nabla.co.uk       |
|     M anipulation     URL: http://www.Nabla.co.uk         |
\*---------------------------------------------------------*/


--------------040402070100020908020401
Content-Type: text/xml;
 name="hex1_0.vtp"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="hex1_0.vtp"

<?xml version="1.0"?>
<VTKFile type="PolyData" version="0.1" byte_order="LittleEndian">
<PolyData >
    <Piece Name="movingWall" NumberOfPoints="4" NumberOfVerts="0" NumberOfLines="0" NumberOfStrips="0" NumberOfPolys="1">
        <Points >
            <DataArray type="Float32" NumberOfComponents="3" format="ascii">
             0 1 0 1 1 0 0 1 1 1 1 1
            </DataArray>
        </Points>
        <Polys >
            <DataArray type="Int32" Name="connectivity" format="ascii">
             0 2 3 1
            </DataArray>
            <DataArray type="Int32" Name="offsets" format="ascii">
             4
            </DataArray>
        </Polys>
    </Piece>
    <Piece Name="fixedWalls" NumberOfPoints="8" NumberOfVerts="0" NumberOfLines="0" NumberOfStrips="0" NumberOfPolys="3">
        <Points >
            <DataArray type="Float32" NumberOfComponents="3" format="ascii">
             0 0 0 1 0 0 0 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 1 1
            </DataArray>
        </Points>
        <Polys >
            <DataArray type="Int32" Name="connectivity" format="ascii">
             0 4 6 2 1 3 7 5 0 1 5 4
            </DataArray>
            <DataArray type="Int32" Name="offsets" format="ascii">
             4 8 12
            </DataArray>
        </Polys>
    </Piece>
    <Piece Name="frontAndBack" NumberOfPoints="8" NumberOfVerts="0" NumberOfLines="0" NumberOfStrips="0" NumberOfPolys="2">
        <Points >
            <DataArray type="Float32" NumberOfComponents="3" format="ascii">
             0 0 0 1 0 0 0 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 1 1
            </DataArray>
        </Points>
        <Polys >
            <DataArray type="Int32" Name="connectivity" format="ascii">
             0 2 3 1 4 5 7 6
            </DataArray>
            <DataArray type="Int32" Name="offsets" format="ascii">
             4 8
            </DataArray>
        </Polys>
    </Piece>
</PolyData>
</VTKFile>


--------------040402070100020908020401--