[vtkusers] 答复: The differences about VTKData and VTK LargeData between VTK 5.10 and VTK 6.1

Cory Quammen cory.quammen at kitware.com
Wed Aug 27 11:40:33 EDT 2014


Hongsongyang,

Someone should correct me if I'm wrong, but I think all you need to do
to get the equivalent of VTKLargeData is to set the VTK_USE_LARGE_DATA
option to ON in CMake. This will enable the large data tests and will
cause the large data files to be downloaded during the build.

Thanks,
Cory

On Wed, Aug 27, 2014 at 11:25 AM, hongsongyang <hongsongyang at 163.com> wrote:
> Hi Cory,
>    Thank you for your reply.
>    I also use the same VTKData folder for different VTK version.
> But I means that since the VTK version 6 ,the data structure seems changed.
> Do you know what should I do to deal with the VTKLargeData?
>
> Thank you very much
>
> Best regards,
> Hongsongyang
>
>
> -----邮件原件-----
> 发件人: Cory Quammen [mailto:cory.quammen at kitware.com]
> 发送时间: 2014年8月27日 20:58
> 收件人: hongsongyang
> 抄送: vtkusers at vtk.org
> 主题: Re: [vtkusers] The differences about VTKData and VTK LargeData between VTK 5.10 and VTK 6.1
>
> Hi Hongsongyang,
>
> In VTK 6.1, you do not have to clone external repositories to get the testing data anymore. It will be downloaded automatically the first time you build VTK. The VTK_DATA_STORE path is where these files will be saved. See http://www.vtk.org/Wiki/VTK/Git/Develop/Data#Building
> for more details.
>
> Note that you can point several VTK builds to the same data directory so that you don't have to a). use up additional disk space and b).
> spend time download the data again.
>
> Hope that helps,
> Cory
>
> On Wed, Aug 27, 2014 at 12:10 AM, hongsongyang <hongsongyang at 163.com> wrote:
>> Dear all VTK users:
>>
>> When we cmake the VTK 5.10 version, there are 2 selections about
>>
>> VTK_DATA_ROOT and VTK_LARGE_DATA_ROOT. Both of these 2 option need to
>>
>> set the data and large data folder path.
>>
>>
>>
>> However, when I cmake the vtk 6.1 version, there is no DATA_ROOT
>> options,
>>
>> In contrast, there is only VTK_DATA_STORE, where I put the VTKData
>> folder path into it.
>>
>> And I check the VTK_USE_LARGE_DATA option ON.
>>
>> My question is, How could I make my cmake known the path of my
>> VTKLargeData
>>
>> Path, which I download according to GIT.
>>
>>
>>
>> VTKData source from : git clone git://vtk.org/VTKData.git VTKData
>>
>> VTKLargeData source from: git clone git://vtk.org/VTKLargeData.git
>>
>>
>>
>> Is there anyone who can answer my question?
>>
>>
>>
>> Thanks a lot.
>>
>>
>>
>> Hongsongyang
>>
>>
>> _______________________________________________
>> 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://public.kitware.com/mailman/listinfo/vtkusers
>>
>
>


More information about the vtkusers mailing list