[Paraview] Manipulating points.

2008-11-21 Thread Andrew Maclean
Is it possible to select a single point, change its 3D coordinates and re-render it? We are building 3D maps by hand and sometimes the coordinates of points go awry so we need to adjust them. What I am hoping to do is to convert our files to vtp files, feed them into ParaView and then hand edit an

Re: [Paraview] Manipulating points.

2008-11-21 Thread Andrew Maclean
Thankyou for this, I will try it out. Regards Andrew On Sat, Nov 22, 2008 at 1:47 AM, David E DeMarle <[EMAIL PROTECTED]> wrote: > On Fri, Nov 21, 2008 at 5:20 AM, Andrew Maclean > <[EMAIL PROTECTED]> wrote: >> Is it possible to select a single point, change its 3D coor

Re: [Paraview] [vtkusers] New QT on Fedora

2009-04-24 Thread Andrew Maclean
I am running QT 4.5 on Windows , both ParaView and VTK compile Ok. The only thing I had to do was to delete the build directory and re-run CMake. Andrew On Fri, Apr 24, 2009 at 5:18 AM, Kevin H. Hobbs wrote: > Francois Bertel wrote: >> >> Hi Kevin, >> >> I don't see the errors you are talking a

[Paraview] CSV Data using extra fields.

2010-07-29 Thread Andrew Maclean
I have a file that looks like this: x y z r g b px py -2.064749 -1.623789 5.264024 254 254 254 5.00 7.00 -2.267242 -1.790226 5.803583 254 254 254 5.00 8.00 -2.251401 -1.784915 5.786366 254 254 254 5.00 9.00 -1.401535 -1.134097 3.676532 201 201 201 5.00 14.00 -1.

Re: [Paraview] CSV Data using extra fields.

2010-07-30 Thread Andrew Maclean
gt; > r = pdi.GetPointData().GetArray("r") > > g = pdi.GetPointData().GetArray("g") > > b = pdi.GetPointData().GetArray("b") > > for i in range(np): > > a.SetValue(i*3, r.GetValue(i)) > > a.SetValue(i*3+1, g.GetValue(i)) > > a.SetValue(i*

Re: [Paraview] pvpython without X server

2011-05-09 Thread Andrew Maclean
Hi Michel, I haven't tried it but it should be possible to run it headless on a Linux system using xvfb. See http://en.wikipedia.org/wiki/Xvfb for starters. Regards Andrew -- Forwarded message -- > From: michel.case...@free.fr > To: paraview@paraview.org > Date: Mon, 09 May 2

Re: [Paraview] 3D point cloud with color

2012-02-21 Thread Andrew Maclean
Hi Giulio, I would apply a programmable filter to the data like this for example ( it also passes through any data not used at the end - if you have any): #--- # Copy colour as (r, g, b) into a single unsigned char array. pdi = self.GetPolyDataInput() pdo = self.Ge

Re: [Paraview] 3D point cloud with color

2012-02-23 Thread Andrew Maclean
David's suggestion below is very good if you have many large files as the processing will be really fast. Using VTK you can easily adopt the following approach: 1) Develop a reader for a single file. 2) Extend it to process multiple files e.g. all files in a directory. 3) Develop a GUI to control t

Re: [Paraview] I: 3D point cloud with color

2012-02-27 Thread Andrew Maclean
There is a problem in your C++ code. You need to do something like this (these are snippets from my code): vtkSmartPointer rgb = vtkSmartPointer::New(); rgb->SetNumberOfComponents(3); // red,green,blue rgb->SetName("color"); ... Fill the unsigned array with the rgb values. ... Then do: p-

Re: [Paraview] I: 3D point cloud with color

2012-02-27 Thread Andrew Maclean
I also attach the vtp file I created from your text file. Set the point size to 11 to make the points more obvious. On Mon, Feb 27, 2012 at 6:57 PM, Giulio Reina wrote: > Hi all, > > Following  David's suggestion, I came up with the code attached that turns > the starting data file (rgb.txt, of t

Re: [Paraview] I: 3D point cloud with color

2012-03-02 Thread Andrew Maclean
Hi David, Interesting, I just checked this out using ParaView and you are correct if a transform filter is applied. However in the display tab of ParaView if you transform there then the colouring is unaffected. Never noticed this because we have been just transforming using the transform in th

[Paraview] ParaView looking for MPI when it shouldn't.

2012-07-05 Thread Andrew Maclean
Hi All, I am building ParaView from the Git repository and for some reason it is looking for MPI even though I have PARAVIEW_USE_MPI turned off. I can't see any other setting that is forcing MPI to be turned on. Is there something I am missing or is there an error in the configuration files? My o

Re: [Paraview] [EXTERNAL] ParaView looking for MPI when it shouldn't.

2012-07-05 Thread Andrew Maclean
raview.org [mailto: > paraview-boun...@paraview.org] *On Behalf Of *Andrew Maclean > *Sent:* Thursday, July 05, 2012 5:08 PM > *To:* paraview@paraview.org > *Subject:* [EXTERNAL] [Paraview] ParaView looking for MPI when it > shouldn't. > > ** ** > > Hi All, &

Re: [Paraview] [EXTERNAL] ParaView looking for MPI when it shouldn't.

2012-07-20 Thread Andrew Maclean
l 5, 2012 at 4:26 PM, Scott, W Alan wrote: > > Correct. I should have written up a bug before, but will do so now. > > > > > > > > Alan > > > > > > > > From: Andrew Maclean [mailto:andrew.amacl...@gmail.com] > > Sent: Thursday, July 05, 2012 5:24

[Paraview] ParaView Qt5 progress

2014-05-13 Thread Andrew Maclean
I attempted a build with ParaView and QT5.3 (RC 3) on the latest version of Ubuntu and I get the following message: CMakeFiles/QtTesting.dir/pqNativeFileDialogEventPlayer.cxx.o: In function `pqNativeFileDialogEventPlayer::start()': /home/amaclean/Development/Kitware/src/ParaView/ThirdParty/QtTesti

[Paraview] Naming an existing data array.

2014-05-30 Thread Andrew Maclean
I have a source object that produces a polydata object. Unfortunately the normals and scalars are unnamed. How do I access these and name them in ParaView. I thought something like this may work in a Programmable Filter: pdi = self.GetPolyDataInput() pdo = self.GetPolyDataOutput() pdi.GetNormal

[Paraview] Building ParaView with QT 5.3

2014-06-17 Thread Andrew Maclean
Has anyone been able to do this? I am using Linux with Qt5.3 and CMake 3.0.0. I have set PARAVIEW_QT_VERSION to 5 QT 5.3 is found OK It seems that there is an issue with double colons in target names as evidenced by the CMake generation warnings raised:

[Paraview] Parametric functions.

2014-09-16 Thread Andrew Maclean
A while back there was a request for something different from the usual sphere source. So I have created an xml file to access the parametric surface functions in ParaView along with a reverse sense programmable filter. It was an interesting exercise that revealed some deficiencies in the parametr