[Paraview] adding source to VTK (or any other format) file
Rick Wagner
guardian72 at guardian72.com
Mon Jul 24 13:18:00 EDT 2006
Hi Battalgazi,
I think what you're looking for is vtkGlyph3D. Using a set of points
with scalar values associated with them, you can display spheres and
other items easily. Check out the tutorial at:
http://www.psc.edu/general/software/packages/paraview/tutorial/
pvt.php
If you need to generate datasets, I recommend using PolyData, and you
can find many good examples on how to do that in the VTK documentation.
--Rick
On Jul 22, 2006, at 10:53 PM, Battalgazi YILDIRIM wrote:
> Hi,
>
> I am new user of ParaView. My initial impression is
> great about ParaView. I am converted from Tecplot
> since what I want was very doable in 2D but not 3D.
>
>
> I have 3D data, and want to put some mark (such
> as small shpere and its label together) in 3D field.
>
>
>
> in tecplot there is special keyword to specify adding geometry or
> text such as (in data file of Tecplot )
>
> for text:
> TEXT X=100, Y=20, C=RED, LS=2, T="The text label"
>
> for Geometry:
> GEOMETRY T=CIRCLE, X=10, Y=50
> 100 (radius of the circle)
>
> Unfortunately, these things are available for 2D but not for 3D.
> However, it is available in
> ParaView.
>
>
>
> Lets assume that I have the following data,
>
> how can I add (and specification of location, size,...) 3d text
> or sphere... in *.vtk file?
>
> I would be appreciated if you can help me out,
>
> thanks,
>
>
>
> # vtk DataFile Version 2.0
> Sample rectilinear grid
> ASCII
> DATASET RECTILINEAR_GRID
> DIMENSIONS 47 33 11
> X_COORDINATES 47 float
> -1.22396 -1.17188 -1.11979 -1.06771 -1.01562 -0.963542
> ................
> 0.963542 1.01562 1.06771 1.11979 1.17188
> Y_COORDINATES 33 float
> -1.25 -1.17188 -1.09375 -1.01562 -0.9375 -0.859375
> ............
> 1.09375 1.17188 1.25
> Z_COORDINATES 11 float
> 0 0.1 0.2 0.3 0.4 0.5
> 0.6 0.7 0.75 0.8 0.9
> POINT_DATA 17061
> SCALARS scalars float
> LOOKUP_TABLE default
> 0 0 0 0 0 0
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list