<div dir="ltr">Hi,<div style> I was modifying this example: <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper</a></div><div style>
in this example, i am deleting the object vtkImageSlice, and when i am putting the object "imageSliceMapper" i getting an error?</div><div style><br></div><div style>As vtkimageslice class used to represent an image in a 3D scene, i don`t want to display this in 3D scene, just want to display on the screen that`s why i am deleting this class, so why i am getting this error?</div>
<div style><br></div><div style>I modified this code like this :</div><div style><br></div><div style><pre class="" style="padding:0px;border:0px none white;color:rgb(0,0,0);line-height:1.2em;font-size:10px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top">
<span class="" style="color:rgb(0,0,255)">int</span> main<span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,0,255)">int</span>, <span class="" style="color:rgb(0,0,255)">char</span> <span class="" style="color:rgb(0,0,64)">*</span><span class="" style="color:rgb(0,128,0)">[</span><span class="" style="color:rgb(0,128,0)">]</span><span class="" style="color:rgb(0,128,0)">)</span>
<span class="" style="color:rgb(0,128,0)">{</span>
vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkImageData<span class="" style="color:rgb(0,0,128)">></span> colorImage <span class="" style="color:rgb(0,0,128)">=</span> vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkImageData<span class="" style="color:rgb(0,0,128)">></span><span class="" style="color:rgb(0,128,128)">::</span><span class="" style="color:rgb(0,119,136)">New</span><span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
CreateColorImage<span class="" style="color:rgb(0,128,0)">(</span>colorImage<span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkImageSliceMapper<span class="" style="color:rgb(0,0,128)">></span> imageSliceMapper <span class="" style="color:rgb(0,0,128)">=</span> vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkImageSliceMapper<span class="" style="color:rgb(0,0,128)">></span><span class="" style="color:rgb(0,128,128)">::</span><span class="" style="color:rgb(0,119,136)">New</span><span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
<span class="" style="color:rgb(51,153,0)">#if VTK_MAJOR_VERSION <= 5</span>
imageSliceMapper<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>SetInputConnection<span class="" style="color:rgb(0,128,0)">(</span>colorImage<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>GetProducerPort<span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
<span class="" style="color:rgb(51,153,0)">#else</span>
imageSliceMapper<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>SetInputData<span class="" style="color:rgb(0,128,0)">(</span>colorImage<span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
<span class="" style="color:rgb(51,153,0)">#endif</span>
</pre><pre class="" style="padding:0px;border:0px none white;color:rgb(0,0,0);line-height:1.2em;font-size:10px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top">/*vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkImageSlice<span class="" style="color:rgb(0,0,128)">></span> imageSlice <span class="" style="color:rgb(0,0,128)">=</span> vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkImageSlice<span class="" style="color:rgb(0,0,128)">></span><span class="" style="color:rgb(0,128,128)">::</span><span class="" style="color:rgb(0,119,136)">New</span><span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
imageSlice<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>SetMapper<span class="" style="color:rgb(0,128,0)">(</span>imageSliceMapper<span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
*/ </pre><pre class="" style="padding:0px;border:0px none white;color:rgb(0,0,0);line-height:1.2em;font-size:10px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top"><br></pre><pre class="" style="padding:0px;border:0px none white;color:rgb(0,0,0);line-height:1.2em;font-size:10px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top">
<span class="" style="color:rgb(102,102,102)">// Setup renderers</span>
vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkRenderer<span class="" style="color:rgb(0,0,128)">></span> renderer <span class="" style="color:rgb(0,0,128)">=</span> vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkRenderer<span class="" style="color:rgb(0,0,128)">></span><span class="" style="color:rgb(0,128,128)">::</span><span class="" style="color:rgb(0,119,136)">New</span><span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
renderer<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>AddViewProp<span class="" style="color:rgb(0,128,0)">(</span>imageSliceMapper<span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
renderer<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>ResetCamera<span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
<span class="" style="color:rgb(102,102,102)">// Setup render window</span>
vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkRenderWindow<span class="" style="color:rgb(0,0,128)">></span> renderWindow <span class="" style="color:rgb(0,0,128)">=</span> vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkRenderWindow<span class="" style="color:rgb(0,0,128)">></span><span class="" style="color:rgb(0,128,128)">::</span><span class="" style="color:rgb(0,119,136)">New</span><span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
renderWindow<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>SetSize<span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,0,221)">300</span>, <span class="" style="color:rgb(0,0,221)">300</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
renderWindow<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>AddRenderer<span class="" style="color:rgb(0,128,0)">(</span>renderer<span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
<span class="" style="color:rgb(102,102,102)">// Setup render window interactor</span>
vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkRenderWindowInteractor<span class="" style="color:rgb(0,0,128)">></span> renderWindowInteractor <span class="" style="color:rgb(0,0,128)">=</span>
vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkRenderWindowInteractor<span class="" style="color:rgb(0,0,128)">></span><span class="" style="color:rgb(0,128,128)">::</span><span class="" style="color:rgb(0,119,136)">New</span><span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkInteractorStyleImage<span class="" style="color:rgb(0,0,128)">></span> style <span class="" style="color:rgb(0,0,128)">=</span>
vtkSmartPointer<span class="" style="color:rgb(0,0,128)"><</span>vtkInteractorStyleImage<span class="" style="color:rgb(0,0,128)">></span><span class="" style="color:rgb(0,128,128)">::</span><span class="" style="color:rgb(0,119,136)">New</span><span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
renderWindowInteractor<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>SetInteractorStyle<span class="" style="color:rgb(0,128,0)">(</span>style<span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
<span class="" style="color:rgb(102,102,102)">// Render and start interaction</span>
renderWindowInteractor<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>SetRenderWindow<span class="" style="color:rgb(0,128,0)">(</span>renderWindow<span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
renderWindowInteractor<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>Initialize<span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
renderWindowInteractor<span class="" style="color:rgb(0,0,64)">-</span><span class="" style="color:rgb(0,0,128)">></span>Start<span class="" style="color:rgb(0,128,0)">(</span><span class="" style="color:rgb(0,128,0)">)</span><span class="" style="color:rgb(0,128,128)">;</span>
<span class="" style="color:rgb(0,0,255)">return</span> <span class="" style="color:rgb(0,0,255)">EXIT_SUCCESS</span><span class="" style="color:rgb(0,128,128)">;</span>
<span class="" style="color:rgb(0,128,0)">}</span></pre></div><div style><br></div><div style><br></div><div style><br></div><div style>Looking forward your reply soon.</div><div style><br></div><div style><br></div><div style>
Rahul Indoria</div><div style><br></div><div style><br></div><div style><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 7, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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. Please Help, Curved reformation example using example<br>
imageslicemapper (rahul indoria)<br>
2. Connectons-nous sur LinkedIn (Tasnim)<br>
3. Re: A Simple Question on vtkContourFilter (Bill Lorensen)<br>
4. Help with image planes example (Ruff)<br>
5. vtk 6.0 and qt 5.1.0 (Ahmet Alacado?an)<br>
6. Re: vtk 6.0 and qt 5.1.0 (John Drescher)<br>
7. Re: vtk 6.0 and qt 5.1.0 (John Drescher)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 6 Jul 2013 20:54:03 +0200<br>
From: rahul indoria <<a href="mailto:rahulindoria5@gmail.com">rahulindoria5@gmail.com</a>><br>
Subject: [vtkusers] Please Help, Curved reformation example using<br>
example imageslicemapper<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:CAGQ%2B16%2B_6jXTOdAgGAVMfuJ0x0099gq-kLC1-3a9XqT8pSht0Q@mail.gmail.com">CAGQ+16+_6jXTOdAgGAVMfuJ0x0099gq-kLC1-3a9XqT8pSht0Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
I want to use the application of example (<br>
<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<br>
example (<br>
<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>)<br>
but when i trying to modifying this, i am getting certain errors. I am<br>
writing my modifying code(in curved reformation example), could you please<br>
tell me the mistakes which i am doing in that. this code is the modified<br>
code of curved reformation example using the code of image slice mapper.<br>
<br>
<br>
* // Probe the volume with the extruded surface*<br>
* vtkSmartPointer<vtkProbeFilter> sampleVolume =*<br>
* vtkSmartPointer<vtkProbeFilter>::New();*<br>
* // sampleVolume->SetInputConnection(1, imageReader->GetOutputPort());*<br>
*<br>
*<br>
*#if VTK_MAJOR_VERSION <= 5*<br>
* sampleVolume->SetInput(0, surface);*<br>
* #else*<br>
* sampleVolume->SetInputData(0, surface);*<br>
*#endif*<br>
*<br>
*<br>
*/**<br>
* // Compute a simple window/level based on scalar range*<br>
* vtkSmartPointer<vtkWindowLevelLookupTable> wlLut =*<br>
* vtkSmartPointer<vtkWindowLevelLookupTable>::New();*<br>
* double range = imageReader->GetOutput()->GetScalarRange()[1] -*<br>
* imageReader->GetOutput()->GetScalarRange()[0];*<br>
* double level = (imageReader->GetOutput()->GetScalarRange()[1] +*<br>
* imageReader->GetOutput()->GetScalarRange()[0]) / 2.0;*<br>
* wlLut->SetWindow(range);*<br>
* wlLut->SetLevel(level);*<br>
* */*<br>
*<br>
*<br>
* //Reslicing *<br>
* vtkSmartPointer<vtkImageResliceMapper> imageResliceMapper =<br>
vtkSmartPointer<vtkImageResliceMapper>::New();*<br>
*#if VTK_MAJOR_VERSION <= 5*<br>
* imageResliceMapper->SetInputConnection(1, sampleVolume->GetOutputPort());<br>
*<br>
*#else*<br>
* imageResliceMapper->SetInputData(sampleVolume->GetOutputPort());*<br>
*#endif*<br>
* *<br>
* vtkSmartPointer<vtkImageSlice> imageSlice =<br>
vtkSmartPointer<vtkImageSlice>::New();*<br>
* imageSlice->SetMapper(imageResliceMapper);*<br>
*<br>
*<br>
*/* // Create a mapper.*<br>
* vtkSmartPointer<vtkDataSetMapper> mapper =*<br>
* vtkSmartPointer<vtkDataSetMapper>::New();*<br>
* mapper->SetInputConnection(sampleVolume->GetOutputPort());*<br>
* mapper->SetLookupTable(wlLut);*<br>
* mapper->SetScalarRange(0, 255);*<br>
* *<br>
* // Create An Actor*<br>
* vtkSmartPointer<vtkActor> actor =*<br>
* vtkSmartPointer<vtkActor>::New();*<br>
* actor->SetMapper(mapper);*<br>
**/*<br>
*<br>
*<br>
* // Create a renderer,*<br>
* vtkSmartPointer<vtkRenderer> renderer =*<br>
* vtkSmartPointer<vtkRenderer>::New();*<br>
*<br>
*<br>
* // Create render window*<br>
* vtkSmartPointer<vtkRenderWindow> renderWindow =*<br>
* vtkSmartPointer<vtkRenderWindow>::New();*<br>
* renderWindow->AddRenderer(renderer);*<br>
*<br>
*<br>
*<br>
*<br>
* //Create an interactor*<br>
* vtkSmartPointer<vtkRenderWindowInteractor> renderWindowInteractor =*<br>
* vtkSmartPointer<vtkRenderWindowInteractor>::New();*<br>
* renderWindowInteractor->SetRenderWindow(renderWindow);*<br>
* *<br>
* // Add the actors to the scene*<br>
* renderer->AddActor(imageSlice);*<br>
* renderer->SetBackground(.2, .3, .4);*<br>
* *<br>
* // Set the camera for viewing medical images*<br>
* renderer->GetActiveCamera()->SetViewUp(0,0,1);*<br>
* renderer->GetActiveCamera()->SetPosition(0,0,0);*<br>
* renderer->GetActiveCamera()->SetFocalPoint(0,1,0);*<br>
* renderer->ResetCamera();*<br>
* *<br>
* // Render and interact*<br>
* renderWindow->Render();*<br>
* renderWindowInteractor->Start();*<br>
* *<br>
* imageReader->Delete();*<br>
* return EXIT_SUCCESS;*<br>
<br>
<br>
On Sat, Jul 6, 2013 at 6:00 PM, <<a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a>> wrote:<br>
<br>
> 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:<br>
> <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>
> <<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<br>
> (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<br>
> 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: <<br>
> <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>
><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: <<br>
> <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>
><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: <<br>
> <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>
><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=<br>
> <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>><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>
><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>
> <<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: <<br>
> <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>
><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>
> <<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>><br>
> 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>
> ><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<br>
> charged<br>
> > >> anything and the project is cancelled.<br>
> > >><br>
> > >> BTW, I'm Serge, not Dave. I just pledged for the project. Dave's<br>
> 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>
> ><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: <<br>
> <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>
><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=<br>
> <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<br>
> QVTK<br>
> > and qt libraries to the CMakeLists.txt line:<br>
> target_link_libraries(TriangulateTerrainMap<br>
> > vtkHybrid)<br>
> ><br>
> > target_link_libraries(TriangulateTerrainMap vtkHybrid QVTK<br>
> ${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>
> >><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<br>
> /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<br>
> header.<br>
> >> \<br>
> >> ^<br>
> >> 1 warning generated.<br>
> >> make[2]: *** No rule to make target `/opt/local/lib/libQtGui.dylib',<br>
> >> needed by<br>
> `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<br>
> NOT on<br>
> >>>> a regular grid they are just "Point Data". A collaborator of mine<br>
> uses IDL<br>
> >>>> to produce some plots from this data and I would like to use VTK for<br>
> 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: <<br>
> <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>
> ><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: <<br>
> <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>
><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=<br>
> <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>><br>
> 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".<br>
> 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<br>
> 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><br>
> >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><br>
> >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<br>
> 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<br>
> 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: <<br>
> <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>
> _______________________________________________<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>
><br>
<br>
<br>
<br>
--<br>
*Best Regards<br>
Rahul Indoria<br>
Mobile No: +49-157-35652212*<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130706/483d0fc7/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130706/483d0fc7/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 7 Jul 2013 01:48:43 -0700 (PDT)<br>
From: Tasnim <<a href="mailto:hanene-jeder@hotmail.fr">hanene-jeder@hotmail.fr</a>><br>
Subject: [vtkusers] Connectons-nous sur LinkedIn<br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<1776883155.42262119.1373186903943.JavaMail.app@ela4-app0133.prod><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
LinkedIn<br>
------------<br>
<br>
<br>
<br>
J'aimerais vous inviter ? rejoindre mon r?seau professionnel en ligne, sur le site LinkedIn.<br>
<br>
Hanene<br>
<br>
Hanene Jeder<br>
?tudiant ? Universit? de Gab?s<br>
Tunisie<br>
<br>
Veuillez confirmer que vous connaissez Hanene Jeder?:<br>
<a href="https://www.linkedin.com/e/-ii4g7l-hiu0108l-2s/isd/14779698682/WqH28QC9/?hs=false&tok=3awqNdpxMMe5Q1" target="_blank">https://www.linkedin.com/e/-ii4g7l-hiu0108l-2s/isd/14779698682/WqH28QC9/?hs=false&tok=3awqNdpxMMe5Q1</a><br>
<br>
--<br>
Vous recevez des invitations ? vous connecter par e-mail. Cliquez ici si vous ne souhaitez plus recevoir ces e-mails?:<br>
<a href="http://www.linkedin.com/e/-ii4g7l-hiu0108l-2s/66Xl7HQvZHxSRmli615JGQmFL_30Q8O16W6RVm-tT4eMNkGy65Ii6bdgAd9W/goo/ml-node%2Bs1045678n1224199h99%40n5%2Enabble%2Ecom/20061/I4920773277_1/?hs=false&tok=2DJgo-lBoMe5Q1" target="_blank">http://www.linkedin.com/e/-ii4g7l-hiu0108l-2s/66Xl7HQvZHxSRmli615JGQmFL_30Q8O16W6RVm-tT4eMNkGy65Ii6bdgAd9W/goo/ml-node%2Bs1045678n1224199h99%40n5%2Enabble%2Ecom/20061/I4920773277_1/?hs=false&tok=2DJgo-lBoMe5Q1</a><br>
<br>
(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Connectons-nous-sur-LinkedIn-tp5721810.html" target="_blank">http://vtk.1045678.n5.nabble.com/Connectons-nous-sur-LinkedIn-tp5721810.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130707/cc4a6396/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130707/cc4a6396/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 7 Jul 2013 08:04:52 -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: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<<a href="mailto:CADZJ4hNkx8O4Qu_LWEC6pB28MBf-F1QPG_0cxAerMvX45SG5vQ@mail.gmail.com">CADZJ4hNkx8O4Qu_LWEC6pB28MBf-F1QPG_0cxAerMvX45SG5vQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
It is not a binary volume, correct?<br>
<br>
I would expect that the 127 and 255 isosurfaces would be different.<br>
<br>
<br>
On Sat, Jul 6, 2013 at 10:03 PM, Hayden Smith <<a href="mailto:s_hayden_28@yahoo.com">s_hayden_28@yahoo.com</a>> wrote:<br>
<br>
> Hi,<br>
> It is 0 to 255.<br>
><br>
> Thanks,<br>
> Hayden.<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:* Saturday, July 6, 2013 7:05 AM<br>
><br>
> *Subject:* Re: [vtkusers] A Simple Question on vtkContourFilter<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>
> *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>
> *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">http://www.kitware.com/</a><br>
><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>
><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/20130707/8eb1476a/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130707/8eb1476a/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sun, 7 Jul 2013 06:17:20 -0700 (PDT)<br>
From: Ruff <<a href="mailto:albin.nilsson@gmail.com">albin.nilsson@gmail.com</a>><br>
Subject: [vtkusers] Help with image planes example<br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto:1373203040295-5721813.post@n5.nabble.com">1373203040295-5721813.post@n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Im looking at the Examples/GUI/ImagePlaneWidget and would like to change the<br>
input data to vtkUnstructuredGrid or vtkImageData, instead of whichever<br>
structure SetFilePrefix takes, as the example uses vtkVolume16Reader<br>
Can vtkVolume16Reader read UnstructuredGrid or ImageData somehow, and how<br>
would I change the code so that works, or do I need to use some different<br>
reader (and in that case; which one)?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Help-with-image-planes-example-tp5721813.html" target="_blank">http://vtk.1045678.n5.nabble.com/Help-with-image-planes-example-tp5721813.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Sun, 07 Jul 2013 16:28:44 +0300<br>
From: Ahmet Alacado?an <<a href="mailto:dfm@uyduarge.com">dfm@uyduarge.com</a>><br>
Subject: [vtkusers] vtk 6.0 and qt 5.1.0<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: <<a href="mailto:51D96D0C.2080105@uyduarge.com">51D96D0C.2080105@uyduarge.com</a>><br>
Content-Type: text/plain; charset="iso-8859-9"; Format="flowed"<br>
<br>
Hi everyone,<br>
I have been trying to compile vtk 6.0 with qt 5.1.0 on windows via msvc<br>
2010.<br>
But I get ;<br>
CMake Warning at<br>
D:/developments/cmake/share/cmake-2.8/Modules/FindQt4.cmake:615 (message):<br>
<br>
D:/developments/qt/qts/qt51/5.1.0/msvc2010/bin/qmake.exe reported<br>
<br>
QT_INSTALL_LIBS as "D:/developments/qt/qts/qt51//5.1.0/msvc2010/lib" but<br>
<br>
QtCore could not be found there. Qt is NOT installed correctly for the<br>
<br>
target build environment.<br>
<br>
Call Stack (most recent call first):<br>
<br>
GUISupport/Qt/CMakeLists.txt:57 (find_package)<br>
<br>
CMake Error at<br>
D:/developments/cmake/share/cmake-2.8/Modules/FindQt4.cmake:619 (message):<br>
<br>
Could NOT find QtCore. Check<br>
<br>
D:/developments/vtk/600/buildd/CMakeFiles/CMakeError.log for more details.<br>
<br>
Call Stack (most recent call first):<br>
<br>
GUISupport/Qt/CMakeLists.txt:57 (find_package)<br>
<br>
<br>
error message I wonder if it is a way to fix it or not.<br>
Kind Regards.<br>
Ahmet Do?an<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130707/afaf1bf1/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130707/afaf1bf1/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Sun, 7 Jul 2013 09:32:01 -0400<br>
From: John Drescher <<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>><br>
Subject: Re: [vtkusers] vtk 6.0 and qt 5.1.0<br>
To: Ahmet Alacado?an <<a href="mailto:dfm@uyduarge.com">dfm@uyduarge.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>
<CAEhu1-6YvMy8RJQAu=<a href="mailto:SQvF4umB2LSd5oC9FDpCbrvSU86DRu3A@mail.gmail.com">SQvF4umB2LSd5oC9FDpCbrvSU86DRu3A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Sun, Jul 7, 2013 at 9:28 AM, Ahmet Alacado?an <<a href="mailto:dfm@uyduarge.com">dfm@uyduarge.com</a>> wrote:<br>
> Hi everyone,<br>
> I have been trying to compile vtk 6.0 with qt 5.1.0 on windows via msvc<br>
> 2010.<br>
> But I get ;<br>
> CMake Warning at<br>
> D:/developments/cmake/share/cmake-2.8/Modules/FindQt4.cmake:615 (message):<br>
><br>
> D:/developments/qt/qts/qt51/5.1.0/msvc2010/bin/qmake.exe reported<br>
><br>
> QT_INSTALL_LIBS as "D:/developments/qt/qts/qt51//5.1.0/msvc2010/lib" but<br>
><br>
> QtCore could not be found there. Qt is NOT installed correctly for the<br>
><br>
> target build environment.<br>
><br>
> Call Stack (most recent call first):<br>
><br>
> GUISupport/Qt/CMakeLists.txt:57 (find_package)<br>
><br>
> CMake Error at<br>
> D:/developments/cmake/share/cmake-2.8/Modules/FindQt4.cmake:619 (message):<br>
><br>
> Could NOT find QtCore. Check<br>
><br>
> D:/developments/vtk/600/buildd/CMakeFiles/CMakeError.log for more details.<br>
><br>
> Call Stack (most recent call first):<br>
><br>
> GUISupport/Qt/CMakeLists.txt:57 (find_package)<br>
><br>
><br>
> error message I wonder if it is a way to fix it or not.<br>
> Kind Regards.<br>
> Ahmet Do?an<br>
><br>
<br>
I believe official support for Qt5 will come in vtk-6.1<br>
<br>
John<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Sun, 7 Jul 2013 09:57:31 -0400<br>
From: John Drescher <<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>><br>
Subject: Re: [vtkusers] vtk 6.0 and qt 5.1.0<br>
To: Ahmet Alacado?an <<a href="mailto:dfm@uyduarge.com">dfm@uyduarge.com</a>>, <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto:CAEhu1-7NHYn4H2CPC-Fr8FtECu4N1d75XK8G-TOC7FdtAmcJzg@mail.gmail.com">CAEhu1-7NHYn4H2CPC-Fr8FtECu4N1d75XK8G-TOC7FdtAmcJzg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
> Thank you John for your answer but apart from offical one is there any<br>
> solution for it?<br>
> Best Regards...<br>
<br>
I think you can check out the latest git and get qt5 support. The<br>
developers will have to comment on that. That would be simpler than<br>
you adding Qt5 support yourself like others on the mailing list have<br>
mentioned..<br>
<br>
John<br>
<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 13<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>