[Paraview] Tin creation from Vrml PointSet Cloud
Axel Steuwer
steuwer at ill.fr
Fri Jun 25 07:29:50 EDT 2004
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
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/20040625/32aafe41/attachment.html
More information about the ParaView
mailing list