[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Re: [vtkusers] Get distance from closest edge of vtkPolyData
From:       Cory Quammen <cquammen () cs ! unc ! edu>
Date:       2011-11-30 16:14:39
Message-ID: CANmPiKDwqB2aZM-cX_crqZC2ozURvLnfGEERyBE3f+w5_Gdohw () mail ! gmail ! com
[Download RAW message or body]

Jothy,

I'm replying to the list for the benefit of others with this question
in the future.

Cory

On Wed, Nov 30, 2011 at 10:59 AM, Jothybasu Selvaraj
<jothybasu@gmail.com> wrote:
> With this, it works fine.
>
> implicitModeller->CappingOn();
> implicitModeller->SetCapValue(100.0);
>
> Thanks
>
> Jothy
>
> On Wed, Nov 30, 2011 at 2:49 PM, Cory Quammen <cquammen@cs.unc.edu> wrote:
>>
>> Did you try to create an isosurface at distance 0? Does that look
>> reasonable?
>>
>> Cory
>>
>> On Wed, Nov 30, 2011 at 9:46 AM, Jothybasu Selvaraj <jothybasu@gmail.com>
>> wrote:
>> > I tried the example form vtk wiki
>> >
>> > http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ImplicitModeller
>> >
>> > And saved the image using vtkXMLImageDataWriter from
>> > modeler->GetOutput(). I
>> > viewed it in paraview, the scalar values are too weired, they range from
>> > 0
>> > to 1e+38.
>> >
>> > Any hints?
>> >
>> > Thanks
>> >
>> > Jothy
>> >
>> > On Wed, Nov 30, 2011 at 1:52 PM, Cory Quammen <cquammen@cs.unc.edu>
>> > wrote:
>> >>
>> >> Jothy,
>> >>
>> >> I think the vtkImplicitModeller is what you want:
>> >>
>> >> http://www.vtk.org/doc/nightly/html/classvtkImplicitModeller.html
>> >>
>> >> Cory
>> >>
>> >> On Wed, Nov 30, 2011 at 5:29 AM, Jothybasu Selvaraj
>> >> <jothybasu@gmail.com>
>> >> wrote:
>> >> > Hi all,
>> >> >
>> >> > I have a vtkPolyData/mesh by applying vtkMarchingCubes to a
>> >> > vtkImageData.
>> >> > Now I want to find the distance between the edge of the mesh and each
>> >> > voxel
>> >> > in the vtkImageData that lies outside the mesh.
>> >> >
>> >> > Does anyone have any idea on how to do this?
>> >> >
>> >> > Thanks
>> >> >
>> >> >
>> >> > --
>> >> > Jothy
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > 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
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Cory Quammen
>> >> Research Associate
>> >> Department of Computer Science
>> >> The University of North Carolina at Chapel Hill
>> >
>> >
>> >
>> > --
>> > Jothy
>> >
>> >
>>
>>
>>
>> --
>> Cory Quammen
>> Research Associate
>> Department of Computer Science
>> The University of North Carolina at Chapel Hill
>
>
>
> --
> Jothy
>
>



-- 
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill
_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic