Boost logo

Geometry :

Subject: Re: [geometry] readers/writers in VTK format for polygons
From: Tomislav Maric (tomislav.maric_at_[hidden])
Date: 2013-05-10 11:23:28


Thank you Barend!

All clear, I'll try to model the writers for vtk in the same way they're
modelled for e.g. wkt.
I'll come back with concrete questions definitely. :)

On 05/09/2013 08:22 PM, Barend Gehrels wrote:
> Hi Tomislav,
>
> On 2-5-2013 11:40, Tomislav Maric wrote:
>> Hi everyone,
>>
>> is there somewhere an additional source of information for IO and formatting
>> apart from the sources?
>
> I'm afraid, not really. The docs/sources contain the basics.
>
>>
>> I would like to extend the IO functionality to deal with the VTK Polydata file
>> format for writing polygons, since I am planning to use boost.geometry for 3D
>> calculations, and I am using ParaView VTK visualization application to visualize
>> my simulation data, which works great for 3D stuff.
>
> Sounds very interesting.
>
>>
>> I've read about the design rationale and the background of metaprogramming, tag
>> dispatching, etc for a while now from different books, and I get those concepts,
>> finally. O.o'
>>
>> I am using boost.geometry that is shipped with boost version 1.53 and I am
>> digging through the "io" directory trying to figure out where to start.. so I
>> would appreciate any advice..
>
>
> The design rationale is indeed a good starting point. There are some
> implementations writing geometry data: SVG, WKT, WKB. They all follow the tag
> dispatching approach, where functionality (e.g. coordinate writing) is used
> among the different geometries.
>
> If you've specific questions, you can always ask them on the list.
>
> Regards, Barend
>
> _______________________________________________
> Geometry mailing list
> Geometry_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/geometry


Geometry list run by mateusz at loskot.net