[Paraview] Everything on graph disappears after choose 'volume' representation
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Sun Apr 12 15:58:39 EDT 2015
Attached is a XML that you can load as a plugin using the Tools |
Plugin Manager. This will add a new "Import CSV As Volume" source
under the "Sources" menu. On creating this new source, you'll be able
to select the CSV file and specify the relevant meta-data as
properties. I've setup the defaults to match the file you sent. The
Python code assumes that the CSV file has data in the same order as
VTK expects i.e. X varying first, then Y and then Z. Hence the image
dimensions are flipped.
Also, this is designed to work only for a single process mode, it'll
need some work if it's to work in parallel too.
Utkarsh
On Fri, Apr 10, 2015 at 3:35 PM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> You cannot volume render data coming in from a CSV file. If you want
> to sned me a sample CSV, I can send you a Programmable Source code
> than will produce a volume renderable dataset.
>
>
> On Fri, Apr 10, 2015 at 12:21 PM, yufei shen <yzs133 at psu.edu> wrote:
>> Good afternoon:
>>
>> I am just beginning to use Paraview, and I'm using it to plot a 3D current
>> scalar field, with x,y,z being the coordinates of a point in space, while
>> the forth column value represents the intensity of current passing through
>> that point. My input file is .csv.
>>
>> After I have tetrahedralized my points, the figure show up in the plotting
>> window perfectly with surface, point or any other representations except
>> VOLUME. I can adjust color together with alpha values, however, as soon as I
>> switch to 'volume', everything just disappears. I've also tried the same
>> thing on all platforms (Mac, linux, Windows), but the problem is not solved.
>>
>> I wonder what's causing this problem? Should I used a different input file
>> format other than .csv? It seems what I am doing is really simple compared
>> with paraview's capability. I have also checked the archives but could not
>> find any solution to this...
>>
>> I really appreciate your help!
>>
>> Best Regards
>> Yufei
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: csvtovolume.xml
Type: text/xml
Size: 4255 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150412/a3479cc2/attachment.xml>
More information about the ParaView
mailing list