[Paraview] Tin creation from Vrml PointSet Cloud
Roberto Angeletti
r.angeletti at auselda.it
Mon Sep 6 09:18:35 EDT 2004
MessageAxel,
after ParaView 1.6 installation, I miss vtkDelaunay2D and 3D filters.
I have copied the "Extensions" dir from old 1.4 dir, and I set again the
PV_INTERFACE_PATH.
...I obtained the Delaunay items in Filters menu, but they are grey (inactive).
I wronged something ?
Do you have tested Delaunay on 1.6, also ?
Very Best Regards (and thank you in advance for help)
Roberto Angeletti
----- Original Message -----
From: Axel Steuwer
To: 'Roberto Angeletti'
Cc: paraview at paraview.org
Sent: Friday, June 25, 2004 1:29 PM
Subject: [Paraview] Tin creation from Vrml PointSet Cloud
Hi,
I may be able to help you a little bit. First, you have to let paraview know that
you want to use the vtkDelaunay2D or 3D filter. This is done permanently (there are
some instances in the mailing list where people talk about this) for example
by creating a xml-file with the content (below) in a directory called e.g. "extensions"
in your paraview installation directory. Then you have to point the environment
variable PV_INTERFACE_PATH to that file location. If you only want to use this
filter sporadically, then I think it is enough to "import package" the xml-file.
This should make the filter available in paraview (given the right data format, I think).
I am not sure what the structure of your VRML point cloud is, I use polydata such as this example
# vtk DataFile Version 2.0
Example data
ASCII
DATASET POLYDATA
POINTS 1000 float
11.71441 -0.29446 -0.06840
11.51223 -0.26540 -0.00054
11.31058 -0.24298 0.00603
11.10758 -0.28167 0.00724
10.90453 -0.27109 0.00207
.....
and it works fine for me. If you consult the vtk description of the Delaunay filter, that might help.
You can then play around with the parameters in the usual way.
Alternatively, I sometimes use MayaVi, where you simply enter vtkDelaunay2D in the
UserDefined Filter window pop-up. Worth trying.
Hope that helps.
Axel
------------------------------------------------------------------------------put this in your xml file------------------------
<ModuleInterfaces>
<Module name="Delaunay3D" root_name="Delaunay3D" module_type="Filter">
<Filter class="vtkDelaunay3D">
<Input name="Input" class="vtkPointSet"/>
</Filter>
<InputMenu label="Input" help="Delaunay Triangulation"/>
<VectorEntry variable="Tolerance" trace_name="Tolerance" type="float" help="The tolerance" default_value="0.001" data_range="0. 10.0"/>
<VectorEntry variable="Alpha" trace_name="Alpha" type="float" help="The Alpha value" default_value="2.0" data_range="0. 10.0"/>
<VectorEntry variable="Offset" trace_name="Offset" type="float" help="The Offset value" default_value="2.5" data_range="0. 10.0"/>
<LabeledToggle variable="BoundingTriangulation" trace_name="BoundingTriangulation" help="controls whether bounding
triangulation points (and associated triangles) are included in the output" default_value="0"/>
</Module>
<Module name="Delaunay2D" root_name="Delaunay2D" module_type="Filter">
<Filter class="vtkDelaunay2D">
<Input name="Input" class="vtkPointSet"/>
</Filter>
<InputMenu label="Input" help="Delaunay Triangulation"/>
<VectorEntry variable="Tolerance" trace_name="Tolerance" type="float" help="The tolerance" default_value="0.001" data_range="0. 10.0"/>
<VectorEntry variable="Alpha" trace_name="Alpha" type="float" help="The Alpha value" default_value="2.0" data_range="0. 10.0"/>
<VectorEntry variable="Offset" trace_name="Offset" type="float" help="The Offset value" default_value="2.5" data_range="0. 10.0"/>
<LabeledToggle variable="BoundingTriangulation" trace_name="BoundingTriangulation" help="controls whether bounding
triangulation points (and associated triangles) are included in the output" default_value="0"/>
</Module>
</ModuleInterfaces>
--------------------------------------------------------------------------------------------------------------------------------------
-----Original Message-----
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] On Behalf Of Roberto Angeletti
Sent: 25 June 2004 13:02
To: paraview at paraview.org
Subject: [Paraview] Tin creation from Vrml PointSet Cloud
I need to perform a Delaunay triangulation on my Vrml PointSet Cloud Data,
to obtain a Tin surface.
What are the steps to do this with ParaView ?
Best Regards
Roberto Angeletti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20040906/992c5591/attachment.html
More information about the ParaView
mailing list