[vtkusers] VTK Wiki, VTK/Examples/ContoursToSurface fixed

Bill Lorensen bill.lorensen at gmail.com
Wed Jan 6 19:06:21 EST 2010


Not yet. The target is moving too fast...

I'll look when I get back.


On Tue, Jan 5, 2010 at 2:13 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> On Tue, Jan 5, 2010 at 11:32 AM, Dean Inglis <dean.inglis at camris.ca> wrote:
>> I spent some time revising VTK/Examples/ContoursToSurface.cxx
>> in the broken examples section of the wiki.  The example primarily
>> illustrates use of vtkVoxelContoursToSurfaceFilter.  The two major
>> revisions to getting it to work were to:
>> 1) not use lines as contours, but as closed polygons instead:
>>  vtkCutter was being used to cut a vtkSphereSource with an implicit
>>  vtkPlane which led to a series of disconnected (unclosed) straight line
>> segments,
>>  each segment being comprised of just two points.  I changed this to
>> explicitly
>>  generate a series of discs from x-y planes slicing a unit sphere
>> 2) the coordinates of the points have to be converted into integer (ijk)
>>   representation, and so, one has to figure out a "nice" sampling rate and
>> scale
>>  accordingly
>>
>> Im not sure where the wiki page for this should go, so would someone take
>> a look and redirect accordingly?
>>
>> Dean
>
>
> Dean,
>
> I really appreciate your efforts in fixing these! I moved this to
> "Working with 3D Data (vtkPolyData)".
>
> Bill - did you have any luck devising a better organization scheme
> with the spreadsheet I sent?
>
> 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
>



More information about the vtkusers mailing list