[vtkusers] Contouring Irregular Points

Bill Lorensen bill.lorensen at gmail.com
Fri Jul 5 10:53:45 EDT 2013


You are probably building against a VTK5 that has qt enabled. try adding QVTK
and qt libraries to the CMakeLists.txt line:
target_link_libraries(TriangulateTerrainMap
vtkHybrid)

target_link_libraries(TriangulateTerrainMap vtkHybrid QVTK ${QT_LIBRARIES})



On Thu, Jul 4, 2013 at 9:40 PM, yoshiyuki yamamoto
<y_yamamoto at aitech.ac.jp>wrote:

> Thank you for your information.
>
> TriangulateTerrainMap was downloaded from below page you wrote.
> http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/TriangulateTerrainMap
>
> But, I got cmake error as shown below.
> Could you tell me how to solve the error?
>
> y2-6:build yamamoto$ cmake ..
> -- The C compiler identification is GNU 4.2.1
> -- The CXX compiler identification is Clang 4.2.0
> -- Checking whether C compiler has -isysroot
> -- Checking whether C compiler has -isysroot - yes
> -- Checking whether C compiler supports OSX deployment target flag
> -- Checking whether C compiler supports OSX deployment target flag - yes
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /Users/yamamoto/Downloads/TriangulateTerrainMap/build
> y2-6:build yamamoto$ make
> Scanning dependencies of target TriangulateTerrainMap
> [100%] Building CXX object
> CMakeFiles/TriangulateTerrainMap.dir/TriangulateTerrainMap.cxx.o
> In file included from
> /Users/yamamoto/Downloads/TriangulateTerrainMap/TriangulateTerrainMap.cxx:1:
> In file included from /opt/local/include/vtk-5.10/vtkVersion.h:29:
> In file included from /opt/local/include/vtk-5.10/vtkObject.h:41:
> In file included from /opt/local/include/vtk-5.10/vtkObjectBase.h:43:
> In file included from /opt/local/include/vtk-5.10/vtkIndent.h:24:
> In file included from /opt/local/include/vtk-5.10/vtkSystemIncludes.h:40:
> In file included from /opt/local/include/vtk-5.10/vtkIOStream.h:108:
> In file included from /usr/include/c++/4.2.1/backward/strstream:51:
> /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: This file
>       includes at least one deprecated or antiquated header. Please
> consider
>       using one of the 32 headers found in section 17.4.1.2 of the C++
> standard.
>       Examples include substituting the <X> header for the <X.h> header
> for C++
>       includes, or <iostream> instead of the deprecated header
> <iostream.h>. To
>       disable this warning use -Wno-deprecated. [-W#warnings]
> #warning This file includes at least one deprecated or antiquated header. \
>  ^
> 1 warning generated.
> make[2]: *** No rule to make target `/opt/local/lib/libQtGui.dylib',
> needed by `TriangulateTerrainMap.app/Contents/MacOS/TriangulateTerrainMap'.
>  Stop.
> make[1]: *** [CMakeFiles/TriangulateTerrainMap.dir/all] Error 2
> make: *** [all] Error 2
>
>
>
> 2013/7/5 Bill Lorensen <bill.lorensen at gmail.com>
>
>> Look at this example and substitute your own points:
>> http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/TriangulateTerrainMap
>>
>>
>>
>> On Thu, Jul 4, 2013 at 8:06 AM, Michael Jackson <
>> mike.jackson at bluequartz.net> wrote:
>>
>>> Can VTK create a contour plot of "irregular" points? What I mean is that
>>> I have a bunch of X,Y + intensity points but the X,Y points are NOT on a
>>> regular grid they are just "Point Data". A collaborator of mine uses IDL to
>>> produce some plots from this data and I would like to use VTK for my own
>>> projects.
>>>
>>> Thanks for any help.
>>> ___________________________________________________________
>>> Mike Jackson                    Principal Software Engineer
>>> BlueQuartz Software                            Dayton, Ohio
>>> mike.jackson at bluequartz.net              www.bluequartz.net
>>>
>>> _______________________________________________
>>> 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 VTK FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>
>>
>>
>> --
>> Unpaid intern in BillsBasement at noware dot com
>>
>> _______________________________________________
>> 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 VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
>
> --
>  ------------------------------------------------------------
> 愛知工業大学工学部都市環境学科土木工学専攻
> 山本義幸
> 〒470-0392 愛知県豊田市八草町八千草1247
> TEL:(0565)48-8121(代表)、FAX:(0565)48-0030(代表)
> HP: http://www.ait.ac.jp/index.html
> Mail: y_yamamoto at aitech.ac.jp
>  ------------------------------------------------------------
> School of Civil Engineering, Department of Urban Environment,
> Faculty of Engineering,
> Aichi Institute of Technology.
> Yoshiyuki Yamamoto
> 1247 Yachikusa, Yakusa Cho, Toyota, Aichi 470-0392 JAPAN
> TEL:+81-565-48-8121 FAX:+81-565-48-0030
> HP: http://www.ait.ac.jp/index.html
> Mail: y_yamamoto at aitech.ac.jp
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130705/136e88ad/attachment.htm>


More information about the vtkusers mailing list