From mathieu.westphal at kitware.com Fri Jul 1 03:58:45 2016 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Fri, 1 Jul 2016 09:58:45 +0200 Subject: [Paraview] Plugin Debug In-Reply-To: References: Message-ID: Hello Are you using windows or linux ? Regards, Mathieu Westphal On Fri, Jul 1, 2016 at 5:05 AM, ????? ???????? wrote: > Hi! > > How to debug plugin in Paraview 5.1 in Windows, if Paraview force close > after loading plugin? > > Best regards, > Shagit Ziganshin. > > _______________________________________________ > 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 -------------- An HTML attachment was scrubbed... URL: From ziganshinshagit at hotmail.com Fri Jul 1 06:11:07 2016 From: ziganshinshagit at hotmail.com (=?UTF-8?B?0KjQsNCz0LjRgiDQl9C40LPQsNC90YjQuNC9?=) Date: Fri, 1 Jul 2016 13:11:07 +0300 Subject: [Paraview] Plugin Debug In-Reply-To: References: Message-ID: Hello I'm using Windows. Regards, Shagit Ziganshin 1 ???? 2016 ?. 10:58 AM ???????????? "Mathieu Westphal" < mathieu.westphal at kitware.com> ???????: > Hello > > Are you using windows or linux ? > Regards, > > Mathieu Westphal > > On Fri, Jul 1, 2016 at 5:05 AM, ????? ???????? < > ziganshinshagit at hotmail.com> wrote: > >> Hi! >> >> How to debug plugin in Paraview 5.1 in Windows, if Paraview force close >> after loading plugin? >> >> Best regards, >> Shagit Ziganshin. >> >> _______________________________________________ >> 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 -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Fri Jul 1 09:25:18 2016 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Fri, 1 Jul 2016 09:25:18 -0400 Subject: [Paraview] [EXTERNAL] Symbol WinMain missing when compiling with Visual Studio In-Reply-To: References: <5269c2588321423ca7117304f81ab262@ES08AMSNLNT.srn.sandia.gov> Message-ID: <20160701132518.GB13101@megas.kitware.com> On Thu, Jun 30, 2016 at 19:20:58 +0000, Scott, W Alan wrote: > Try building without Ninja? If that also fails, I could try a build > of my own. Haven't done so in 6 months, but it seems to work. > > By the way, what version of Visual Studio? Also relevant: version of CMake and Qt. --Ben From kmorel at sandia.gov Fri Jul 1 10:59:13 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Fri, 1 Jul 2016 14:59:13 +0000 Subject: [Paraview] [EXTERNAL] Symbol WinMain missing when compiling with Visual Studio In-Reply-To: <20160701132518.GB13101@megas.kitware.com> References: <5269c2588321423ca7117304f81ab262@ES08AMSNLNT.srn.sandia.gov> <20160701132518.GB13101@megas.kitware.com> Message-ID: <408087E5-E77C-4D59-94CF-874B618CE6F2@sandia.gov> Visual Studio 2013 CMake 3.5.2 Qt 4.8.6 -Ken On 7/1/16, 7:25 AM, "Ben Boeckel" wrote: On Thu, Jun 30, 2016 at 19:20:58 +0000, Scott, W Alan wrote: > Try building without Ninja? If that also fails, I could try a build > of my own. Haven't done so in 6 months, but it seems to work. > > By the way, what version of Visual Studio? Also relevant: version of CMake and Qt. --Ben From arctica1963 at gmail.com Fri Jul 1 11:58:37 2016 From: arctica1963 at gmail.com (Lester Anderson) Date: Fri, 1 Jul 2016 16:58:37 +0100 Subject: [Paraview] 3-axis point/glyph Message-ID: Hello, A quick query. I have a csv file that has trend and plunge data for three orthogonal axes, but I can't see an obvious way of entering the data, eg. S1 = Vector_1 plunge_1 S2 = Vector_2 plunge_2 S3 = Vector_3 plunge_3 Where S1 > S2 > S3 So that I generate a 3D cross with the axes plotted, or an ellipsoid. Can this be done? Paraview v5.0.0 Lester From tossin at gmail.com Fri Jul 1 19:55:45 2016 From: tossin at gmail.com (Evan Kao) Date: Fri, 1 Jul 2016 16:55:45 -0700 Subject: [Paraview] Create a Drop Down Menu for a Custom Filter that takes its entries from arrays of all inputs Message-ID: Hey all, A recent e-mail in the group explained how to property create a drop-down menu in a Custom Filter XML file whose entries are taken from the input data object's array names. I was wondering if this could be extended to filters with multiple inputs: 1. Is it possible to populate the drop-down menu with the array names from a specific input? 2. Is it possible to populate the drop-down menu with the array names from all inputs? Right now, it will only take array names from one of the inputs (from testing, it seems like whichever object was created first). Thanks, Evan Kao -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwneumann at gmail.com Fri Jul 1 21:46:23 2016 From: dwneumann at gmail.com (Dean Neumann) Date: Fri, 1 Jul 2016 18:46:23 -0700 Subject: [Paraview] numpy_interface/dataset_adapter append method fails on string datatypes ? Message-ID: I am trying to write a python programmable filter which calculates statistics across multiple input datasets and outputs those as a vtkTable. All is ok for numeric values. But I can't seem to get any approach to work for outputting a vtkTable column of string values. Using numpy_interface/dataset_adapter.py is the cleanest approach I've yet tried for appending columns of numeric values to an output dataset of type vtkTable, but it raises the following error on string-valued arrays: > Traceback (most recent call last): File "", line 29, in File "", line 14, in RequestData File "C:\Program > Files\ParaView\lib\paraview-5.0\site-packages\vtk\numpy_interface\dataset_adapter.py", > line 648, in append narray = narray * numpy.ones(arrLength) TypeError: only integer arrays with one element can be converted to an index Can someone please post an example python programmable filter that outputs a vtkTable which includes a column of string valued data? I have attached a minimal script which reproduces the problem. Thanks.... Dean Neumann -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: numpy_fail.py Type: application/octet-stream Size: 593 bytes Desc: not available URL: From Amit.Goel at ucf.edu Sat Jul 2 07:28:10 2016 From: Amit.Goel at ucf.edu (Amit Goel) Date: Sat, 2 Jul 2016 11:28:10 +0000 Subject: [Paraview] H5Part and TimeSeries question Message-ID: <089A0E19-CB81-485F-98C7-41D84914AA7A@ucf.edu> Hi I created sim_*.h5part files with 100 steps in each. The step numbers was recorded as 1-100, 101-200?. However when I load the files, it doesnt show as a time series. So question is how do I breakup H5Part files on time-steps so they can be visualized by paraview. Regards Amit From felix at audiofair.de Sat Jul 2 12:06:58 2016 From: felix at audiofair.de (Felix Winterhalter) Date: Sat, 2 Jul 2016 18:06:58 +0200 Subject: [Paraview] Parallel Rendering - Only one part of dataset shown Message-ID: So I've been trying to get parallel rendering to work for my Paraview. I built the server myself with MPI support enabled. I then started the parallel server using mpirun which appears to run fine. After connecting to the server and loading my VTK Dataset I however only see a part of the dataset rendered. It appears that this is the part that is loaded in the master process and nothing else. I tried running with more or less processes in parallel which then increased or decreased the size of the shown dataset. So I was wondering how do I actually display the rest? The way it is right now its pretty useless to me since I can't see most of my data. The data I have is an unstructured grid. Any help would be appreciated. From hitcaozx at gmail.com Sat Jul 2 16:59:32 2016 From: hitcaozx at gmail.com (Zhixuan Cao) Date: Sat, 2 Jul 2016 22:59:32 +0200 Subject: [Paraview] H5Part and TimeSeries question In-Reply-To: <089A0E19-CB81-485F-98C7-41D84914AA7A@ucf.edu> References: <089A0E19-CB81-485F-98C7-41D84914AA7A@ucf.edu> Message-ID: <32B375D5-C8C2-4673-8C6E-4A5F286875C9@gmail.com> I guess your .h5part files are not correct. You need write data of each time step into the file. Do you have your own code to write the data? > On Jul 2, 2016, at 1:28 PM, Amit Goel wrote: > > Hi > > I created sim_*.h5part files with 100 steps in each. The step numbers was recorded as 1-100, 101-200?. > > However when I load the files, it doesnt show as a time series. > > So question is how do I breakup H5Part files on time-steps so they can be visualized by paraview. > > Regards > > Amit > _______________________________________________ > 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 From astronomy8n8 at gmail.com Sun Jul 3 10:10:06 2016 From: astronomy8n8 at gmail.com (B O) Date: Sun, 3 Jul 2016 18:40:06 +0430 Subject: [Paraview] Probe Location Message-ID: Dear Paraview developers I intended to plot a quantity on a certain point with exact coordinates over the time. To do so, I assumed that I should firstly use ??Select Points On ??option. Then, I should use the ?Plot Selection Over Time? tool. However, according to the fact that the chosen point is in the cross section of my mesh and Paraview only allows me to choose the points on the mesh element boundaries, I was not able to choose the exact point. As a result, I had to use the ?Probe Location? tool in order to be able to choose the exact point. Nevertheless, I could not plot the desired quantity over the time (For example, if I have 10000 time steps, I am able to see the desired quantity in each time step but it is time consuming to manually plot the raw data). I would be so pleased if you could guide me how I can plot this quantity over the time appropriately at the desired point. Best regards Omid -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorel at sandia.gov Sun Jul 3 15:20:25 2016 From: kmorel at sandia.gov (Moreland, Kenneth) Date: Sun, 3 Jul 2016 19:20:25 +0000 Subject: [Paraview] Probe Location In-Reply-To: References: Message-ID: <9CDC6926-357E-4B6F-A87A-157FA2C7F29E@sandia.gov> If you know the point id, you can select exactly that with the Find Data dialog. You can then plot that selection over time. -Ken Sent from my iPad so blame autocorrect. > On Jul 3, 2016, at 8:11 AM, B O wrote: > > Dear Paraview developers > > I intended to plot a quantity on a certain point with exact coordinates over the time. To do so, I assumed that I should firstly use ??Select Points On ??option. Then, I should use the ?Plot Selection Over Time? tool. > However, according to the fact that the chosen point is in the cross section of my mesh and Paraview only allows me to choose the points on the mesh element boundaries, I was not able to choose the exact point. As a result, I had to use the ?Probe Location? tool in order to be able to choose the exact point. Nevertheless, I could not plot the desired quantity over the time (For example, if I have 10000 time steps, I am able to see the desired quantity in each time step but it is time consuming to manually plot the raw data). I would be so pleased if you could guide me how I can plot this quantity over the time appropriately at the desired point. > > Best regards > Omid > _______________________________________________ > 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 From stephane at fujielectric.com Sun Jul 3 20:37:05 2016 From: stephane at fujielectric.com (=?UTF-8?B?c3RlcGhhbmXjg7Pjg4njg7PjgrAg44Oh44OV44Kh44ON?=) Date: Mon, 4 Jul 2016 09:37:05 +0900 Subject: [Paraview] Table to structured grid, Table to point, Delaunay 3D, etc... Message-ID: Hello, I really need someone to explain the meaning and setting of "Whole extent" in the "Table to structured grid" filter, I've read the following thread:" http://www.paraview.org/pipermail/paraview/2009-October/013948.html" and would like to know how the Whole Extent (0, 149), (0, 151), (0, 2) was deducted from the dataset. Also, I've been trying without success to get a volume from a *.csv file with "Table to Point" -->"Delaunay 3d". Table to point is working fine, but Delaunay 3D is meshing my model wrong. I then tried to append scalars on an STL version of my model using "append dataset" and the point cloud, but all the scalars turn to 0. several subject I know, but one goal: Find a way to read ANSY MEchanical model/results in PARAVIEW. Thanks in advance. Ndong-Mefane Stephane, Dr.Eng Basic Design Sec. Steam Turbine Dept. Kawasaki Factory Fuji Electric Co., Ltd 1-1, Tanabeshinden, Kawasaki-ku, Kawasaki-city 210-9530, Japan Phone: +81-44-329-2155 Fax: +81-44-329-2394 -------------- next part -------------- An HTML attachment was scrubbed... URL: From arctica1963 at gmail.com Mon Jul 4 03:45:57 2016 From: arctica1963 at gmail.com (Lester Anderson) Date: Mon, 4 Jul 2016 08:45:57 +0100 Subject: [Paraview] Table to structured grid, Table to point, Delaunay 3D, etc... In-Reply-To: References: Message-ID: Hi Stephane, It can be a bit confusing, but for example if you have a cube: X = 20 cells, Y = 20 cells, Z = 20 cells (i.e.) the dimensions are 20 x 20 x 20 In Paraview, the extent always starts at index 0 so the whole extent would be: X = 0 to 19, Y = 0 to 19, Z = 0 to 19. For structured grids, the order on X, Y and Z must be correct. X changes fastest, then Y and finally Z, something due to the way VTK works - maybe an expert can clarify better. Lester On 4 July 2016 at 01:37, stephane???? ???? wrote: > Hello, > > I really need someone to explain the meaning and setting of "Whole extent" > in the "Table to structured grid" filter, I've read the following > thread:"http://www.paraview.org/pipermail/paraview/2009-October/013948.html" > and would like to know how the Whole Extent (0, 149), (0, 151), (0, 2) was > deducted from the dataset. > Also, I've been trying without success to get a volume from a *.csv file > with "Table to Point" -->"Delaunay 3d". > Table to point is working fine, but Delaunay 3D is meshing my model wrong. > I then tried to append scalars on an STL version of my model using "append > dataset" and the point cloud, but all the scalars turn to 0. > > several subject I know, but one goal: Find a way to read ANSY MEchanical > model/results in PARAVIEW. > > Thanks in advance. > > > Ndong-Mefane Stephane, Dr.Eng > Basic Design Sec. > Steam Turbine Dept. > Kawasaki Factory > > Fuji Electric Co., Ltd > 1-1, Tanabeshinden, Kawasaki-ku, > Kawasaki-city 210-9530, Japan > Phone: +81-44-329-2155 > Fax: +81-44-329-2394 > > > _______________________________________________ > 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 > From corinnareuter75 at gmail.com Mon Jul 4 09:09:07 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Mon, 4 Jul 2016 15:09:07 +0200 Subject: [Paraview] plugin error: "Input for algorithm vtkPVPostFilter is of type ..., but a vtkPolyData is required" Message-ID: To anybody experienced in plugin programming: I am trying to include items in the paraview tree, which are not derived from vtkDataSet or vtkDataObject. For example, a mySQL database should be allowed as a data source, which delivers data in an intermediate format. Next I'd implement filters which take the intermediate format and produce vtkDataSets as output. Is it possible to use such "abstract" (not vtkDataSet) objects in the paraview tree as a representation of the intermediate format? I have tried to integrate the example for custom classes from http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source into a paraview plugin (CMakeLists and servermanager xml below). When the plugin is loaded and I add a source of the new type AlgorithmSourceExample, this error is thrown: ERROR: In /opt/ParaView-v5.0.1/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 810 vtkPVPostFilterExecutive (0x3857810): Input for connection index 0 on input port index 0 for algorithm vtkPVPostFilter(0x3858910) is of type vtkTest, but a vtkPolyData is required. What do I need to change such that the vtkTest objects, produced by AlgorithmSourceExample, can live in the paraview tree? Thank you Corinna CMakeLists.txt: FIND_PACKAGE(ParaView REQUIRED) INCLUDE(${PARAVIEW_USE_FILE}) #changes required in http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source: # remove vtkCxxRevisionMacro calls # change vtkTypeRevisionMacro into vtkTypeMacro # remove call output->SetPipelineInformation( outInfo ); ADD_PARAVIEW_PLUGIN( AlgorithmSourceExample "1.0" SERVER_MANAGER_XML AlgorithmSourceExample.xml SERVER_MANAGER_SOURCES vtkTestSource.cxx vtkTest.cxx ) AlgorithmSourceExample.xml: -------------- next part -------------- An HTML attachment was scrubbed... URL: From guanw at rhpcs.mcmaster.ca Mon Jul 4 15:51:31 2016 From: guanw at rhpcs.mcmaster.ca (Weiguang guan) Date: Mon, 04 Jul 2016 15:51:31 -0400 Subject: [Paraview] VTK warning during volume rendering of vtkStructuredGrid on Windows with Nvidia graphics card. In-Reply-To: References: Message-ID: <577ABE43.4080101@rhpcs.mcmaster.ca> I run into the same problem on linux. Warning: In /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Rendering/VolumeOpenGL2/vtkOpenGLProjectedTetrahedraMapper.cxx, line 251 vtkOpenGLProjectedTetrahedraMapper (0x630b310): Missing FBO support. The algorithm may produce visual artifacts. I'm running Paraview 5.0.0. Weiguang On 03/03/2016 9:42 AM, Aashish Chaudhary wrote: >> I have the same problem. Though in my case it is a small unstructuredgrid >> vtu file. The OS is Ubuntu 14.04. ParaView-5.0.0-Qt4-OpenGL2-MPI-Linux-64bit >> prebuilt binaries. The Graphics card is Nvidia Quadro K620 with OpenGL >> version 3.02 Nvidia 352.63. The Nvidia settings show the following etensions >> amongst others GL_ARB_frame_buffer_object. >> Also, it does show artifacts. In particular for a vector allocated to a >> standard hexahedron cell, the colors are slightly different within the cell. >> You can see triangular segments [possibly tetrahedron?] > It seems to me that you are running into a different issue as atleast > you are seeing > something but it does look correct to you. Is that it? > > Thanks > > >> Regard >> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Amit.Goel at ucf.edu Mon Jul 4 17:47:23 2016 From: Amit.Goel at ucf.edu (Amit Goel) Date: Mon, 4 Jul 2016 21:47:23 +0000 Subject: [Paraview] H5Part and TimeSeries question In-Reply-To: <32B375D5-C8C2-4673-8C6E-4A5F286875C9@gmail.com> References: <089A0E19-CB81-485F-98C7-41D84914AA7A@ucf.edu> <32B375D5-C8C2-4673-8C6E-4A5F286875C9@gmail.com> Message-ID: yes I have my own code. I wrote the step numbers as 1-10 in first file and then 11-20 in second file and so on. So do I have to create first file with data from 1-10 steps and then second file with empty 10 steps and then data for 11-20 steps and so on ? Is there any other easy way to create h5part file such that: - code writes N steps and then closes the file and starts a new file - write another N steps and then closes the file and starts a new file ? Regards Amit > On Jul 2, 2016, at 4:59 PM, Zhixuan Cao wrote: > > I guess your .h5part files are not correct. You need write data of each time step into the file. Do you have your own code to write the data? > > >> On Jul 2, 2016, at 1:28 PM, Amit Goel wrote: >> >> Hi >> >> I created sim_*.h5part files with 100 steps in each. The step numbers was recorded as 1-100, 101-200?. >> >> However when I load the files, it doesnt show as a time series. >> >> So question is how do I breakup H5Part files on time-steps so they can be visualized by paraview. >> >> Regards >> >> Amit >> _______________________________________________ >> 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 > From e.devilliers at engys.com Tue Jul 5 10:28:25 2016 From: e.devilliers at engys.com (Eugene de Villiers) Date: Tue, 5 Jul 2016 14:28:25 +0000 Subject: [Paraview] Suggestion for STL import Message-ID: Hi, When importing STL format geometry or similar, where connectivity information is not implicit in the data structure, it appears that the connectivity is reconstructed via an octree search. This is very inefficient when surfaces with large differences in edge length are imported ? we have had a recent case where an STL took 45mins to load. If the same input geometry is converted to OBJ format via an external tool, the load time reduces to minutes. A generally more efficient method is to calculate the distance of each point from a location outside the point cloud bounding box and then to bubble-sort the resulting list. Unless you are dealing with a pathological case your local search neighbourhood of identical distance points will be small and the algorithm very fast. More complex, multi-origin algorithms are also possible to counter pathological instances. I can provide more details and sample code if you are interested. Best regards, Eugene de Villiers Managing Director e.devilliers at engys.com Mob: +44 (0) 77 89748490 Tel: +44 (0)20 32393041 (ext. 102) Fax: +44 (0)20 33573123 [logo_red-black_fonts_signature] This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 2215 bytes Desc: image001.png URL: From utkarsh.ayachit at kitware.com Tue Jul 5 12:04:36 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 5 Jul 2016 12:04:36 -0400 Subject: [Paraview] Suggestion for STL import In-Reply-To: References: Message-ID: Eugene, I am pretty sure the community will be interested in this! While I'll need to look into the reader to understand, to get things going, do you have a sample dataset to demonstrate the issue? Utkarsh On Tue, Jul 5, 2016 at 10:28 AM, Eugene de Villiers wrote: > Hi, > > > > When importing STL format geometry or similar, where connectivity > information is not implicit in the data structure, it appears that the > connectivity is reconstructed via an octree search. This is very > inefficient when surfaces with large differences in edge length are > imported ? we have had a recent case where an STL took 45mins to load. If > the same input geometry is converted to OBJ format via an external tool, > the load time reduces to minutes. > > > > A generally more efficient method is to calculate the distance of each > point from a location outside the point cloud bounding box and then to > bubble-sort the resulting list. Unless you are dealing with a pathological > case your local search neighbourhood of identical distance points will be > small and the algorithm very fast. More complex, multi-origin algorithms > are also possible to counter pathological instances. > > > > I can provide more details and sample code if you are interested. > > > > Best regards, > > > > *Eugene de Villiers* > > *Managing Director* > > e.devilliers at engys.com > > Mob: +44 (0) 77 89748490 > > Tel: +44 (0)20 32393041 (ext. 102) > > Fax: +44 (0)20 33573123 > > [image: logo_red-black_fonts_signature] > > > > This message is intended only for the use of the addressee and may contain > information that is privileged, confidential and exempt from disclosure > under applicable law. If the reader of this message is not the intended > recipient, or the employee or agent responsible for delivering the message > to the intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. If > you have received this e-mail in error, please notify us immediately by > return e-mail and delete this e-mail and all attachments from your system. > > > > > > _______________________________________________ > 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 -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 2215 bytes Desc: not available URL: From bloring at lbl.gov Tue Jul 5 14:35:32 2016 From: bloring at lbl.gov (Burlen Loring) Date: Tue, 5 Jul 2016 11:35:32 -0700 Subject: [Paraview] problems using pvbatch in frozen build Message-ID: Hi All, I'm encountering some issues when trying to use pvbatch from a frozen build(PARAVIEW_FREEZE_PYTHON=ON). Seems that certain key python modules are missing.ie math. However, I can use Python shell feature in the GUI from the same build. Do we have any idea about what may be wrong with pvbatch? here is output from a simple test: nid00048:~$pvbatch pvbatch-test.py started Traceback (most recent call last): File "pvbatch-test.py", line 3, in from paraview.simple import * File "/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/simple.py", line 40, in import lookuptable File "/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/lookuptable.py", line 21, in from math import sqrt ImportError: No module named math I tried this as well: nid00048:~$pvpython Python 2.7.9 (default, Jan 8 2015, 22:29:31) [GCC 4.9.1 20140716 (Cray Inc.)] on linux2 Traceback (most recent call last): File "/etc/pythonstart", line 7, in import readline ImportError: Excluded frozen object named readline >>> import math Traceback (most recent call last): File "", line 1, in ImportError: No module named math >>> Thanks Burlen -------------- next part -------------- An HTML attachment was scrubbed... URL: From bloring at lbl.gov Tue Jul 5 14:51:09 2016 From: bloring at lbl.gov (Burlen Loring) Date: Tue, 5 Jul 2016 11:51:09 -0700 Subject: [Paraview] making the leap to v5.1 on the cray Message-ID: <0fe43f68-40f8-0890-206d-6a1f961421a6@lbl.gov> Hi All, first of all, is 5.1 production ready? or is 4.4 still the way to go in a production environment? this would be the only install available for users so it's important that it function reliably/correctly. re: 5.1, I'm wondering what the recommended mesa config for use with pv 5.1 on cray is? Which version of mesa have been tested/recommended? is open swr an option yet? or is llvmpipe still a better bet? Thanks Burlen From utkarsh.ayachit at kitware.com Tue Jul 5 17:16:55 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 5 Jul 2016 17:16:55 -0400 Subject: [Paraview] making the leap to v5.1 on the cray In-Reply-To: <0fe43f68-40f8-0890-206d-6a1f961421a6@lbl.gov> References: <0fe43f68-40f8-0890-206d-6a1f961421a6@lbl.gov> Message-ID: > first of all, is 5.1 production ready? or is 4.4 still the way to go in a production environment? this would be the only install available for users so it's important that it function reliably/correctly. See this thread: http://public.kitware.com/pipermail/paraview/2016-June/037389.html > re: 5.1, I'm wondering what the recommended mesa config for use with pv 5.1 on cray is? Which version of mesa have been tested/recommended? is open swr an option yet? or is llvmpipe still a better bet? 11.2.* is recommended. OpenSWR is not yet in official release of Mesa3D (it's still in the RC stage), llvmpipe would still be the best bet. From burlen.loring at gmail.com Tue Jul 5 17:40:55 2016 From: burlen.loring at gmail.com (Burlen Loring) Date: Tue, 5 Jul 2016 14:40:55 -0700 Subject: [Paraview] making the leap to v5.1 on the cray In-Reply-To: References: <0fe43f68-40f8-0890-206d-6a1f961421a6@lbl.gov> Message-ID: <530a32dd-9bdc-b3a2-b3a0-2d2a34d5a234@gmail.com> got it thanks! On 07/05/2016 02:16 PM, Utkarsh Ayachit wrote: >> first of all, is 5.1 production ready? or is 4.4 still the way to go in a production environment? this would be the only install available for users so it's important that it function reliably/correctly. > See this thread: > http://public.kitware.com/pipermail/paraview/2016-June/037389.html > >> re: 5.1, I'm wondering what the recommended mesa config for use with pv 5.1 on cray is? Which version of mesa have been tested/recommended? is open swr an option yet? or is llvmpipe still a better bet? > 11.2.* is recommended. OpenSWR is not yet in official release of > Mesa3D (it's still in the RC stage), llvmpipe would still be the best > bet. > _______________________________________________ > 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 From j.valverde at virtualmech.com Wed Jul 6 05:37:46 2016 From: j.valverde at virtualmech.com (Juan Valverde) Date: Wed, 6 Jul 2016 11:37:46 +0200 Subject: [Paraview] Ensight 6 imported case error Message-ID: <577CD16A.3000908@virtualmech.com> Hi there, We are working with Syrthes thermal. The output of such program is written in Ensight case format, version 6. All data is imported correctly from Paraview 4.3.1 except for one node, we tested in several different problems, whose temperature nodal value is incorrect. It should be 7.12e+02, and ends up being 7.12e22, to give an example. Therefore, the maximum is unreal and the whole surface plot is ruined. I checked with Paravis inside Salome 7.7.1 and 7.6.0, and also, as pointed out before with Paraview 4.3.1. I also run the ens_checker (ensight case file health checker) on the files and they seem to be ok. I also inspected the results file and all nodal data is correct, no e+22 found in these files. Did anybody have the same problem? It seems related to the Ensight reader or plugin used by Paravis/Paraview. Attached example plots. Any help would be much appreciated. Regards, Juan -------------- next part -------------- A non-text attachment was scrubbed... Name: badNodeValue.png Type: image/png Size: 359816 bytes Desc: not available URL: From Amit.Goel at ucf.edu Wed Jul 6 07:35:34 2016 From: Amit.Goel at ucf.edu (Amit Goel) Date: Wed, 6 Jul 2016 11:35:34 +0000 Subject: [Paraview] H5Part and TimeSeries question In-Reply-To: References: <089A0E19-CB81-485F-98C7-41D84914AA7A@ucf.edu> <32B375D5-C8C2-4673-8C6E-4A5F286875C9@gmail.com> Message-ID: <1093F35B-B5A9-4C36-98C6-D4DE084BF5F4@ucf.edu> Yeah, my steps go on for several days, so I want to save let us say 100 steps in a file (each steps has 100K particles), and then 101-200 steps in next file and so on. That way if my code crashes after 100 steps, I can resume from that point onwards. So is there a way to save the H5Part timeseries in separate files based on time ? Regards Amit On Jul 5, 2016, at 6:53 AM, ??? > wrote: Sorry for late reply. gmail is blocked in China. I write all time steps in one file. Do you have any reason why you want to write data in different files? 2016-07-05 5:47 GMT+08:00 Amit Goel >: yes I have my own code. I wrote the step numbers as 1-10 in first file and then 11-20 in second file and so on. So do I have to create first file with data from 1-10 steps and then second file with empty 10 steps and then data for 11-20 steps and so on ? Is there any other easy way to create h5part file such that: - code writes N steps and then closes the file and starts a new file - write another N steps and then closes the file and starts a new file ? Regards Amit > On Jul 2, 2016, at 4:59 PM, Zhixuan Cao > wrote: > > I guess your .h5part files are not correct. You need write data of each time step into the file. Do you have your own code to write the data? > > >> On Jul 2, 2016, at 1:28 PM, Amit Goel > wrote: >> >> Hi >> >> I created sim_*.h5part files with 100 steps in each. The step numbers was recorded as 1-100, 101-200?. >> >> However when I load the files, it doesnt show as a time series. >> >> So question is how do I breakup H5Part files on time-steps so they can be visualized by paraview. >> >> Regards >> >> Amit >> _______________________________________________ >> 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 -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Jul 6 10:27:12 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 6 Jul 2016 10:27:12 -0400 Subject: [Paraview] Suggestion for STL import In-Reply-To: References: Message-ID: Eugene, BTW, the reader does support not merging points. I'll check if ParaView exposes that option, if not, it should. That'll speed this up too. Utkarsh On Tue, Jul 5, 2016 at 12:04 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Eugene, > > I am pretty sure the community will be interested in this! While I'll need > to look into the reader to understand, to get things going, do you have a > sample dataset to demonstrate the issue? > > Utkarsh > > On Tue, Jul 5, 2016 at 10:28 AM, Eugene de Villiers < > e.devilliers at engys.com> wrote: > >> Hi, >> >> >> >> When importing STL format geometry or similar, where connectivity >> information is not implicit in the data structure, it appears that the >> connectivity is reconstructed via an octree search. This is very >> inefficient when surfaces with large differences in edge length are >> imported ? we have had a recent case where an STL took 45mins to load. If >> the same input geometry is converted to OBJ format via an external tool, >> the load time reduces to minutes. >> >> >> >> A generally more efficient method is to calculate the distance of each >> point from a location outside the point cloud bounding box and then to >> bubble-sort the resulting list. Unless you are dealing with a pathological >> case your local search neighbourhood of identical distance points will be >> small and the algorithm very fast. More complex, multi-origin algorithms >> are also possible to counter pathological instances. >> >> >> >> I can provide more details and sample code if you are interested. >> >> >> >> Best regards, >> >> >> >> *Eugene de Villiers* >> >> *Managing Director* >> >> e.devilliers at engys.com >> >> Mob: +44 (0) 77 89748490 >> >> Tel: +44 (0)20 32393041 (ext. 102) >> >> Fax: +44 (0)20 33573123 >> >> [image: logo_red-black_fonts_signature] >> >> >> >> This message is intended only for the use of the addressee and may >> contain information that is privileged, confidential and exempt from >> disclosure under applicable law. If the reader of this message is not the >> intended recipient, or the employee or agent responsible for delivering the >> message to the intended recipient, you are hereby notified that any >> dissemination, distribution or copying of this communication is strictly >> prohibited. If you have received this e-mail in error, please notify us >> immediately by return e-mail and delete this e-mail and all attachments >> from your system. >> >> >> >> >> >> _______________________________________________ >> 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 -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 2215 bytes Desc: not available URL: From mathieu.westphal at kitware.com Wed Jul 6 10:49:09 2016 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Wed, 6 Jul 2016 16:49:09 +0200 Subject: [Paraview] VTK/Paraview Courses in October Message-ID: Hello Kitware will be holding a 2-day VTK and ParaView course on October 11th and 12th 2016 in Lyon, France. Please visit our web site for more information and registration details at VTK (English) : http://training.kitware.fr/browse/130 VTK (French) : http://formations.kitware.fr/browse/130 ParaView (English) : http://training.kitware.fr/browse/131 ParaView (French) : http://formations.kitware.fr/browse/131 Note that the course will be taught in English. If you have any question, please contact us at formations at http://www.kitware.fr Thank you, Mathieu Westphal -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanrmck at mac.com Wed Jul 6 17:41:16 2016 From: ryanrmck at mac.com (Ryan McKeown) Date: Wed, 06 Jul 2016 17:41:16 -0400 Subject: [Paraview] Time Series of 3D scans in Paraview Message-ID: <388819EB-3727-47BF-B2B5-2546898ADC65@mac.com> Hi there, I?m new to Paraview, and I was hoping that I could get some advice for my research. I have data from a flow visualization that consists of scanning a laser sheet over a dyed flow and imaging the sheet head-on with a high-speed camera, resulting in a tomographic scan of the flow. Each scan consists of 25 image slices (the z-coordinate and order of each slice is known). I have many volumetric scans (~900) each consisting of 25 image slices that are TIFF image files (~1.3 KB each). The intensity of each image corresponds to the presence/absence of dye in the flow in order to observe flow structures. I would like to combine the images from each scan into a volume and then be able to create a time series of the consecutive volumes, essentially making a ?4D? video from my data. In the future, I would like to implement a fast-marching algorithm to segment out various structures and play around with particle tracking, but for now, I just want to create a 4D visualization of my data. 1.) Is this possible to do in Paraview, and if so, how? If not, do you know of any other software (preferably open-source) that can perform this task? 2.) Is Paraview capable of handing such a large overall file without grinding to a crawl? 3.) Is it possible to automate the import of my data perhaps through Python? I greatly appreciate any advice that people can offer me. Thanks so much, -Ryan From corinnareuter75 at gmail.com Thu Jul 7 01:44:32 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Thu, 7 Jul 2016 07:44:32 +0200 Subject: [Paraview] plugin error: "Input for algorithm vtkPVPostFilter is of type ..., but a vtkPolyData is required" In-Reply-To: References: Message-ID: Doesn't anybody know, why a vtkAlgorithm which produces a custom class (vtkTest) that is not derived from vtkDataSet show the error "... but a vtkPolyData is required"? A side remark, previously I wrote that the custom class "vtkTest" is neither derived from vtkDataSet nor from vtkDataObject. Actually it is derived from vtkDataObject. If my question doesn't make sense, please let me know. Maybe it is against every paraview design, so that I'll have to find a completely different solution. But it becomes more and more urgent for me to include a data source (mySQL database) of custom classes (not vtkDataSets) in the paraview tree. Thank you Corinna On Mon, Jul 4, 2016 at 3:09 PM, corinna reuter wrote: > To anybody experienced in plugin programming: > > I am trying to include items in the paraview tree, which are not derived > from vtkDataSet or vtkDataObject. For example, a mySQL database should be > allowed as a data source, which delivers data in an intermediate format. > Next I'd implement filters which take the intermediate format and produce > vtkDataSets as output. > > Is it possible to use such "abstract" (not vtkDataSet) objects in the > paraview tree as a representation of the intermediate format? I have tried > to integrate the example for custom classes from > http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source into a paraview > plugin (CMakeLists and servermanager xml below). When the plugin is loaded > and I add a source of the new type AlgorithmSourceExample, this error is > thrown: > > ERROR: In > /opt/ParaView-v5.0.1/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, > line 810 > vtkPVPostFilterExecutive (0x3857810): Input for connection index 0 on > input port index 0 for algorithm vtkPVPostFilter(0x3858910) is of type > vtkTest, but a vtkPolyData is required. > > What do I need to change such that the vtkTest objects, produced by > AlgorithmSourceExample, can live in the paraview tree? > > Thank you > Corinna > > CMakeLists.txt: > > FIND_PACKAGE(ParaView REQUIRED) > INCLUDE(${PARAVIEW_USE_FILE}) > #changes required in > http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source: > # remove vtkCxxRevisionMacro calls > # change vtkTypeRevisionMacro into vtkTypeMacro > # remove call output->SetPipelineInformation( outInfo ); > ADD_PARAVIEW_PLUGIN( > AlgorithmSourceExample > "1.0" > SERVER_MANAGER_XML AlgorithmSourceExample.xml > SERVER_MANAGER_SOURCES vtkTestSource.cxx vtkTest.cxx > ) > > AlgorithmSourceExample.xml: > > > > label="AlgorithmSourceExample"> > long_help="AlgorithmSourceExample" > short_help="AlgorithmSourceExample"> > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From owen.arnold at stfc.ac.uk Thu Jul 7 03:26:44 2016 From: owen.arnold at stfc.ac.uk (owen.arnold at stfc.ac.uk) Date: Thu, 7 Jul 2016 07:26:44 +0000 Subject: [Paraview] 3D Tv Message-ID: Hi, Has anyone managed to get Paraview working nicely on a 3D Tv? We are looking at purchasing one of these http://www.lg.com/uk/tvs/lg-65UF860V but we want to be sure that it?s going to be possible to configure with Paraview before we purchase it. Thanks in advance, Owen. From cory.quammen at kitware.com Thu Jul 7 09:03:42 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 7 Jul 2016 09:03:42 -0400 Subject: [Paraview] plugin error: "Input for algorithm vtkPVPostFilter is of type ..., but a vtkPolyData is required" In-Reply-To: References: Message-ID: Hi Corinna, Does vtkTestSource override the FillOutputPortInformation() member function? It should look like //---------------------------------------------------------------------------- int vtkTestSource::FillOutputPortInformation( int vtkNotUsed(port), vtkInformation* info) { // now add our info info->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkTest"); return 1; } If that doesn't fix the error, let us know. You may run into other problems with a custom data object - you may want to derive your vtkTest class from one of the vtkDataObject ParaView works with, e.g., vtkTable. Thanks, Cory On Thu, Jul 7, 2016 at 1:44 AM, corinna reuter wrote: > Doesn't anybody know, why a vtkAlgorithm which produces a custom class > (vtkTest) that is not derived from vtkDataSet show the error "... but a > vtkPolyData is required"? > > A side remark, previously I wrote that the custom class "vtkTest" is neither > derived from vtkDataSet nor from vtkDataObject. Actually it is derived from > vtkDataObject. > > If my question doesn't make sense, please let me know. Maybe it is against > every paraview design, so that I'll have to find a completely different > solution. But it becomes more and more urgent for me to include a data > source (mySQL database) of custom classes (not vtkDataSets) in the paraview > tree. > > Thank you > Corinna > > On Mon, Jul 4, 2016 at 3:09 PM, corinna reuter > wrote: >> >> To anybody experienced in plugin programming: >> >> I am trying to include items in the paraview tree, which are not derived >> from vtkDataSet or vtkDataObject. For example, a mySQL database should be >> allowed as a data source, which delivers data in an intermediate format. >> Next I'd implement filters which take the intermediate format and produce >> vtkDataSets as output. >> >> Is it possible to use such "abstract" (not vtkDataSet) objects in the >> paraview tree as a representation of the intermediate format? I have tried >> to integrate the example for custom classes from >> http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source into a paraview >> plugin (CMakeLists and servermanager xml below). When the plugin is loaded >> and I add a source of the new type AlgorithmSourceExample, this error is >> thrown: >> >> ERROR: In >> /opt/ParaView-v5.0.1/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, >> line 810 >> vtkPVPostFilterExecutive (0x3857810): Input for connection index 0 on >> input port index 0 for algorithm vtkPVPostFilter(0x3858910) is of type >> vtkTest, but a vtkPolyData is required. >> >> What do I need to change such that the vtkTest objects, produced by >> AlgorithmSourceExample, can live in the paraview tree? >> >> Thank you >> Corinna >> >> CMakeLists.txt: >> >> FIND_PACKAGE(ParaView REQUIRED) >> INCLUDE(${PARAVIEW_USE_FILE}) >> #changes required in >> http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source: >> # remove vtkCxxRevisionMacro calls >> # change vtkTypeRevisionMacro into vtkTypeMacro >> # remove call output->SetPipelineInformation( outInfo ); >> ADD_PARAVIEW_PLUGIN( >> AlgorithmSourceExample >> "1.0" >> SERVER_MANAGER_XML AlgorithmSourceExample.xml >> SERVER_MANAGER_SOURCES vtkTestSource.cxx vtkTest.cxx >> ) >> >> AlgorithmSourceExample.xml: >> >> >> >> > label="AlgorithmSourceExample"> >> > long_help="AlgorithmSourceExample" >> short_help="AlgorithmSourceExample"> >> >> >> >> > > > > _______________________________________________ > 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 > -- Cory Quammen R&D Engineer Kitware, Inc. From cory.quammen at kitware.com Thu Jul 7 11:27:18 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 7 Jul 2016 11:27:18 -0400 Subject: [Paraview] Create a Drop Down Menu for a Custom Filter that takes its entries from arrays of all inputs In-Reply-To: References: Message-ID: Evan, 1. Is it possible to populate the drop-down menu with the array names from > a specific input? > Yes, it should be possible, with some finagling. Take a look at the RibbonFilter in ParaViewCore/ServerManager/SMApplication/Resources/filters.xml. In the Input property, an InputArrayDomain is defined - actually, two are defined, but the point is they are named differently and referred to differently in the ArrayListDomains in the SelectInputScalars and SelectInputVectors properties. In your case, I would try to define two inputs as two different properties, define at least the one InputArrayDomain in the input property for the input from which you want the arrays, and use that in your ArrayListDomain. If you are talking about picking the input first and then the array from the chosen input, I'm not sure how to do that. > 2. Is it possible to populate the drop-down menu with the array names > from all inputs? > Hmm, not sure about that one. Probably not without some modifications/additions to the ParaView code. HTH, Cory > Right now, it will only take array names from one of the inputs (from > testing, it seems like whichever object was created first). > > Thanks, > Evan Kao > > _______________________________________________ > 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 > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From corinnareuter75 at gmail.com Thu Jul 7 13:31:52 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Thu, 7 Jul 2016 19:31:52 +0200 Subject: [Paraview] plugin error: "Input for algorithm vtkPVPostFilter is of type ..., but a vtkPolyData is required" In-Reply-To: References: Message-ID: Yes, FillOutputPortInformation already looks exactly as you say. I gave the link to the complete example code in my initial question: http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source I changed a few lines to make it compile with Paraview 5.0.1 (see the comments in the CMakeLists.txt with my initial question). In addition, I can send to you tomorrow a small source archive ready for compilation. I'll also check vtkTable to see if it solves my problem. I thought of just deriving the vtkTest class from vtkDataSet and returning a fake, empty dataset while keeping the information from which the actual vtkDataSet will be processed downstream in the pipeline. Do you think that this workaround is feasible, or what other problems should I excpect? Thank you Corinna On Thu, Jul 7, 2016 at 3:03 PM, Cory Quammen wrote: > Hi Corinna, > > Does vtkTestSource override the FillOutputPortInformation() member > function? It should look like > > > //---------------------------------------------------------------------------- > int vtkTestSource::FillOutputPortInformation( > int vtkNotUsed(port), vtkInformation* info) > { > // now add our info > info->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkTest"); > return 1; > } > > If that doesn't fix the error, let us know. > > You may run into other problems with a custom data object - you may > want to derive your vtkTest class from one of the vtkDataObject > ParaView works with, e.g., vtkTable. > > Thanks, > Cory > > On Thu, Jul 7, 2016 at 1:44 AM, corinna reuter > wrote: > > Doesn't anybody know, why a vtkAlgorithm which produces a custom class > > (vtkTest) that is not derived from vtkDataSet show the error "... but a > > vtkPolyData is required"? > > > > A side remark, previously I wrote that the custom class "vtkTest" is > neither > > derived from vtkDataSet nor from vtkDataObject. Actually it is derived > from > > vtkDataObject. > > > > If my question doesn't make sense, please let me know. Maybe it is > against > > every paraview design, so that I'll have to find a completely different > > solution. But it becomes more and more urgent for me to include a data > > source (mySQL database) of custom classes (not vtkDataSets) in the > paraview > > tree. > > > > Thank you > > Corinna > > > > On Mon, Jul 4, 2016 at 3:09 PM, corinna reuter < > corinnareuter75 at gmail.com> > > wrote: > >> > >> To anybody experienced in plugin programming: > >> > >> I am trying to include items in the paraview tree, which are not derived > >> from vtkDataSet or vtkDataObject. For example, a mySQL database should > be > >> allowed as a data source, which delivers data in an intermediate format. > >> Next I'd implement filters which take the intermediate format and > produce > >> vtkDataSets as output. > >> > >> Is it possible to use such "abstract" (not vtkDataSet) objects in the > >> paraview tree as a representation of the intermediate format? I have > tried > >> to integrate the example for custom classes from > >> http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source into a > paraview > >> plugin (CMakeLists and servermanager xml below). When the plugin is > loaded > >> and I add a source of the new type AlgorithmSourceExample, this error is > >> thrown: > >> > >> ERROR: In > >> > /opt/ParaView-v5.0.1/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, > >> line 810 > >> vtkPVPostFilterExecutive (0x3857810): Input for connection index 0 on > >> input port index 0 for algorithm vtkPVPostFilter(0x3858910) is of type > >> vtkTest, but a vtkPolyData is required. > >> > >> What do I need to change such that the vtkTest objects, produced by > >> AlgorithmSourceExample, can live in the paraview tree? > >> > >> Thank you > >> Corinna > >> > >> CMakeLists.txt: > >> > >> FIND_PACKAGE(ParaView REQUIRED) > >> INCLUDE(${PARAVIEW_USE_FILE}) > >> #changes required in > >> http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source: > >> # remove vtkCxxRevisionMacro calls > >> # change vtkTypeRevisionMacro into vtkTypeMacro > >> # remove call output->SetPipelineInformation( outInfo ); > >> ADD_PARAVIEW_PLUGIN( > >> AlgorithmSourceExample > >> "1.0" > >> SERVER_MANAGER_XML AlgorithmSourceExample.xml > >> SERVER_MANAGER_SOURCES vtkTestSource.cxx vtkTest.cxx > >> ) > >> > >> AlgorithmSourceExample.xml: > >> > >> > >> > >> >> label="AlgorithmSourceExample"> > >> >> long_help="AlgorithmSourceExample" > >> short_help="AlgorithmSourceExample"> > >> > >> > >> > >> > > > > > > > > _______________________________________________ > > 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 > > > > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Jul 7 13:59:26 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 7 Jul 2016 13:59:26 -0400 Subject: [Paraview] Import of .PLY fails in Paraview 5.1 In-Reply-To: References: Message-ID: Hi, I can't reproduce this. Do you have an example PLY file you can share (directly with me if you wish) to try to reproduce the error? Thanks, Cory Th On Tue, Jun 28, 2016 at 4:24 AM, stephane???? ???? < stephane at fujielectric.com> wrote: > Hello, > > Paraview crashes everytime I try to import a point cloud (.PLY) file.The > same problem occurs when it is a .PLY file exported from Paraview. Any idea > on how to solve that problem? > > Ndong-Mefane Stephane, Dr.Eng > Basic Design Sec. > Steam Turbine Dept. > Kawasaki Factory > > Fuji Electric Co., Ltd > 1-1, Tanabeshinden, Kawasaki-ku, > Kawasaki-city 210-9530, Japan > Phone: +81-44-329-2155 > Fax: +81-44-329-2394 > > > _______________________________________________ > 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 > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sujin.philip at kitware.com Thu Jul 7 15:01:38 2016 From: sujin.philip at kitware.com (Sujin Philip) Date: Thu, 7 Jul 2016 15:01:38 -0400 Subject: [Paraview] Import of .PLY fails in Paraview 5.1 In-Reply-To: References: Message-ID: Hi Cory, We looked into this. The problem was not with the dataset but with the paraview settings files ("paraview -dr" runs without issues). Thanks Sujin On Thu, Jul 7, 2016 at 1:59 PM, Cory Quammen wrote: > Hi, > > I can't reproduce this. Do you have an example PLY file you can share > (directly with me if you wish) to try to reproduce the error? > > Thanks, > Cory > > Th > > On Tue, Jun 28, 2016 at 4:24 AM, stephane???? ???? < > stephane at fujielectric.com> wrote: > >> Hello, >> >> Paraview crashes everytime I try to import a point cloud (.PLY) file.The >> same problem occurs when it is a .PLY file exported from Paraview. Any idea >> on how to solve that problem? >> >> Ndong-Mefane Stephane, Dr.Eng >> Basic Design Sec. >> Steam Turbine Dept. >> Kawasaki Factory >> >> Fuji Electric Co., Ltd >> 1-1, Tanabeshinden, Kawasaki-ku, >> Kawasaki-city 210-9530, Japan >> Phone: +81-44-329-2155 >> Fax: +81-44-329-2394 >> >> >> _______________________________________________ >> 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 >> >> > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > > _______________________________________________ > 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 -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Jul 7 15:14:39 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 7 Jul 2016 15:14:39 -0400 Subject: [Paraview] Import of .PLY fails in Paraview 5.1 In-Reply-To: References: Message-ID: Hi Sujin, Thanks for following up. Stephane, Could I get the settings configuration files in effect when you saw the PLY reader problem to try to figure out which settings caused this problem? Thanks, Cory On Thu, Jul 7, 2016 at 3:01 PM, Sujin Philip wrote: > Hi Cory, > > We looked into this. The problem was not with the dataset but with the > paraview settings files ("paraview -dr" runs without issues). > > Thanks > Sujin > > > On Thu, Jul 7, 2016 at 1:59 PM, Cory Quammen > wrote: > >> Hi, >> >> I can't reproduce this. Do you have an example PLY file you can share >> (directly with me if you wish) to try to reproduce the error? >> >> Thanks, >> Cory >> >> Th >> >> On Tue, Jun 28, 2016 at 4:24 AM, stephane???? ???? < >> stephane at fujielectric.com> wrote: >> >>> Hello, >>> >>> Paraview crashes everytime I try to import a point cloud (.PLY) file.The >>> same problem occurs when it is a .PLY file exported from Paraview. Any idea >>> on how to solve that problem? >>> >>> Ndong-Mefane Stephane, Dr.Eng >>> Basic Design Sec. >>> Steam Turbine Dept. >>> Kawasaki Factory >>> >>> Fuji Electric Co., Ltd >>> 1-1, Tanabeshinden, Kawasaki-ku, >>> Kawasaki-city 210-9530, Japan >>> Phone: +81-44-329-2155 >>> Fax: +81-44-329-2394 >>> >>> >>> _______________________________________________ >>> 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 >>> >>> >> >> >> -- >> Cory Quammen >> R&D Engineer >> Kitware, Inc. >> >> _______________________________________________ >> 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 >> >> > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.c.angelini.civ at mail.mil Thu Jul 7 15:15:36 2016 From: richard.c.angelini.civ at mail.mil (Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US)) Date: Thu, 7 Jul 2016 19:15:36 +0000 Subject: [Paraview] [Non-DoD Source] making the leap to v5.1 on the cray In-Reply-To: <0fe43f68-40f8-0890-206d-6a1f961421a6@lbl.gov> References: <0fe43f68-40f8-0890-206d-6a1f961421a6@lbl.gov> Message-ID: Burlen - we?ve successfully built 4.x and 5.x on a number of different Crays. We use the Superbuild and allow ParaView to pull whatever versions of the dependent libraries it needs and build everything on the fly. It looks like the recent builds used mesa-11.2.2 ?.. ________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Phone: 410-278-6266 -----Original Message----- From: ParaView on behalf of Burlen Loring Date: Tuesday, July 5, 2016 at 2:51 PM To: ParaView Subject: [Non-DoD Source] [Paraview] making the leap to v5.1 on the cray All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ---- Hi All, first of all, is 5.1 production ready? or is 4.4 still the way to go in a production environment? this would be the only install available for users so it's important that it function reliably/correctly. re: 5.1, I'm wondering what the recommended mesa config for use with pv 5.1 on cray is? Which version of mesa have been tested/recommended? is open swr an option yet? or is llvmpipe still a better bet? Thanks Burlen _______________________________________________ Powered by Caution-www.kitware.com Visit other Kitware open-source projects at Caution-http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: Caution-http://paraview.org/Wiki/ParaView Search the list archives at: Caution-http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: Caution-http://public.kitware.com/mailman/listinfo/paraview From mlohry at gmail.com Thu Jul 7 16:33:27 2016 From: mlohry at gmail.com (Mark Lohry) Date: Thu, 7 Jul 2016 14:33:27 -0600 Subject: [Paraview] Simplest file format/method to import meshless 3D field data? Message-ID: I have 3D flowfield data that has odd connectivity. I *could* manually write a triangulation to produce the connectivity and write a standard file format with tetrahedral elements, but I'd prefer it if I could simply dump all the point data and import it. >From what I've seen, the "point cloud" methods seem to just create topologically 2-dimensional surfaces from points in 3D space, and not an actual 3D field, is that correct? Is there some file format / importer where I can just write a data file along the lines of x1,y1,z1,var1,var2,var3,... x2,y2,z2,var1,var2,var3,.... and read that into paraview complete with some kind of interpolation between points to produce contours? -------------- next part -------------- An HTML attachment was scrubbed... URL: From burlen.loring at gmail.com Thu Jul 7 18:48:46 2016 From: burlen.loring at gmail.com (Burlen Loring) Date: Thu, 7 Jul 2016 15:48:46 -0700 Subject: [Paraview] [Non-DoD Source] making the leap to v5.1 on the cray In-Reply-To: References: <0fe43f68-40f8-0890-206d-6a1f961421a6@lbl.gov> Message-ID: <7cb47d3f-9a5f-82e8-29c7-b1b8b8f9e47a@gmail.com> Thanks Rich! Have you had a good experience with 5 thus far? I am more concerned with the usability aspect rather than the build. For instance if a user goes to volume render something and they see a trashed screen, they are likely to file aticket which ccreates a bunch of work for me, and worse they are likely to switch to the competition's vis tool. Thus I'd rather see something slow but reliable, vs fast and flakey. I'm assuming 5 is maturing by now though... B On 07/07/2016 12:15 PM, Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US) wrote: > Burlen - we?ve successfully built 4.x and 5.x on a number of different > Crays. We use the Superbuild and allow ParaView to pull whatever > versions of the dependent libraries it needs and build everything on the > fly. It looks like the recent builds used mesa-11.2.2 ?.. > > > ________________________________ > Rick Angelini > USArmy Research Laboratory > CISD/HPC Architectures Team > Phone: 410-278-6266 > > > > > -----Original Message----- > From: ParaView on behalf of Burlen Loring > > Date: Tuesday, July 5, 2016 at 2:51 PM > To: ParaView > Subject: [Non-DoD Source] [Paraview] making the leap to v5.1 on the cray > > All active links contained in this email were disabled. Please verify the > identity of the sender, and confirm the authenticity of all links > contained within the message prior to copying and pasting the address to a > Web browser. > > > > > ---- > > Hi All, > > first of all, is 5.1 production ready? or is 4.4 still the way to go in > a production environment? this would be the only install available for > users so it's important that it function reliably/correctly. > > re: 5.1, I'm wondering what the recommended mesa config for use with pv > 5.1 on cray is? Which version of mesa have been tested/recommended? is > open swr an option yet? or is llvmpipe still a better bet? > > Thanks > Burlen > _______________________________________________ > Powered by Caution-www.kitware.com > > Visit other Kitware open-source projects at > Caution-http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > Caution-http://paraview.org/Wiki/ParaView > > Search the list archives at: Caution-http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > Caution-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 From wascott at sandia.gov Thu Jul 7 21:30:53 2016 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 8 Jul 2016 01:30:53 +0000 Subject: [Paraview] Tesselate filter Message-ID: <5fe61dfa1c0a4bc199500a78f6bc49ec@ES01AMSNLNT.srn.sandia.gov> Shouldn't the tessellate filter pass on cell data? Currently point data is created and passed on, but cell data is stripped. Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane at fujielectric.com Thu Jul 7 21:46:32 2016 From: stephane at fujielectric.com (=?UTF-8?B?c3RlcGhhbmXjg7Pjg4njg7PjgrAg44Oh44OV44Kh44ON?=) Date: Fri, 8 Jul 2016 10:46:32 +0900 Subject: [Paraview] Import of .PLY fails in Paraview 5.1 In-Reply-To: References: Message-ID: Hello Cory, Paraview is still crashing if I start it normally and try to load a .PLY (even after deleting the settings configuration files, so I am not so sure the problem is coming from the config files....I don't know...). I am sending the original config files. Stephane ???? ??????? ????? ????-???? ????? ???? ???????? ?210-9530??????????1-1 TEL 044-329-2155 FAX 044-329-2394 On Fri, Jul 8, 2016 at 4:14 AM, Cory Quammen wrote: > Hi Sujin, > > Thanks for following up. > > Stephane, > > Could I get the settings configuration files in effect when you saw the > PLY reader problem to try to figure out which settings caused this problem? > > Thanks, > Cory > > On Thu, Jul 7, 2016 at 3:01 PM, Sujin Philip > wrote: > >> Hi Cory, >> >> We looked into this. The problem was not with the dataset but with the >> paraview settings files ("paraview -dr" runs without issues). >> >> Thanks >> Sujin >> >> >> On Thu, Jul 7, 2016 at 1:59 PM, Cory Quammen >> wrote: >> >>> Hi, >>> >>> I can't reproduce this. Do you have an example PLY file you can share >>> (directly with me if you wish) to try to reproduce the error? >>> >>> Thanks, >>> Cory >>> >>> Th >>> >>> On Tue, Jun 28, 2016 at 4:24 AM, stephane???? ???? < >>> stephane at fujielectric.com> wrote: >>> >>>> Hello, >>>> >>>> Paraview crashes everytime I try to import a point cloud (.PLY) >>>> file.The same problem occurs when it is a .PLY file exported from Paraview. >>>> Any idea on how to solve that problem? >>>> >>>> Ndong-Mefane Stephane, Dr.Eng >>>> Basic Design Sec. >>>> Steam Turbine Dept. >>>> Kawasaki Factory >>>> >>>> Fuji Electric Co., Ltd >>>> 1-1, Tanabeshinden, Kawasaki-ku, >>>> Kawasaki-city 210-9530, Japan >>>> Phone: +81-44-329-2155 >>>> Fax: +81-44-329-2394 >>>> >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> >>> >>> >>> -- >>> Cory Quammen >>> R&D Engineer >>> Kitware, Inc. >>> >>> _______________________________________________ >>> 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 >>> >>> >> > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: servers.pvsc Type: application/octet-stream Size: 124 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ParaView-UserSettings.json Type: application/json Size: 742 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ParaView5.1.0.ini Type: application/octet-stream Size: 188 bytes Desc: not available URL: From corinnareuter75 at gmail.com Fri Jul 8 04:03:19 2016 From: corinnareuter75 at gmail.com (corinna reuter) Date: Fri, 8 Jul 2016 10:03:19 +0200 Subject: [Paraview] plugin error: "Input for algorithm vtkPVPostFilter is of type ..., but a vtkPolyData is required" In-Reply-To: References: Message-ID: Hi Cory, I attach the complete sources for compiling and testing the described problem. (Tested with Paraview 5.0.1 compiled from sources.) Corinna On Thu, Jul 7, 2016 at 7:31 PM, corinna reuter wrote: > Yes, FillOutputPortInformation already looks exactly as you say. > > I gave the link to the complete example code in my initial question: > http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source > I changed a few lines to make it compile with Paraview 5.0.1 (see the > comments in the CMakeLists.txt with my initial question). In addition, I > can send to you tomorrow a small source archive ready for compilation. > > I'll also check vtkTable to see if it solves my problem. I thought of just > deriving the vtkTest class from vtkDataSet and returning a fake, empty > dataset while keeping the information from which the actual vtkDataSet will > be processed downstream in the pipeline. Do you think that this workaround > is feasible, or what other problems should I excpect? > > Thank you > Corinna > > > On Thu, Jul 7, 2016 at 3:03 PM, Cory Quammen > wrote: > >> Hi Corinna, >> >> Does vtkTestSource override the FillOutputPortInformation() member >> function? It should look like >> >> >> //---------------------------------------------------------------------------- >> int vtkTestSource::FillOutputPortInformation( >> int vtkNotUsed(port), vtkInformation* info) >> { >> // now add our info >> info->Set(vtkDataObject::DATA_TYPE_NAME(), "vtkTest"); >> return 1; >> } >> >> If that doesn't fix the error, let us know. >> >> You may run into other problems with a custom data object - you may >> want to derive your vtkTest class from one of the vtkDataObject >> ParaView works with, e.g., vtkTable. >> >> Thanks, >> Cory >> >> On Thu, Jul 7, 2016 at 1:44 AM, corinna reuter >> wrote: >> > Doesn't anybody know, why a vtkAlgorithm which produces a custom class >> > (vtkTest) that is not derived from vtkDataSet show the error "... but a >> > vtkPolyData is required"? >> > >> > A side remark, previously I wrote that the custom class "vtkTest" is >> neither >> > derived from vtkDataSet nor from vtkDataObject. Actually it is derived >> from >> > vtkDataObject. >> > >> > If my question doesn't make sense, please let me know. Maybe it is >> against >> > every paraview design, so that I'll have to find a completely different >> > solution. But it becomes more and more urgent for me to include a data >> > source (mySQL database) of custom classes (not vtkDataSets) in the >> paraview >> > tree. >> > >> > Thank you >> > Corinna >> > >> > On Mon, Jul 4, 2016 at 3:09 PM, corinna reuter < >> corinnareuter75 at gmail.com> >> > wrote: >> >> >> >> To anybody experienced in plugin programming: >> >> >> >> I am trying to include items in the paraview tree, which are not >> derived >> >> from vtkDataSet or vtkDataObject. For example, a mySQL database should >> be >> >> allowed as a data source, which delivers data in an intermediate >> format. >> >> Next I'd implement filters which take the intermediate format and >> produce >> >> vtkDataSets as output. >> >> >> >> Is it possible to use such "abstract" (not vtkDataSet) objects in the >> >> paraview tree as a representation of the intermediate format? I have >> tried >> >> to integrate the example for custom classes from >> >> http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source into a >> paraview >> >> plugin (CMakeLists and servermanager xml below). When the plugin is >> loaded >> >> and I add a source of the new type AlgorithmSourceExample, this error >> is >> >> thrown: >> >> >> >> ERROR: In >> >> >> /opt/ParaView-v5.0.1/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, >> >> line 810 >> >> vtkPVPostFilterExecutive (0x3857810): Input for connection index 0 on >> >> input port index 0 for algorithm vtkPVPostFilter(0x3858910) is of type >> >> vtkTest, but a vtkPolyData is required. >> >> >> >> What do I need to change such that the vtkTest objects, produced by >> >> AlgorithmSourceExample, can live in the paraview tree? >> >> >> >> Thank you >> >> Corinna >> >> >> >> CMakeLists.txt: >> >> >> >> FIND_PACKAGE(ParaView REQUIRED) >> >> INCLUDE(${PARAVIEW_USE_FILE}) >> >> #changes required in >> >> http://www.vtk.org/Wiki/VTK_Examples_vtkAlgorithm_Source: >> >> # remove vtkCxxRevisionMacro calls >> >> # change vtkTypeRevisionMacro into vtkTypeMacro >> >> # remove call output->SetPipelineInformation( outInfo ); >> >> ADD_PARAVIEW_PLUGIN( >> >> AlgorithmSourceExample >> >> "1.0" >> >> SERVER_MANAGER_XML AlgorithmSourceExample.xml >> >> SERVER_MANAGER_SOURCES vtkTestSource.cxx vtkTest.cxx >> >> ) >> >> >> >> AlgorithmSourceExample.xml: >> >> >> >> >> >> >> >> > >> label="AlgorithmSourceExample"> >> >> > >> long_help="AlgorithmSourceExample" >> >> short_help="AlgorithmSourceExample"> >> >> >> >> >> >> >> >> >> > >> > >> > >> > _______________________________________________ >> > 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 >> > >> >> >> >> -- >> Cory Quammen >> R&D Engineer >> Kitware, Inc. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.tgz Type: application/x-gzip Size: 2349 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Fri Jul 8 06:51:21 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 8 Jul 2016 06:51:21 -0400 Subject: [Paraview] [Paraview-developers] ParaView bug hackathon In-Reply-To: References: Message-ID: Following on the footsteps of the successful VTK hackathon, we'll be doing a ParaView hackathon next week on Wed. July 13. Please email me (or the list) if you're attending. The objectives will be similar: * clean up pending MRs * clean up bugs reported on bug tracker * update/triage dashboard machines Utkarsh On Mon, Jun 20, 2016 at 4:30 PM, Berk Geveci wrote: > Hi folks, > > We are planning a ParaView bug hackathon on July 13. Going forward, we would > like this to be a monthly event during which the community comes together to > address bugs reported to the tracker. It will be an all day event that we > will host physically at Kitware Headquarters in Clifton Park, NY as well as > online via Google Hangout. All are welcome to attend as long as they know > the code base enough to fix bugs. > > Any questions? Comments? Any potential issue with the date? > > Best, > -berk > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Search the list archives at: > http://markmail.org/search/?q=Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > From utkarsh.ayachit at kitware.com Fri Jul 8 07:45:56 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 8 Jul 2016 07:45:56 -0400 Subject: [Paraview] Ensight 6 imported case error In-Reply-To: <577CD16A.3000908@virtualmech.com> References: <577CD16A.3000908@virtualmech.com> Message-ID: Juan, Can you share a sample dataset to reproduce this issue? Thanks Utkarsh On Wed, Jul 6, 2016 at 5:37 AM, Juan Valverde wrote: > Hi there, > > We are working with Syrthes thermal. The output of such program is > written in Ensight case format, version 6. All data is imported > correctly from Paraview 4.3.1 except for one node, we tested in several > different problems, whose temperature nodal value is incorrect. It > should be 7.12e+02, and ends up being 7.12e22, to give an example. > Therefore, the maximum is unreal and the whole surface plot is ruined. I > checked with Paravis inside Salome 7.7.1 and 7.6.0, and also, as pointed > out before with Paraview 4.3.1. > > I also run the ens_checker (ensight case file health checker) on the > files and they seem to be ok. I also inspected the results file and all > nodal data is correct, no e+22 found in these files. > > Did anybody have the same problem? It seems related to the Ensight > reader or plugin used by Paravis/Paraview. > Attached example plots. > Any help would be much appreciated. > > Regards, > > Juan > > _______________________________________________ > 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 > From guanw at rhpcs.mcmaster.ca Fri Jul 8 10:04:51 2016 From: guanw at rhpcs.mcmaster.ca (Weiguang guan) Date: Fri, 08 Jul 2016 10:04:51 -0400 Subject: [Paraview] VTK warning during volume rendering of vtkStructuredGrid on Windows with Nvidia graphics card. In-Reply-To: <577ABE43.4080101@rhpcs.mcmaster.ca> References: <577ABE43.4080101@rhpcs.mcmaster.ca> Message-ID: <577FB303.7050405@rhpcs.mcmaster.ca> Is there a solution to fix the problem? Thanks. Weiguang On 04/07/2016 3:51 PM, Weiguang guan wrote: > I run into the same problem on linux. > > Warning: In > /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Rendering/VolumeOpenGL2/vtkOpenGLProjectedTetrahedraMapper.cxx, > line 251 > vtkOpenGLProjectedTetrahedraMapper (0x630b310): Missing FBO support. > The algorithm may produce visual artifacts. > > I'm running Paraview 5.0.0. > > Weiguang > > On 03/03/2016 9:42 AM, Aashish Chaudhary wrote: >>> I have the same problem. Though in my case it is a small unstructuredgrid >>> vtu file. The OS is Ubuntu 14.04. ParaView-5.0.0-Qt4-OpenGL2-MPI-Linux-64bit >>> prebuilt binaries. The Graphics card is Nvidia Quadro K620 with OpenGL >>> version 3.02 Nvidia 352.63. The Nvidia settings show the following etensions >>> amongst others GL_ARB_frame_buffer_object. >>> Also, it does show artifacts. In particular for a vector allocated to a >>> standard hexahedron cell, the colors are slightly different within the cell. >>> You can see triangular segments [possibly tetrahedron?] >> It seems to me that you are running into a different issue as atleast >> you are seeing >> something but it does look correct to you. Is that it? >> >> Thanks >> >> >>> Regard >>> Paul. >>> >>> >>> >>> _______________________________________________ >>> Powered bywww.kitware.com >>> >>> Visit other Kitware open-source projects athttp://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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Fri Jul 8 10:42:21 2016 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Fri, 8 Jul 2016 10:42:21 -0400 Subject: [Paraview] VTK warning during volume rendering of vtkStructuredGrid on Windows with Nvidia graphics card. In-Reply-To: <577FB303.7050405@rhpcs.mcmaster.ca> References: <577ABE43.4080101@rhpcs.mcmaster.ca> <577FB303.7050405@rhpcs.mcmaster.ca> Message-ID: Hi Weiguang, Have you tried recent release of paraview / vtk? This should have been fixed in the recent commits. Thanks On Fri, Jul 8, 2016 at 10:04 AM, Weiguang guan wrote: > Is there a solution to fix the problem? Thanks. > > Weiguang > > > On 04/07/2016 3:51 PM, Weiguang guan wrote: > > I run into the same problem on linux. > > Warning: In > /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Rendering/VolumeOpenGL2/vtkOpenGLProjectedTetrahedraMapper.cxx, > line 251 > vtkOpenGLProjectedTetrahedraMapper (0x630b310): Missing FBO support. The > algorithm may produce visual artifacts. > > I'm running Paraview 5.0.0. > > Weiguang > > On 03/03/2016 9:42 AM, Aashish Chaudhary wrote: > > I have the same problem. Though in my case it is a small unstructuredgrid > vtu file. The OS is Ubuntu 14.04. ParaView-5.0.0-Qt4-OpenGL2-MPI-Linux-64bit > prebuilt binaries. The Graphics card is Nvidia Quadro K620 with OpenGL > version 3.02 Nvidia 352.63. The Nvidia settings show the following etensions > amongst others GL_ARB_frame_buffer_object. > > Also, it does show artifacts. In particular for a vector allocated to a > standard hexahedron cell, the colors are slightly different within the cell. > You can see triangular segments [possibly tetrahedron?] > > It seems to me that you are running into a different issue as atleast > you are seeing > something but it does look correct to you. Is that it? > > Thanks > > > > Regard > 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 > > > > > _______________________________________________ > 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 > > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From christophe.bourcier.pv at gmail.com Fri Jul 8 10:43:57 2016 From: christophe.bourcier.pv at gmail.com (Christophe Bourcier) Date: Fri, 8 Jul 2016 16:43:57 +0200 Subject: [Paraview] 3D Tv In-Reply-To: References: Message-ID: Hi, We have used Paraview on some 3D HD TV connected via HDMI to a laptop. You have to set the stereo in Paraview to SplitViewPortHorizontal. It is not as nice as CrystalEyes since you loose half of the horizontal resolution. To display in UHD on the TV from your link you will need a graphic card allowing UHD, like an Nvidia Quadro 5000. Christophe 2016-07-07 9:26 GMT+02:00 : > Hi, > > Has anyone managed to get Paraview working nicely on a 3D Tv? We are looking at purchasing one of these http://www.lg.com/uk/tvs/lg-65UF860V but we want to be sure that it?s going to be possible to configure with Paraview before we purchase it. > > Thanks in advance, > Owen. > _______________________________________________ > 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 From e.devilliers at engys.com Fri Jul 8 07:29:23 2016 From: e.devilliers at engys.com (Eugene de Villiers) Date: Fri, 8 Jul 2016 11:29:23 +0000 Subject: [Paraview] Suggestion for STL import In-Reply-To: References: Message-ID: Utkarsh, Unfortunately, the STL that produced the issue is confidential and also quite large, so I am unsure how to go about producing something equivalent. Let me know what you find after looking at the reader and I will try to find something appropriate. To be honest, the reasoning is speculative, but it is clear that the STL reader has some drawbacks. At the very least we would be happy to test any alterations you might come up with on the original input. Not merging the points is a reasonable work-around, but you will lose some utility (feature detection). I think it should be relatively easy to create or port an existing algorithm that is a bit more efficient (of course these kind of assumptions tend to be wrong, but anyway!). Eugene From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: 05 July 2016 17:05 To: Eugene de Villiers Cc: paraview at paraview.org Subject: Re: [Paraview] Suggestion for STL import Eugene, I am pretty sure the community will be interested in this! While I'll need to look into the reader to understand, to get things going, do you have a sample dataset to demonstrate the issue? Utkarsh On Tue, Jul 5, 2016 at 10:28 AM, Eugene de Villiers > wrote: Hi, When importing STL format geometry or similar, where connectivity information is not implicit in the data structure, it appears that the connectivity is reconstructed via an octree search. This is very inefficient when surfaces with large differences in edge length are imported ? we have had a recent case where an STL took 45mins to load. If the same input geometry is converted to OBJ format via an external tool, the load time reduces to minutes. A generally more efficient method is to calculate the distance of each point from a location outside the point cloud bounding box and then to bubble-sort the resulting list. Unless you are dealing with a pathological case your local search neighbourhood of identical distance points will be small and the algorithm very fast. More complex, multi-origin algorithms are also possible to counter pathological instances. I can provide more details and sample code if you are interested. Best regards, Eugene de Villiers Managing Director e.devilliers at engys.com Mob: +44 (0) 77 89748490 Tel: +44 (0)20 32393041 (ext. 102) Fax: +44 (0)20 33573123 [logo_red-black_fonts_signature] This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from your system. _______________________________________________ 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 -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 2215 bytes Desc: image001.png URL: From utkarsh.ayachit at kitware.com Fri Jul 8 11:38:47 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 8 Jul 2016 11:38:47 -0400 Subject: [Paraview] problems using pvbatch in frozen build In-Reply-To: References: Message-ID: I got over such problems by delaying importing of those modules until needed. They are not needed for most common use-cases. See: https://gitlab.kitware.com/paraview/paraview/commit/3af48fffd924bf5ffd11f576a261ef4eb3ff5897 On Tue, Jul 5, 2016 at 2:35 PM, Burlen Loring wrote: > Hi All, > > I'm encountering some issues when trying to use pvbatch from a frozen > build(PARAVIEW_FREEZE_PYTHON=ON). Seems that certain key python modules are > missing.ie math. However, I can use Python shell feature in the GUI from > the same build. Do we have any idea about what may be wrong with pvbatch? > > > here is output from a simple test: > > nid00048:~$pvbatch pvbatch-test.py > started > Traceback (most recent call last): > File "pvbatch-test.py", line 3, in > from paraview.simple import * > File > "/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/simple.py", > line 40, in > import lookuptable > File > "/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/lookuptable.py", > line 21, in > from math import sqrt > ImportError: No module named math > > I tried this as well: > > nid00048:~$pvpython > Python 2.7.9 (default, Jan 8 2015, 22:29:31) > [GCC 4.9.1 20140716 (Cray Inc.)] on linux2 > Traceback (most recent call last): > File "/etc/pythonstart", line 7, in > import readline > ImportError: Excluded frozen object named readline > >>> import math > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named math > >>> > > Thanks > Burlen > > _______________________________________________ > 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 -------------- An HTML attachment was scrubbed... URL: From benjha at gmail.com Fri Jul 8 14:36:56 2016 From: benjha at gmail.com (=?UTF-8?B?QmVuamFtw61uIEhlcm7DoW5kZXo=?=) Date: Fri, 8 Jul 2016 14:36:56 -0400 Subject: [Paraview] Fwd: ADIOS plugin Paraview 5.1 In-Reply-To: References: Message-ID: Hello, I've compiled Paraview 5.1 with mpi support and ADIOS plugin to read some ADIOS datafiles. I run paraview in client/server mode with 16 mpi processes in one node; when opening a test file I got the next error (16 times, one per each process): Connection URL: cs://XXXX:11111 Accepting connection(s): XXXX:11111 Client connected. 'rpc_read_config()': failed with -2. 'dc_boot()': failed with -2. 'dc_alloc()': failed with -2. 'rpc_read_config()': failed with -2. 'dc_boot()': failed with -2. 'dc_alloc()': failed with -2. 'dcg_alloc()': failed with -12. common_dspaces_init(): failed to initialize. ERROR: Failed to connect with DATASPACES So it seems I need to run the Dataspace server by hand, right ? Why the plugin uses Daspaces transport method instead of the more traditional mpi ? I don't recall paraview cmake configuration allowed to specify any transport method for ADIOS. Thanks, Benjamin -- --- --- B HDz benjha at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Jul 8 15:08:13 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 8 Jul 2016 15:08:13 -0400 Subject: [Paraview] Tesselate filter In-Reply-To: <5fe61dfa1c0a4bc199500a78f6bc49ec@ES01AMSNLNT.srn.sandia.gov> References: <5fe61dfa1c0a4bc199500a78f6bc49ec@ES01AMSNLNT.srn.sandia.gov> Message-ID: It should. As I am looking at the code, I notice that there may be a bug in the code that passes the cell data information which is causing the arrays to be lost. On Thu, Jul 7, 2016 at 9:30 PM, Scott, W Alan wrote: > Shouldn?t the tessellate filter pass on cell data? Currently point data > is created and passed on, but cell data is stripped. > > > > Thanks, > > > > Alan > > > > _______________________________________________ > 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 -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Jul 8 15:15:53 2016 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 8 Jul 2016 19:15:53 +0000 Subject: [Paraview] [EXTERNAL] Re: Tesselate filter In-Reply-To: References: <5fe61dfa1c0a4bc199500a78f6bc49ec@ES01AMSNLNT.srn.sandia.gov> Message-ID: <184fba312b254642866e0078476662c3@ES01AMSNLNT.srn.sandia.gov> That?s what I saw also. Here is a bug report. http://www.paraview.org/Bug/view.php?id=16777 I will add it to trello. From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Friday, July 08, 2016 1:08 PM To: Scott, W Alan Cc: paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview] Tesselate filter It should. As I am looking at the code, I notice that there may be a bug in the code that passes the cell data information which is causing the arrays to be lost. On Thu, Jul 7, 2016 at 9:30 PM, Scott, W Alan > wrote: Shouldn?t the tessellate filter pass on cell data? Currently point data is created and passed on, but cell data is stripped. Thanks, Alan _______________________________________________ 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 -------------- An HTML attachment was scrubbed... URL: From burlen.loring at gmail.com Fri Jul 8 16:19:40 2016 From: burlen.loring at gmail.com (Burlen Loring) Date: Fri, 8 Jul 2016 13:19:40 -0700 Subject: [Paraview] problems using pvbatch in frozen build In-Reply-To: References: Message-ID: <94b80bb4-f00c-b980-692b-8b79595a393b@gmail.com> Thanks Utakarsh. It sounds like it may be possible to work around the issue by not importing the lookuptable module from simple. However, it's "import math" that fails, and math seems like a fairly basic module that should always be present. Is there any chance it got left out of some packaging manifest used in the freeze process? having it be available might be a better solution. On 07/08/2016 08:38 AM, Utkarsh Ayachit wrote: > I got over such problems by delaying importing of those modules until > needed. They are not needed for most common use-cases. > > See: > https://gitlab.kitware.com/paraview/paraview/commit/3af48fffd924bf5ffd11f576a261ef4eb3ff5897 > > On Tue, Jul 5, 2016 at 2:35 PM, Burlen Loring > wrote: > > Hi All, > > I'm encountering some issues when trying to use pvbatch from a > frozen build(PARAVIEW_FREEZE_PYTHON=ON). Seems that certain key > python modules are missing.ie math. However, I > can use Python shell feature in the GUI from the same build. Do we > have any idea about what may be wrong with pvbatch? > > > here is output from a simple test: > > nid00048:~$pvbatch pvbatch-test.py > started > Traceback (most recent call last): > File "pvbatch-test.py", line 3, in > from paraview.simple import * > File > "/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/simple.py", > line 40, in > import lookuptable > File > "/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/lookuptable.py", > line 21, in > from math import sqrt > ImportError: No module named math > > I tried this as well: > > nid00048:~$pvpython > Python 2.7.9 (default, Jan 8 2015, 22:29:31) > [GCC 4.9.1 20140716 (Cray Inc.)] on linux2 > Traceback (most recent call last): > File "/etc/pythonstart", line 7, in > import readline > ImportError: Excluded frozen object named readline > >>> import math > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named math > >>> > > Thanks > Burlen > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Jul 8 16:38:32 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 8 Jul 2016 16:38:32 -0400 Subject: [Paraview] Parallel Rendering - Only one part of dataset shown In-Reply-To: References: Message-ID: That's weird. If you create a Sphere source instead, does that work? On Sat, Jul 2, 2016 at 12:06 PM, Felix Winterhalter wrote: > So I've been trying to get parallel rendering to work for my Paraview. > > I built the server myself with MPI support enabled. I then started the > parallel server using mpirun which appears to run fine. > > After connecting to the server and loading my VTK Dataset I however only > see a part of the dataset rendered. It appears that this is the part > that is loaded in the master process and nothing else. I tried running > with more or less processes in parallel which then increased or > decreased the size of the shown dataset. > > So I was wondering how do I actually display the rest? The way it is > right now its pretty useless to me since I can't see most of my data. > > The data I have is an unstructured grid. > > Any help would be appreciated. > _______________________________________________ > 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 -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Jul 8 16:43:53 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 8 Jul 2016 16:43:53 -0400 Subject: [Paraview] numpy_interface/dataset_adapter append method fails on string datatypes ? In-Reply-To: References: Message-ID: Dean, Current numpy support in VTK doesn't include string arrays, You can overcome that as follows: colNames = [ 'simulation', 'v0 (m/s)', 'k (%)' ] col0 = [ 'm01-sim001', 'm01-sim002', 'm02-sim001' ] ... strArray = vtk.vtkStringArray() strArray.SetName(colNames[0]) strArray.SetNumberOfTuples(len(col0)) for i in range(len(col0)): strArray.SetValue(i, col0[i]) output.RowData.AddArray(strArray) On Fri, Jul 1, 2016 at 9:46 PM, Dean Neumann wrote: > I am trying to write a python programmable filter which calculates > statistics across multiple input datasets and outputs those as a vtkTable. > > All is ok for numeric values. But I can't seem to get any approach to > work for outputting a vtkTable column of string values. > Using numpy_interface/dataset_adapter.py is the cleanest approach I've yet > tried for appending columns of numeric values to an output dataset of type > vtkTable, but it raises the following error on string-valued arrays: > >> Traceback (most recent call last): > > File "", line 29, in > > File "", line 14, in RequestData > > File "C:\Program >> Files\ParaView\lib\paraview-5.0\site-packages\vtk\numpy_interface\dataset_adapter.py", >> line 648, in append > > narray = narray * numpy.ones(arrLength) > > TypeError: only integer arrays with one element can be converted to an >> index > > > Can someone please post an example python programmable filter that outputs > a vtkTable which includes a column of string valued data? I have attached > a minimal script which reproduces the problem. > > > Thanks.... > > Dean Neumann > > _______________________________________________ > 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 -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Fri Jul 8 16:46:41 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 8 Jul 2016 16:46:41 -0400 Subject: [Paraview] [EXTERNAL] Re: Tesselate filter In-Reply-To: <184fba312b254642866e0078476662c3@ES01AMSNLNT.srn.sandia.gov> References: <5fe61dfa1c0a4bc199500a78f6bc49ec@ES01AMSNLNT.srn.sandia.gov> <184fba312b254642866e0078476662c3@ES01AMSNLNT.srn.sandia.gov> Message-ID: A fix is being tested here: https://gitlab.kitware.com/vtk/vtk/merge_requests/1667 On Fri, Jul 8, 2016 at 3:15 PM, Scott, W Alan wrote: > That?s what I saw also. > > > > Here is a bug report. http://www.paraview.org/Bug/view.php?id=16777 I > will add it to trello. > > > > > > > > > > *From:* Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > *Sent:* Friday, July 08, 2016 1:08 PM > *To:* Scott, W Alan > *Cc:* paraview at paraview.org > *Subject:* [EXTERNAL] Re: [Paraview] Tesselate filter > > > > It should. As I am looking at the code, I notice that there may be a bug > in the code that passes the cell data information which is causing the > arrays to be lost. > > > > On Thu, Jul 7, 2016 at 9:30 PM, Scott, W Alan wrote: > > Shouldn?t the tessellate filter pass on cell data? Currently point data > is created and passed on, but cell data is stripped. > > > > Thanks, > > > > Alan > > > > > _______________________________________________ > 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 -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Fri Jul 8 17:30:43 2016 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 8 Jul 2016 21:30:43 +0000 Subject: [Paraview] Plot over time at an xyz location Message-ID: Is it possible to plot some variable over time at an xyz location? For instance, if I have water flowing down a pipe, and want to plot the pressure as the water velocity increases one unit (i.e., cm) in from the edge of the pipe, how do I do it? Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jansen.gunnar at gmail.com Sat Jul 9 03:28:16 2016 From: jansen.gunnar at gmail.com (Gunnar Jansen) Date: Sat, 9 Jul 2016 09:28:16 +0200 Subject: [Paraview] Invisible volume rendering in client/server mode Message-ID: Dear ParaView users, I recently set up a pvserver on our small cluster. I used the most recent stable ParaView release 5.1 and compiled from source. The connection and rendering in client/server mode works fine in all representations except the "Volume" rendering. Here, depending on the model, either no model is shown at all (just the standard 3D render screen), or the previous representation with artifacts shows up. This seems to be a problem of the --use-offscreen-rendering flag that I use in the pvserver startup. I run the server on a node with 2 CPU (with 10 cores each) and 2 Nvidia Tesla K40c. I start the server with: xinit /usr/mpi/gcc/openmpi-1.6.5/bin/mpirun -np 4 pvserver -display :0.0 --use-offscreen-rendering : -np 4 pvserver -display :0.1 --use-offscreen-rendering In the client the threshold for remote rendering is set to 0. If I pass additionally the -tdx=1 and -tdy=1 flags the volume rendering is performed correctly, but the overall speed is decreased greatly. Thank you in advance for any help! Gunnar -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Sat Jul 9 10:02:22 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Sat, 9 Jul 2016 10:02:22 -0400 Subject: [Paraview] Plot over time at an xyz location In-Reply-To: References: Message-ID: Hi Alan, How about using the Extract Location filter using the interpolate at point for the mode and then do a Plot Selection Over Time after selecting that point? Thanks for asking the question -- I didn't know about the Extract Location filter until I tried answering this! I was originally thinking of using a Point Source at the desired location and then Resample with Dataset filter before doing the Plot Selection Over Time. I'm sick of Ken Moreland always coming up with better ways of doing what I suggest on the mailing list for questions like these so this time I looked into it a bit more :) Cheers, Andy On Fri, Jul 8, 2016 at 5:30 PM, Scott, W Alan wrote: > Is it possible to plot some variable over time at an xyz location? For > instance, if I have water flowing down a pipe, and want to plot the > pressure as the water velocity increases one unit (i.e., cm) in from the > edge of the pipe, how do I do it? > > > > Thanks, > > > > Alan > > > > _______________________________________________ > 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 -------------- An HTML attachment was scrubbed... URL: From bravo.loic at gmail.com Sun Jul 10 13:40:39 2016 From: bravo.loic at gmail.com (LB) Date: Sun, 10 Jul 2016 19:40:39 +0200 Subject: [Paraview] Custom Python plugin with multiple input ports Message-ID: Hi, I would like to make some custom python plugins for ParaView. I've made one based on a PythonProgrammableFilter with the help of the Python Filter Generator Script (https://gitlab.kitware.com/paraview/paraview/snippets/5). It's working pretty well, but it seems that the PythonProgrammableFilter is limited to algorithm with only one input port. I need to make another plugin which needs two well separated inputs ports. I've seen that one could use vtkPythonAlgorithm to define a plugin with input ports (https://blog.kitware.com/vtkpythonalgorithm-is-great/). Unfortunately, I've been unable to find any documentation to define a plugin with the XML syntax based on that vtkPythonAlgorithm. Could you give some hints ? Best regards, -- Lo?c -------------- next part -------------- An HTML attachment was scrubbed... URL: From asaad.sellmann at rwth-aachen.de Mon Jul 11 03:53:04 2016 From: asaad.sellmann at rwth-aachen.de (Sellmann, Kai Asaad) Date: Mon, 11 Jul 2016 07:53:04 +0000 Subject: [Paraview] Visualizing load paths Message-ID: <1468223588232.47724@rwth-aachen.de> Dear Paraview Community, I have succeded to import my FEM Data (Nodal Coordinates, Element Connectivity and Nodal Tensions) into Paraview via a self written *.vtk-file. Now that I finally have my Force Vectors I want to use the stream tracer filter. But whatever I do ?laying around with the stream tracer settings, nothing happens. I don't even get an error message or anything like that. Is there any additional documentation about the stream tracer filter? Anything else I could read and can't find on google? I'd be grateful for any hints, help or critics =) Thanks a lot! Asaad -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.schlottke-lakemper at aia.rwth-aachen.de Mon Jul 11 06:16:38 2016 From: m.schlottke-lakemper at aia.rwth-aachen.de (Schlottke-Lakemper, Michael) Date: Mon, 11 Jul 2016 10:16:38 +0000 Subject: [Paraview] Contours of integer array Message-ID: <2F1A6BF3-3F11-4262-AF0C-5E6E1A367D50@aia.rwth-aachen.de> Hi folks, I would like to visualize an integer array of an unstructured dataset based on voxels, which contains MPI rank ids generated by a filter we use. To achieve this, I plan to somehow extract the ?sharp? interfaces, similar to what the contour filter does, to obtain a visual representation of the domain decomposition. However, for the contour filter, I first have to call ?Cell data to point data?, which smears out the previously sharp interfaces and causes connectivity problems of the resulting contours, as in some areas the domain decomposition features are very small. Is there another way how I could extract these contours? Please note that I am not using vtkProcessId but rather an own integer array. Thanks a lot in advance Michael -- Michael Schlottke-Lakemper Institute of Aerodynamics and Chair of Fluid Mechanics RWTH Aachen University W?llnerstra?e 5a 52062 Aachen Germany Phone: +49 (241) 80 95188 Fax: +49 (241) 80 92257 Mail: m.schlottke-lakemper at aia.rwth-aachen.de Web: http://www.aia.rwth-aachen.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.schlottke-lakemper at aia.rwth-aachen.de Mon Jul 11 06:41:01 2016 From: m.schlottke-lakemper at aia.rwth-aachen.de (Schlottke-Lakemper, Michael) Date: Mon, 11 Jul 2016 10:41:01 +0000 Subject: [Paraview] Contours of integer array In-Reply-To: <2F1A6BF3-3F11-4262-AF0C-5E6E1A367D50@aia.rwth-aachen.de> References: <2F1A6BF3-3F11-4262-AF0C-5E6E1A367D50@aia.rwth-aachen.de> Message-ID: Maybe some visualization might help to illustrate the problem. This is what the domain decomposition looks like for two domains: [cid:5C5D6EE8-569B-4469-93BF-E838F51706B8 at aia.RWTH-Aachen.DE] There are only two domains with values 0 and 1, respectively. I then select & apply the ?Cell Data to Point Data? filter, then the ?Contour? filter with only one isosurface set to ?0.5?. However, in this example, the result is a blank screen, i.e., no visible output from the Contour filter. In another example, I get the following result: [cid:43435313-C9BC-46AB-94F7-145F6A981F56 at aia.RWTH-Aachen.DE] The sharp, colored interfaces of the integer array in the back is clearly visible. In this case, there are 5 domains (values [0,4]) and I used 0.5, ?, 3.5 as the isosurface values in the contour filter. While in this case I actually get an output (white lines), they follow the fuzzy output of ?Cell Data to Point Data? and I am not able to reconstruct the sharp interfaces. To conclude, my problems are actually twofold: I would like to find out how to restore sharp contours, and - if that does not work - at least how to make this approach work for all datasets I am looking at. Again, thanks a lot in advance, and please excuse my double posting... Michael On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael > wrote: Hi folks, I would like to visualize an integer array of an unstructured dataset based on voxels, which contains MPI rank ids generated by a filter we use. To achieve this, I plan to somehow extract the ?sharp? interfaces, similar to what the contour filter does, to obtain a visual representation of the domain decomposition. However, for the contour filter, I first have to call ?Cell data to point data?, which smears out the previously sharp interfaces and causes connectivity problems of the resulting contours, as in some areas the domain decomposition features are very small. Is there another way how I could extract these contours? Please note that I am not using vtkProcessId but rather an own integer array. Thanks a lot in advance Michael -- Michael Schlottke-Lakemper Institute of Aerodynamics and Chair of Fluid Mechanics RWTH Aachen University W?llnerstra?e 5a 52062 Aachen Germany Phone: +49 (241) 80 95188 Fax: +49 (241) 80 92257 Mail: m.schlottke-lakemper at aia.rwth-aachen.de Web: http://www.aia.rwth-aachen.de _______________________________________________ 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 -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-1.png Type: image/png Size: 8758 bytes Desc: PastedGraphic-1.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-2.png Type: image/png Size: 6808 bytes Desc: PastedGraphic-2.png URL: From Christopher.Schmied at dzne.de Mon Jul 11 07:13:43 2016 From: Christopher.Schmied at dzne.de (Schmied, Christopher /DZNE) Date: Mon, 11 Jul 2016 13:13:43 +0200 Subject: [Paraview] different data ranges Message-ID: <09A83B4F-1DB3-4222-B8F5-38A3EB89B1F1@dzne.de> Dear all, I am new to paraview. I want to visualize and compare two image stacks with different bit depth (8 and 16-bit). Thus two different data ranges. Is there a way to overcome the default behaviour of paraview to use the same color transfer function? I found two related posts here, but I somehow cannot make this work for me. http://markmail.org/message/kxyunk2kv25yrwu2 http://markmail.org/message/m5aaivrteysqf2mu Thanks a lot! Christopher -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Mon Jul 11 07:37:58 2016 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 11 Jul 2016 07:37:58 -0400 Subject: [Paraview] Contours of integer array In-Reply-To: References: <2F1A6BF3-3F11-4262-AF0C-5E6E1A367D50@aia.rwth-aachen.de> Message-ID: Could try threshold, or nearly equivalently clip by scalar, followed by surface filter. Another option is the material interface filter. That requires unstructured grid input and an integer or idtype material array. Clip its output or use opacity to see inside since its external surface looks the same as its input's. On Jul 11, 2016 6:41 AM, "Schlottke-Lakemper, Michael" < m.schlottke-lakemper at aia.rwth-aachen.de> wrote: > Maybe some visualization might help to illustrate the problem. This is > what the domain decomposition looks like for two domains: > > > There are only two domains with values 0 and 1, respectively. I then > select & apply the ?Cell Data to Point Data? filter, then the ?Contour? > filter with only one isosurface set to ?0.5?. However, in this example, the > result is a blank screen, i.e., no visible output from the Contour filter. > > In another example, I get the following result: > > The sharp, colored interfaces of the integer array in the back is clearly > visible. In this case, there are 5 domains (values [0,4]) and I used 0.5, > ?, 3.5 as the isosurface values in the contour filter. While in this case I > actually get an output (white lines), they follow the fuzzy output of ?Cell > Data to Point Data? and I am not able to reconstruct the sharp interfaces. > > To conclude, my problems are actually twofold: I would like to find out > how to restore sharp contours, and - if that does not work - at least how > to make this approach work for all datasets I am looking at. > > Again, thanks a lot in advance, and please excuse my double posting... > > Michael > > On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael < > m.schlottke-lakemper at aia.rwth-aachen.de> wrote: > > Hi folks, > > I would like to visualize an integer array of an unstructured dataset > based on voxels, which contains MPI rank ids generated by a filter we use. > To achieve this, I plan to somehow extract the ?sharp? interfaces, similar > to what the contour filter does, to obtain a visual representation of the > domain decomposition. However, for the contour filter, I first have to call > ?Cell data to point data?, which smears out the previously sharp interfaces > and causes connectivity problems of the resulting contours, as in some > areas the domain decomposition features are very small. > > Is there another way how I could extract these contours? Please note that > I am not using vtkProcessId but rather an own integer array. > > Thanks a lot in advance > > Michael > > > -- > Michael Schlottke-Lakemper > > Institute of Aerodynamics and Chair of Fluid Mechanics > RWTH Aachen University > W?llnerstra?e 5a > 52062 Aachen > Germany > > Phone: +49 (241) 80 95188 > Fax: +49 (241) 80 92257 > Mail: m.schlottke-lakemper at aia.rwth-aachen.de > Web: http://www.aia.rwth-aachen.de > > _______________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-1.png Type: image/png Size: 8758 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-2.png Type: image/png Size: 6808 bytes Desc: not available URL: From m.schlottke-lakemper at aia.rwth-aachen.de Mon Jul 11 08:25:08 2016 From: m.schlottke-lakemper at aia.rwth-aachen.de (Schlottke-Lakemper, Michael) Date: Mon, 11 Jul 2016 12:25:08 +0000 Subject: [Paraview] Contours of integer array In-Reply-To: References: <2F1A6BF3-3F11-4262-AF0C-5E6E1A367D50@aia.rwth-aachen.de> Message-ID: <78023EF0-22BB-4682-8FEE-E3C977418C41@aia.rwth-aachen.de> Hi David, Thanks for your answer. From what I understand, your suggestions allow me to extract the surface for a single domain. However, what I am really looking for is something like in the second example, i.e., where I get lines representing the domain boundaries between *all* domains at once. I just want them to align neatly with the actual boundaries and not have them diluted by the Cell-to-Point filter. Any idea how I can achieve that? Or maybe I just misunderstood you? Michael On 11 Jul 2016, at 13:37 , David E DeMarle > wrote: Could try threshold, or nearly equivalently clip by scalar, followed by surface filter. Another option is the material interface filter. That requires unstructured grid input and an integer or idtype material array. Clip its output or use opacity to see inside since its external surface looks the same as its input's. On Jul 11, 2016 6:41 AM, "Schlottke-Lakemper, Michael" > wrote: Maybe some visualization might help to illustrate the problem. This is what the domain decomposition looks like for two domains: There are only two domains with values 0 and 1, respectively. I then select & apply the ?Cell Data to Point Data? filter, then the ?Contour? filter with only one isosurface set to ?0.5?. However, in this example, the result is a blank screen, i.e., no visible output from the Contour filter. In another example, I get the following result: The sharp, colored interfaces of the integer array in the back is clearly visible. In this case, there are 5 domains (values [0,4]) and I used 0.5, ?, 3.5 as the isosurface values in the contour filter. While in this case I actually get an output (white lines), they follow the fuzzy output of ?Cell Data to Point Data? and I am not able to reconstruct the sharp interfaces. To conclude, my problems are actually twofold: I would like to find out how to restore sharp contours, and - if that does not work - at least how to make this approach work for all datasets I am looking at. Again, thanks a lot in advance, and please excuse my double posting... Michael On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael > wrote: Hi folks, I would like to visualize an integer array of an unstructured dataset based on voxels, which contains MPI rank ids generated by a filter we use. To achieve this, I plan to somehow extract the ?sharp? interfaces, similar to what the contour filter does, to obtain a visual representation of the domain decomposition. However, for the contour filter, I first have to call ?Cell data to point data?, which smears out the previously sharp interfaces and causes connectivity problems of the resulting contours, as in some areas the domain decomposition features are very small. Is there another way how I could extract these contours? Please note that I am not using vtkProcessId but rather an own integer array. Thanks a lot in advance Michael -- Michael Schlottke-Lakemper Institute of Aerodynamics and Chair of Fluid Mechanics RWTH Aachen University W?llnerstra?e 5a 52062 Aachen Germany Phone: +49 (241) 80 95188 Fax: +49 (241) 80 92257 Mail: m.schlottke-lakemper at aia.rwth-aachen.de Web: http://www.aia.rwth-aachen.de _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Mon Jul 11 08:29:53 2016 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 11 Jul 2016 08:29:53 -0400 Subject: [Paraview] Contours of integer array In-Reply-To: <78023EF0-22BB-4682-8FEE-E3C977418C41@aia.rwth-aachen.de> References: <2F1A6BF3-3F11-4262-AF0C-5E6E1A367D50@aia.rwth-aachen.de> <78023EF0-22BB-4682-8FEE-E3C977418C41@aia.rwth-aachen.de> Message-ID: Extract region surface will do all domains at the same time. What it does is iterate over all cells and extract the faces of the cell for which either their is no neighbor or the neighbor cell has different material. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Jul 11, 2016 at 8:25 AM, Schlottke-Lakemper, Michael < m.schlottke-lakemper at aia.rwth-aachen.de> wrote: > Hi David, > > Thanks for your answer. From what I understand, your suggestions allow me > to extract the surface for a single domain. However, what I am really > looking for is something like in the second example, i.e., where I get > lines representing the domain boundaries between *all* domains at once. I > just want them to align neatly with the actual boundaries and not have them > diluted by the Cell-to-Point filter. Any idea how I can achieve that? Or > maybe I just misunderstood you? > > Michael > > On 11 Jul 2016, at 13:37 , David E DeMarle > wrote: > > Could try threshold, or nearly equivalently clip by scalar, followed by > surface filter. > > Another option is the material interface filter. That requires > unstructured grid input and an integer or idtype material array. Clip its > output or use opacity to see inside since its external surface looks the > same as its input's. > On Jul 11, 2016 6:41 AM, "Schlottke-Lakemper, Michael" < > m.schlottke-lakemper at aia.rwth-aachen.de> wrote: > >> Maybe some visualization might help to illustrate the problem. This is >> what the domain decomposition looks like for two domains: >> >> >> >> There are only two domains with values 0 and 1, respectively. I then >> select & apply the ?Cell Data to Point Data? filter, then the ?Contour? >> filter with only one isosurface set to ?0.5?. However, in this example, the >> result is a blank screen, i.e., no visible output from the Contour filter. >> >> In another example, I get the following result: >> >> >> The sharp, colored interfaces of the integer array in the back is clearly >> visible. In this case, there are 5 domains (values [0,4]) and I used 0.5, >> ?, 3.5 as the isosurface values in the contour filter. While in this case I >> actually get an output (white lines), they follow the fuzzy output of ?Cell >> Data to Point Data? and I am not able to reconstruct the sharp interfaces. >> >> To conclude, my problems are actually twofold: I would like to find out >> how to restore sharp contours, and - if that does not work - at least how >> to make this approach work for all datasets I am looking at. >> >> Again, thanks a lot in advance, and please excuse my double posting... >> >> Michael >> >> On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael < >> m.schlottke-lakemper at aia.rwth-aachen.de> wrote: >> >> Hi folks, >> >> I would like to visualize an integer array of an unstructured dataset >> based on voxels, which contains MPI rank ids generated by a filter we use. >> To achieve this, I plan to somehow extract the ?sharp? interfaces, similar >> to what the contour filter does, to obtain a visual representation of the >> domain decomposition. However, for the contour filter, I first have to call >> ?Cell data to point data?, which smears out the previously sharp interfaces >> and causes connectivity problems of the resulting contours, as in some >> areas the domain decomposition features are very small. >> >> Is there another way how I could extract these contours? Please note that >> I am not using vtkProcessId but rather an own integer array. >> >> Thanks a lot in advance >> >> Michael >> >> >> -- >> Michael Schlottke-Lakemper >> >> Institute of Aerodynamics and Chair of Fluid Mechanics >> RWTH Aachen University >> W?llnerstra?e 5a >> 52062 Aachen >> Germany >> >> Phone: +49 (241) 80 95188 >> Fax: +49 (241) 80 92257 >> Mail: m.schlottke-lakemper at aia.rwth-aachen.de >> Web: http://www.aia.rwth-aachen.de >> >> _______________________________________________ >> 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 >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Jul 11 08:38:48 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 11 Jul 2016 08:38:48 -0400 Subject: [Paraview] different data ranges In-Reply-To: <09A83B4F-1DB3-4222-B8F5-38A3EB89B1F1@dzne.de> References: <09A83B4F-1DB3-4222-B8F5-38A3EB89B1F1@dzne.de> Message-ID: Christopher, You basically need to have different names for your 8 and 16 bit data arrays to be able to use color maps with different ranges. You tried the Calculator trick to rename one of your arrays? Could you walk through what you tried that isn't working? Thanks, Cory On Mon, Jul 11, 2016 at 7:13 AM, Schmied, Christopher /DZNE < Christopher.Schmied at dzne.de> wrote: > Dear all, > > I am new to paraview. > > I want to visualize and compare two image stacks with different bit depth > (8 and 16-bit). > Thus two different data ranges. Is there a way to overcome the default > behaviour of paraview to use the same color transfer function? > > I found two related posts here, but I somehow cannot make this work for me. > > http://markmail.org/message/kxyunk2kv25yrwu2 > http://markmail.org/message/m5aaivrteysqf2mu > > Thanks a lot! > Christopher > > > > > _______________________________________________ > 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 > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.schlottke-lakemper at aia.rwth-aachen.de Mon Jul 11 08:44:41 2016 From: m.schlottke-lakemper at aia.rwth-aachen.de (Schlottke-Lakemper, Michael) Date: Mon, 11 Jul 2016 12:44:41 +0000 Subject: [Paraview] Contours of integer array In-Reply-To: References: <2F1A6BF3-3F11-4262-AF0C-5E6E1A367D50@aia.rwth-aachen.de> <78023EF0-22BB-4682-8FEE-E3C977418C41@aia.rwth-aachen.de> Message-ID: <40DBFB37-2D69-42B8-B915-E22252E4D372@aia.rwth-aachen.de> Hi David, ah, ok. However, in this case I?m wondering what I am doing wrong here: If I use the Extract Region Surface filter, my dataset looks just like before. Do I need to create an array with a certain name that contains the information on which the regions are extracted? And does this work also for 2D (unstructured grid with vtkQuads) or only in 3D? Sorry for being so slow :-/ Michael On 11 Jul 2016, at 14:29 , David E DeMarle > wrote: Extract region surface will do all domains at the same time. What it does is iterate over all cells and extract the faces of the cell for which either their is no neighbor or the neighbor cell has different material. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Jul 11, 2016 at 8:25 AM, Schlottke-Lakemper, Michael > wrote: Hi David, Thanks for your answer. From what I understand, your suggestions allow me to extract the surface for a single domain. However, what I am really looking for is something like in the second example, i.e., where I get lines representing the domain boundaries between *all* domains at once. I just want them to align neatly with the actual boundaries and not have them diluted by the Cell-to-Point filter. Any idea how I can achieve that? Or maybe I just misunderstood you? Michael On 11 Jul 2016, at 13:37 , David E DeMarle > wrote: Could try threshold, or nearly equivalently clip by scalar, followed by surface filter. Another option is the material interface filter. That requires unstructured grid input and an integer or idtype material array. Clip its output or use opacity to see inside since its external surface looks the same as its input's. On Jul 11, 2016 6:41 AM, "Schlottke-Lakemper, Michael" > wrote: Maybe some visualization might help to illustrate the problem. This is what the domain decomposition looks like for two domains: There are only two domains with values 0 and 1, respectively. I then select & apply the ?Cell Data to Point Data? filter, then the ?Contour? filter with only one isosurface set to ?0.5?. However, in this example, the result is a blank screen, i.e., no visible output from the Contour filter. In another example, I get the following result: The sharp, colored interfaces of the integer array in the back is clearly visible. In this case, there are 5 domains (values [0,4]) and I used 0.5, ?, 3.5 as the isosurface values in the contour filter. While in this case I actually get an output (white lines), they follow the fuzzy output of ?Cell Data to Point Data? and I am not able to reconstruct the sharp interfaces. To conclude, my problems are actually twofold: I would like to find out how to restore sharp contours, and - if that does not work - at least how to make this approach work for all datasets I am looking at. Again, thanks a lot in advance, and please excuse my double posting... Michael On 11 Jul 2016, at 12:16 , Schlottke-Lakemper, Michael > wrote: Hi folks, I would like to visualize an integer array of an unstructured dataset based on voxels, which contains MPI rank ids generated by a filter we use. To achieve this, I plan to somehow extract the ?sharp? interfaces, similar to what the contour filter does, to obtain a visual representation of the domain decomposition. However, for the contour filter, I first have to call ?Cell data to point data?, which smears out the previously sharp interfaces and causes connectivity problems of the resulting contours, as in some areas the domain decomposition features are very small. Is there another way how I could extract these contours? Please note that I am not using vtkProcessId but rather an own integer array. Thanks a lot in advance Michael -- Michael Schlottke-Lakemper Institute of Aerodynamics and Chair of Fluid Mechanics RWTH Aachen University W?llnerstra?e 5a 52062 Aachen Germany Phone: +49 (241) 80 95188 Fax: +49 (241) 80 92257 Mail: m.schlottke-lakemper at aia.rwth-aachen.de Web: http://www.aia.rwth-aachen.de _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Mon Jul 11 09:21:38 2016 From: cory.quammen at kitware.com (Cory Quammen) Date: Mon, 11 Jul 2016 09:21:38 -0400 Subject: [Paraview] different data ranges In-Reply-To: References: <09A83B4F-1DB3-4222-B8F5-38A3EB89B1F1@dzne.de> Message-ID: Christopher, Adding the paraview list back so that others may benefit from or contribute to the discussion. I think the advice to leave the function blank wasn't quite right. What you actually want in the function is the name of the existing array in your data set. You can get a list of the names in the Scalars or Vectors pop-up menu at the bottom of the calculator controls, or you can just type in the array name. For example, to rename from 'ImageScalars' to 'Result', you would leave the Result Array Name as 'Result' and enter 'ImageScalars' in the function. HTH, Cory On Mon, Jul 11, 2016 at 9:17 AM, Schmied, Christopher /DZNE < Christopher.Schmied at dzne.de> wrote: > Dear Cory, > > So basically I tried to use the calculator. As far as I understood without > function. > Then in Result Array Name I give it a name. Then I apply the calculator. > I also tried to resave the file. But the default behaviour is still there. > > Maybe I don?t understand where I should manipulate the name of the data > array. > Or what else could I do wrong? > > Thanks a lot! > Christopher > > > On 11 Jul 2016, at 14:38, Cory Quammen wrote: > > Christopher, > > You basically need to have different names for your 8 and 16 bit data > arrays to be able to use color maps with different ranges. > > You tried the Calculator trick to rename one of your arrays? Could you > walk through what you tried that isn't working? > > Thanks, > Cory > > On Mon, Jul 11, 2016 at 7:13 AM, Schmied, Christopher /DZNE < > Christopher.Schmied at dzne.de> wrote: > >> Dear all, >> >> I am new to paraview. >> >> I want to visualize and compare two image stacks with different bit depth >> (8 and 16-bit). >> Thus two different data ranges. Is there a way to overcome the default >> behaviour of paraview to use the same color transfer function? >> >> I found two related posts here, but I somehow cannot make this work for >> me. >> >> http://markmail.org/message/kxyunk2kv25yrwu2 >> http://markmail.org/message/m5aaivrteysqf2mu >> >> Thanks a lot! >> Christopher >> >> >> >> >> _______________________________________________ >> 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 >> >> > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > > > -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christopher.Schmied at dzne.de Mon Jul 11 09:50:28 2016 From: Christopher.Schmied at dzne.de (Schmied, Christopher /DZNE) Date: Mon, 11 Jul 2016 15:50:28 +0200 Subject: [Paraview] different data ranges In-Reply-To: References: <09A83B4F-1DB3-4222-B8F5-38A3EB89B1F1@dzne.de> Message-ID: <4CB3986A-2967-4F0F-903B-E5086E96E6FA@dzne.de> Dear Cory, ah ok! Good that works now. I also needed to change the data array in the coloring section from my ?MetaImage? to ?Result" Awesome! Thanks a lot! Cheers, Christopher On 11 Jul 2016, at 15:21, Cory Quammen > wrote: Christopher, Adding the paraview list back so that others may benefit from or contribute to the discussion. I think the advice to leave the function blank wasn't quite right. What you actually want in the function is the name of the existing array in your data set. You can get a list of the names in the Scalars or Vectors pop-up menu at the bottom of the calculator controls, or you can just type in the array name. For example, to rename from 'ImageScalars' to 'Result', you would leave the Result Array Name as 'Result' and enter 'ImageScalars' in the function. HTH, Cory On Mon, Jul 11, 2016 at 9:17 AM, Schmied, Christopher /DZNE > wrote: Dear Cory, So basically I tried to use the calculator. As far as I understood without function. Then in Result Array Name I give it a name. Then I apply the calculator. I also tried to resave the file. But the default behaviour is still there. Maybe I don?t understand where I should manipulate the name of the data array. Or what else could I do wrong? Thanks a lot! Christopher On 11 Jul 2016, at 14:38, Cory Quammen > wrote: Christopher, You basically need to have different names for your 8 and 16 bit data arrays to be able to use color maps with different ranges. You tried the Calculator trick to rename one of your arrays? Could you walk through what you tried that isn't working? Thanks, Cory On Mon, Jul 11, 2016 at 7:13 AM, Schmied, Christopher /DZNE > wrote: Dear all, I am new to paraview. I want to visualize and compare two image stacks with different bit depth (8 and 16-bit). Thus two different data ranges. Is there a way to overcome the default behaviour of paraview to use the same color transfer function? I found two related posts here, but I somehow cannot make this work for me. http://markmail.org/message/kxyunk2kv25yrwu2 http://markmail.org/message/m5aaivrteysqf2mu Thanks a lot! Christopher _______________________________________________ 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 -- Cory Quammen R&D Engineer Kitware, Inc. -- Cory Quammen R&D Engineer Kitware, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From guanw at rhpcs.mcmaster.ca Mon Jul 11 10:34:05 2016 From: guanw at rhpcs.mcmaster.ca (Weiguang guan) Date: Mon, 11 Jul 2016 10:34:05 -0400 Subject: [Paraview] VTK warning during volume rendering of vtkStructuredGrid on Windows with Nvidia graphics card. In-Reply-To: References: <577ABE43.4080101@rhpcs.mcmaster.ca> <577FB303.7050405@rhpcs.mcmaster.ca> Message-ID: <5783AE5D.7000909@rhpcs.mcmaster.ca> Aashish, you're right --- it is fixed in version 5.1.0. Thanks. Weiguang On 08/07/2016 10:42 AM, Aashish Chaudhary wrote: > Hi Weiguang, > > Have you tried recent release of paraview / vtk? This should have been > fixed in the recent commits. > > Thanks > > > On Fri, Jul 8, 2016 at 10:04 AM, Weiguang guan > > wrote: > > Is there a solution to fix the problem? Thanks. > > Weiguang > > > On 04/07/2016 3:51 PM, Weiguang guan wrote: >> I run into the same problem on linux. >> >> Warning: In >> /home/kitware/dashboards/buildbot/paraview-debian6dash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/VTK/Rendering/VolumeOpenGL2/vtkOpenGLProjectedTetrahedraMapper.cxx, >> line 251 >> vtkOpenGLProjectedTetrahedraMapper (0x630b310): Missing FBO >> support. The algorithm may produce visual artifacts. >> >> I'm running Paraview 5.0.0. >> >> Weiguang >> >> On 03/03/2016 9:42 AM, Aashish Chaudhary wrote: >>>> I have the same problem. Though in my case it is a small unstructuredgrid >>>> vtu file. The OS is Ubuntu 14.04. ParaView-5.0.0-Qt4-OpenGL2-MPI-Linux-64bit >>>> prebuilt binaries. The Graphics card is Nvidia Quadro K620 with OpenGL >>>> version 3.02 Nvidia 352.63. The Nvidia settings show the following etensions >>>> amongst others GL_ARB_frame_buffer_object. >>>> Also, it does show artifacts. In particular for a vector allocated to a >>>> standard hexahedron cell, the colors are slightly different within the cell. >>>> You can see triangular segments [possibly tetrahedron?] >>> It seems to me that you are running into a different issue as atleast >>> you are seeing >>> something but it does look correct to you. Is that it? >>> >>> Thanks >>> >>> >>>> Regard >>>> Paul. >>>> >>>> >>>> >>>> _______________________________________________ >>>> Powered bywww.kitware.com >>>> >>>> Visit other Kitware open-source projects athttp://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 bywww.kitware.com >> >> Visit other Kitware open-source projects athttp://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 > > > > > -- > /| Aashish Chaudhary > | Technical Leader > | Kitware Inc. > / > /| http://www.kitware.com/company/team/chaudhary.html/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Mon Jul 11 10:59:35 2016 From: andy.bauer at kitware.com (Andy Bauer) Date: Mon, 11 Jul 2016 10:59:35 -0400 Subject: [Paraview] Visualizing load paths In-Reply-To: <1468223588232.47724@rwth-aachen.de> References: <1468223588232.47724@rwth-aachen.de> Message-ID: Can you share your dataset and specific information on what you're trying to do in ParaView? Cheers, Andy On Mon, Jul 11, 2016 at 3:53 AM, Sellmann, Kai Asaad < asaad.sellmann at rwth-aachen.de> wrote: > Dear Paraview Community, > I have succeded to import my FEM Data (Nodal Coordinates, Element > Connectivity and Nodal Tensions) into Paraview via a self written > *.vtk-file. > Now that I finally have my Force Vectors I want to use the stream tracer > filter. But whatever I do ?laying around with the stream tracer settings, > nothing happens. > I don't even get an error message or anything like that. Is there any > additional documentation about the stream tracer filter? Anything else I > could read and can't find on google? > > I'd be grateful for any hints, help or critics =) > > Thanks a lot! > Asaad > > _______________________________________________ > 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 -------------- An HTML attachment was scrubbed... URL: From burlen.loring at gmail.com Mon Jul 11 13:36:49 2016 From: burlen.loring at gmail.com (Burlen Loring) Date: Mon, 11 Jul 2016 10:36:49 -0700 Subject: [Paraview] problems using pvbatch in frozen build In-Reply-To: <94b80bb4-f00c-b980-692b-8b79595a393b@gmail.com> References: <94b80bb4-f00c-b980-692b-8b79595a393b@gmail.com> Message-ID: <72ef394b-a386-7135-0375-4568c23aae12@gmail.com> certainly seems like a bug worth fixing. let me know if you want me to start a bug report. On 07/08/2016 01:19 PM, Burlen Loring wrote: > Thanks Utakarsh. It sounds like it may be possible to work around the > issue by not importing the lookuptable module from simple. However, > it's "import math" that fails, and math seems like a fairly basic > module that should always be present. Is there any chance it got left > out of some packaging manifest used in the freeze process? having it > be available might be a better solution. > > On 07/08/2016 08:38 AM, Utkarsh Ayachit wrote: >> I got over such problems by delaying importing of those modules until >> needed. They are not needed for most common use-cases. >> >> See: >> https://gitlab.kitware.com/paraview/paraview/commit/3af48fffd924bf5ffd11f576a261ef4eb3ff5897 >> >> On Tue, Jul 5, 2016 at 2:35 PM, Burlen Loring > > wrote: >> >> Hi All, >> >> I'm encountering some issues when trying to use pvbatch from a >> frozen build(PARAVIEW_FREEZE_PYTHON=ON). Seems that certain key >> python modules are missing.ie math. However, >> I can use Python shell feature in the GUI from the same build. Do >> we have any idea about what may be wrong with pvbatch? >> >> >> here is output from a simple test: >> >> nid00048:~$pvbatch pvbatch-test.py >> started >> Traceback (most recent call last): >> File "pvbatch-test.py", line 3, in >> from paraview.simple import * >> File >> "/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/simple.py", >> line 40, in >> import lookuptable >> File >> "/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/lookuptable.py", >> line 21, in >> from math import sqrt >> ImportError: No module named math >> >> I tried this as well: >> >> nid00048:~$pvpython >> Python 2.7.9 (default, Jan 8 2015, 22:29:31) >> [GCC 4.9.1 20140716 (Cray Inc.)] on linux2 >> Traceback (most recent call last): >> File "/etc/pythonstart", line 7, in >> import readline >> ImportError: Excluded frozen object named readline >> >>> import math >> Traceback (most recent call last): >> File "", line 1, in >> ImportError: No module named math >> >>> >> >> Thanks >> Burlen >> >> _______________________________________________ >> 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 bywww.kitware.com >> >> Visit other Kitware open-source projects athttp://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 -------------- An HTML attachment was scrubbed... URL: From hahnse at ornl.gov Mon Jul 11 13:43:24 2016 From: hahnse at ornl.gov (Hahn, Steven E.) Date: Mon, 11 Jul 2016 17:43:24 +0000 Subject: [Paraview] ParaView 5.1.1 Release Plans In-Reply-To: References: Message-ID: <795BA4F1-DDF0-467F-B63F-A6F5BA171E34@ornl.gov> I encountered issues building ParaView 5.1.0 with VTK_USE_SYSTEM_HDF5=ON and CMake 3.6. The issue with FindHDF5 was reported by another user on the CMake mailing list (http://public.kitware.com/pipermail/cmake/2016-July/063908.html) and on OS X I was able to work around it by setting the HDF5_ROOT variable. I also encountered linker errors that go away after cherry-picking VTK commit 351d0a6d1ce13daef7e52ed988f843aae0ff9fbf (https://github.com/Kitware/VTK/commit/351d0a6d1ce13daef7e52ed988f843aae0ff9fbf). Would you please add a fix for the HDF5 linking errors in ParaView 5.1.1? Steven On 6/29/16, 10:05 AM, "ParaView on behalf of Utkarsh Ayachit" wrote: Folks, Since there we a couple of crucial issues reported after the 5.1.0 release, we are planning on putting out a 5.1.1 patch release. Currently, this will include the following fixes: 1. Address issues with depth peeling not working as expected in client-server mode. 2. Address issues with ExodisIIReader not loading certain variables. 3. Address issue with nested lists in OpenFOAM 4. Address issue with "?" button not working in ParaView binaries. Is there anything else that's can qualify as critical that should go in this patch release? Note the 5.2.0 release in planned for SC16 i.e. Oct/Nov. If there's nothing else, I think we have fixes for almost all of these, so we can put the release out early next week. 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Mon Jul 11 14:01:13 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 11 Jul 2016 14:01:13 -0400 Subject: [Paraview] ParaView 5.1.1 Release Plans In-Reply-To: <795BA4F1-DDF0-467F-B63F-A6F5BA171E34@ornl.gov> References: <795BA4F1-DDF0-467F-B63F-A6F5BA171E34@ornl.gov> Message-ID: Steve, That's already on the `release` branch which will become 5.1.1. There are a few more issues with it that we are currently tracking down, but yea, it should get included in the 5.1.1 release. On Mon, Jul 11, 2016 at 1:43 PM, Hahn, Steven E. wrote: > I encountered issues building ParaView 5.1.0 with VTK_USE_SYSTEM_HDF5=ON and CMake 3.6. The issue with FindHDF5 was reported by another user on the CMake mailing list (http://public.kitware.com/pipermail/cmake/2016-July/063908.html) and on OS X I was able to work around it by setting the HDF5_ROOT variable. > > I also encountered linker errors that go away after cherry-picking VTK commit 351d0a6d1ce13daef7e52ed988f843aae0ff9fbf (https://github.com/Kitware/VTK/commit/351d0a6d1ce13daef7e52ed988f843aae0ff9fbf). Would you please add a fix for the HDF5 linking errors in ParaView 5.1.1? > > Steven > > On 6/29/16, 10:05 AM, "ParaView on behalf of Utkarsh Ayachit" wrote: > > Folks, > > Since there we a couple of crucial issues reported after the 5.1.0 > release, we are planning on putting out a 5.1.1 patch release. > > Currently, this will include the following fixes: > > 1. Address issues with depth peeling not working as expected in > client-server mode. > 2. Address issues with ExodisIIReader not loading certain variables. > 3. Address issue with nested lists in OpenFOAM > 4. Address issue with "?" button not working in ParaView binaries. > > Is there anything else that's can qualify as critical that should go > in this patch release? Note the 5.2.0 release in planned for SC16 i.e. > Oct/Nov. > > If there's nothing else, I think we have fixes for almost all of > these, so we can put the release out early next week. > > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > From utkarsh.ayachit at kitware.com Mon Jul 11 14:05:15 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 11 Jul 2016 14:05:15 -0400 Subject: [Paraview] problems using pvbatch in frozen build In-Reply-To: <72ef394b-a386-7135-0375-4568c23aae12@gmail.com> References: <94b80bb4-f00c-b980-692b-8b79595a393b@gmail.com> <72ef394b-a386-7135-0375-4568c23aae12@gmail.com> Message-ID: On Mon, Jul 11, 2016 at 1:36 PM, Burlen Loring wrote: > certainly seems like a bug worth fixing. let me know if you want me to start > a bug report. That'd be great. Thanks, Burlen. From utkarsh.ayachit at kitware.com Mon Jul 11 14:35:23 2016 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 11 Jul 2016 14:35:23 -0400 Subject: [Paraview] Invisible volume rendering in client/server mode In-Reply-To: References: Message-ID: Odd. I wonder if it's driver related. Did you build ParaView with VTK_RENDERING_BACKEND set to OpenGL2? Also, "-tdx"/"-tdy" could indeed slow things down as it's now rendering for a tiledisplay rather than for a client. The rendering works in that case, since the client is rendering on it's own. Also what is the datatype you're rendering? I'd suspect it's an unstructured grid or a multiblock of unstructured grid. Utkarsh On Sat, Jul 9, 2016 at 3:28 AM, Gunnar Jansen wrote: > Dear ParaView users, > > I recently set up a pvserver on our small cluster. I used the most recent > stable ParaView release 5.1 and compiled from source. > > The connection and rendering in client/server mode works fine in all > representations except the "Volume" rendering. Here, depending on the model, > either no model is shown at all (just the standard 3D render screen), or the > previous representation with artifacts shows up. This seems to be a problem > of the --use-offscreen-rendering flag that I use in the pvserver startup. > > I run the server on a node with 2 CPU (with 10 cores each) and 2 Nvidia > Tesla K40c. I start the server with: > > xinit /usr/mpi/gcc/openmpi-1.6.5/bin/mpirun -np 4 pvserver -display :0.0 > --use-offscreen-rendering : -np 4 pvserver -display :0.1 > --use-offscreen-rendering > > In the client the threshold for remote rendering is set to 0. > > If I pass additionally the -tdx=1 and -tdy=1 flags the volume rendering is > performed correctly, but the overall speed is decreased greatly. > > Thank you in advance for any help! > > Gunnar > > > _______________________________________________ > 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 > From zhangjiang.dudu at gmail.com Mon Jul 11 15:26:06 2016 From: zhangjiang.dudu at gmail.com (=?utf-8?B?5byg5rGf?=) Date: Mon, 11 Jul 2016 14:26:06 -0500 Subject: [Paraview] VTK data partition Message-ID: Hi, I use vtkDistributedDataFilter to partition the unstructured data. It seems that each process gets a data partition and does not know any information about other data partitions. So my question is, after the partitioning, given a point, how can I know which process owns it? Or simply how can I know whether it is inside the entire domain? Best regards, From dwneumann at gmail.com Mon Jul 11 16:17:18 2016 From: dwneumann at gmail.com (Dean Neumann) Date: Mon, 11 Jul 2016 13:17:18 -0700 Subject: [Paraview] numpy_interface/dataset_adapter append method fails on string datatypes ? In-Reply-To: References: Message-ID: Thank you Utkarsh, that did the trick. Regards, Dean On Fri, Jul 8, 2016 at 1:43 PM, Utkarsh Ayachit wrote: > Dean, > > Current numpy support in VTK doesn't include string arrays, You can > overcome that as follows: > > colNames = [ 'simulation', 'v0 (m/s)', 'k (%)' ] > col0 = [ 'm01-sim001', 'm01-sim002', 'm02-sim001' ] > ... > strArray = vtk.vtkStringArray() > strArray.SetName(colNames[0]) > strArray.SetNumberOfTuples(len(col0)) > for i in range(len(col0)): > strArray.SetValue(i, col0[i]) > output.RowData.AddArray(strArray) > > > > > On Fri, Jul 1, 2016 at 9:46 PM, Dean Neumann wrote: > >> I am trying to write a python programmable filter which calculates >> statistics across multiple input datasets and outputs those as a vtkTable. >> >> All is ok for numeric values. But I can't seem to get any approach to >> work for outputting a vtkTable column of string values. >> Using numpy_interface/dataset_adapter.py is the cleanest approach I've >> yet tried for appending columns of numeric values to an output dataset of >> type vtkTable, but it raises the following error on string-valued arrays: >> >>> Traceback (most recent call last): >> >> File "", line 29, in >> >> File "", line 14, in RequestData >> >> File "C:\Program >>> Files\ParaView\lib\paraview-5.0\site-packages\vtk\numpy_interface\dataset_adapter.py", >>> line 648, in append >> >> narray = narray * numpy.ones(arrLength) >> >> TypeError: only integer arrays with one element can be converted to an >>> index >> >> >> Can someone please post an example python programmable filter that >> outputs a vtkTable which includes a column of string valued data? I have >> attached a minimal script which reproduces the problem. >> >> >> Thanks.... >> >> Dean Neumann >> >> _______________________________________________ >> 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 -------------- An HTML attachment was scrubbed... URL: From peterdebuchev at gmail.com Tue Jul 12 01:34:56 2016 From: peterdebuchev at gmail.com (Peter Debuchev) Date: Tue, 12 Jul 2016 07:34:56 +0200 Subject: [Paraview] Can a collaborative client share a pipeline without creating a view itself? In-Reply-To: References: Message-ID: Dear Utkarsh, is there any chance that this issue is looked at during the upcoming hackathon? Peter 2016-06-28 17:46 GMT+02:00 Peter Debuchev : > Dear Utkarsh, > I tried to reproduce the error as described in my previous email, but > haven't been able to until now, don't know what happend. The attached code > attaches to a pvserver at localhost:11111 and adds a sphere every half > second. Unfortunately it crashes as soon as I connect ParaView to the same > server. > I guess I'll have to give up programming ParaView and work the old way, > writing VTK files and loading them in ParaView. It is way too complicated. > > Peter > > 2016-06-24 7:08 GMT+02:00 Peter Debuchev : > >> Thank you for the patch. There is still something missing. If I modify >> the custom client such that it adds an object every half second or so, then >> first start this clients and then ParaView after a few seconds, ParaView >> misses one of the objects. ParaView finds those objects that are added >> before ParaView starts and those that are added later. But during ParaView >> startup one of the objects is lost. >> I'll see if I can make this reproducible and send a code example in the >> next days. >> >> Peter >> >> 2016-06-22 17:25 GMT+02:00 Utkarsh Ayachit : >> >>> > can you give a quick update whether the suggested bug fix is likely to >>> be >>> > solved: >>> >>> Here you go: >>> https://gitlab.kitware.com/paraview/paraview/merge_requests/844 >>> >>> Once the dashboards come back clean, this will get merged. If do get >>> around to testing it, I'd suggest getting involved and giving the >>> merge-request a +1 ;). >>> >>> Utkarsh >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jansen.gunnar at gmail.com Tue Jul 12 02:23:38 2016 From: jansen.gunnar at gmail.com (Gunnar Jansen) Date: Tue, 12 Jul 2016 08:23:38 +0200 Subject: [Paraview] Invisible volume rendering in client/server mode In-Reply-To: References: Message-ID: Oh, I forgot to mention the data type in my previous post. You are indeed right, it is an unstructured grid. In order to make sure it is not related to my input files, I tried with the example case XX as well with the same results. ParaView was built with the OpenGL2 rendering backend, as this seems to be the new standard also with the pre-compiled clients. I think this is not a MPI issue, as also starting only a single process does not solve the problem. Gunnar 2016-07-11 20:35 GMT+02:00 Utkarsh Ayachit : > Odd. I wonder if it's driver related. Did you build ParaView with > VTK_RENDERING_BACKEND set to OpenGL2? Also, "-tdx"/"-tdy" could indeed > slow things down as it's now rendering for a tiledisplay rather than > for a client. The rendering works in that case, since the client is > rendering on it's own. Also what is the datatype you're rendering? I'd > suspect it's an unstructured grid or a multiblock of unstructured > grid. > > Utkarsh > > On Sat, Jul 9, 2016 at 3:28 AM, Gunnar Jansen > wrote: > > Dear ParaView users, > > > > I recently set up a pvserver on our small cluster. I used the most recent > > stable ParaView release 5.1 and compiled from source. > > > > The connection and rendering in client/server mode works fine in all > > representations except the "Volume" rendering. Here, depending on the > model, > > either no model is shown at all (just the standard 3D render screen), or > the > > previous representation with artifacts shows up. This seems to be a > problem > > of the --use-offscreen-rendering flag that I use in the pvserver startup. > > > > I run the server on a node with 2 CPU (with 10 cores each) and 2 Nvidia > > Tesla K40c. I start the server with: > > > > xinit /usr/mpi/gcc/openmpi-1.6.5/bin/mpirun -np 4 pvserver -display :0.0 > > --use-offscreen-rendering : -np 4 pvserver -display :0.1 > > --use-offscreen-rendering > > > > In the client the threshold for remote rendering is set to 0. > > > > If I pass additionally the -tdx=1 and -tdy=1 flags the volume rendering > is > > performed correctly, but the overall speed is decreased greatly. > > > > Thank you in advance for any help! > > > > Gunnar > > > > > > _______________________________________________ > > 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 -------------- An HTML attachment was scrubbed... URL: From s.habbinga at fz-juelich.de Tue Jul 12 09:07:25 2016 From: s.habbinga at fz-juelich.de (Sonja Habbinga) Date: Tue, 12 Jul 2016 15:07:25 +0200 Subject: [Paraview] ParaView5.1.0 fails to read XDMF 3DCoRectMesh Message-ID: <5784EB8D.9070702@fz-juelich.de> Hello, since Version 5, I have several problems using the xdmf reader. Unlike ParaView4.4.0, which is able to read it withou any problems, ParaView 5.1.0 and 5.0.1 fail to read the following xdmf file: (Please find the complete xdmf file here: https://fz-juelich.sciebo.de/index.php/s/f6VicXjvJz64q3l and the binary file here: https://fz-juelich.sciebo.de/index.php/s/XKcfR9kDKW9Nmct ) Can anyone reproduce the error? Has the xdmf reader changed sice 4.4.0? thanks for your help, Sonja ############################################################################################# 0.00000000E+00 0.00000000E+00 0.19949875E+02 0.50050050E-01 0.10025063E+00 0.10025063E+00