Re: [Paraview] how not to scale the thickness of the Arrow Glyph?
Or you can move your points half the distance with the calculator (coords +0.5*dep) and then apply the 2D Glyph Felipe Le 26 mars 2015 à 01:47, Kazuyoshi Furutaka furutaka.kazuyo...@jaea.go.jp a écrit : Dear ParaView experts, I'm visualizing paths of neutrons in some media. Now I prepared the data as point data with displacement vector to the next point attached to each point, and visualize them using the Glyph filter with the following setting: Glyph Type: Arrow Orientation: Orient Scale Mode vector Scale Factor = 1.0 Glyph Mode: All Points The problem is that some arrows are too thick... So here are my questions. (1)How can I make the thickness of the arrows not to scale (only the lengths do)? (2)It may be better to use 2D Glyph instead of Arrow, but the 2D Glyph is centered at a data point, instead of starting from the point... How can I make the 2D Glyphs start from the data points? (3)Do you have any recommendation on how to visualize such a particle paths? Thanks in advance, Kazuyoshi -- Kazuyoshi Furutaka furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp arrows.png___ 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 signature.asc Description: Message signed with OpenPGP using GPGMail ___ 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
Re: [Paraview] Fetching data from xdmf temporal collection
Hi Jean-Michel, just to mention, I don't think VTK is significantly more efficient than ParaView. In practice you shouldn't feel a difference, since all the heavy data handling is anyways done by VTK. Anyway, I attached a script that shows you how to read XDMF data, step through the time steps, wrap the data for numpy and print out some basic infos. Regarding the GetOutput() method, to get data object from the XDMF reader you have to use the GetOutputDataObject(0) method. But I don't know the difference between the two of them, and this also may depends on your VTK version, I'm using 6.2. -Armin On 03/23/2015 03:15 PM, Jean-Michel wrote: Armin, you said you would rather use vtk directly to access raw data in xdmf files. I tried to follow your advice, but I struggle with the vtkXdmfReader. Basically, here is what I do: import vtk reader = vtk.vtkXdmfReader() reader.SetFileName(myfile) reader.ReadAllScalarsOn() reader.Update() However, I don't know how to access the data inside reader once this is done. The GetOutput() method doesn't seem to work. Do you know what I am missing here ? If not, I'll try and move the discussion over at the vtk-users list. Thank you for your help. Jean-Michel Avast logo http://www.avast.com/ L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. www.avast.com http://www.avast.com/ #!/usr/bin/env python import vtk from vtk.numpy_interface import dataset_adapter as dsa from vtk.numpy_interface import algorithms as alg import numpy as np fileName = './data/surfaces.runTime_xzPlane.xmf' reader = vtk.vtkXdmfReader() reader.SetFileName(fileName) # Scan time steps and get the number of time steps reader.UpdateInformation() exe = reader.GetExecutive() outInfo = exe.GetOutputInformation(0) timeStepsKey = vtk.vtkStreamingDemandDrivenPipeline.TIME_STEPS() nTimeSteps = outInfo.Length(timeStepsKey) print 'Number of time steps = ', nTimeSteps pd2cd = vtk.vtkPointDataToCellData() pd2cd.SetInputConnection(reader.GetOutputPort()) pd2cd.PassPointDataOn() # Step through the time steps for stepI in range(nTimeSteps): # Get the stepI-th time value and set the reader time timeValue = outInfo.Get(timeStepsKey, stepI) print '\nTime step = ', stepI, ', Time value = ', timeValue exe.SetUpdateTimeStep(0, timeValue) reader.Modified() # Read the data pd2cd.Update() data = dsa.WrapDataObject(pd2cd.GetOutput()) print Point data arrays, data.PointData.keys() print Cell data arrays, data.CellData.keys() pts = data.GetPoints() # Point data Z = data.PointData['Z'] print Z min/max = %f/%f % (Z.min(), Z.max()) # Cell data (gradient and strain require cell data) gradZ = alg.gradient(data.CellData['Z']) strain = alg.strain(data.CellData['U']) print grad(Z) min/max = %f/%f % (gradZ.min(), gradZ.max()) print Strain min/max = %f/%f % (strain.min(), strain.max()) ___ 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
Re: [Paraview] how not to scale the thickness of the Arrow Glyph?
Dear all, Well... I'm still attached to the original idea, and after some googling I found the following article and mantis entry... https://paraview.uservoice.com/forums/11350-general/suggestions/450560-glyphs-scale-only-the-arrow-length-instead-of-the http://www.vtk.org/Bug/view.php?id=13660 So I've loaded the ArrowGlyph plugin onto my ParaView 4.3.1 32-bit (on linux (compiled by myself), and on windows vista (a binary downloaded from the paraview site)) and applied it to my data. But even though I can see glyphs and can change e.g. radius of shafts, I can NOT choose any Scaling Array; the pull-down menus do NOT respond to clicking... Any clue to this? Thanks in advance, Kazuyoshi From: Kazuyoshi Furutaka furutaka.kazuyo...@jaea.go.jp Subject: Re: [Paraview] how not to scale the thickness of the Arrow Glyph? Date: Thu, 26 Mar 2015 14:36:41 +0900 (JST) Dear David, Thanks for your response. I'll give it a try. Kazuyoshi From: David Thompson david.thomp...@kitware.com Subject: Re: [Paraview] how not to scale the thickness of the Arrow Glyph? Date: Wed, 25 Mar 2015 23:01:51 -0400 Hi Kazuyoshi, I do not think the glyph filter will do what you want it to. You might use a Python programmable filter[1] to turn each point into a line segment (i.e., a line from (x,y,z) to (x+dx, y+dy, z+dz)). Then run Cell Centers on the resulting line segment data and add oriented, unscaled cone glyphs at each cell center to indicate the direction along the line segments. That would draw lines along the path plus cones pointing along the direction of the path. David [1]: http://www.paraview.org/Wiki/Python_Programmable_Filter On Mar 25, 2015, at 8:47 PM, Kazuyoshi Furutaka furutaka.kazuyo...@jaea.go.jp wrote: Dear ParaView experts, I'm visualizing paths of neutrons in some media. Now I prepared the data as point data with displacement vector to the next point attached to each point, and visualize them using the Glyph filter with the following setting: Glyph Type: Arrow Orientation: Orient Scale Mode vector Scale Factor = 1.0 Glyph Mode: All Points The problem is that some arrows are too thick... So here are my questions. (1)How can I make the thickness of the arrows not to scale (only the lengths do)? (2)It may be better to use 2D Glyph instead of Arrow, but the 2D Glyph is centered at a data point, instead of starting from the point... How can I make the 2D Glyphs start from the data points? (3)Do you have any recommendation on how to visualize such a particle paths? Thanks in advance, Kazuyoshi -- Kazuyoshi Furutaka furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp arrows.png___ 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 ___ 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 ___ 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
Re: [Paraview] Fetching data from xdmf temporal collection
Hi Armin, thanks a lot for your script, it's everything I needed to be able to read my data. Jean-Michel -Message d'origine- De : Armin Wehrfritz [mailto:dkxl...@gmail.com] Envoyé : jeudi 26 mars 2015 14:33 À : Jean-Michel Cc : paraview@paraview.org Objet : Re: [Paraview] Fetching data from xdmf temporal collection Hi Jean-Michel, just to mention, I don't think VTK is significantly more efficient than ParaView. In practice you shouldn't feel a difference, since all the heavy data handling is anyways done by VTK. Anyway, I attached a script that shows you how to read XDMF data, step through the time steps, wrap the data for numpy and print out some basic infos. Regarding the GetOutput() method, to get data object from the XDMF reader you have to use the GetOutputDataObject(0) method. But I don't know the difference between the two of them, and this also may depends on your VTK version, I'm using 6.2. -Armin On 03/23/2015 03:15 PM, Jean-Michel wrote: Armin, you said you would rather use vtk directly to access raw data in xdmf files. I tried to follow your advice, but I struggle with the vtkXdmfReader. Basically, here is what I do: import vtk reader = vtk.vtkXdmfReader() reader.SetFileName(myfile) reader.ReadAllScalarsOn() reader.Update() However, I don't know how to access the data inside reader once this is done. The GetOutput() method doesn't seem to work. Do you know what I am missing here ? If not, I'll try and move the discussion over at the vtk-users list. Thank you for your help. Jean-Michel Avast logo http://www.avast.com/ L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. www.avast.com http://www.avast.com/ --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. http://www.avast.com ___ 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
Re: [Paraview] PlotSelectionOverTime filter in python
Hi Paul, This should get tracked in the Python Trace functionality. I'll add a bug report for this. For now you can do it manually with something like: w = Wavelet() selection = SelectCells(query=id==0) ec = ExtractSelection(Selection=selection) ec.UpdatePipeline() This should select the first cell of the Wavelet source and extract it. For point selection replace SelectCells with SelectPoints. There's probably more complex selections for multiblock data sets but talking to you I thought you had an unstructured data set. For the query string, you can see how more complex queries are created in the Find Data option under the Edit menu. Let me know if this doesn't work for you. Cheers, Andy On Thu, Mar 26, 2015 at 3:28 PM, Paul DesJardin p...@buffalo.edu wrote: Hi, I'm trying to use the PlotSelectionOverTime command in a python script for use with pvbatch. When using PlotSelectionOverTime in the GUI, there is a Copy Active Selection operation required which I cannot replicate in the python script. The incremental trace option doesn't appear to provide information since nothing is reported when the the Copy Active Selection button is pushed. Any help would be much appreciated. Thanks! Paul ___ 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
Re: [Paraview] PlotSelectionOverTime filter in python
Hi Andy, Thanks for the quick response. I tried the following in the python window with the integrated variables highlighted in the GUI ss = GetActiveSource() selection = SelectCells(query=id==0) ec = ExtractSelection(Selection=selection) ec.UpdatePipeline() PlotSelectionOverTime(Input=ss,Selection=ec) and the below output was spit to the the Output Messages indicating that nothing was selected. Does the above syntax make sense to you? Paul Generic Warning: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMTrace.cxx, line 134 Failed to generate state. Traceback (most recent call last): File /Applications/paraview.app/Contents/Python/paraview/smstate.py, line 170, in get_state traceitem.finalize() File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 752, in finalize trace.append(accessor.trace_ctor(ctor, filter_type)) File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 430, in trace_ctor ctor_props_trace = self.trace_properties(ctor_props, in_ctor=True) File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 423, in trace_properties return joiner.join([x.get_property_trace(in_ctor) for x in props]) File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 533, in get_property_trace if in_ctor: return %s=%s % (varname, self.get_value()) File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 553, in get_value data = [str(Trace.get_accessor(x)) for x in self.get_object()[:]] File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 167, in get_accessor it. Skipping this action. % repr(obj)) paraview.smtrace.Untraceable: paraview.servermanager.IDSelectionSource object at 0x1263de250 is not 'known' at this point. Hence, we cannot trace it. Skipping this action. Empty state generated. Generic Warning: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMTrace.cxx, line 112 Tracing is active. Cannot save state. Empty state generated. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 810 vtkPVCompositeDataPipeline (0x7ff19b7f6dc0): Input for connection index 0 on input port index 1 for algorithm vtkPVExtractArraysOverTime(0x7ff198f30380) is of type vtkUnstructuredGrid, but a vtkSelection is required. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 810 vtkPVCompositeDataPipeline (0x7ff19b7f6dc0): Input for connection index 0 on input port index 1 for algorithm vtkPVExtractArraysOverTime(0x7ff198f30380) is of type vtkUnstructuredGrid, but a vtkSelection is required. Generic Warning: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMPropertyHelper.cxx, line 641 Call not supported for the current property type. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 810 vtkPVCompositeDataPipeline (0x7ff19b7f6dc0): Input for connection index 0 on input port index 1 for algorithm vtkPVExtractArraysOverTime(0x7ff198f30380) is of type vtkUnstructuredGrid, but a vtkSelection is required. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 810 vtkPVCompositeDataPipeline (0x7ff1963cedc0): Input for connection index 0 on input port index 1 for algorithm vtkPVExtractArraysOverTime(0x7ff198b8e7e0) is of type vtkUnstructuredGrid, but a vtkSelection is required. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 810 vtkPVCompositeDataPipeline (0x7ff1963cedc0): Input for connection index 0 on input port index 1 for algorithm vtkPVExtractArraysOverTime(0x7ff198b8e7e0) is of type vtkUnstructuredGrid, but a vtkSelection is required. Generic Warning: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMPropertyHelper.cxx, line 641 Call not supported for the current property type. On Thu, Mar 26, 2015 at 3:49 PM, Andy Bauer andy.ba...@kitware.com wrote: Hi Paul, This should get tracked in the Python Trace functionality. I'll add a bug report for this. For now you can do it manually with something like: w = Wavelet() selection = SelectCells(query=id==0) ec =
[Paraview] PlotSelectionOverTime filter in python
Hi, I'm trying to use the PlotSelectionOverTime command in a python script for use with pvbatch. When using PlotSelectionOverTime in the GUI, there is a Copy Active Selection operation required which I cannot replicate in the python script. The incremental trace option doesn't appear to provide information since nothing is reported when the the Copy Active Selection button is pushed. Any help would be much appreciated. Thanks! Paul ___ 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
Re: [Paraview] Get point array data in paraview from python shell
Hi Jay, The Python console is not the right way to go. Use the Python Calculator with an expression like: mag(array name here) Best, -berk On Thu, Mar 26, 2015 at 4:28 PM, Jay Romero jayren...@gmail.com wrote: I am trying to get point array data ( node and its values) of a variable in paraview: so far I can use following (python shell): from paraview.simple import * out = GetActiveSource() The point array data is a velocity vector on each node, and I can calculate magnitude of a vector, next I want to treat these magnitude values as new point array data in the pipeline browser. How to do in python shell? Best Regards Jay ___ 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 ___ 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
[Paraview] Get point array data in paraview from python shell
I am trying to get point array data ( node and its values) of a variable in paraview: so far I can use following (python shell): from paraview.simple import * out = GetActiveSource() The point array data is a velocity vector on each node, and I can calculate magnitude of a vector, next I want to treat these magnitude values as new point array data in the pipeline browser. How to do in python shell? Best Regards Jay ___ 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
Re: [Paraview] PlotSelectionOverTime filter in python
Hi Paul, I think because of the bug you'll need to cobble together the Python script you want. First you can try doing everything in the GUI and recording it in a single trace and see if manually adding in the: selection = SelectCells(query=id==0) ec = ExtractSelection(Selection=selection) ec.UpdatePipeline() PlotSelectionOverTime(Input=ss,Selection=ec) parts as needed. If this doesn't work you may have to record everything up to the above point. Then do the selection and PlotSelectionOverTime() manually in the GUI as well as appending to the Python script, and then finally doing another trace with the final couple of steps. Let me know if that works for you. Regards, Andy On Thu, Mar 26, 2015 at 4:10 PM, Paul DesJardin p...@buffalo.edu wrote: Hi Andy, Thanks for the quick response. I tried the following in the python window with the integrated variables highlighted in the GUI ss = GetActiveSource() selection = SelectCells(query=id==0) ec = ExtractSelection(Selection=selection) ec.UpdatePipeline() PlotSelectionOverTime(Input=ss,Selection=ec) and the below output was spit to the the Output Messages indicating that nothing was selected. Does the above syntax make sense to you? Paul Generic Warning: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMTrace.cxx, line 134 Failed to generate state. Traceback (most recent call last): File /Applications/paraview.app/Contents/Python/paraview/smstate.py, line 170, in get_state traceitem.finalize() File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 752, in finalize trace.append(accessor.trace_ctor(ctor, filter_type)) File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 430, in trace_ctor ctor_props_trace = self.trace_properties(ctor_props, in_ctor=True) File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 423, in trace_properties return joiner.join([x.get_property_trace(in_ctor) for x in props]) File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 533, in get_property_trace if in_ctor: return %s=%s % (varname, self.get_value()) File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 553, in get_value data = [str(Trace.get_accessor(x)) for x in self.get_object()[:]] File /Applications/paraview.app/Contents/Python/paraview/smtrace.py, line 167, in get_accessor it. Skipping this action. % repr(obj)) paraview.smtrace.Untraceable: paraview.servermanager.IDSelectionSource object at 0x1263de250 is not 'known' at this point. Hence, we cannot trace it. Skipping this action. Empty state generated. Generic Warning: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMTrace.cxx, line 112 Tracing is active. Cannot save state. Empty state generated. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 810 vtkPVCompositeDataPipeline (0x7ff19b7f6dc0): Input for connection index 0 on input port index 1 for algorithm vtkPVExtractArraysOverTime(0x7ff198f30380) is of type vtkUnstructuredGrid, but a vtkSelection is required. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 810 vtkPVCompositeDataPipeline (0x7ff19b7f6dc0): Input for connection index 0 on input port index 1 for algorithm vtkPVExtractArraysOverTime(0x7ff198f30380) is of type vtkUnstructuredGrid, but a vtkSelection is required. Generic Warning: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/ParaViewCore/ServerManager/Core/vtkSMPropertyHelper.cxx, line 641 Call not supported for the current property type. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 810 vtkPVCompositeDataPipeline (0x7ff19b7f6dc0): Input for connection index 0 on input port index 1 for algorithm vtkPVExtractArraysOverTime(0x7ff198f30380) is of type vtkUnstructuredGrid, but a vtkSelection is required. ERROR: In /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 810 vtkPVCompositeDataPipeline (0x7ff1963cedc0): Input for connection index 0 on input port index 1 for algorithm vtkPVExtractArraysOverTime(0x7ff198b8e7e0) is of type vtkUnstructuredGrid, but a vtkSelection is required. ERROR: In
[Paraview] modify data (cell data) from Spreadsheet View
Hi all, Is it possible to modify cell data from the Spreadsheet View ? My purpose is to modify a bathymetry field stored as a vtkStructuredGrid that has been read with the vtkNetCDFCFReader reader. The Spreadsheet View presents nicely selected cells but only in my understanding in a read mode. Am I missing something ? Regards Patrick -- LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ Data Analysis and Visualization Engineer ICMC - IPSL Climate Modelling Centre -- ___ 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
Re: [Paraview] Fwd: Gradient of Unstructed dataset
Hi Berk, After I loaded CGNSReader , I achieved success in getting the gradient of a certain scalar same with Ensight and SC/Tetra post . I used the Paraview Nightly build g544b3a7 for mac. Thank you !! But I could not found the CGNSReader in nightly builids for win 32bit and win 64bit. Win 32bit, g04df19f, and Win 64bit, g04df19f In the windows version, I found GMVReader, but it didn't work with CGNS ( I tried). By the way, my final goal is to calculate the wall shear stress of vessel from velocity and wall normals. Now, the barrier has been removed by you, and I can calculate and visualize the WSS in Paraview. I already see it in SC/Tetra post and Ensight. But Paraview makes more beautiful graphics and I am very happy. Thank you for your kindness !!! 2015-03-26 15:18 GMT+09:00 Masaaki SHOJIMA mshoji-...@umin.ac.jp: Hi Berk, After I loaded CGNSReader , I achieved success in getting the gradient of a certain scalar same with Ensight and SC/Tetra post . I used the Paraview Nightly build g544b3a7 for mac. Thank you !! But I could not found the CGNSReader in nightly builids for win 32bit and win 64bit. Win 32bit, g04df19f, and Win 64bit, g04df19f In the windows version, I found GMVReader, but it didn't work with CGNS ( I tried). By the way, my final goal is to calculate the wall shear stress of vessel from velocity and wall normals. Now, the barrier has been removed by you, and I can calculate and visualize the WSS in Paraview. I already see it in SC/Tetra post and Ensight. But Paraview makes more beautiful graphics and I am very happy. Thank you for your kindness !!! Masaaki 2015-03-25 22:24 GMT+09:00 Berk Geveci berk.gev...@kitware.com: Hi Masaaki, You don't have to wait. Simply download the latest nightly binary and the go to Tools - Manage Plugins. There you should see the CGNS plugin. Load it. After that, when you open the CGNS file, it will give you an option to use the plugin based reader. Best, -berk On Tue, Mar 24, 2015 at 10:23 PM, Masaaki SHOJIMA mshoji-...@umin.ac.jp wrote: Hi Berk, Thank you for your greatest efforts. It makes sense to me, but I have to wait for the future version since I dont have skills to integrate the CGNS reader plug-in into the Paraview binary... Thanks anyway and Best wishes, Masaaki 2015-03-25 2:13 GMT+09:00 Berk Geveci berk.gev...@kitware.com: Hi Masaaki and others that may be interested, I identified the issue. The default CGSN reader that we use (which is from VisIt originally) produces incorrect results. The pressure values are incorrect. If you load the CGNS reader plugin and open the CGNS file with that, you will see the correct results. I tested this with the nightly binary of ParaView. I will ask someone in the ParaView team to disable the VisIt CGNS reader and move the plugin into ParaView proper so that we can use it by default. Best, -berk On Wed, Mar 18, 2015 at 8:59 AM, Berk Geveci berk.gev...@kitware.com wrote: Thanks Masaaki. I will look into it. I wish that I could say the same about northern New York State. The high temperature for today and tomorrow is 30F (-1C). Most of the snow melted though so spring is coming :-) -berk On Tue, Mar 17, 2015 at 8:04 PM, Masaaki SHOJIMA mshoji-...@umin.ac.jp wrote: Hi Berk, Armin, Michael and friends It is getting warm and flowers are starting to bloom in japan, this morning. Nightly Builds of Paraview was downloaded on 2015-Mar-18 (ParaView-Windows-64bit-NIGHTLY.zip). Gradient of Pressure was calculated using Gradient of Unstrucutred Dataset filter and Z component of Grad (pressure) was visualized. Unfortunately, Nightly build did not settle the problem... The computed values by nightly builds were also half compared to those of Ensight. Could you take a look of the result in the attached PDF? Thanks for your continuous help. Masaaki 2015-03-17 22:01 GMT+09:00 Berk Geveci berk.gev...@kitware.com: Hi Masaaki, I will hold off testing on my end until you have a chance to test with nightly binaries. Please let us know how it goes. Regards, -berk On Tue, Mar 17, 2015 at 8:09 AM, dkxl...@gmail.com wrote: You could test it with the nighly builds from the dashboard. That way you don't have to compile anything. You can find more information here: http://www.paraview.org/Wiki/ParaView_Nightly_Binaries -Armin On Tue Mar 17 12:27:27 2015 GMT+0200, Masaaki SHOJIMA wrote: Hi, Michael, I found a web-page regarding the CGNS reader, in which you are making important comments. http://comments.gmane.org/gmane.comp.science.paraview.user/23957 I have to wait for the next version, is it right? Thanks Masaaki 2015-03-17 16:02 GMT+09:00 Mickael Philit mickey@gmail.com: Hello, sorry to intrude, I think the problem may come from the CGNS loader of ParaView. When using the CGNS plugin from ParaView development version, you get the same picture as Ensight. My