Hello,
I have some image data that I'd like to volume render. It starts out
as a nifti file and I can view it in paraview after conversion to a
vtk structured grid (using the ITK ConvertBetweenFileFormats tool). I
also have some line data (DTI tracts) that I have converted to
ploydata lines. I can
You have to be careful of the terminology because in the world of VTK
XML files "binary" really means base 64 encoded, and "appended not
encoded" means binary. I have used the following two lines in a code in
order to coax the VTK XML writer to write binary:
w->SetDataModeToAppended();
w-
writer->SetDataModeToBinary()?
boon
___
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/Pa
Greetings,
Trying to convert an ascii vtu file to binary form.
how does one convert the following to binary.
--
8 16 24 32 40 48 56 64
11 11 11 11 11 11 11 11
-
I have try to inherit the reader plugin from vtkPolyDataMapper2D but the result
is not ok. I don't not yet what vtkObject I should set as an output from the
reader.
For the moment I have always the data that is in 3D in Paraview.
What is the good way to do what I would to do ?
Thanks
___
Yeah, I wondered if you were needing the area.
If you want to compare the speed you could also try using a Python script
(assigned to a macro button) which sets up this pipeline in the GUI for you
automatically based on your desired contour values, branching out your pipeline
into a bunch of C
Thanks Eric - unfortunately your calculation won't take into account the
area (my data is coming from an unstructured grid). I've put in my solution
with integrate attributes. It's a bit slow calculating the contour each
time though
8<--
from v
Was having trouble doing the sum using numpy instead of the python built-in
sum(), but I figured it out. It's just slightly cleaner this way, but I don't
know which is faster.
Of course, I still don't know if this does what you are looking for, but I
thought I'd pass it along anyway... :) (I h
That's great.
This is very rough, but I was thinking of something like this after setting the
programmable filter Output Data Set Type to vtkTable (to test I've created a
Wavelet Source and run it through a Gradient filter, and then a Calculator
which creates a new value called RTGradMag, which
I've found out how to access the "Integrate Attributes" - I can import it
from vtkPVFiltersPython :)
On 30 September 2010 16:17, Paul Edwards wrote:
> Hi Eric,
>
> You are right - I would like one row of integrated values per contour. I
> don't understand how I can do this without "Integrate A
Hi Eric,
You are right - I would like one row of integrated values per contour. I
don't understand how I can do this without "Integrate Attributes" though.
Regards,
Paul
On 30 September 2010 15:30, Eric E. Monson wrote:
> Could you be a bit more clear about what you're trying to do? It sounds
Could you be a bit more clear about what you're trying to do? It sounds like
you're trying to take your contours and integrate some attributes over each of
the contours separately so you get a table which contains as many rows as the
number of contours (and maybe separate columns for each attrib
Ah - thanks for the tip!
Does anyone know the way to call this in a programmable filter? Or, is it
even wrapped for python?
Thanks,
Paul
On 30 September 2010 14:51, Eric E. Monson wrote:
> Hey Paul,
>
> I don't have an answer to your problem, but just wanted to point out that
> vtkIntegrateAt
Hey Paul,
I don't have an answer to your problem, but just wanted to point out that
vtkIntegrateAttributes is not part of VTK proper, but is listed on the ParaView
docs pages:
http://www.paraview.org/ParaView3/Doc/Nightly/html/classvtkIntegrateAttributes.html
-Eric
---
Hi,
I would to like to have your advice concerning the display of 2D data. I have
some structure containing x, y positions, connectivity in order to create
triangles, quads, lines, ... and attributes (acceleration, speed,...)
that are associated to nodes.
For the moment I can display geometry
Hi,
I'm trying to create a table containing several rows of integrated values
for different contours with a programmable filter but I can't see how to use
the "Integrate Variables" filter. In filters.xml it show as being called
vtkIntegrateAttributes but I cannot create this in python. Also, the
16 matches
Mail list logo