[vtkusers] Building VTK 7.0.0 for PCL 1.8.0

David E DeMarle dave.demarle at kitware.com
Wed Jan 6 16:26:28 EST 2016


vtkVisibleCellSelector was deprecated long ago and removed in 6.0.
vtkHardwareSelector replaced it when it was first deprecated.



David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Wed, Dec 23, 2015 at 3:46 PM, Ken Martin <ken.martin at kitware.com> wrote:

> Included below is a response to a similar email from a while back - Ken
>
>
> vtkgl.h can be replaced with vtk_glew.h
>
> the extension manager is not in the new backend but glew should provide
> any extension checking support you need although with a different interface
>
> I am not sure about vtkVisibleCellSelector
>
> Thanks
> Ken
>
> Ken Martin <ken.martin at kitware.com>
> Nov 19
> to VictorLamoine, vtk
> If you are using the generic Rendering API (vtkActor/vtkCamera/etc) then
> code should mostly work unchanged. If you are directly working with the
> OpenGL implementation then the conversion really depends on what you were
> doing as the implementation is fairly different. In terms of the two
> specific issues you mentioned vtkgl.h can probably be replaced with
> vtk_glew.h, I do not recall what vtkOpenGLHardwareSupport does but there is
> no match for that class in the new backend. Given that you have a class
> named vtkVertexBufferObject I am guessing you are getting into very
> specific implementation details so the conversion may not be trivial. On
> the plus side the new back end includes classes such as
> vtkOpenGLVertexBufferObject so ...  If you have further
> questions/roadblocks let me know and I'll try to point you in the right
> direction.
>
> P.S. vtkOpenGLPointGaussianMapper in the new backend may be worth a look
> too as it renders both points and splats etc.
>
> Thanks
> Ken
>
>
> On Thu, Nov 19, 2015 at 5:10 PM, VictorLamoine <victor.lamoine at gmail.com>
>  wrote:
>
>> Hello,
>>
>> The library I'm using (Point Cloud Library) cannot be compiled as is
>> against
>> a VTK version with OpenGL2 back end. (I'm using VTK trunk)
>> There are some missing includes etc.
>>
>> Error examples:
>>
>> > In file included from
>> > /home/victor/libraries/pcl
>> /src/visualization/src/vtk/vtkVertexBufferObject.cxx:15:0:
>> > /home/victor/libraries/pcl/src/visualization/include/pcl
>> /visualization/vtk/vtkVertexBufferObject.h:35:62:
>> > fatal error: vtkgl.h: No such file or directory
>> >  #include "vtkgl.h" // Needed for gl data types exposed in API
>> >                                                               ^
>> > compilation terminated.
>> > [ 50%] Built target pcl_poisson_reconstruction
>> > In file included from
>> > /home/victor/libraries/pcl
>> /src/visualization/src/vtk/vtkVertexBufferObjectMapper.cxx:18:0:
>> > /home/victor/libraries/pcl/src/visualization/include/pcl
>> /visualization/vtk/vtkVertexBufferObject.h:35:62:
>> > fatal error: vtkgl.h: No such file or directory
>> >  #include "vtkgl.h" // Needed for gl data types exposed in API
>> >                                                               ^
>> > compilation terminated.
>> >
>> > /home/victor/libraries/pcl
>> /src/visualization/src/pcl_visualizer.cpp:87:38:
>> > fatal error: vtkOpenGLHardwareSupport.h: No such file or directory
>> >  #include
>> > <vtkOpenGLHardwareSupport.h>
>> >                                       ^
>> > compilation terminated.
>>
>> Is there a migration guide helping users getting their code working with
>> OpenGL2 back end?
>> if not, how do I make the association between old/new includes? (and maybe
>> there are some differences in the classes ?)
>>
>> Bye
>>
>>
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/Migrating-from-OpenGL-to-OpenGL2-tp5735123.html
>> Sent from the VTK - Users mailing list archive at Nabble.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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>
>
>
> On Wed, Dec 23, 2015 at 3:15 AM, Yuri A. <andronakiy at gmail.com> wrote:
>
>> Good day everyone.
>>
>> I'm trying to build VTK for PCL library. Well VTK itself is compiled
>> like a charm, without any error. But inside some the PCL files are
>> some dependencies to those files:
>>
>> #include "vtkgl.h"
>> #include "vtkOpenGLExtensionManager.h"
>> #include <vtkVisibleCellSelector.h>
>>
>> And me and my compiler can't find those.
>>
>> It looks like file vtkgl.h should be generated by cmake and put into
>> "/Rendering/vtkgl.h". But there is none. What settings should i use in
>> Cmake for VTK? Or that file is not being generated anymore? What am i
>> doing wrong?
>>
>> If you're interested my settings you can see in the attachments to the
>> letter (not sure how attachments work in mailing list).
>>
>> Anyway than you, and have a good day.
>>
>> Yuri.
>>
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160106/de75f075/attachment.html>


More information about the vtkusers mailing list