Hi Amy! Thank you so much for answering again.<br /><br />Before your
help, I was just using the vtkClipDataSet. By your using vtkCutter idea, I
now have an UnstructuredGrid with its respective scalars making the
contour of my cut / clip. The idea is for me to use this UG as an implicit
function for clipping a vtkSphereSource, so I can get the volumetric
intersection of the sphere with the arthery (thats right, I need the
sphere piece that is inside arthery). But my problems (since from the
beginning) are actually on using the vtkImplicitDataSet feeded by a
vtkUnstructuredGrid. When I use an structured grid, the vtkImplicitDataSet
works perfectly. But using a UG, it doesn`t.<br /><br />Any Ideas? Amy?
Anyone?<br />________________________________________ <br
/>Atenciosamente, <br />Vinicius Pessôa <br />Analista de Sistemas
<br />Laboratório Nacional de Computação
Científica <br />+55 (24) 2242-9498 <br />+55 (24) 8803-7061<br
/><br /><br />> Hi Vinicius, <br />> <br />> If you want to fill
the clipped area, you could try the following. In <br />> addition to
using vtkClipDataSet, also pass your original unstructured <br />> grid
through the vtkCutter filter. Use the same vtkSphere implicit <br />>
function that you used with vtkClipDataSet. Then to put the output of <br
/>> vtkClipDataSet and vtkCutter together, you could use
vtkAppendFilter. <br />> The output of vtkAppendFilter is still
vtkUnstructuredGrid. <br />> <br />> - Amy <br />> <br />>
Vinicius Pessôa wrote: <br />>> Hi Amy! <br />>> Thank
you for answering! <br />>> <br />>> And the answer for your
question is yes, I`ve tried to use <br />>> vtkClipDataSet. The
problem is that I need to fill the clipped area, <br />>> just like
the Ice Cream example. Then also, I would end up getting to <br />>>
the old problem, that is having to use my UnstructuredGrid as an <br
/>>> implicit function to make operation with a sphere. And also, I
would <br />>> probably have to sew the two meshes manually. <br
/>>> <br />>> That`s why I`ve changed my path for resolving
this problem to the <br />>> vtkImplicitBoolean. But, I`ve no
problems with changing my path again. <br />>> So, if any solution
appears with another tools, I`m all ears! <br />>> : ) <br
/>>> <br />>> Thank`s again for your time! <br />>>
________________________________________ <br />>> Atenciosamente,
<br />>> Vinicius Pessôa <br />>> Analista de Sistemas
<br />>> Laboratório Nacional de Computação
Científica <br />>> +55 (24) 2242-9498 <br />>> +55
(24) 8803-7061 <br />>> <br />>> <br />>> > Hi
Vinicius, <br />>> > <br />>> > In ParaView (or VTK),
have you tried applying the Clip filter to your <br />>> >
unstructured grid? You can use a vtkSphere as the clip function. This <br
/>>> > way you don't have to convert your dataset to an implicit
function. <br />>> > <br />>> > - Amy <br />>>
> <br />>> > Vinicius Pessôa wrote: <br />>>
>> Hi All. <br />>> >> <br />>> >> That`s
more like a VTK question. But maybe some of you have had a <br />>>
>> problem like this. <br />>> >> <br />>>
>> I have an UnstructuredGrid witch I must take the difference of it
<br />>> from <br />>> >> a vtkSphere implicit function.
<br />>> >> <br />>> >> Basically, I`m using the
vtkImplicitDataSet to turn my UG into an <br />>> >> Implicit
Function and the using the vtkImplicitBoolean to make its <br />>>
>> difference (just like the IceCreamBite example, also using the
<br />>> >> vtkSampleFunction). I`ve also added some scalars
to the Unstructured <br />>> >> Grid, so the ImplicitDataSet
filter stops complaining. Well, as <br />>> Output <br />>>
>> I`m getting just the sphere. <br />>> >> <br
/>>> >> I have also tried the vtkGeometryFilter, but it had no
effect. <br />>> >> <br />>> >> If anyone has been
through something like this and could get me a <br />>> >>
hand, I would really apreciate. <br />>> >> <br />>>
>> Thank`s in advance to you all. <br />>> >> <br
/>>> >> [ ]`s <br />>> >>
________________________________________ <br />>> >>
Atenciosamente, <br />>> >> Vinicius Pessôa <br
/>>> >> Analista de Sistemas <br />>> >>
Laboratório Nacional de Computação Científica
<br />>> >> +55 (24) 2242-9498 <br />>> >> +55
(24) 8803-7061 <br />>> >> <br />>>
------------------------------------------------------------------------
<br />>> >> <br />>> >>
_______________________________________________ <br />>> >>
ParaView mailing list <br />>> >> ParaView@paraview.org <br
/>>> >> http://www.paraview.org/mailman/listinfo/paraview <br
/>>> >> <br />>> > <br />>> > -- <br
/>>> > Amy Squillacote <br />>> > Kitware, Inc. <br
/>>> > 28 Corporate Drive <br />>> > Clifton Park, NY
12065 <br />>> > Phone: (518) 371-3971 x106 <br />>> >
<br />>> > <br />>>
------------------------------------------------------------------------
<br />>> <br />>>
_______________________________________________ <br />>> ParaView
mailing list <br />>> ParaView@paraview.org <br />>>
http://www.paraview.org/mailman/listinfo/paraview <br />>> <br
/>> <br />> -- <br />> Amy Squillacote <br />> Kitware, Inc.
<br />> 28 Corporate Drive <br />> Clifton Park, NY 12065 <br />>
Phone: (518) 371-3971 x106 <br />> <br />>