Thanks.
The thing is I have a composite dataset, the commands above i guess work
only for simple dataset
So I found that these commands for for a composite dataset and they make a
copy of input.
*from paraview.vtk.dataset_adapter import numpyTovtkDataArray *
*
*
* *
*def flatten(input,
Hi folks,
If you are interested in a position at Kitware, please review the
posting below. See http://jobs.kitware.com/opportunities.html for
details and to apply. Specifically, we are interested in filling the
following positions:
- Information and Scientific Visualization Developer
- GUI and
On Mon, Apr 1, 2013 at 3:35 PM, Nenad Vujicic nena...@gmail.com wrote:
Hello everyone!
I'm trying to make my Space Navigator working in ParaView v3.98.1 on my
Windows 8 machine. I built sources without problems (using VS2012, with qt
4.8.4, python 2.7.3, boost 1.53.0, OpenMPI 1.6.2, VRPN
Also,
This does not look right:
Style class=vtkVRGrabWorldStyle proxy=2125 property=Visibility
Can you try current master of ParaView and re-create the interactions
config? It should not allow you to select visibility with grab world style.
- Aashish
On Tue, Apr 2, 2013 at 10:01 AM, David
Hi,
I'm trying to make a slice with 10 discrete colours to combine with
contour lines (from contour filter). I figured out that I always need
one extra value in the contour range to get the right number of lines -
so far so good. But somehow the slice filter does not give me the right
colour
Dear Dave, Aashish,
Thank you very much for your responses.
I'm sorry, I tried dummy buttons with both v3.98.1 and current master
ParaView sources, but they didn't help me. Also, I'm still able to select
visibility with grab world style from ParaView's UI (in master sources).
Btw, my 3d mouse
On Tue, Apr 2, 2013 at 12:39 PM, Nenad Vujicic nena...@gmail.com wrote:
Dear Dave, Aashish,
Thank you very much for your responses.
I'm sorry, I tried dummy buttons with both v3.98.1 and current master
ParaView sources, but they didn't help me. Also, I'm still able to select
visibility with
Dear Dave,
It doesn't happen anything, like I didn't touch my 3d mouse. Btw, here is
what is outputted on standard output when I execute 'vrpn_print_devices
device0@localhost':
on left button pressed:
Button device0@localhost, number 1 was just pressed
Button device0@localhost, number 1 was
Hello all,
I have a composite dataset. I want to access the arrays on one of the
blocks, then do some simple calculations and then write the output to in a
result array using a Python Programmable Filter.
I saw some samples on how to do this using Simple dataset, but does anybody
have any idea
Hi Olaf,
I am having some difficulty reproducing this issue. It seems to scale fine
for me. I have some suggestions for improving workflow andperformance:
1. You can simply use pvbatch for this if you remove the Connect() command
from the script. I was running it as:
mpiexec -n 2
Hi,
Using the C++ VTK library for writing an .vtr file, I'm able to create the
mesh, but not assign any skalars/vectors to the grid points. This is more
or less given in the example file RGrid.cxx.
But how do I assign values at the mesh-points?
Write the mesh:
#include stdio.h
#include
Thanks for the answer Joe,
but I still get a compilation error for
rgrid-GetPointData()-AddArray(temperature);
The error:
invalid use of incomplete type ‘class vtkPointData’
In file included from /usr/include/vtk-5.8/vtkPointSet.h:29:0,
from
Hi, Paw,
I believe the problem is that you are mixing calls for scalars and vectors…
For scalars you want to use SetNumberOfValues()/SetValue():
vtkIntArray* temperature = vtkIntArray::New();
temperature-SetName(Temperature);
temperature-SetNumberOfComponents(1);
You're missing the vtkPointData header file so you just need to add:
#include vtkPointData.h
Andy
On Tue, Apr 2, 2013 at 3:33 PM, Paw Møller paw...@gmail.com wrote:
Thanks for the answer Joe,
but I still get a compilation error for
rgrid-GetPointData()-AddArray(temperature);
The error:
Superb,
That was it. Thanks, both of you.
But I have another question.
The automatic scaling of the vector field works as expected.
The scaling of the temperature however does not(array of floats). It set
the range to [0 1], regardless of the actual values.
Paraview(under information) gives the
On Tue, Apr 2, 2013 at 12:52 PM, Nenad Vujicic nena...@gmail.com wrote:
Dear Dave,
It doesn't happen anything, like I didn't touch my 3d mouse. Btw, here is
what is outputted on standard output when I execute 'vrpn_print_devices
device0@localhost':
on left button pressed:
Button
Could you share your generated file? I'm not sure why the rescale to data
range is scaling it to the range [0,1]. Also, what version of ParaView are
you using?
Modifying the file won't cause ParaView to reread it as the reader will not
notice that the time stamp on the file has changed.
Andy
I am currently trying the Function itemtype approach. In all of the
examples for the function itemtype it assumes that arrays are all of the
same size. In my case I have three 1D arrays of different sizes: x(nx),
y(ny), and z(nz). The operation I need to do to convert to cylindrical
coordinates
I am currently trying the Function itemtype approach. In all of the
examples for the function itemtype it is assumed that arrays are all of the
same size. In my case I have three 1D arrays of different sizes: x(nx),
y(ny), and z(nz). The operation I need to do to convert to cylindrical
coordinates
Hi,
I am reading the following xmf file (attached as var3d.xmf) into Paraview:
?xml version=1.0 ?
!DOCTYPE Xdmf SYSTEM Xdmf.dtd []
Xdmf Version=2.2
Domain
Grid GridType=Uniform
Topology TopologyType=3DRectMesh Dimensions= 2 4 3/
Geometry GeometryType=VXVYVZ
DataItem Dimensions=3
20 matches
Mail list logo