How can I force the pipeline to reexecute my custom data source?
Currently RequestData is called once, but I would like to be able to
restructure input data whenever a change is applied to the pipeline. Is
this possible?
As some background, I want to be able to regenerate my input data at
I have been using the Threshold filter for some time and now I am
discovering it doesn't do what I want it to do. I have a surface made up of
a set of points, each point has a location in 2-space, and a function value
attached to it, -2, -1, 0 or 1. I would like to filter out all points
Hi,
I guess I have an easy question : I would like to plot distance between a
surface i've generated in paraview, and my x-axis. The plot will be x for
abscisses and distance for ordonnée. Thanks
___
Powered by www.kitware.com
Visit other Kitware
Hello,
I have built PV with VS2008 and shared libs.
When I compile my plugins, it creates for each one a .idb and a .lib file,
while it seems that only .dll are expected as plugins.
Should I ask CMake to create a .dll instead and how?
Because I tried it but it did not work:
- the first error is due to this line: static MYLIB_EXPORT
vtkFiniteDifference *New();
that is I followed the advice at the end of the cmake page:
If you have some static functions then you will need something like
the following:
class
Once you changed your data on your custom data source, you will have
to mark your datasource as Modified().
Then, a simple Render() or Update() will recompute the pipeline.
Seb
On Tue, Jul 6, 2010 at 5:22 AM, owen.arn...@stfc.ac.uk wrote:
How can I force the pipeline to reexecute my custom
The wiki page you cite is still relevant for cmake/visual studio with
shared libraries. You do NOT need this line in your CMakeLists.txt file:
ADD_LIBRARY(vtkFiniteDifference SHARED vtkFiniteDifference.cxx)
The ADD_PARAVIEW_PLUGIN should do that for you.
class MyStaticFunctionClass
{
A version that tracks the nightly master is an interesting idea. The main
reason we started creating the development packages was more so that folks
could build their own plugins that will work against the released binaries
of ParaView without needing to build ParaView yourself.
On Mon, Jul 5,
hi again,
I tried to run the script through the python shell, but it still comes up
errors. The error message is the following:
Traceback (most recent call last):
File string, line 3, in module
File C:\Archivos de programa\ParaView
3.8.0-RC2\lib\paraview-3.8\paraview\simple.py, line 109, in
Try putting the file under c:\temp does that help?
Utkarsh
On Tue, Jul 6, 2010 at 9:01 AM, llapis Pencil llapispen...@yahoo.es wrote:
hi again,
I tried to run the script through the python shell, but it still comes up
errors. The error message is the following:
Traceback (most recent call
Are you sure you built your ParaView with BUILD_SHARED_LIBS ON?
Utkarsh
On Tue, Jul 6, 2010 at 7:07 AM, Fred Fred stan1...@hotmail.fr wrote:
Hello,
I have built PV with VS2008 and shared libs.
When I compile my plugins, it creates for each one a .idb and a .lib file,
while it seems that only
Also, try changing the backslashes to forward slashes.
Pat
On Tue, Jul 6, 2010 at 9:10 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com
wrote:
Try putting the file under c:\temp does that help?
Utkarsh
On Tue, Jul 6, 2010 at 9:01 AM, llapis Pencil llapispen...@yahoo.es
wrote:
hi again,
Dear All,
Is it possible to pass user arguments into the programmable filter without
having to manually edit the code? For example, I have a simple file writer
and the user must define the filename to write to. Rather than having to
copy and paste the code and manually enter a new filename each
Hi Adriano,
It is possible to do this so that the user does not have to write/modify any
code, but it requires that you write a plugin. Let me know if you're
interested, I have some example of doing that I can send to you. There is
one outstanding bug, once it is fixed I plan to post the
Hi Pat,
So it is only possible to do this by wrapping the programmable filter in a
C++ plugin, which will then allow you to create a new GUI interface? The
reason I ask is that I am currently trying to find the limitations of using
the programmable filter to quickly test out new ideas for
Je serai absent(e) du 06/07/2010 au 13/07/2010.
___
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:
Hi,
Using the temp folder no changes happen, but changing the slashes the message
error also changes. Now the error message is the following:
Traceback (most recent call last):
File string, line 3, in module
File C:\Archivos de programa\ParaView
3.8.0-RC2\lib\paraview-3.8\paraview\simple.py,
Hi Pat,
What is the bug you're meaning of ?
The control of time by the programmable filter ? :-)
Regard,
Aurélien
2010/7/6 Adriano Gagliardi agaglia...@ara.co.uk
Hi Pat,
Just to clarify by example, I was refering to the plugin you mentioned and
not for Request Information! :-)
Cheers,
the script changed also and now it looks like:
from paraview.simple import *
reader1 = OpenDataFile(C:/Documents and Settings/Nit@/Mis
documentos/stuttgart/hiwi/output/vtk/output\out1-1.vtk)
reader1 = OpenDataFile(C:/Documents and Settings/Nit@/Mis
Hi,
You can use the calculator to calculate sqrt(coordsY^2+coordsZ^2) and use
the plot data filter.
Regards,
Aurélien
2010/7/6 Yann-Hervé Hellouvry yannherve.hellou...@gmail.com
Hi,
I guess I have an easy question : I would like to plot distance between a
surface i've generated in
Hello,
I also test all my 'codes' in the programmable filter first.
To deploy a filter I put the filter body inside a python file. Then in
the programable filter I put:
input_file='hello'
output_file='bye.log'
execfile('my_custom_filter.py')
And finally I create a custom filter
Hi,
I am trying to show a few points (not a mesh) with their values in
Paraview using an XML VTK input-file
Here are the contents of my .vpt file:
VTKFile version=0.1 byte_order=LittleEndian type=PolyData
PolyData
Piece NumberOfPoints=6
Points
DataArray NumberOfComponents=3 format=ascii
It could be a bug, but I cannot replicate it. Any chance you could send some
sample data?
-Ken
On 7/2/10 5:58 PM, Mohamad M. Nasr-Azadani mmn...@gmail.com wrote:
Hi all,
I am trying to compute the vorticity vector from a 2D dataset.
My dataset file is .vtr format.
This is what I do:
The bug I was referring to, is the problem of creating a custom filter that
uses a filter loaded via plugin.
http://www.vtk.org/Bug/view.php?id=10926
Pat
2010/7/6 Aurélien Marsan aurelien.mar...@ecl2009.ec-lyon.fr
Hi Pat,
What is the bug you're meaning of ?
The control of time by the
Felipe,
That is a useful option that I never thought about.
Thanks,
Adriano
===
Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford
Tel: 01234 32 4644
E-mail:
Hey Luis,
You need to specify not only points, but some types of cells (with connectivity
information) in your VTP file. If you want just disconnected vertices, here is
an example:
VTKFile type=PolyData version=0.1 byte_order=LittleEndian
PolyData
Piece NumberOfPoints=6 NumberOfVerts=6
By default, ParaView draws cells, not points. (You've found one exception
where selected points are drawn.) If you want to see points in general, you
will need to create vertex cells. One way to do that is to run your data
through the glyph filter and select the 2D Glyph and then Vected
On 7/6/2010 2:31 AM, David Thompson wrote:
I have been using the Threshold filter for some time and now I am discovering it doesn't
do what I want it to do. I have a surface made up of a set of points, each point has a
location in 2-space, and a function value attached to it, -2, -1, 0 or 1. I
Thanks Aurélien,
I thoutht about that one too and tried it, but it did not work.
Best,
Mohamad
2010/7/5 Aurélien Marsan aurelien.mar...@ecl2009.ec-lyon.fr
Hi,
Maybe you could try to use a 3D vector u_vector = ux*iHat + uy*jHat +
0*kHat, instead of the 2d vector ?
Regards,
Yup. It looks like a bug. In fact, compute gradients seems to crash whenever
the output tensor is set to nothing (and is otherwise valid). I submitted a
bug for this:
http://www.paraview.org/Bug/view.php?id=10944
Thanks for narrowing down the problem and reporting it.
-Ken
On 7/6/10 4:43
I definitely want to break it up into a point cloud, probably using
the glyph filter to create a vertex cell at each point. How do I go about
this?
Load your data. Go to the Filters menu and choose Glyph. When the filter
options appear in the Object Inspector panel, set the Glyph
31 matches
Mail list logo