<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px"> </span><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Hi,</span><div style="font-family:arial,sans-serif;font-size:12.800000190734863px">
I want to use the application of example (<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper</a>) in example (<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CurvedReformation</a>) but when i trying to modifying this, i am getting certain errors. I am writing my modifying code(in curved reformation example), could you please tell me the mistakes which i am doing in that. this code is the modified code of curved reformation example using the code of image slice mapper.</div>
<div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></div><div style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
<div><font face="arial, sans-serif"><b> // Probe the volume with the extruded surface</b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkProbeFilter> sampleVolume =</b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkProbeFilter>::New();</b></font></div>
<div><font face="arial, sans-serif"><b> // sampleVolume->SetInputConnection(1, imageReader->GetOutputPort());</b></font></div><div><font face="arial, sans-serif"><b><br></b></font></div><div><font face="arial, sans-serif"><b>#if VTK_MAJOR_VERSION <= 5</b></font></div>
<div><font face="arial, sans-serif"><b> sampleVolume->SetInput(0, surface);</b></font></div><div><font face="arial, sans-serif"><b> #else</b></font></div><div><font face="arial, sans-serif"><b> sampleVolume->SetInputData(0, surface);</b></font></div>
<div><font face="arial, sans-serif"><b>#endif</b></font></div><div><font face="arial, sans-serif"><b><br></b></font></div><div><font face="arial, sans-serif"><b>/*</b></font></div><div><font face="arial, sans-serif"><b> // Compute a simple window/level based on scalar range</b></font></div>
<div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkWindowLevelLookupTable> wlLut =</b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkWindowLevelLookupTable>::New();</b></font></div>
<div><font face="arial, sans-serif"><b> double range = imageReader->GetOutput()->GetScalarRange()[1] -</b></font></div><div><font face="arial, sans-serif"><b> imageReader->GetOutput()->GetScalarRange()[0];</b></font></div>
<div><font face="arial, sans-serif"><b> double level = (imageReader->GetOutput()->GetScalarRange()[1] +</b></font></div><div><font face="arial, sans-serif"><b> imageReader->GetOutput()->GetScalarRange()[0]) / 2.0;</b></font></div>
<div><font face="arial, sans-serif"><b> wlLut->SetWindow(range);</b></font></div><div><font face="arial, sans-serif"><b> wlLut->SetLevel(level);</b></font></div><div><font face="arial, sans-serif"><b> */</b></font></div>
<div><font face="arial, sans-serif"><b><br></b></font></div><div><font face="arial, sans-serif"><b> //Reslicing </b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkImageResliceMapper> imageResliceMapper = vtkSmartPointer<vtkImageResliceMapper>::New();</b></font></div>
<div><font face="arial, sans-serif"><b>#if VTK_MAJOR_VERSION <= 5</b></font></div><div><font face="arial, sans-serif"><b> imageResliceMapper->SetInputConnection(1, sampleVolume->GetOutputPort());</b></font></div>
<div><font face="arial, sans-serif"><b>#else</b></font></div><div><font face="arial, sans-serif"><b> imageResliceMapper->SetInputData(sampleVolume->GetOutputPort());</b></font></div><div><font face="arial, sans-serif"><b>#endif</b></font></div>
<div><font face="arial, sans-serif"><b> </b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkImageSlice> imageSlice = vtkSmartPointer<vtkImageSlice>::New();</b></font></div><div><font face="arial, sans-serif"><b> imageSlice->SetMapper(imageResliceMapper);</b></font></div>
<div><font face="arial, sans-serif"><b><br></b></font></div><div><font face="arial, sans-serif"><b>/* // Create a mapper.</b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkDataSetMapper> mapper =</b></font></div>
<div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkDataSetMapper>::New();</b></font></div><div><font face="arial, sans-serif"><b> mapper->SetInputConnection(sampleVolume->GetOutputPort());</b></font></div>
<div><font face="arial, sans-serif"><b> mapper->SetLookupTable(wlLut);</b></font></div><div><font face="arial, sans-serif"><b> mapper->SetScalarRange(0, 255);</b></font></div><div><font face="arial, sans-serif"><b> </b></font></div>
<div><font face="arial, sans-serif"><b> // Create An Actor</b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkActor> actor =</b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkActor>::New();</b></font></div>
<div><font face="arial, sans-serif"><b> actor->SetMapper(mapper);</b></font></div><div><font face="arial, sans-serif"><b>*/</b></font></div><div><font face="arial, sans-serif"><b><br></b></font></div><div><font face="arial, sans-serif"><b> // Create a renderer,</b></font></div>
<div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkRenderer> renderer =</b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkRenderer>::New();</b></font></div><div><font face="arial, sans-serif"><b><br>
</b></font></div><div><font face="arial, sans-serif"><b> // Create render window</b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkRenderWindow> renderWindow =</b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkRenderWindow>::New();</b></font></div>
<div><font face="arial, sans-serif"><b> renderWindow->AddRenderer(renderer);</b></font></div><div><font face="arial, sans-serif"><b><br></b></font></div><div><font face="arial, sans-serif"><b><br></b></font></div><div>
<font face="arial, sans-serif"><b> //Create an interactor</b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkRenderWindowInteractor> renderWindowInteractor =</b></font></div><div><font face="arial, sans-serif"><b> vtkSmartPointer<vtkRenderWindowInteractor>::New();</b></font></div>
<div><font face="arial, sans-serif"><b> renderWindowInteractor->SetRenderWindow(renderWindow);</b></font></div><div><font face="arial, sans-serif"><b> </b></font></div><div><font face="arial, sans-serif"><b> // Add the actors to the scene</b></font></div>
<div><font face="arial, sans-serif"><b> renderer->AddActor(imageSlice);</b></font></div><div><font face="arial, sans-serif"><b> renderer->SetBackground(.2, .3, .4);</b></font></div><div><font face="arial, sans-serif"><b> </b></font></div>
<div><font face="arial, sans-serif"><b> // Set the camera for viewing medical images</b></font></div><div><font face="arial, sans-serif"><b> renderer->GetActiveCamera()->SetViewUp(0,0,1);</b></font></div><div><font face="arial, sans-serif"><b> renderer->GetActiveCamera()->SetPosition(0,0,0);</b></font></div>
<div><font face="arial, sans-serif"><b> renderer->GetActiveCamera()->SetFocalPoint(0,1,0);</b></font></div><div><font face="arial, sans-serif"><b> renderer->ResetCamera();</b></font></div><div><font face="arial, sans-serif"><b> </b></font></div>
<div><font face="arial, sans-serif"><b> // Render and interact</b></font></div><div><font face="arial, sans-serif"><b> renderWindow->Render();</b></font></div><div><font face="arial, sans-serif"><b> renderWindowInteractor->Start();</b></font></div>
<div><font face="arial, sans-serif"><b> </b></font></div><div><font face="arial, sans-serif"><b> imageReader->Delete();</b></font></div><div><font face="arial, sans-serif"><b> return EXIT_SUCCESS;</b></font></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 6, 2013 at 6:00 PM, <span dir="ltr"><<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send vtkusers mailing list submissions to<br>
<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:vtkusers-owner@vtk.org">vtkusers-owner@vtk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of vtkusers digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Is it possible to make an image slice of unstructured<br>
grid? (Ruff)<br>
2. Reading a vti file with vtkStreamingDemandDrivenPipeline<br>
(Brugger, Eric)<br>
3. Re: Vtk 6.0 dotnet (Serge Lalonde)<br>
4. Re: Vtk 6.0 dotnet (Serge Lalonde)<br>
5. Re: Vtk 6.0 dotnet (David Gobbi)<br>
6. Re: Memory management : pointer on VTK object (Alex Malyushytskyy)<br>
7. Re: Vtk 6.0 dotnet (Alex Malyushytskyy)<br>
8. Re: Contouring Irregular Points (yoshiyuki yamamoto)<br>
9. Re: A Simple Question on vtkContourFilter (Bill Lorensen)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 5 Jul 2013 09:02:16 -0700 (PDT)<br>
From: Ruff <<a href="mailto:albin.nilsson@gmail.com">albin.nilsson@gmail.com</a>><br>
Subject: Re: [vtkusers] Is it possible to make an image slice of<br>
unstructured grid?<br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto:1373040136371-5721800.post@n5.nabble.com">1373040136371-5721800.post@n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Found something that works in taking my structured points as vtkImageData,<br>
which can be used as input in vtkSmartVolumeMapper.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Is-it-possible-to-make-an-image-slice-of-unstructured-grid-tp5721777p5721800.html" target="_blank">http://vtk.1045678.n5.nabble.com/Is-it-possible-to-make-an-image-slice-of-unstructured-grid-tp5721777p5721800.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 5 Jul 2013 17:48:09 +0000<br>
From: "Brugger, Eric" <<a href="mailto:brugger1@llnl.gov">brugger1@llnl.gov</a>><br>
Subject: [vtkusers] Reading a vti file with<br>
vtkStreamingDemandDrivenPipeline<br>
To: "<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<<a href="mailto:CC3D28099A24A34FA98E3F8E2B8944CC5475F2A8@PRDEXMBX-04.the-lab.llnl.gov">CC3D28099A24A34FA98E3F8E2B8944CC5475F2A8@PRDEXMBX-04.the-lab.llnl.gov</a>><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi,<br>
<br>
I have a vti file with an image that is a portion of the entire extent (e.g.<br>
<br>
ImageData WholeExtent="0 532 0 532 0 0"<br>
<br>
and<br>
<br>
Piece Extent="0 266 0 266 0 0"<br>
<br>
When I read in the image it gives me an array that is 532 x 532 with a piece that is 266 x 266 that is filled in.<br>
<br>
How do I have the reader only return an array that is 266 x 266?<br>
<br>
I tried using the vtkStreamingDemandDrivenPipeline to do this with no luck.<br>
<br>
Thanks,<br>
<br>
Eric<br>
<br>
Here is the code I am using:<br>
<br>
*********************** START CODE FRAGMENT ********************<br>
<br>
vtkXMLImageDataReader *reader = vtkXMLImageDataReader::New();<br>
reader->SetFileName("image.vti");<br>
<br>
vtkInformation *outInfo = reader->GetExecutive()->GetOutputInformation(0);<br>
<br>
int ext[6];<br>
ext[0] = 0; ext[1] = 266; ext[2] = 0; ext[3] = 266; ext[4] = 0; ext[5] = 0;<br>
<br>
outInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_EXTENT(), ext, 6);<br>
outInfo->Set(vtkStreamingDemandDrivenPipeline::EXACT_EXTENT(), 1);<br>
<br>
reader->Update();<br>
<br>
dataset = reader->GetOutput();<br>
<br>
*********************** END CODE FRAGMENT ********************<br>
<br>
Here is the image file without the data:<br>
<br>
<VTKFile type="ImageData" version="0.1" byte_order="LittleEndian"><br>
<ImageData WholeExtent="0 532 0 532 0 0" Origin="0 0 0" Spacing="1 1 1"><br>
<Piece Extent="0 266 0 266 0 0"><br>
<CellData Scalars="PNGImage"><br>
<DataArray type="UInt8" Name="PNGImage" NumberOfComponents="4"<br>
format="appended" RangeMin="254" RangeMax="487.94364429" offset="0" /><br>
</CellData><br>
</Piece><br>
</ImageData><br>
<AppendedData encoding="raw"><br>
********** THE IMAGE DATA ********<br>
</AppendedData><br>
</VTKFile><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130705/99a672b2/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130705/99a672b2/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 05 Jul 2013 14:27:07 -0400<br>
From: Serge Lalonde <<a href="mailto:serge@infolytica.com">serge@infolytica.com</a>><br>
Subject: Re: [vtkusers] Vtk 6.0 dotnet<br>
To: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID: <<a href="mailto:51D70FFB.3040104@infolytica.com">51D70FFB.3040104@infolytica.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130705/5b37cc47/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130705/5b37cc47/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 05 Jul 2013 15:19:30 -0400<br>
From: Serge Lalonde <<a href="mailto:serge@infolytica.com">serge@infolytica.com</a>><br>
Subject: Re: [vtkusers] Vtk 6.0 dotnet<br>
To: Domenico Quaranta <<a href="mailto:n40.analysis@gmail.com">n40.analysis@gmail.com</a>>, VTK Users<br>
<<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID: <<a href="mailto:51D71C42.9070600@infolytica.com">51D71C42.9070600@infolytica.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130705/2f091135/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130705/2f091135/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Fri, 5 Jul 2013 13:54:21 -0600<br>
From: David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>><br>
Subject: Re: [vtkusers] Vtk 6.0 dotnet<br>
To: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<CANwS1=Fzd0u_-Wj0TNPZf5psguMvz+0rreaU=<a href="mailto:Udrx8BzBQrSGw@mail.gmail.com">Udrx8BzBQrSGw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
I'll throw in my two cents here, not specifically about ActiViz but<br>
about Kickstarter in general.<br>
<br>
The average pledge amount is $70, with most backers giving $25 and a<br>
few especially generous backers giving much more. So a $10000 project<br>
should only require around 150 backers. That's not a huge number,<br>
considering that the VTK community has well over 10x that many<br>
members. So the questions are 1) how to reach the community, since<br>
most community members don't read the vtkusers list on a regular basis,<br>
and 2) what kind of VTK Kickstarter projects would get widespread<br>
participation.<br>
<br>
I suspect that VTK book projects would find a lot of backers, and most<br>
people would be satisfied with a pdf rather than a hardcopy.<br>
<br>
- David<br>
<br>
On Fri, Jul 5, 2013 at 1:19 PM, Serge Lalonde <<a href="mailto:serge@infolytica.com">serge@infolytica.com</a>> wrote:<br>
> Hi Nico,<br>
><br>
> Here's the link:<br>
> <a href="http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510" target="_blank">http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510</a><br>
><br>
> Note: Please reply to the list, not directly to me, so that others can<br>
> benefit.<br>
><br>
> On 7/5/2013 2:58 PM, Domenico Quaranta wrote:<br>
><br>
> Serge,<br>
> please provide the link<br>
> I'm very interested, on behalf of the consultancy company I work for.<br>
> I'm developing the software StructLife, which uses VTK (see<br>
> <a href="http://www.structcode.com" target="_blank">www.structcode.com</a>).and currently I'm using Activiz for the .net wrapper.<br>
><br>
> Nico<br>
><br>
><br>
> 2013/7/5 Serge Lalonde <<a href="mailto:serge@infolytica.com">serge@infolytica.com</a>><br>
>><br>
>> Hi Nico,<br>
>><br>
>> I replied to the list for everyone's benefit.<br>
>><br>
>> Click on the KickStarter link to get details. Basically people pledge<br>
>> whatever amounts they can. If enough money is pledged, the people who<br>
>> pledged are charged the money they promised (typically on a credit card) and<br>
>> the project gets done. If the funding goal is not met, no one is charged<br>
>> anything and the project is cancelled.<br>
>><br>
>> BTW, I'm Serge, not Dave. I just pledged for the project. Dave's contact<br>
>> info is in the KickStarter project page (the "Contact me" link on the<br>
>> right).<br>
>><br>
>><br>
>> On 7/5/2013 12:48 PM, Domenico Quaranta wrote:<br>
>><br>
>> Dave,<br>
>> how does this thing work?<br>
>> Is it a free donation? Is it a fixed prize? What would the rules be?<br>
>><br>
>> Nico<br>
>><br>
>><br>
>> 2013/7/5 Serge Lalonde <<a href="mailto:serge@infolytica.com">serge@infolytica.com</a>><br>
>>><br>
>>> David Cole started a KickStarter project to get enough money to fund the<br>
>>> development of the updated .NET wrappers.<br>
>>><br>
>>> <a href="http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510?ref=email" target="_blank">http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510?ref=email</a><br>
>>><br>
>>> Unfortunately, the funding goal was far from being reached. It's too bad<br>
>>> since a lot of people ask about it but few were willing to "put their money<br>
>>> where their mouth is" so to speak. Maybe if he tries again, this time more<br>
>>> people will pledge and it will get done. I for one would love to have the<br>
>>> .NET wrappers updated and I'm willing to pay for part of it if necessary.<br>
>>><br>
>>> On 7/4/2013 4:00 PM, David E DeMarle wrote:<br>
>>>><br>
>>>> 5.8<br>
>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>><br>
>>>> Visit other Kitware open-source projects at<br>
>>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>><br>
>>>> Please keep messages on-topic and check the VTK FAQ at:<br>
>>>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>>>><br>
>>>> Follow this link to subscribe/unsubscribe:<br>
>>>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>>><br>
>>><br>
>>> --<br>
>>> Signature <a href="http://www.infolytica.com" target="_blank">www.infolytica.com</a> <http:://<a href="http://www.infolytica.com" target="_blank">www.infolytica.com</a>><br>
>>> 300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3<br>
>>> <a href="tel:%28514%29%20849-8752%20x236" value="+15148498752">(514) 849-8752 x236</a>, Fax: <a href="tel:%28514%29%20849-4239" value="+15148494239">(514) 849-4239</a><br>
>>> _______________________________________________<br>
>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>><br>
>>> Visit other Kitware open-source projects at<br>
>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>><br>
>>> Please keep messages on-topic and check the VTK FAQ at:<br>
>>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>>><br>
>>> Follow this link to subscribe/unsubscribe:<br>
>>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> <a href="http://www.infolytica.com" target="_blank">www.infolytica.com</a><br>
>> 300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3<br>
>> <a href="tel:%28514%29%20849-8752%20x236" value="+15148498752">(514) 849-8752 x236</a>, Fax: <a href="tel:%28514%29%20849-4239" value="+15148494239">(514) 849-4239</a><br>
><br>
><br>
><br>
> --<br>
> <a href="http://www.infolytica.com" target="_blank">www.infolytica.com</a><br>
> 300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3<br>
> <a href="tel:%28514%29%20849-8752%20x236" value="+15148498752">(514) 849-8752 x236</a>, Fax: <a href="tel:%28514%29%20849-4239" value="+15148494239">(514) 849-4239</a><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Fri, 5 Jul 2013 15:01:19 -0700<br>
From: Alex Malyushytskyy <<a href="mailto:alexmalvtk@gmail.com">alexmalvtk@gmail.com</a>><br>
Subject: Re: [vtkusers] Memory management : pointer on VTK object<br>
To: Malsoaz James <<a href="mailto:jmalsoaz@yahoo.fr">jmalsoaz@yahoo.fr</a>><br>
Cc: "<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<<a href="mailto:CAHR9pJ034QNjjQOEgWsokOVT00M%2BQoQLAjf6r7Fres6%2B9y3U3A@mail.gmail.com">CAHR9pJ034QNjjQOEgWsokOVT00M+QoQLAjf6r7Fres6+9y3U3A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Try to add<br>
SetSource(NULL);<br>
calls after you register polydata<br>
<br>
polydata->Register(NULL);<br>
polydata->SetSource(NULL);<br>
.....<br>
output->Register(NULL);<br>
output->SetSource(NULL);<br>
<br>
Another source of extra memory usage may be memory granularity,<br>
If you say that DeepCopy helps it means deleting/allocationg memory at the<br>
same and bugger chunks helps to avoid granularity.<br>
In this case nothing you can do.<br>
<br>
<br>
In any case I would suggest to get<br>
<br>
vtkTransformPolyDataFilter * trFilter = vtkTransformPolyDataFilter::New();<br>
<br>
and<br>
trFilter->Delete();<br>
out of loop.<br>
<br>
<br>
Regards,<br>
Alex<br>
<br>
<br>
<br>
On Thu, Jul 4, 2013 at 12:33 AM, Malsoaz James <<a href="mailto:jmalsoaz@yahoo.fr">jmalsoaz@yahoo.fr</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I'm experiencing troubles when copying pointers of VTK object.<br>
><br>
> Let's say I want to apply transformation to a polydata recursively like<br>
> this:<br>
><br>
> //Read STL<br>
> vtkSTLReader * reader = vtkSTLReader::New();<br>
> reader->SetFileName("1.stl");<br>
> reader->Update();<br>
><br>
> vtkPolyData * polydata = reader->GetOutput();<br>
> polydata->Register(NULL);<br>
> reader->Delete();<br>
><br>
> vtkTransform * tr = vtkTransform::New();<br>
> tr->Translate(5, 10, 1);<br>
> tr->Update();<br>
><br>
> for(int i = 0 ; i < 1000 ; ++i)<br>
> {<br>
> std::cout << i << std::endl;<br>
> vtkTransformPolyDataFilter * trFilter =<br>
> vtkTransformPolyDataFilter::New();<br>
> trFilter->SetInput(polydata);<br>
> trFilter->SetTransform(tr);<br>
> trFilter->Update();<br>
><br>
> vtkPolyData * output = trFilter->GetOutput();<br>
> output->Register(NULL);<br>
> trFilter->Delete();<br>
><br>
> polydata->Delete();<br>
> polydata = output;<br>
> }<br>
> tr->Delete();<br>
> polydata->Delete();<br>
><br>
> This is working fine and I have no VTK leaks. Unfortunately, I'm noticing<br>
> that memory for my program increases instead of remaining constant.<br>
> What's wrong with theses few lines?<br>
><br>
> By the way, using DeepCopy to save output data is working:<br>
> polydata = vtkPolyData::New();<br>
> polydata->DeepCopy(output);<br>
> output->Delete();<br>
> But I would like to avoid to deep copy data when I only need to add a<br>
> reference to the pointer. I also would like to avoid the use of<br>
> vtkSmartPointer.<br>
><br>
> Thank you for your help<br>
> Best.<br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130705/4107fe77/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130705/4107fe77/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Fri, 5 Jul 2013 15:29:43 -0700<br>
From: Alex Malyushytskyy <<a href="mailto:alexmalvtk@gmail.com">alexmalvtk@gmail.com</a>><br>
Subject: Re: [vtkusers] Vtk 6.0 dotnet<br>
To: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<<a href="mailto:CAHR9pJ3YCXyPHLhN9zax5LNQUn2-c8Q0NthD0KxYy-Wfszf3jQ@mail.gmail.com">CAHR9pJ3YCXyPHLhN9zax5LNQUn2-c8Q0NthD0KxYy-Wfszf3jQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
I would not write this. if I did not see offense in one of the posts above<br>
targeted people who did not "put their money where their mouth is" .<br>
You can't use number of people in vtk community as a total number of people<br>
interested in ActiViz.<br>
For example I do not care about anything beside C++. I know multiple people<br>
who do not care what happens on Windows.<br>
<br>
Also there is a huge difference between liking a feature and agree to<br>
finance the development.<br>
Also as for me I would trust more in the results of free development than<br>
in results of the projects developed using such financing.<br>
Assume you succeeded to collect money, and it was even enough to produce<br>
results you wanted which is not realistic in the area I live.<br>
What is going to happen when new vtk version is released and ActiViz need<br>
support?<br>
The code will need to be supported.<br>
Are you going to ask for a new donations every time?<br>
You have to realize that such questions are too serious to ignore and<br>
there is no point to offend people who decided not to put their money in<br>
the project you support.<br>
<br>
Regards,<br>
Alex<br>
<br>
<br>
<br>
On Fri, Jul 5, 2013 at 12:54 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
<br>
> I'll throw in my two cents here, not specifically about ActiViz but<br>
> about Kickstarter in general.<br>
><br>
> The average pledge amount is $70, with most backers giving $25 and a<br>
> few especially generous backers giving much more. So a $10000 project<br>
> should only require around 150 backers. That's not a huge number,<br>
> considering that the VTK community has well over 10x that many<br>
> members. So the questions are 1) how to reach the community, since<br>
> most community members don't read the vtkusers list on a regular basis,<br>
> and 2) what kind of VTK Kickstarter projects would get widespread<br>
> participation.<br>
><br>
> I suspect that VTK book projects would find a lot of backers, and most<br>
> people would be satisfied with a pdf rather than a hardcopy.<br>
><br>
> - David<br>
><br>
> On Fri, Jul 5, 2013 at 1:19 PM, Serge Lalonde <<a href="mailto:serge@infolytica.com">serge@infolytica.com</a>><br>
> wrote:<br>
> > Hi Nico,<br>
> ><br>
> > Here's the link:<br>
> ><br>
> <a href="http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510" target="_blank">http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510</a><br>
> ><br>
> > Note: Please reply to the list, not directly to me, so that others can<br>
> > benefit.<br>
> ><br>
> > On 7/5/2013 2:58 PM, Domenico Quaranta wrote:<br>
> ><br>
> > Serge,<br>
> > please provide the link<br>
> > I'm very interested, on behalf of the consultancy company I work for.<br>
> > I'm developing the software StructLife, which uses VTK (see<br>
> > <a href="http://www.structcode.com" target="_blank">www.structcode.com</a>).and currently I'm using Activiz for the .net<br>
> wrapper.<br>
> ><br>
> > Nico<br>
> ><br>
> ><br>
> > 2013/7/5 Serge Lalonde <<a href="mailto:serge@infolytica.com">serge@infolytica.com</a>><br>
> >><br>
> >> Hi Nico,<br>
> >><br>
> >> I replied to the list for everyone's benefit.<br>
> >><br>
> >> Click on the KickStarter link to get details. Basically people pledge<br>
> >> whatever amounts they can. If enough money is pledged, the people who<br>
> >> pledged are charged the money they promised (typically on a credit<br>
> card) and<br>
> >> the project gets done. If the funding goal is not met, no one is charged<br>
> >> anything and the project is cancelled.<br>
> >><br>
> >> BTW, I'm Serge, not Dave. I just pledged for the project. Dave's contact<br>
> >> info is in the KickStarter project page (the "Contact me" link on the<br>
> >> right).<br>
> >><br>
> >><br>
> >> On 7/5/2013 12:48 PM, Domenico Quaranta wrote:<br>
> >><br>
> >> Dave,<br>
> >> how does this thing work?<br>
> >> Is it a free donation? Is it a fixed prize? What would the rules be?<br>
> >><br>
> >> Nico<br>
> >><br>
> >><br>
> >> 2013/7/5 Serge Lalonde <<a href="mailto:serge@infolytica.com">serge@infolytica.com</a>><br>
> >>><br>
> >>> David Cole started a KickStarter project to get enough money to fund<br>
> the<br>
> >>> development of the updated .NET wrappers.<br>
> >>><br>
> >>><br>
> <a href="http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510?ref=email" target="_blank">http://www.kickstarter.com/projects/dlrdave/activiz-net-installers-featuring-vtk-510?ref=email</a><br>
> >>><br>
> >>> Unfortunately, the funding goal was far from being reached. It's too<br>
> bad<br>
> >>> since a lot of people ask about it but few were willing to "put their<br>
> money<br>
> >>> where their mouth is" so to speak. Maybe if he tries again, this time<br>
> more<br>
> >>> people will pledge and it will get done. I for one would love to have<br>
> the<br>
> >>> .NET wrappers updated and I'm willing to pay for part of it if<br>
> necessary.<br>
> >>><br>
> >>> On 7/4/2013 4:00 PM, David E DeMarle wrote:<br>
> >>>><br>
> >>>> 5.8<br>
> >>>><br>
> >>>><br>
> >>>> _______________________________________________<br>
> >>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> >>>><br>
> >>>> Visit other Kitware open-source projects at<br>
> >>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> >>>><br>
> >>>> Please keep messages on-topic and check the VTK FAQ at:<br>
> >>>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> >>>><br>
> >>>> Follow this link to subscribe/unsubscribe:<br>
> >>>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> >>><br>
> >>><br>
> >>> --<br>
> >>> Signature <a href="http://www.infolytica.com" target="_blank">www.infolytica.com</a> <http:://<a href="http://www.infolytica.com" target="_blank">www.infolytica.com</a>><br>
> >>> 300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3<br>
> >>> <a href="tel:%28514%29%20849-8752%20x236" value="+15148498752">(514) 849-8752 x236</a>, Fax: <a href="tel:%28514%29%20849-4239" value="+15148494239">(514) 849-4239</a><br>
> >>> _______________________________________________<br>
> >>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> >>><br>
> >>> Visit other Kitware open-source projects at<br>
> >>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> >>><br>
> >>> Please keep messages on-topic and check the VTK FAQ at:<br>
> >>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> >>><br>
> >>> Follow this link to subscribe/unsubscribe:<br>
> >>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> >><br>
> >><br>
> >><br>
> >> --<br>
> >> <a href="http://www.infolytica.com" target="_blank">www.infolytica.com</a><br>
> >> 300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3<br>
> >> <a href="tel:%28514%29%20849-8752%20x236" value="+15148498752">(514) 849-8752 x236</a>, Fax: <a href="tel:%28514%29%20849-4239" value="+15148494239">(514) 849-4239</a><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > <a href="http://www.infolytica.com" target="_blank">www.infolytica.com</a><br>
> > 300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3<br>
> > <a href="tel:%28514%29%20849-8752%20x236" value="+15148498752">(514) 849-8752 x236</a>, Fax: <a href="tel:%28514%29%20849-4239" value="+15148494239">(514) 849-4239</a><br>
> ><br>
> > _______________________________________________<br>
> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> ><br>
> > Visit other Kitware open-source projects at<br>
> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> ><br>
> > Please keep messages on-topic and check the VTK FAQ at:<br>
> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> ><br>
> > Follow this link to subscribe/unsubscribe:<br>
> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> ><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130705/82e383e6/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130705/82e383e6/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Sat, 6 Jul 2013 11:51:48 +0900<br>
From: yoshiyuki yamamoto <<a href="mailto:y_yamamoto@aitech.ac.jp">y_yamamoto@aitech.ac.jp</a>><br>
Subject: Re: [vtkusers] Contouring Irregular Points<br>
To: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
Cc: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<CABX0_CLH65DaPqGt1zZaGpXfL6J9D=<a href="mailto:pD5SpUkdoRP1sSHM6siQ@mail.gmail.com">pD5SpUkdoRP1sSHM6siQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-2022-jp"<br>
<br>
Thank you Bill.<br>
The error was solved as shown in attached image by your instruction.<br>
<br>
<br>
2013/7/5 Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
<br>
> You are probably building against a VTK5 that has qt enabled. try adding QVTK<br>
> and qt libraries to the CMakeLists.txt line: target_link_libraries(TriangulateTerrainMap<br>
> vtkHybrid)<br>
><br>
> target_link_libraries(TriangulateTerrainMap vtkHybrid QVTK ${QT_LIBRARIES}<br>
> )<br>
><br>
><br>
><br>
> On Thu, Jul 4, 2013 at 9:40 PM, yoshiyuki yamamoto <<br>
> <a href="mailto:y_yamamoto@aitech.ac.jp">y_yamamoto@aitech.ac.jp</a>> wrote:<br>
><br>
>> Thank you for your information.<br>
>><br>
>> TriangulateTerrainMap was downloaded from below page you wrote.<br>
>> <a href="http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/TriangulateTerrainMap" target="_blank">http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/TriangulateTerrainMap</a><br>
>><br>
>> But, I got cmake error as shown below.<br>
>> Could you tell me how to solve the error?<br>
>><br>
>> y2-6:build yamamoto$ cmake ..<br>
>> -- The C compiler identification is GNU 4.2.1<br>
>> -- The CXX compiler identification is Clang 4.2.0<br>
>> -- Checking whether C compiler has -isysroot<br>
>> -- Checking whether C compiler has -isysroot - yes<br>
>> -- Checking whether C compiler supports OSX deployment target flag<br>
>> -- Checking whether C compiler supports OSX deployment target flag - yes<br>
>> -- Check for working C compiler: /usr/bin/gcc<br>
>> -- Check for working C compiler: /usr/bin/gcc -- works<br>
>> -- Detecting C compiler ABI info<br>
>> -- Detecting C compiler ABI info - done<br>
>> -- Check for working CXX compiler: /usr/bin/c++<br>
>> -- Check for working CXX compiler: /usr/bin/c++ -- works<br>
>> -- Detecting CXX compiler ABI info<br>
>> -- Detecting CXX compiler ABI info - done<br>
>> -- Configuring done<br>
>> -- Generating done<br>
>> -- Build files have been written to:<br>
>> /Users/yamamoto/Downloads/TriangulateTerrainMap/build<br>
>> y2-6:build yamamoto$ make<br>
>> Scanning dependencies of target TriangulateTerrainMap<br>
>> [100%] Building CXX object<br>
>> CMakeFiles/TriangulateTerrainMap.dir/TriangulateTerrainMap.cxx.o<br>
>> In file included from<br>
>> /Users/yamamoto/Downloads/TriangulateTerrainMap/TriangulateTerrainMap.cxx:1:<br>
>> In file included from /opt/local/include/vtk-5.10/vtkVersion.h:29:<br>
>> In file included from /opt/local/include/vtk-5.10/vtkObject.h:41:<br>
>> In file included from /opt/local/include/vtk-5.10/vtkObjectBase.h:43:<br>
>> In file included from /opt/local/include/vtk-5.10/vtkIndent.h:24:<br>
>> In file included from /opt/local/include/vtk-5.10/vtkSystemIncludes.h:40:<br>
>> In file included from /opt/local/include/vtk-5.10/vtkIOStream.h:108:<br>
>> In file included from /usr/include/c++/4.2.1/backward/strstream:51:<br>
>> /usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: This<br>
>> file<br>
>> includes at least one deprecated or antiquated header. Please<br>
>> consider<br>
>> using one of the 32 headers found in section 17.4.1.2 of the C++<br>
>> standard.<br>
>> Examples include substituting the <X> header for the <X.h> header<br>
>> for C++<br>
>> includes, or <iostream> instead of the deprecated header<br>
>> <iostream.h>. To<br>
>> disable this warning use -Wno-deprecated. [-W#warnings]<br>
>> #warning This file includes at least one deprecated or antiquated header.<br>
>> \<br>
>> ^<br>
>> 1 warning generated.<br>
>> make[2]: *** No rule to make target `/opt/local/lib/libQtGui.dylib',<br>
>> needed by `TriangulateTerrainMap.app/Contents/MacOS/TriangulateTerrainMap'.<br>
>> Stop.<br>
>> make[1]: *** [CMakeFiles/TriangulateTerrainMap.dir/all] Error 2<br>
>> make: *** [all] Error 2<br>
>><br>
>><br>
>><br>
>> 2013/7/5 Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>><br>
>>> Look at this example and substitute your own points:<br>
>>> <a href="http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/TriangulateTerrainMap" target="_blank">http://vtk.org/Wiki/VTK/Examples/Cxx/Filtering/TriangulateTerrainMap</a><br>
>>><br>
>>><br>
>>><br>
>>> On Thu, Jul 4, 2013 at 8:06 AM, Michael Jackson <<br>
>>> <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>> wrote:<br>
>>><br>
>>>> Can VTK create a contour plot of "irregular" points? What I mean is<br>
>>>> that I have a bunch of X,Y + intensity points but the X,Y points are NOT on<br>
>>>> a regular grid they are just "Point Data". A collaborator of mine uses IDL<br>
>>>> to produce some plots from this data and I would like to use VTK for my own<br>
>>>> projects.<br>
>>>><br>
>>>> Thanks for any help.<br>
>>>> ___________________________________________________________<br>
>>>> Mike Jackson Principal Software Engineer<br>
>>>> BlueQuartz Software Dayton, Ohio<br>
>>>> <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a> <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>><br>
>>>> Visit other Kitware open-source projects at<br>
>>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>><br>
>>>> Please keep messages on-topic and check the VTK FAQ at:<br>
>>>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>>>><br>
>>>> Follow this link to subscribe/unsubscribe:<br>
>>>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Unpaid intern in BillsBasement at noware dot com<br>
>>><br>
>>> _______________________________________________<br>
>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>><br>
>>> Visit other Kitware open-source projects at<br>
>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>><br>
>>> Please keep messages on-topic and check the VTK FAQ at:<br>
>>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>>><br>
>>> Follow this link to subscribe/unsubscribe:<br>
>>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>>><br>
>>><br>
>><br>
>><br>
>> --<br>
>> ------------------------------------------------------------<br>
>> ?????????????????????<br>
>> ????<br>
>> ?470-0392 ????????????1247<br>
>> TEL:(0565)48-8121?????FAX:(0565)48-0030????<br>
>> HP: <a href="http://www.ait.ac.jp/index.html" target="_blank">http://www.ait.ac.jp/index.html</a><br>
>> Mail: <a href="mailto:y_yamamoto@aitech.ac.jp">y_yamamoto@aitech.ac.jp</a><br>
>> ------------------------------------------------------------<br>
>> School of Civil Engineering, Department of Urban Environment,<br>
>> Faculty of Engineering,<br>
>> Aichi Institute of Technology.<br>
>> Yoshiyuki Yamamoto<br>
>> 1247 Yachikusa, Yakusa Cho, Toyota, Aichi 470-0392 JAPAN<br>
>> TEL:+81-565-48-8121 FAX:+81-565-48-0030<br>
>> HP: <a href="http://www.ait.ac.jp/index.html" target="_blank">http://www.ait.ac.jp/index.html</a><br>
>> Mail: <a href="mailto:y_yamamoto@aitech.ac.jp">y_yamamoto@aitech.ac.jp</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Unpaid intern in BillsBasement at noware dot com<br>
><br>
<br>
<br>
<br>
--<br>
------------------------------------------------------------<br>
?????????????????????<br>
????<br>
?470-0392 ????????????1247<br>
TEL:(0565)48-8121?????FAX:(0565)48-0030????<br>
HP: <a href="http://www.ait.ac.jp/index.html" target="_blank">http://www.ait.ac.jp/index.html</a><br>
Mail: <a href="mailto:y_yamamoto@aitech.ac.jp">y_yamamoto@aitech.ac.jp</a><br>
------------------------------------------------------------<br>
School of Civil Engineering, Department of Urban Environment,<br>
Faculty of Engineering,<br>
Aichi Institute of Technology.<br>
Yoshiyuki Yamamoto<br>
1247 Yachikusa, Yakusa Cho, Toyota, Aichi 470-0392 JAPAN<br>
TEL:+81-565-48-8121 FAX:+81-565-48-0030<br>
HP: <a href="http://www.ait.ac.jp/index.html" target="_blank">http://www.ait.ac.jp/index.html</a><br>
Mail: <a href="mailto:y_yamamoto@aitech.ac.jp">y_yamamoto@aitech.ac.jp</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130706/e78186a0/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130706/e78186a0/attachment-0001.htm</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: ????????? 2013-07-06 11.51.14.png<br>
Type: image/png<br>
Size: 28046 bytes<br>
Desc: not available<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130706/e78186a0/attachment-0001.png" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130706/e78186a0/attachment-0001.png</a>><br>
<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Sat, 6 Jul 2013 08:05:55 -0400<br>
From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
Subject: Re: [vtkusers] A Simple Question on vtkContourFilter<br>
To: Hayden Smith <<a href="mailto:s_hayden_28@yahoo.com">s_hayden_28@yahoo.com</a>><br>
Cc: "<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<CADZJ4hPHaEvSiHVfd574-ibgaFZCZLyh=<a href="mailto:9nakJSDSG-9%2BSp9mQ@mail.gmail.com">9nakJSDSG-9+Sp9mQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
What is the range of your scalar data?<br>
<br>
<br>
<br>
On Fri, Jul 5, 2013 at 6:44 PM, Hayden Smith <<a href="mailto:s_hayden_28@yahoo.com">s_hayden_28@yahoo.com</a>> wrote:<br>
<br>
> Hello,<br>
> I have attached two images: the first one using "skinExtractor<br>
> SetValue 0 127.5" and the second one "skinExtractor SetValue 0 255". Both<br>
> showing the very similar output. My question as binarization on image is<br>
> performed, how the threshold has been calculated as both values showing the<br>
> similar output.<br>
><br>
> Thanks,<br>
><br>
> Hayden.<br>
><br>
><br>
> ------------------------------<br>
> *From:* Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
> *To:* Hayden Smith <<a href="mailto:s_hayden_28@yahoo.com">s_hayden_28@yahoo.com</a>><br>
> *Cc:* "<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
> *Sent:* Thursday, July 4, 2013 6:04 AM<br>
><br>
> *Subject:* Re: [vtkusers] A Simple Question on vtkContourFilter<br>
><br>
> If your data is 8 bit data, then the effect is similar to thresholding.<br>
> Set the value to 127.5 and you will see an isosurface that has more<br>
> character.<br>
><br>
><br>
> On Wed, Jul 3, 2013 at 4:14 PM, Hayden Smith <<a href="mailto:s_hayden_28@yahoo.com">s_hayden_28@yahoo.com</a>>wrote:<br>
><br>
> Hello,<br>
> Thanks for the reply. But I need a little bit clarification. When I<br>
> use 'skinExtractor SetValue 0 255', it generates one iso-surface. Does it<br>
> threshold the image into a binary image?<br>
><br>
> Thanks again.<br>
><br>
> Hayden.<br>
><br>
><br>
><br>
> ------------------------------<br>
> *From:* Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
> *To:* Hayden Smith <<a href="mailto:s_hayden_28@yahoo.com">s_hayden_28@yahoo.com</a>><br>
> *Cc:* "<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
> *Sent:* Tuesday, July 2, 2013 3:45 PM<br>
> *Subject:* Re: [vtkusers] A Simple Question on vtkContourFilter<br>
><br>
> skinExtractor GenerateValues 4 0 255 will extract 4 isosurfaces<br>
> Value 0: 0<br>
> Value 1: 85<br>
> Value 2: 170<br>
> Value 3: 255<br>
><br>
> where<br>
> skinExtractor SetValue 0 255<br>
> will extract 1 isosurface with value<br>
> 255<br>
><br>
><br>
><br>
><br>
> On Tue, Jul 2, 2013 at 4:17 PM, Hayden Smith <<a href="mailto:s_hayden_28@yahoo.com">s_hayden_28@yahoo.com</a>>wrote:<br>
><br>
> Hello,<br>
> I have a simple question on vtkContourFilter. What is the<br>
> difference between the following two pieces of code:<br>
><br>
> vtkContourFilter skinExtractor<br>
> skinExtractor SetInput [v16 GetOutput]<br>
> eval skinExtractor GenerateValues 4 0<br>
> 255<br>
> skinExtractor Update<br>
><br>
><br>
> vtkContourFilter skinExtractor<br>
> skinExtractor SetInput [v16 GetOutput]<br>
> skinExtractor SetValue 0 255<br>
> skinExtractor Update<br>
><br>
><br>
> If I use 'eval skinExtractor GenerateValues 4 0 255' in vtkContourFilter,<br>
> the reconstructed output is noisy whereas if I use 'skinExtractor SetValue<br>
> 0 255', the output is better and much clear. Could any one clarify me how<br>
> these two commands are making the difference in output?<br>
> Thanks in advance.<br>
><br>
><br>
> Hayden<br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Unpaid intern in BillsBasement at noware dot com<br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Unpaid intern in BillsBasement at noware dot com<br>
><br>
><br>
><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130706/fc89452b/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130706/fc89452b/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
vtkusers mailing list<br>
<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
End of vtkusers Digest, Vol 111, Issue 12<br>
*****************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(0,0,255)"><b>Best Regards<br>Rahul Indoria<br>Mobile No: +49-157-35652212</b></span><br></div>
</div></div>