[Paraview] DeepCopy of vtk(Non)OverlappingAMR, SegFault
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, I came across a segfault working with vtkNonOverlappingAMR and vtkOverlappingAMR. I updated to Paraview 5.0.0 but the problem still remains. The python script reproduces the problem: > pvpython Python 2.7.11 (default, Dec 6 2015, 15:43:46) [GCC 5.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import vtk a = vtk.vtkNonOverlappingAMR(); b = >>> vtk.vtkNonOverlappingAMR(); a.DeepCopy(b); Segmentation fault (core dumped) > pvpython Python 2.7.11 (default, Dec 6 2015, 15:43:46) [GCC 5.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import vtk a = vtk.vtkOverlappingAMR() b = >>> vtk.vtkOverlappingAMR() a.DeepCopy(b) Segmentation fault (core dumped) > paraview --version paraview version 5.0.0 Please help! Best regards, Henry -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQEcBAEBCAAGBQJWq4+GAAoJEM0zIsxevdB20T4H/0A3BKguS69LRMbRZIh4og1A WTL1Jjcsur4qdlsEtRygkhJENf9A+AcBgsyX7uRkD8WQtTO1k5bmbHv+hYzPw+O8 xfpCZv5dXBs+ovxb5Ba74swvXtjoLpUDmsaivG3pwJlEpQkmvUAFD9vyglVITxmz BY0jiSWMp0aLanuwrrc2ZhMknXBCGqMInEGd8QnCAHdKqV6YPxplgDM/+NHF+zdP cx+IPx+DWgQXuBN1BJZ6S/z2xcZiSJxpTs7hpHJh69HifQo/GIHrsVeAqvOg4F4g VfEqjyNx/M4gLeIMDNlRJkRy6A3cFERudySeIzUqNy/pqBcDdeJj2zZS3KE9dvA= =1Kkz -END PGP SIGNATURE- ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
[Paraview] Fwd: Temporal Animation Start/Stop Callback
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, i am developing a Filter similar to the PCL Plugin. The PCL Plugin Filter uses a Thread in the background to fetch Data from a Device. The Gui of the Filter checks for new Data using SMProxy. When the new Data is there Modify() is called through SMProxy on the filter and the Gui calls Render(). The nice Thing is, that the Pipeline does something in real time. So far i could reproduce this setup. The Gui uses a Timer and frequently calls a Method through a SMProxy. However i want two different behaviors: 1. when Animation is Running (Play button was clicked) and 2. when the Animation is stoped (Pause button was clicked). This requires that the current state of the play/Pause-Button, or something similar, can be accessed. My questions are: 1. Is it possible to get the Information about the Animation (Play/Pause)? 2. How can the Information be accessed? (e.g. In Filter through InformationKeys/Vectors, or in the FilterGui) 3. Is there a starting point for me to find it out in the source code? Thanks in Advance, Henry - -- Henry Lehmann, M.Sc. Technische Universität Bergakademie Freiberg Fakultät für Mathematik und Informatik Institut für Informatik -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQEcBAEBCAAGBQJVFTDjAAoJEM0zIsxevdB2qmwH/1xYIh5iAs2UBUR6UAx5/kR4 +G6pamq0aOh8vrRPDyH/5hLCEzgus0KiG519mIJFmsH1n1xWdwA5nNn+FjRDCqPf JtcvlcoO6FrF7UvsZBf1H6V3Z7PeQONndy0e5F9ntwScfZCp7dNAw0eZhyh8Ptwv /xW1yKHWCzqj/nBuzL+oFnWXB6iVXueDkqz2WZueXGzi/0QkLzXZ+AriF+0lDnbz jChOWBJzY9+kjvmAQ6ysXrTrcHu/YP+6lmbtVkv5/+8GrmbZzbmIQAuTzZDeXqEL ifBmPXId4w9DfrP6D0gej9qnh0ht0veOV0yCzitvsMafj+aYgdgqa5Z9A1bPjmE= =XmZf -END PGP SIGNATURE- ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
[Paraview] AMR Cut Plane
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Paraview Users, i am recently working with vtkOverlappingAMR. i set up one of this data sets using the Image to AMR filter in paraview, which basicly creates an octree with 4 levels and 512 blocks on level 4 in my setup. so i basicly converted mydata.vti into mydata.vth. now i want to use mydata.vth in order to quickly calculate the result of an arbitrary pipeline and save time adjusting the parameters of the pipeline. i want to adjust the parameters on level 0 and then increase the level to see the full resolution result. for example i have the pipeline: mydata.vth (vtkOverlappingAMR) - AMR Cut Plane. now i move the cut plane and apply to see the result. when increasing the level from 1 to 2 in the reader i get a strange result. it looks like paraview doesnt remove the regions in which the amr levels overlap. this means the amr cut plane cuts out the data on level 0 and on level 1. Since Image to AMR creates an octree in which all lower levels are overlapping with higher ones, the lower levels always cover the higher resolution results when setting the level above 1 in the amr reader. how can i fix this? Best regards, Henry -BEGIN PGP SIGNATURE- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTzRzaAAoJEM0zIsxevdB2dt0H/RoNtiBcpmvl8jmqqCdQXRm9 PeUCcNw57sZHF3H8Wcl18vL8Vz/38h+T9JcpWEDEj33atElRHeKfXXkpMkaxz9qN YJKvTgPh4i94v7mfg+LnQk4LvgiTIv/3cYwD5mz2ga5EMC/FflLuZluR46JllZLi AS+arxbVEIW5yqEMFlrEtLoItqXkLIVUCjdfTbbfEmaBW1w73rA4/7tSVW7LaSKi yMt8qPOgVTis89dSN1v/d750X7Rz0HLZGmFz0QdasLJy9PHBaFo6Uz8mjEH0hJ5t kZdxZISIpxxl9GQNDKwZVRF6t1h8MqyOPwhQEjQHJOnHkbWS927xjyezn/8rDv0= =K0aa -END PGP SIGNATURE- ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
[Paraview] vtkParseMain Bug?
Hello, i am playing around with vtkParseMain, which is used by WrappingClientServer to generate New, Init and Command functions for the ClientServer Interpreter. I am using the ParaView source from tar.gz archive of version 3.98.1 i parse the file vtkXMLReader.h using this program: int main(int argc, char *argv[]) { FileInfo *fileInfo; int i; /* get command-line args and parse the header file */ fileInfo = vtkParse_Main(argc, argv); for (i = 0; i fileInfo-MainClass-NumberOfFunctions; ++i) { if (strcmp(SetFileName, fileInfo-MainClass-Functions[i]-Name)) { continue; } printf(%s \n, fileInfo-MainClass-Functions[i]-Signature); } return 0; } during reading output of member function signatures i recognized that the constness is wrong. it shows: void SetFileName(char *); instead of void SetFileName(const char *); like it is shown in doxygen documentation. Best regards, Henry ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Paraview - VTKExtensions
Hello Utkarsh, thank you for your reply! So far in only installed shared libs and copied headers manually by a bash script, which also worked. But i will use the proper mechanism now! Thank you very much! Henry On 11/15/2012 06:24 PM, Utkarsh Ayachit wrote: *** THIS IS EXPERIMENTAL AND NOT REGULARLY TESTED YET So there is some support for doing that on linux. When configuring with Cmake, set your CMAKE_INSTALL_PREFIX correctly and then turn on PARAVIEW_INSTALL_DEVELOPMENT_FILES, which is an advanced CMake option. Then on make install, ParaView will install all headers and dependencies under the prefix specified. We do plan to support this, but until dashboards are setup to test this regularly, I am going to call this support experimental. Utkarsh On Wed, Nov 14, 2012 at 12:00 PM, Henry Lehmann henry.lehm...@informatik.tu-freiberg.de mailto:henry.lehm...@informatik.tu-freiberg.de wrote: Hello, using git clone --recursive it is possible to checkout and build paraview with all dependencies/submodules. is it also possible to have headers, shared libs of all paraview+dependencies being installed to the system from make install invoked from the paraview build dir? I want to use paraview vtk extensions and vtk for implementing in c++. Thanks in advance. ___ Powered by www.kitware.com http://www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[Paraview] Paraview - VTKExtensions
Hello, using git clone --recursive it is possible to checkout and build paraview with all dependencies/submodules. is it also possible to have headers, shared libs of all paraview+dependencies being installed to the system from make install invoked from the paraview build dir? I want to use paraview vtk extensions and vtk for implementing in c++. Thanks in advance. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview