[Paraview] Some more questions on animation
Greetings all, I'm trying to make several animations that involve the use of the same camera values in the Animation Keyframes. In so doing, is it possible to simply cut and paste the values to other animations? If so, how do I go about doing that? Also, what is the best way to export the animations to Powerpoint? Thanks! Jesse ___ 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
[Paraview] Particles-in-Cells: Two XDMF files?
Hi ParaView mailing list, we are adding paraview/xdmf support to our particle-in-cell code PIConGPU [1] right now. To start with the general topology: The particle in cell algorithm stores field data (scalars and vectors) on a grid, in the simplest case a 3DCoRectMesh. In between the mesh points live particles, described with a Polyvertex topology. The problem that now arises: we would like to describe both grid and polyvertex data in the *same xdmf file*. Doing so, e.g. by combining them on the Domain level in two separate Temporal Collections causes ParaView to refuse volume-rendering the fields (not available in the drop down menu). Adding two Domains to one file causes ParaView to omit the second data domain during load. Adding both grid types in the same Temporal Collection causes a crash. Do we really have to write two xdmf files or did we miss a point? A snippet of our data structures, stored in a hdf5 file per time step: ?xml version=1.0 ? Xdmf Domain Grid CollectionType=Temporal GridType=Collection Name=Grids Grid GridType=Uniform Name=Grid_0_0 Topology Dimensions=256 768 256 TopologyType=3DCoRectMesh/ Geometry Type=ORIGIN_DXDYDZ DataItem Dimensions=3 Format=XML0.0 0.0 0.0/DataItem DataItem Dimensions=3 Format=XML1.0 1.0 1.0/DataItem /Geometry Attribute Name=fields/Density_e DataItem Dimensions=256 768 256 Format=HDF NumberType=Float Precision=4h5_0.h5:Density_e/DataItem /Attribute /Grid !-- -- /Grid /Domain /Xdmf and the particles: Xdmf Domain Grid CollectionType=Temporal GridType=Collection Name=Polys Grid GridType=Uniform Name=Poly_0_0 Topology NodesPerElement=94109696 TopologyType=Polyvertex/ Attribute Name=particles/e/weighting DataItem Dimensions=94109696 Format=HDF NumberType=Float Precision=4h5_0.h5:weighting/DataItem /Attribute Time TimeType=Single Value=0/ Attribute AttributeType=Vector Name=particles/e/momentum DataItem Dimensions=94109696 3 Function=JOIN($0,$1,$2) ItemType=Function DataItem Dimensions=94109696 Format=HDF NumberType=Float Precision=4h5_0.h5:momentum/x/DataItem DataItem Dimensions=94109696 Format=HDF NumberType=Float Precision=4h5_0.h5:momentum/y/DataItem DataItem Dimensions=94109696 Format=HDF NumberType=Float Precision=4h5_0.h5:momentum/z/DataItem /DataItem /Attribute /Grid !-- -- /Grid /Domain /Xdmf Best regards and thanks for your Feedback, Axel Huebl [1] http://picongpu.hzdr.de -- . . Axel Huebl - Diploma Student. . a.hu...@hzdr.de - Phone +49 351 260 3582 . .https://www.hzdr.de/crp. . . . Computational Radiation Physics . . Laser Particle Acceleration Division . . Helmholtz-Zentrum Dresden - Rossendorf e.V. . . . . Bautzner Landstrasse 400, 01328 Dresden . . POB 510119, D-01314 Dresden . . Vorstand: Prof. Dr.Dr.h.c. R. Sauerbrey . . Prof. Dr.Dr.h.c. P. Joehnk . . VR 1693 beim Amtsgericht Dresden . . smime.p7s Description: S/MIME Cryptographic Signature ___ 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
Re: [Paraview] Some more questions on animation
I'm trying to make several animations that involve the use of the same camera values in the Animation Keyframes. In so doing, is it possible to simply cut and paste the values to other animations? If so, how do I go about doing that? Jesse, I'd suggest using Python tracing capabiltiies to capture the state of the animation and then replaying that python trace on each of the animations. You could also save Python state out then extract animation related state from the state file and replay that. Also, what is the best way to export the animations to Powerpoint? Saving it out as an avi (or a series of png images that you stitch together using some other tool) is probably your best bet. Utkarsh ___ 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
[Paraview] PDF export missing colors
Conversation moved here from: http://www.kitware.com/blog/home/post/508 Jon, In the Coloring section of the Properties tab, what is selected in the drop-down box? Also, is Interpolate Scalars Before Mapping enabled? Dave ___ 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
[Paraview] VTK accepted for Google Summer of Code
Hi, I am very pleased to announce that VTK has been accepted as a mentoring organization in this year's Google Summer of Code! Our ideas page is http://vtk.org/Wiki/VTK/GSoC_2014, and we would be happy to discuss other ideas and may add more during the student application period. Interested students, please get in touch on our mailing lists. We would encourage you to interact with our community during the application period. Jeff Baumes and I are the administrators for the organization, and mentors who proposed ideas are listed next to the ideas on the wiki page. If you know any students interested in taking part this year please encourage them to get in touch early. We are looking forward to a productive summer! Marcus ___ 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
Re: [Paraview] Build errors compiling Paraview with VS2013
Hi, I just found the solution, my build of QT was not build with webkit support. checking PQWIDGETS_DISABLE_QTWEBKIT in cmake solved the problem. Cheers, Bruce On Fri, Feb 21, 2014 at 1:37 PM, Bruce Jones bruce.david.jo...@gmail.comwrote: Hey, Adding #include algorithm solved those errors. The only project that wont build now is pqWidgets, its giving me 54 errors like this one, Error 23 error LNK2019: unresolved external symbol __declspec(dllimport) public: class QNetworkAccessManager * __cdecl QWebPage::networkAccessManager(void)const (__imp_?networkAccessManager@QWebPage@@QEBAPEAVQNetworkAccessManager@@XZ) referenced in function public: __cdecl pqHelpWindow::pqHelpWindow(class QHelpEngine *,class QWidget *,class QFlagsenum Qt::WindowType) (??0pqHelpWindow@@QEAA@PEAVQHelpEngine@@PEAVQWidget@ @V?$QFlags@W4WindowType@Qt@Z) C:\paraview\bin\Qt\Widgets\pqHelpWindow.obj pqWidgets Cheers, Bruce On Thu, Feb 20, 2014 at 2:59 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Can you try putting #include algorithm at the top in those headers? On Thu, Feb 20, 2014 at 10:49 AM, Bruce Jones bruce.david.jo...@gmail.com wrote: I'm attempting to compile paraview in windows using visual studio 2013. So far I've managed to succesfully compile QT, and Zlib, and have configured the paraview source with CMake. I now have a Visual Studio solution file, upon opening the solution and attempting to build I get a bunch of errors. The root of the problem appears with min and max in various projects within the solution, I get a lot of these errors. Error 22 error C3861: 'min': identifier not found C:\paraview\ThirdParty\protobuf\vtkprotobuf\src\google\protobuf\wire_format_lite_inl.h 270 1 protobuf Error 23 error C3861: 'max': identifier not found C:\paraview\ThirdParty\protobuf\vtkprotobuf\src\google\protobuf\repeated_field.cc 46 1 protobuf Any suggestions? Cheers, Bruce ___ 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
Re: [Paraview] Build errors compiling Paraview with VS2013
Ah! Good to know. I forgot about it. Thanks for the update. Utkarsh On Mon, Feb 24, 2014 at 3:44 PM, Bruce Jones bruce.david.jo...@gmail.com wrote: Hi, I just found the solution, my build of QT was not build with webkit support. checking PQWIDGETS_DISABLE_QTWEBKIT in cmake solved the problem. Cheers, Bruce On Fri, Feb 21, 2014 at 1:37 PM, Bruce Jones bruce.david.jo...@gmail.com wrote: Hey, Adding #include algorithm solved those errors. The only project that wont build now is pqWidgets, its giving me 54 errors like this one, Error 23 error LNK2019: unresolved external symbol __declspec(dllimport) public: class QNetworkAccessManager * __cdecl QWebPage::networkAccessManager(void)const (__imp_?networkAccessManager@QWebPage@@QEBAPEAVQNetworkAccessManager@@XZ) referenced in function public: __cdecl pqHelpWindow::pqHelpWindow(class QHelpEngine *,class QWidget *,class QFlagsenum Qt::WindowType) (??0pqHelpWindow@@QEAA@PEAVQHelpEngine@@PEAVQWidget@@V?$QFlags@W4WindowType@Qt@Z) C:\paraview\bin\Qt\Widgets\pqHelpWindow.obj pqWidgets Cheers, Bruce On Thu, Feb 20, 2014 at 2:59 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Can you try putting #include algorithm at the top in those headers? On Thu, Feb 20, 2014 at 10:49 AM, Bruce Jones bruce.david.jo...@gmail.com wrote: I'm attempting to compile paraview in windows using visual studio 2013. So far I've managed to succesfully compile QT, and Zlib, and have configured the paraview source with CMake. I now have a Visual Studio solution file, upon opening the solution and attempting to build I get a bunch of errors. The root of the problem appears with min and max in various projects within the solution, I get a lot of these errors. Error 22 error C3861: 'min': identifier not found C:\paraview\ThirdParty\protobuf\vtkprotobuf\src\google\protobuf\wire_format_lite_inl.h 270 1 protobuf Error 23 error C3861: 'max': identifier not found C:\paraview\ThirdParty\protobuf\vtkprotobuf\src\google\protobuf\repeated_field.cc 46 1 protobuf Any suggestions? Cheers, Bruce ___ 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
[Paraview] trouble with paraview.simple.AssignLookupTable
I have a user that is trying to assign a custom color map in Python. How is this done? I tried the trace recorder, but it doesn't show this action/command. Mu user's note is below: Thanks, Alan Hello, I am trying to use paraview.simple python interface to assign a custom color map, but I can't seem to get it to work with even the default color maps. For example AssignLookupTable(nodal_eqps, Warm) Traceback (most recent call last): File stdin, line 1, in module File /Applications/paraview.app/Contents/Python/paraview/simple.py, line 770, in AssignLookupTable return _GetLUTReaderInstance().GetLUT(arrayObject, LUTName, rangeOveride) File /Applications/paraview.app/Contents/Python/paraview/lookuptable.py, line 234, in GetLUT range = self.__GetRange(aArray,aRangeOveride) File /Applications/paraview.app/Contents/Python/paraview/lookuptable.py, line 301, in __GetRange nComps = aArray.GetNumberOfComponents() AttributeError: 'str' object has no attribute 'GetNumberOfComponents' I have been looking at http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/_modules/paraview/simple.html#AssignLookupTable and it appears I need to pass AssignLookupTable an arrayObject. The arrayname called nodal_eqps works fine with GetLookupTableForArray, but I don't know how to create an arrayObject from this arrayname. Thanks for any help you can lend. ___ 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
Re: [Paraview] Setting sample distance for GPU volume rendering?
Hi Utkarsh, Changing DataRep.ScalarOpacityUnitDistance shows up as what's in the Scale input box. Going the other direction, setting the Scale in the GUI is what python prints for DataRep.ScalarOpacityUnitDistance so they do seem to be the same thing? Mark -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Friday, February 21, 2014 8:55 AM To: Vanmoer, Mark W Cc: paraview Subject: Re: [Paraview] Setting sample distance for GPU volume rendering? Mark, Scale on the ColorScaleEditor is control the scale used to map data scalars to colors or opacity, while sampling distance controls the length at which the samples are accumulated when volume rendering. The two are indeed different. Utkarsh On Thu, Feb 20, 2014 at 3:38 PM, Vanmoer, Mark W mvanm...@illinois.edu wrote: Thanks Utkarsh, so it's the same thing as the Scale input in the Color Scale Editor? I was getting color bands across the volumized(?) sections of the image and I was thinking that changing the ray sample distance would help that. But I just figured out that if I scale up the data the bands go away. The data was 300^3 cells jammed into bounds of -1.8 to 1.8. Mark -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Thursday, February 20, 2014 11:52 AM To: Vanmoer, Mark W Cc: paraview Subject: Re: [Paraview] Setting sample distance for GPU volume rendering? Mark, You can indeed change it from Python for now. Or the same data representation object, you have ScalarOpacityUnitDistance property that could be set e.g. r = Show() r.ScalarOpacityUnitDistance = 1.0 On Thu, Feb 20, 2014 at 11:50 AM, Vanmoer, Mark W mvanm...@illinois.edu wrote: Hello, In ParaView 3.8.1 it was possible to set the Sample Distance for the GPU volume mapper in the client GUI. I don't see this in the 4.0.1 client. Is this possible to get at through Python? All I've been able to find so far is the data representation's volume type string. I haven't been able to figure out how to get to the mapper itself. Thanks, 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
Re: [Paraview] trouble with paraview.simple.AssignLookupTable
Hi Alan, You get the array object from the source/reader/filter's point data. for example w = Wavelet() wa = w.PointData.GetArray('RTData') See if this example doesn't help: http://paraview.org/Wiki/ParaView/Python/Lookup_tables Burlen On 2/24/2014 1:29 PM, Scott, W Alan wrote: I have a user that is trying to assign a custom color map in Python. How is this done? I tried the trace recorder, but it doesn't show this action/command. Mu user's note is below: Thanks, Alan Hello, I am trying to use paraview.simple python interface to assign a custom color map, but I can't seem to get it to work with even the default color maps. For example AssignLookupTable(nodal_eqps, Warm) Traceback (most recent call last): File stdin, line 1, in module File /Applications/paraview.app/Contents/Python/paraview/simple.py, line 770, in AssignLookupTable return _GetLUTReaderInstance().GetLUT(arrayObject, LUTName, rangeOveride) File /Applications/paraview.app/Contents/Python/paraview/lookuptable.py, line 234, in GetLUT range = self.__GetRange(aArray,aRangeOveride) File /Applications/paraview.app/Contents/Python/paraview/lookuptable.py, line 301, in __GetRange nComps = aArray.GetNumberOfComponents() AttributeError: 'str' object has no attribute 'GetNumberOfComponents' I have been looking at http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/_modules/paraview/simple.html#AssignLookupTable and it appears I need to pass AssignLookupTable an arrayObject. The arrayname called nodal_eqps works fine with GetLookupTableForArray, but I don't know how to create an arrayObject from this arrayname. Thanks for any help you can lend. ___ 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
[Paraview] Trouble Mapping Data
Dear all, In Color Map Editor panel, Mapping Data window fails to display the mapping when I am trying to load data including scalars larger than 1.0e+11 with ParaView 4.1.0. However, with ParaView 3.98 and earlier, there is no problem. Any help is greatly appreciated. Kind Regards, yoshimi ___ 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