hi, you can use the shrink filter with a shrink factor of 0.9 to get
disconnected nodes. the you can apply the warp filter.
Felipe
Le 17/07/2012 03:09, Mohammad Mirzadeh a écrit :
Yeah I did that. Problem is, cell_data variables are discontinuous at
some points and I fear interpolation
self.GetExecutive().GetOutputInformation(0).Set(vtk.vtkStreamingDemandDrivenPipeline.UPDATE_NUMBER_OF_GHOST_LEVELS(),
1)
in RequestUpdateExtent script. Of course, this requires that the reader or
a filter before the programmable filter is able to provide ghost levels.
-berk
On Wed, Jul 11,
Hello
I'm want to write the result of this code to png file and I found the
writer
WriteImage()
the thing is that in Paraview's tutorials I found the writer with two
arguments like the following
view.WriteImage(example.png,vtkPNGWriter)
but when I run that from the termianl using pvpython I
The third argument is a magnification factor. I guess there wasn't a
default value of 1 set for the magnification factor so you need to put that
in automatically.
You should be able to just use WriteImage(output file name) without using
the view object. It determines the image output type from
Thank you Berk.
I was under the impression that this command would trigger the reader to
automatically load in the additional # of requested ghost levels. I tested
the command and each data piece still has the same extents as before.
Is there any additional way to load in ghost level that's
I think we should fix the default too. Andy, mind pushing a patch?
On Tue, Jul 17, 2012 at 9:15 AM, Andy Bauer andy.ba...@kitware.com wrote:
The third argument is a magnification factor. I guess there wasn't a
default value of 1 set for the magnification factor so you need to put that
in
Hello,
I am trying to establish a connection between my workstation (Mac OS
10.7.4, Paraview via binary installer version 3.14.1 64-bit) and a remote
server. On the server side, I built an mpi-enabled paraview from scratch,
following the instructions on the wiki, but using the intel compiler
Version 3.14.1-1217-g611f58e incorporates latest VTK changes for
modularization. I am not surprised that has resulted in changes to
vtkSocketCommunicator files and that's what resulting in the version
mismatch. Since current changes in VTK/ParaView master are what would
go to making the next
There is also ghost cell generator for image data that does not convert
to multi block. It's called SQImageGhosts and resides in the
SciberQuestToolKit pluign.
You would need to ensure the plugin is loaded and insert this filter
upstream of your python filter.
In your filter's
What is the class that is responsible for testing to reader to see if it can
open the .wind file?
Sohail
From: Andy Bauer andy.ba...@kitware.com
To: Sohail Shafii sohailsha...@yahoo.com
Cc: Woodring, Jonathan L woodr...@lanl.gov; Sebastien Jourdain
kargad:ParaView demarle$ find . -name *WindBlade* -print
--- ./VTK/IO/Parallel/Testing/Cxx/TestWindBladeReader.cxx
./VTK/IO/Parallel/vtkWindBladeReader.cxx
./VTK/IO/Parallel/vtkWindBladeReader.h
David E DeMarle
Kitware, Inc.
RD Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone:
Actually, I think that I noticed this too. It may be a bug specific to the
programmable filter. I will check it out. By the way, what do you mean by
raw vti? Appended raw mode?
-berk
On Tue, Jul 17, 2012 at 12:22 PM, Jesus Pulido jpul...@ucdavis.edu wrote:
Thank you Berk.
I was under the
Thanks that might work. Just another question. What type of interpolation
does PV use to map cell data information to point data? Obviously there are
more nodes than cells ... is it using some sort of least-square method?
On Tue, Jul 17, 2012 at 12:36 AM, Felipe Bordeu
Yes, appended raw mode. It has an ascii header then the data itself is
binary after a specified underscore delimiter.
Jesus
On Tue, Jul 17, 2012 at 1:17 PM, Berk Geveci berk.gev...@kitware.comwrote:
Actually, I think that I noticed this too. It may be a bug specific to the
programmable
One more question. What are you doing after reading the data? Depending on
what you are doing, I might be able to give you a piece of code that uses
George's filter to generate ghost levels using MPI. You will need to use
ParaView built from git.
Next week, George and I will start working on
Also remember this gem, which may help you.
Note also that there is a feature in the python programmable filter
that comes into play with structured data. That feature says that
structured data is not split at all by default. If you want structured
data to actually be parallel you need to put
I am simply applying a (Python) Programmable Filter after loading in the
data so the data itself does not get touched or modified before the
Programmable Filter is applied. Rebuilding paraview from git won't be a
problem since I've branched a few git versions in the past. If possible,
any
Hi Sebastien,
The files were all time dependent data but some had a TimeRange but no
TimestepValues so I simply did:
TimestepValues = meshFine.TimestepValues
if len(TimestepValues) == 0:
timerange = meshFine.GetProperty('TimeRange')
steps = 100
TimestepValues =
Hi Mohammad,
According to my research, Cell Data to Point Data is just calculating
averages of surrounding cells.
I think it's not proper to explain the function as 'interpolation'.
Also I hope it will be adapted to geometric interpolation method.
Magician
Thanks that might work. Just
Hi Magician,
Thanks for the information. Could you please let me know of your source?
Thanks,
Mohammad
On Tue, Jul 17, 2012 at 3:21 PM, Magician f_magic...@mac.com wrote:
Hi Mohammad,
According to my research, Cell Data to Point Data is just calculating
averages of surrounding cells.
I
Sorry, but I meant to ask a different question. Here's what Andy said before,
which relates to my concern:
I went through the code and it jogged my memory about previous problems with
it. It had an explicit MPI call in the constructor that would cause problems
when paraview wasn't getting
Each file that has an association with that file extension, made via the
XML, has its CanReadFile method called. Put a breakpoint there to determine
if ParaView even knows about that reader.
On Tuesday, July 17, 2012, Sohail Shafii wrote:
Sorry, but I meant to ask a different question. Here's
22 matches
Mail list logo