[vtkusers] how to use vtkdelanauy3d

Sylvain Jaume sylvain.jaume at kitware.com
Sat Nov 26 00:14:40 EST 2005


Hi Ramisetti,

You should use vtkDelaunay2D to create triangles:
http://www.vtk.org/doc/nightly/html/classvtkDelaunay2D.html

vtkDelaunay3D will give you tetrahedra:
http://www.vtk.org/doc/nightly/html/classvtkDelaunay3D.html

Cheers,
Sylvain

Ramisetti Srinivas wrote:

> hi,
> i want to use Delanauy3D for creating triangles for some points,but i 
> am getting some errors...
> can anyone solve this problem....
>
>
> --------------------Configuration: Cone - Win32 Debug--------------------
> Building Custom Rule 
> C:\VTK\VTK\Examples\Tutorial\Step1\Cxx\CMakeLists.txt
> -- Check for working C compiler: cl -- works
> -- Check for working CXX compiler: cl -- works
> -- Loading VTK CMake commands
> -- Loading VTK CMake commands - done
> -- Configuring done
> -- Generating done
> -- Build files have been written to: 
> C:/VTK/VTK/Examples/Tutorial/Step1/Cxx/bin
> Compiling...
> Cone.cxx
> C:\VTK\VTK\Examples\Tutorial\Step1\Cxx\Cone.cxx(103) : error C2039: 
> 'SetInputConnection' : is not a member of 'vtkShrinkFilter'
>        C:\VTK\VTK\Graphics\vtkShrinkFilter.h(38) : see declaration of 
> 'vtkShrinkFilter'
> C:\VTK\VTK\Examples\Tutorial\Step1\Cxx\Cone.cxx(103) : error C2039: 
> 'GetOutputPort' : is not a member of 'vtkDelaunay3D'
>        C:\VTK\VTK\Graphics\vtkDelaunay3D.h(97) : see declaration of 
> 'vtkDelaunay3D'
> C:\VTK\VTK\Examples\Tutorial\Step1\Cxx\Cone.cxx(107) : error C2039: 
> 'SetInputConnection' : is not a member of 'vtkDataSetMapper'
>        C:\VTK\VTK\Rendering\vtkDataSetMapper.h(35) : see declaration 
> of 'vtkDataSetMapper'
> C:\VTK\VTK\Examples\Tutorial\Step1\Cxx\Cone.cxx(107) : error C2039: 
> 'GetOutputPort' : is not a member of 'vtkShrinkFilter'
>        C:\VTK\VTK\Graphics\vtkShrinkFilter.h(38) : see declaration of 
> 'vtkShrinkFilter'
> Error executing cl.exe.
>
> Cone.exe - 4 error(s), 0 warning(s)
>
> _________________________________________________________________
> Strike gold. MSN Hotmail wants to reward you. For checking mail. 
> http://www.msn.co.in/gold
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages 
> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list