[vtk-developers] question about vtkOpenGLVolumeTextureMapper3D backward compatibility and version number

Arnaud GELAS arnaud_gelas at hms.harvard.edu
Wed Jun 2 16:02:03 EDT 2010


ooops, I have just checked with the developer and apparently his version 
was taken from cvs on 16 April 2010 (not the tagged version).
Sorry for the noise :-/.

On 06/02/2010 03:40 PM, Francois Bertel wrote:
> Hello,
>
> No we cannot keep the first method as deprecated. It was just missing
> in the first place.
> Without the extra argument, the OpenGL extension will not be set properly.
>
> I just downloaded vtk-5.6.0.tar.gz from
> http://vtk.org/VTK/resources/software.html#latest
>
> I see VTK/CMakeLists.txt has:
>
> SET(VTK_MAJOR_VERSION 5)
> SET(VTK_MINOR_VERSION 6)
> SET(VTK_BUILD_VERSION 0)
>
>
> Where did you get your VTK 5.6 advertising 5.7 from?
>
> On Wed, Jun 2, 2010 at 3:31 PM, Arnaud GELAS
> <arnaud_gelas at hms.harvard.edu>  wrote:
>    
>> Hi all,
>>
>> vtkOpenGLVolumeTextureMapper3D's API has recently changed, and methods:
>>
>> vtkOpenGLVolumeTextureMapper3D::IsRenderSupported(vtkVolumeProperty*)
>>
>> became
>>
>> vtkOpenGLVolumeTextureMapper3D::IsRenderSupported(vtkVolumeProperty* ,
>> vtkRenderer* )
>>
>>
>> Our application used this code, some of our developers are using the release
>> vtk 5.6, some are using the git version. We thus experience some problem
>> here due to the non-backward compatibility. What's the policy with backward
>> compatibility?
>>
>> Could it be possible to keep the first method as deprecated? (no is an OK
>> answer)
>>
>> We were also considering checking version of vtk, and depending on the
>> version use the first implementation or the second one. But it just happened
>> that ${VTK_VERSION} for both are 5.7.0 ...
>>
>> Is there a way to differentiate these two versions via CMake?
>>
>> Thanks for your answers,
>> Regards,
>> Arnaud
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>>
>>      
>
>
>    




More information about the vtk-developers mailing list