[Paraview] ParaView Digest, Vol 89, Issue 57

T.Hiraoka lantis1017 at gmail.com
Tue Sep 27 17:10:46 EDT 2011




paraview-request at paraview.org: 

>Send ParaView mailing list submissions to
>	paraview at paraview.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://www.paraview.org/mailman/listinfo/paraview
>or, via email, send a message with subject or body 'help' to
>	paraview-request at paraview.org
>
>You can reach the person managing the list at
>	paraview-owner at paraview.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of ParaView digest..."
>
>
>Today's Topics:
>
>   1. Re: Problem with making animation with paraview (Karl K?nig)
>   2. Reading nii RGB images (Philip A Cook)
>   3. Re: Mac OS X 10.5+ dmg crashes (David Partyka)
>   4. Re: Dodgy windows built (David E DeMarle)
>   5. problem with playing movies (wang)
>   6. Re: Texture Coordinates in python calculator (David E DeMarle)
>   7. Re: Texture Coordinates in python calculator (Andy Bauer)
>   8. Re: Using field data as text source? (David E DeMarle)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 27 Sep 2011 00:26:13 +0200
>From: Karl K?nig <kkoenig11 at web.de>
>Subject: Re: [Paraview] Problem with making animation with paraview
>To: Sriram Ragav <neyganesh20002000 at gmail.com>
>Cc: paraview at paraview.org
>Message-ID: <4E80FC05.809 at web.de>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Sriram,
>
>I'm guessing you are using ParaView 3.10.1 64-bit on Windows Vista or 7?
>Then you are affected by the bug documented at
>http://www.paraview.org/Bug/view.php?id=12359
>
>It may help to install the CVID codec as David suggested in a posting
>earlier this year (http://markmail.org/message/ykkavu47coc6unjm). If
>that does not help, short from downgrading to ParaView 3.8, you may
>always fall back to saving an image file sequence and transcode that to
>a movie using some encoding software as ffmpeg, mencoder, QuickTime Pro
>etc. (see http://markmail.org/message/ldn5cax6b6sipv7t for an example)
>
>Karl
>
>
>Sriram Ragav wrote, On 26.09.2011 12:01:
>> Dear users,
>> 
>> I am trying to visualise results of my simulation in paraview.
>> 
>> I am able to see all the pictures for different time steps. But while
>> trying to save the animation I am getting an error. I have captured the
>> error as a screen shot and I am including it with this mail.
>> 
>>  
>> 
>> Pls let me know what I should be doing to correct this mistake.
>> 
>>  
>> 
>> Sriram Ragav SG,
>> 
>> MSc Process Engineering,
>> 
>> Product and Process Engineering Group,
>> 
>> TU Delft,
>> 
>> Ph: ++31-619708954
>> 
>> sriramragav.blogspot.com
>
>
>------------------------------
>
>Message: 2
>Date: Mon, 26 Sep 2011 18:13:35 -0400
>From: Philip A Cook <cookpa at mail.med.upenn.edu>
>Subject: [Paraview] Reading nii RGB images
>To: paraview at paraview.org
>Message-ID: <599C5E63-5427-4023-9A86-397F8F96CB25 at mail.med.upenn.edu>
>Content-Type: text/plain; charset=us-ascii
>
>Hi all,
>
>I have images with the datatype NIFTI_TYPE_RGB24 (128):
>
>    bitpix = 24
>    datatype = 128
>    dim[0] = 3
>    dim[1] = 192
>    dim[2] = 256
>    dim[3] = 160
>
>However when I load an image into Paraview, the slices don't show up as RGB. I think the data is being written correctly. To verify this, I took the same binary data (the contents of the nii file minus the 352 byte header), and added a Meta header:
>
>ObjectType = Image
>NDims = 3
>BinaryData = True
>BinaryDataByteOrderMSB = False
>CompressedData = False
>TransformMatrix = 1 0 0 0 -1 0 0 0 1
>Offset = -93 143 -72
>CenterOfRotation = 0 0 0
>AnatomicalOrientation = RPI
>ElementSpacing = 0.976562 0.976562 1
>DimSize = 192 256 160
>ElementNumberOfChannels = 3
>ElementType = MET_UCHAR
>ElementDataFile = LOCAL
>
>The resulting image displays correctly as RGB. Unfortunately, the geometry of the image is often confused by the conversion between nii and mha files, so it would be really helpful if I could load RGB .nii images directly. Is there a way to read RGB images in NIfTI-1 format? 
>
>Thanks,
>
>
>Phil
>
>------------------------------
>
>Message: 3
>Date: Tue, 27 Sep 2011 08:56:09 -0400
>From: David Partyka <david.partyka at kitware.com>
>Subject: Re: [Paraview] Mac OS X 10.5+ dmg crashes
>To: Fred Fred <stan1313 at hotmail.fr>
>Cc: ParaView <paraview at paraview.org>
>Message-ID:
>	<CAPxbyhxwrMzC-T_zZTdC1FyXbXoAPNu_7gvHh1R5BrPX9rM6yg at mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Glad to hear. CC'ing in the list so everyone knows you found a resolution.
>
>On Mon, Sep 26, 2011 at 6:07 PM, Fred Fred <stan1313 at hotmail.fr> wrote:
>
>>  Good idea!
>> I fixed the problem by reading the report. I discovered that PV was looking
>> for external libraries in /usr/local where I have another version of PV that
>> I built from source.
>> It is probably because I put /usr/local/Paraview-3.10.1_BUILD/bin
>> in ~/.MacOSX/environment.plist
>> So everything is fine now, thank you very much for your help!
>>
>>
>> ------------------------------
>> From: david.partyka at kitware.com
>> Date: Mon, 26 Sep 2011 17:57:06 -0400
>>
>> Subject: Re: [Paraview] Mac OS X 10.5+ dmg crashes
>> To: stan1313 at hotmail.fr
>>
>> If you hit the button Signaler can you send me the output it displays?
>>
>> On Mon, Sep 26, 2011 at 5:55 PM, Fred Fred <stan1313 at hotmail.fr> wrote:
>>
>>  In french, should be something like "PV has quit suddenly"
>>
>> ------------------------------
>> From: david.partyka at kitware.com
>> Date: Mon, 26 Sep 2011 14:11:20 -0400
>> Subject: Re: [Paraview] Mac OS X 10.5+ dmg crashes
>> To: stan1313 at hotmail.fr
>> CC: paraview at paraview.org
>>
>>
>> What are the error messages?
>>
>> On Mon, Sep 26, 2011 at 2:02 PM, Fred Fred <stan1313 at hotmail.fr> wrote:
>>
>>  Hello,
>> just downloaded ParaView-3.10.1-Darwin-x86_64.dmg, put the paraview exe in
>> Applications, lauched it and... it crashed from the beginning (error
>> message, several tries, same result).
>> My config: Mac OS X 10.6.8
>> Any other such experience?
>>
>>
>> _______________________________________________
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>>
>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://www.paraview.org/pipermail/paraview/attachments/20110927/909a9bb4/attachment-0001.htm>
>
>------------------------------
>
>Message: 4
>Date: Tue, 27 Sep 2011 09:06:52 -0400
>From: David E DeMarle <dave.demarle at kitware.com>
>Subject: Re: [Paraview] Dodgy windows built
>To: "Parker, Andrew (UK Filton)" <Andrew.Parker2 at baesystems.com>
>Cc: paraview at paraview.org
>Message-ID:
>	<CANjZAi9i3KuSuj2KRPa1G9x=eq67N9oLZ8NS3TJqHAY+LS0Tog at mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>What, if any, third party libraries does your reader link to?
>
>Have you tried directly comparing the data sets produced by your
>reader on both platforms? I would go about that by attaching some
>ascii writer inside the reader and comparing the outputs.
>
>good luck,
>
>David E DeMarle
>Kitware, Inc.
>R&D Engineer
>21 Corporate Drive
>Clifton Park, NY 12065-8662
>Phone: 518-881-4909
>
>
>
>On Fri, Sep 23, 2011 at 5:18 AM, Parker, Andrew (UK Filton)
><Andrew.Parker2 at baesystems.com> wrote:
>> Hi,
>>
>> I have several plug-ins that work fine in Linux, and have been using them
>> for some time within Linux.? They are compiled in under Linux using cmake
>> etc.? However, when I built the same plugins on windows using cmake etc and
>> visual studio, while it builds and links no problems, it displays nothing
>> when I use it.? That is to say in windows all the menus are there, all
>> others functions work fine, but when I use my plug-in, a reader, it renders
>> nothing in the window.? Looking in the statistics object inspector
>> everything is suspiciously set to +- Inf, instead?of the domain extents
>> which are correct under Linux? Not sure if this adds any information.
>>
>> So to recap, may own built of paraview built?with my own plug-ins runs fine
>> in windows for standard paraview options, but when using the plugins, while
>> I get the same feedback, it displays nothing??
>>
>> Any help appreciated,
>> Cheers,
>> Andy
>> ********************************************************************
>> This email and any attachments are confidential to the intended
>> recipient and may also be privileged. If you are not the intended
>> recipient please delete it from your system and notify the sender.
>> You should not copy it or use it for any purpose nor disclose or
>> distribute its contents to any other person.
>> ********************************************************************
>>
>>
>> _______________________________________________
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>
>
>------------------------------
>
>Message: 5
>Date: Tue, 27 Sep 2011 15:15:32 +0200
>From: wang <wang at knmi.nl>
>Subject: [Paraview] problem with playing movies
>To: paraview at paraview.org
>Message-ID: <4E81CC74.7040800 at knmi.nl>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Dear Paraview users
>
>I have a question over movies. The window system (window 7) can not play 
>movies that are made now with Paraview. The movies that made halve year 
>ago is fine. By the way they are made by the same version of Paraview.
>
>Does anyone else have the same problem?
>
>Thanks!
>Xueli
>
>
>------------------------------
>
>Message: 6
>Date: Tue, 27 Sep 2011 09:57:24 -0400
>From: David E DeMarle <dave.demarle at kitware.com>
>Subject: Re: [Paraview] Texture Coordinates in python calculator
>To: Felipe Bordeu <felipe.bordeu at ec-nantes.fr>
>Cc: "Paraview Mailing list \(to use with ec-nantes\)"
>	<paraview at paraview.org>
>Message-ID:
>	<CANjZAi8HVGz=xav9pByTvX8_NawUkVauS9nW1Dv=F9mSV7X6Gw at mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>On Thu, Sep 22, 2011 at 2:32 PM, Felipe Bordeu
><felipe.bordeu at ec-nantes.fr> wrote:
>> Hello,
>>
>> I'm trying to generater a Texture coordinates array using the position of my
>> points.
>> For this I used the python calculator with this formula, (With the Result
>> Array Name: Texture Coordinates)
>>
>> coordsX/256*iHat+coordsY/1024*jHat
>>
>> the problem is that the python calculator keep putting an extra column in my
>> data (like 0*kHat). In the information tab, I can see 3 components in my new
>> field. So the Apply Texture is grey and I cant use it.
>
>Is that a _python_ calculator expression or a normal calculator filter
>expression?
>
>It looks like the normal calculator to me and it may well be that you
>can not create two component arrays with it. Additionally, it doesn't
>have a way to mark the array as the active scalars. Just assigning the
>name won't do it.
>
>I recommend using the python filter instead and then calling
>point_data.SetTCoords("nameofyourarray") instead.
>
>good luck!
>
>
>------------------------------
>
>Message: 7
>Date: Tue, 27 Sep 2011 10:04:47 -0400
>From: Andy Bauer <andy.bauer at kitware.com>
>Subject: Re: [Paraview] Texture Coordinates in python calculator
>To: David E DeMarle <dave.demarle at kitware.com>
>Cc: "Paraview Mailing list \(to use with ec-nantes\)"
>	<paraview at paraview.org>
>Message-ID:
>	<CAMaOp+Eczawk+_Y84goOp5n3q6RAAwO2h50QETs6XOyTMPuoRA at mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>For reference, the normal calculator currently doesn't allow creating 2
>component arrays.  If iHat, jHat, and/or kHat are specified in the
>expression it makes the resulting array a 3 component array.
>
>On Tue, Sep 27, 2011 at 9:57 AM, David E DeMarle
><dave.demarle at kitware.com>wrote:
>
>> On Thu, Sep 22, 2011 at 2:32 PM, Felipe Bordeu
>> <felipe.bordeu at ec-nantes.fr> wrote:
>> > Hello,
>> >
>> > I'm trying to generater a Texture coordinates array using the position of
>> my
>> > points.
>> > For this I used the python calculator with this formula, (With the Result
>> > Array Name: Texture Coordinates)
>> >
>> > coordsX/256*iHat+coordsY/1024*jHat
>> >
>> > the problem is that the python calculator keep putting an extra column in
>> my
>> > data (like 0*kHat). In the information tab, I can see 3 components in my
>> new
>> > field. So the Apply Texture is grey and I cant use it.
>>
>> Is that a _python_ calculator expression or a normal calculator filter
>> expression?
>>
>> It looks like the normal calculator to me and it may well be that you
>> can not create two component arrays with it. Additionally, it doesn't
>> have a way to mark the array as the active scalars. Just assigning the
>> name won't do it.
>>
>> I recommend using the python filter instead and then calling
>> point_data.SetTCoords("nameofyourarray") instead.
>>
>> good luck!
>> _______________________________________________
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://www.paraview.org/pipermail/paraview/attachments/20110927/95ac4249/attachment-0001.htm>
>
>------------------------------
>
>Message: 8
>Date: Tue, 27 Sep 2011 10:17:08 -0400
>From: David E DeMarle <dave.demarle at kitware.com>
>Subject: Re: [Paraview] Using field data as text source?
>To: "Mark S. Bentley" <mark at lunartech.org>
>Cc: paraview at paraview.org
>Message-ID:
>	<CANjZAi87E+Sd13auEM_kRfaSBWd50v6s-QGCYnw9vXm-izDfNA at mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Looks like you could do it by writing a plugin that contains a filter
>that reads the value and populates a 1x1 vtkTable with the result. The
>xml for the filter would have a hint that tells ParaView to display
>the output as text.
>
>See http://markmail.org/search/?q=paraview+text+source+utkarsh#query:paraview%20text%20source%20utkarsh+page:2+mid:7o7izbsdglwfhy4s+state:results
>
>Please submit a feature request for this, and if enough people vote
>for it I'm sure we can make it a standard feature in 4.0.
>
>David E DeMarle
>Kitware, Inc.
>R&D Engineer
>21 Corporate Drive
>Clifton Park, NY 12065-8662
>Phone: 518-881-4909
>
>
>
>On Fri, Sep 23, 2011 at 12:45 PM, Mark S. Bentley <mark at lunartech.org> wrote:
>> Hi all,
>>
>> I've been using ParaView to view discrete element model data, imported as a
>> time series of legacy VTK files. I've just added field data to the output
>> data so that I have per-timestep global data (e.g. thermal energy of the
>> system, number of particles etc.). This loads into ParaView fine alongside
>> by particle data.
>>
>> Now I would like to write this out to the screen as text during animations,
>> but can't figure out a way to do it - can the text source not use a Field
>> Data variable as its source? Is there something I'm missing, or should I hit
>> python?
>>
>> Regards,
>>
>> Mark
>> _______________________________________________
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
>
>------------------------------
>
>_______________________________________________
>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
>
>Follow this link to subscribe/unsubscribe:
>http://www.paraview.org/mailman/listinfo/paraview
>
>
>End of ParaView Digest, Vol 89, Issue 57
>****************************************


More information about the ParaView mailing list