[Paraview] Question about Python and vtk files
Hi, is it possible to save an element (contour, slice, ...) of the pipeline browser in wtk format (.vtm extension) using Python? For example, with CTRL + S we can save an element (contour, ...) in .vtm file format: can we do the same thing using Python? We only found how to save a state file... Thank you very much Luis ___ 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 on ARM based compiler (build fails)
Is this ok to call the Qt function with qreal, then copy this qreal into a double buffer. I do not think this will introduce to much overhead. Should I simply open a bug report instead ? Yup that sounds totally fine. I've committed a fix to CVS head. Utkarsh Index: Qt/Components/pqChartSeriesEditorModel.cxx === RCS file: /cvsroot/ParaView3/ParaView3/Qt/Components/pqChartSeriesEditorModel.cxx,v retrieving revision 1.8 diff -u -3 -p -r1.8 pqChartSeriesEditorModel.cxx --- Qt/Components/pqChartSeriesEditorModel.cxx 31 Jul 2009 15:02:53 - 1.8 +++ Qt/Components/pqChartSeriesEditorModel.cxx 25 Jan 2010 14:19:46 - @@ -293,7 +293,11 @@ void pqChartSeriesEditorModel::setSeries if (row = 0 row this-rowCount(QModelIndex())) { double double_color[3]; -color.getRgbF(double_color, double_color+1, double_color+2); +qreal qreal_color[3]; +color.getRgbF(qreal_color, qreal_color+1, qreal_color+2); +double_color[0] = static_castdouble(qreal_color[0]); +double_color[1] = static_castdouble(qreal_color[1]); +double_color[2] = static_castdouble(qreal_color[2]); vtkSMPropertyHelper(this-RepresentationProxy, SeriesColor).SetStatus( this-getSeriesName(row), double_color, 3); ___ 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] Stereo Display 3.6.2
My guess is it has to go with compositing. Try setting the Remote rendering threshold to max (or uncheck the checkbox). Does that help? Utkarsh On Mon, Jan 25, 2010 at 2:27 AM, Christian Wohlschlager christian.wohlschla...@jku.at wrote: Dear Everybody ! I read the mail on FAQ from 22.May 2009 stating that tiled display and stereo does not work, but if i draw i simple cube or line it it definatly working, if i read in a vtk or pvd file i cant this object displayed 3 or more times on each display . (I'm working with Crystall eyes and make the modifacation in rendering.xml with version 3.6.2 (with .1) it didnt work at all. It seems to me that there a an additional Parameter in the .xml file I didn't set. Can anybody help me. It only occurs when i switch on stereo, if not erverything is OK Infomation:. I use Paraview 3.6.2 (.1 wont work at all ) on linux 64 mfg christian -- Johannes Kepler Universitaet -- Christian Wohlschlager -- Altenbergerstr.69 -- 4040 Linz Austria -- Tel: +43 732 2468 8595 - Mail:christian.wohlschla...@jku.at ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[Paraview] How to make movies using trajectory data of granular particles
Dear Friends, I am new to Paraview. I am having trajectory data from simulation of granular particles. I tried a lot to make a movie in Paraview but couldn't find the way to do it. Please tell me the procedure to make movies from granular particle's trajectory data. Thanks. With best wishes, Ashish___ 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] Question about Python and vtk files
Yes it's possible. Here's the example: w = XMLMultiBlockDataWriter(Input=contour, FileName=/tmp/foo.vtm) w.UpdatePipeline() On Mon, Jan 25, 2010 at 8:57 AM, bassaidai bassaid...@gmail.com wrote: Hi, is it possible to save an element (contour, slice, ...) of the pipeline browser in wtk format (.vtm extension) using Python? For example, with CTRL + S we can save an element (contour, ...) in .vtm file format: can we do the same thing using Python? We only found how to save a state file... Thank you very much Luis ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] How to make movies using trajectory data of granular particles
To load your data, if you have not done so already, search this list for many postings of the same question. To display trajectories, use the Particle Pathlines filter JB From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Ashish Bhateja Sent: 25 January 2010 15:37 To: Paraview Mailing List Subject: [Paraview] How to make movies using trajectory data of granular particles Dear Friends, I am new to Paraview. I am having trajectory data from simulation of granular particles. I tried a lot to make a movie in Paraview but couldn't find the way to do it. Please tell me the procedure to make movies from granular particle's trajectory data. Thanks. With best wishes, Ashish ___ 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] saving plugin defaults
pqApplication::instance()-settings() with provide you access to a QSettings subclass (pqSettings). You can add arbitrary key/value pairs to it. A plugin can be assured that the correct settings will be loaded and saved every time ParaView is started (unless it crashes of course). Utkarsh On Mon, Jan 25, 2010 at 9:46 AM, Biddiscombe, John A. biddi...@cscs.ch wrote: I've noticed that custom plugin panels now remember their position between paraview sessions. By this I mean that if you dock one to the right/bottom/top etc, the next time you run, it automatically re-docks itself to the same place. This is great, thanks for fixing that. Question : I'd like to save a number of custom dock panel settings so that when paraview is restarted, the panel repopulates itself with the values previously used. Is there a generic method to do this inside the paraview framework? Do we use the usual Qt ini file mechanisms and just retrieve the master ini file from paraview - or is there some other way? thanks JB -- John Biddiscombe, email:biddisco @ cscs.ch http://www.cscs.ch/ CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07 Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] saving plugin defaults
Thanks, works a treat. Just for anyone else interested, it's pqApplicationCore, and the following example works nicely for my first test. pqSettings *settings = pqApplicationCore::instance()-settings(); settings-beginGroup(DSMManager); // servers settings-beginWriteArray(Servers); for (int i=0; ithis-UI-dsmServerName-model()-rowCount(); i++) { settings-setArrayIndex(i); settings-setValue(server, this-UI-dsmServerName-itemText(i)); } settings-endArray(); // active server settings-setValue(Selected, this-UI-dsmServerName-currentIndex()); // settings-endGroup(); JB ___ 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] Seg fault in 3.6.2
Hi Berk, This is the output of gdb gdb /opt/paraview-3.6.2/bin/paraview GNU gdb (GDB) Fedora (6.8.50.20090302-39.fc11) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-redhat-linux-gnu. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... (gdb) run Starting program: /opt/paraview-3.6.2/bin/paraview [Thread debugging using libthread_db enabled] Executing new program: /opt/paraview-3.6.2/lib/paraview-3.6/paraview-real Missing separate debuginfo for /opt/paraview-3.6.2/lib/paraview-3.6/libQtAssistantClient.so.4 Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/6b/4a11dc8eba5deeb17fbd37d58a13ab0894a432.debug Missing separate debuginfo for /opt/paraview-3.6.2/lib/paraview-3.6/libQtGui.so.4 Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/20/fda5bc8da9ff456dbd1f191c37904e0b0152f0.debug Missing separate debuginfo for /opt/paraview-3.6.2/lib/paraview-3.6/libQtXml.so.4 Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/3f/c3382d2c65e860f58b0acad340f0e1455910b8.debug Missing separate debuginfo for /opt/paraview-3.6.2/lib/paraview-3.6/libQtNetwork.so.4 Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/8e/79f7ac6d37aecac4af2cc0b7399953207571c6.debug Missing separate debuginfo for /opt/paraview-3.6.2/lib/paraview-3.6/libQtCore.so.4 Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/b9/e287392ce3c25420e1dfabfcdf58379c268112.debug [Thread debugging using libthread_db enabled] Missing separate debuginfo for /opt/paraview-3.6.2/lib/paraview-3.6/libQtSql.so.4 Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/a0/09177164344d40c62afb17c82fbadc1e5e3a99.debug Program received signal SIGSEGV, Segmentation fault. 0x771a56bf in vtkIdList::GetId (this=0x0, i=0) at /home/peter/lib/ParaView-3.6.2/VTK/Common/vtkIdList.h:42 42 vtkIdType GetId(const vtkIdType i) {return this-Ids[i];}; I set the cmake build type to Debug and set the Debug flags as: //Choose the type of build, options are: None(CMAKE_CXX_FLAGS or // CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. CMAKE_BUILD_TYPE:STRING=Debug //Flags used by the compiler during debug builds. CMAKE_CXX_FLAGS_DEBUG:STRING=-g -O0 -debug all -traceback -ftrapuv //Flags used by the compiler during debug builds. CMAKE_C_FLAGS_DEBUG:STRING=-g -O0 -debug all -traceback -ftrapuv On Fri, Jan 22, 2010 at 5:49 PM, Berk Geveci berk.gev...@kitware.comwrote: Can you post a full stack from gdb? On Fri, Jan 22, 2010 at 4:18 PM, Peter Brady petertbr...@gmail.com wrote: Hello All, I appear to keep getting a segmentation fault when I try to advance in time using paraview 3.6.2. Everything works fine using 3.6.1. I am using the intel compilers (11.0.083). This is the output I get when I run it with gdb: Program received signal SIGSEGV, Segmentation fault. vtkIdList::GetId (this=value optimized out, i=value optimized out) at /home/peter/lib/ParaView-3.6.2/VTK/Common/vtkIdList.h:42 42 vtkIdType GetId(const vtkIdType i) {return this-Ids[i];}; Any idea on how to get around this? Thanks, Peter ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[Paraview] Plugins for custom apps
Hello, I have a custom (branded) app and a custom PV plugin. I'd prefer to keep the code for these separate, just for clean development, but I want the app to know about the plugin so it can package them together automatically. I can compile both at the same time by putting them each in their own subdirectory, and having a root CMakeLists.txt simply specifying the names of those subdirectories. But, when I list my custom plugin in the app's OPTIONAL_PLUGINS, it doesn't get packaged with the app libraries. (PointSpritePlugin does, though, as I told it to.) Is there some less-naive structure I should be giving my project rather than just two separate subdirectories (and accompanying CMake files) so my app will know about my plugin (and maybe so they can also be built into the same build/bin directory, kind of like when paraview is built)? Also, for clarification, the notes on the wiki for Writing_Custom_Applications says that OPTIONAL_PLUGINS should use name of the plugin specified in the add_paraview_plugin call, but PointSpritePlugin works and it's actually the project() name rather than the add_paraview_plugin() name (which is CSCS_PointSprite_Plugin). Thanks a lot, -Eric ___ 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] How to make movies using trajectory data of granular particles
Could you be more specific about what format your files are in? Many different file formats use the .xyz extension, and the .dat extension is so generic as to provide no real information whatsoever. ParaView provides two readers that read files that use the .xyz extension: XYZ Molecular data files and PLOT3D files. However, as neither of these files have an associated .dat file, I don't think either of those is what you want, which is probably ParaView is not reading the data correctly. -Ken On 1/25/10 7:57 AM, Ashish Bhateja ashis...@iitk.ac.in wrote: I loaded the trajectory using .xyz and .dat files (separately). But it gives an error. The thins is that .xyz file contains the trajectory data and its not opening. Whereas, with .dat file there is no error but lines are displayed instead of individual particles. Please help me in this issue. Thanks. Ashish On 25-Jan-10, at 8:18 PM, Biddiscombe, John A. wrote: To load your data, if you have not done so already, search this list for many postings of the same question. To display trajectories, use the Particle Pathlines filter JB From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Ashish Bhateja Sent: 25 January 2010 15:37 To: Paraview Mailing List Subject: [Paraview] How to make movies using trajectory data of granular particles Dear Friends, I am new to Paraview. I am having trajectory data from simulation of granular particles. I tried a lot to make a movie in Paraview but couldn't find the way to do it. Please tell me the procedure to make movies from granular particle's trajectory data. Thanks. With best wishes, Ashish Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel ___ 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] cone vs. cylinder glyph orientation
I'm confused as to why a cone glyph gets oriented according to a vector field but a cylinder glyph doesn't - or so it seems. This trivial onept.vtk: # vtk DataFile Version 3.0 vtk output ASCII DATASET POLYDATA POINTS 1 float 0 0 0 POINT_DATA 1 SCALARS scalars float LOOKUP_TABLE default 0 will orient a cone glyph pointing along the x-axis and a cylinder glyph along the y-axis. Appending a (0,0,1) vector to this datafile: VECTORS vectors float 0 0 1 will now orient the cone pointing outward along the z-axis, but the cylinder glyph still is oriented along the x-axis. What am I missing? (Fwiw, I can't seem to figure it out in a VTK script either, using glyph.SetVectorModeToUseVector() ) thanks, Randy ___ 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] cone vs. cylinder glyph orientation
This has come up before. I don't know if anyone has resolved to take actions to fix the problem, but this email thread has a workaround. http://markmail.org/search/list:paraview?q=cylinder+glyph#query:list%3Aparaview%20cylinder%20glyph+page:1+mid:snie5z5ufqnmx27c+state:results -Ken On 1/25/10 1:12 PM, Randy Heiland heil...@indiana.edu wrote: I'm confused as to why a cone glyph gets oriented according to a vector field but a cylinder glyph doesn't - or so it seems. This trivial onept.vtk: # vtk DataFile Version 3.0 vtk output ASCII DATASET POLYDATA POINTS 1 float 0 0 0 POINT_DATA 1 SCALARS scalars float LOOKUP_TABLE default 0 will orient a cone glyph pointing along the x-axis and a cylinder glyph along the y-axis. Appending a (0,0,1) vector to this datafile: VECTORS vectors float 0 0 1 will now orient the cone pointing outward along the z-axis, but the cylinder glyph still is oriented along the x-axis. What am I missing? (Fwiw, I can't seem to figure it out in a VTK script either, using glyph.SetVectorModeToUseVector() ) thanks, Randy ___ 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 Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel ___ 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] How to make movies using trajectory data of granular particles
I am using XYZ molecular data file. Ashish On 26-Jan-10, at 12:56 AM, Moreland, Kenneth wrote: Could you be more specific about what format your files are in? Many different file formats use the .xyz extension, and the .dat extension is so generic as to provide no real information whatsoever. ParaView provides two readers that read files that use the .xyz extension: XYZ Molecular data files and PLOT3D files. However, as neither of these files have an associated .dat file, I don’t think either of those is what you want, which is probably ParaView is not reading the data correctly. -Ken On 1/25/10 7:57 AM, Ashish Bhateja ashis...@iitk.ac.in wrote: I loaded the trajectory using .xyz and .dat files (separately). But it gives an error. The thins is that .xyz file contains the trajectory data and its not opening. Whereas, with .dat file there is no error but lines are displayed instead of individual particles. Please help me in this issue. Thanks. Ashish On 25-Jan-10, at 8:18 PM, Biddiscombe, John A. wrote: To load your data, if you have not done so already, search this list for many postings of the same question. To display trajectories, use the “Particle Pathlines” filter JB From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org ] On Behalf Of Ashish Bhateja Sent: 25 January 2010 15:37 To: Paraview Mailing List Subject: [Paraview] How to make movies using trajectory data of granular particles Dear Friends, I am new to Paraview. I am having trajectory data from simulation of granular particles. I tried a lot to make a movie in Paraview but couldn't find the way to do it. Please tell me the procedure to make movies from granular particle's trajectory data. Thanks. With best wishes, Ashish Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel ___ 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] Application using Paraview library in C++
Hi all, I am attempting to use paraview's library to visualize medical volumes in an application I am building from scratch. The program is written in C++. I am having a hard time finding adequate documentation (forums and examples) that shows how to build an application that uses paraview's library in C++. I have ran the example program BasicApp.cxx and it works, but it uses a SphereSource. I am loading dicom images or .vtk images. When I edit the code for BasicApp.cxx to load .vtk files I get an error after setting the representation to volume. From reading similar problems on forums, I think the problem pertains to colormaps and scalars, but I cannot find documentation on how to fix this in C++. I'm including my code below. I may be over complicating this, but any help is appreciated. Thanks for your time! using namespace std; // our main window class MainWindow : public QMainWindow { public: MainWindow() { // automatically make a server connection pqApplicationCore* core = pqApplicationCore::instance(); pqObjectBuilder* ob = core-getObjectBuilder(); pqServer* server = ob-createServer( pqServerResource(builtin:)); // create a graphics window and put it in our main window this-RenderView = qobject_castpqRenderView*(ob-createView(pqRenderView::renderViewType(), server)); this-setCentralWidget(this-RenderView-getWidget()); // create source and elevation filter pqPipelineSource* source; pqPipelineSource* elevation; source = ob-createSource(sources, SphereSource, server); // updating source so that when elevation filter is created, the defaults // are setup correctly using the correct data bounds etc. vtkSMSourceProxy::SafeDownCast(source-getProxy())-UpdatePipeline(); QStringList files; files.push_back(../brain.vtk); pqPipelineSource *reader; pqObjectBuilder *builder = core-getObjectBuilder(); reader = builder-createReader(QString(internal_sources), QString(legacyreader), files, server); pqDataRepresentation *repr = ob-createDataRepresentation(reader-getOutputPort(0), this-RenderView); if(repr){ vtkSMPropertyHelper(repr-getProxy(), Representation).Set(vtkSMPVRepresentationProxy::VOLUME); pqDisplayPolicy pqDisplayP = core-getDisplayPolicy(); repr-getProxy()-UpdateVTKObjects(); } //elevation = ob-createFilter(filters, ElevationFilter, source); // put the elevation in the window //ob-createDataRepresentation(elevation-getOutputPort(0), this-RenderView); // zoom to sphere this-RenderView-resetCamera(); // make sure we update this-RenderView-render(); } QPointerpqRenderView RenderView; }; ... ___ 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