[vtkusers] Can we create a surface with faults or breakline?

David Doria daviddoria+vtk at gmail.com
Mon Jan 18 15:58:08 EST 2010


On Mon, Jan 18, 2010 at 3:51 PM, Arun Kharghoria <khargo at gmail.com> wrote:
> David,
> Thanks a lot for quick response.
>
> At this momemnt, I donot have the data sets in VTK format. Normally surface
> is defined by XYZ points and faults (or called fault polygons) are defined
> by XY points. Fault polygons are closed. Here is a bmp file that may help
> you understand my question. The black (linear) holes are the result of
> presence of faults on the surface.
>
> Thanks a lot for your time again.
> -Arun
>
> On Mon, Jan 18, 2010 at 2:35 PM, David Doria <daviddoria+vtk at gmail.com>
> wrote:
>>
>> On Mon, Jan 18, 2010 at 3:29 PM, Arun Kharghoria <khargo at gmail.com> wrote:
>> > Is there a way to create a surface with faults or breakline in VTK?
>> >
>> > Thanks for your response,
>> > -AK
>>
>> Do you have an example of this type of data set? You should be able to
>> create any kind of surface you want - it is just topology (triangles,
>> polygons, etc) defined on some geometry (point coordinates).
>>
>> Thanks,
>>
>> David
>> _______________________________________________
>> 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
>
>

Arun,

Please keep the conversation on the mailing list.

So you have a terrain map, where z is strictly a function of (x,y)?
And for some (x,y), the z value is not defined (the "fault" points).
How is the topology defined currently? Is it a set of triangles on the
points?

This example demonstrates this type of terrain map surface.
http://www.cmake.org/Wiki/VTK/Examples/Filtering/Delaunay2D

To create your faults, you can used a constrained triangulation:
http://www.cmake.org/Wiki/Constrained_Delaunay_Triangulation_(2D)

Take a look at these examples and see where they get you. If you still
have trouble don't hesitate to ask.

Good luck,

David



More information about the vtkusers mailing list