<p>Unsubscribe</p>
<div class="gmail_quote">On Jun 26, 2013 12:00 PM,  &lt;<a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a>&gt; wrote:<br type="attribution"><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 &#39;help&#39; 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 &quot;Re: Contents of vtkusers digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: vtkDataSet interface in wrapped language (Sebastien Jourdain)<br>
   2. Re: VTK 6.0 - New books? (David E DeMarle)<br>
   3. Re: VTK6.0 label size problem of vtkScalarBarActor<br>
      (David Thompson)<br>
   4. Re: Problems building the Piston Library (David E DeMarle)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 26 Jun 2013 09:42:20 -0400<br>
From: Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;<br>
Subject: Re: [vtkusers] vtkDataSet interface in wrapped language<br>
To: Gerrick Bivins &lt;<a href="mailto:Gerrick.Bivins@halliburton.com">Gerrick.Bivins@halliburton.com</a>&gt;<br>
Cc: &quot;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CABObKxf=G96QvFGCAkSWfyvfrQ+z3SSD__qe8fCFYh8tGVBf=<a href="mailto:w@mail.gmail.com">w@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;windows-1252&quot;<br>
<br>
Hi Gerrick,<br>
<br>
their is no way to my knowledge in Java to make the C++ layer use your data<br>
structure. (At least easily with what is available within VTK)<br>
The vtkProgrammable* are used to embed your filter/source logic into VTK<br>
pipeline, but it still require you to create a vtkDataObject anyway...<br>
<br>
It will be easier to do it the other way around. Make Java use a VTK/C++<br>
data structure.<br>
<br>
Seb<br>
<br>
<br>
On Wed, Jun 26, 2013 at 8:44 AM, Gerrick Bivins &lt;<br>
<a href="mailto:Gerrick.Bivins@halliburton.com">Gerrick.Bivins@halliburton.com</a>&gt; wrote:<br>
<br>
&gt;  Hi all,****<br>
&gt;<br>
&gt; I have some data that I?d like to process/visualize using VTK pipelines.**<br>
&gt; **<br>
&gt;<br>
&gt; At the moment, I?m investigating structured data but eventually I would<br>
&gt; like to use unstructured.****<br>
&gt;<br>
&gt; Anyway, I have access to the data through Java API?s and I?m trying to<br>
&gt; understand the proper approach. For example,****<br>
&gt;<br>
&gt; if I want to use VTK to generate a slice through this data it feels like I<br>
&gt; need to do something like:****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt;        *Object javaGrid;**// = ?;***<br>
&gt;<br>
&gt; *        vtkDataSet dataset;**// = ?;***<br>
&gt;<br>
&gt; * *<br>
&gt;<br>
&gt; *        **//translate javaGrid to vtkDataSet***<br>
&gt;<br>
&gt; *        vtkPoints points;**// = ?;***<br>
&gt;<br>
&gt; *        dataset.setPoints(points);***<br>
&gt;<br>
&gt; *        **///copy points***<br>
&gt;<br>
&gt; *        **for**(javaGrid.getNumberOfPoints())***<br>
&gt;<br>
&gt; *        {***<br>
&gt;<br>
&gt; *            points.insertNextPoint(javaGrid.getPoint(i)[0],<br>
&gt; javaGrid.getPoint(i)[1], javaGrid.getPoint(i)[2]))***<br>
&gt;<br>
&gt; *        }***<br>
&gt;<br>
&gt; *        ?***<br>
&gt;<br>
&gt; *        **//topology***<br>
&gt;<br>
&gt; *        **for**(cell:javaGrid.getNumberOfCells())***<br>
&gt;<br>
&gt; *        {***<br>
&gt;<br>
&gt; *              vtkCell translatedCell = getVTKCellFromJavaGridCell(cell);*<br>
&gt; **<br>
&gt;<br>
&gt; *              dataset.insertNextCell(cell.getType(),cell.getIds());***<br>
&gt;<br>
&gt; *         }***<br>
&gt;<br>
&gt; *         **///attributes***<br>
&gt;<br>
&gt; *         **for**(attribute:javaGrid.getPointBasedAttributes())***<br>
&gt;<br>
&gt; *         {***<br>
&gt;<br>
&gt; *            vtkDataArray translatedArray = getVTKArrayFromJavaGridArray(<br>
&gt; attribute);***<br>
&gt;<br>
&gt; *           dataset.getPointData().addArray(translatedArray);***<br>
&gt;<br>
&gt; *         }*<br>
&gt;<br>
&gt; *?*<br>
&gt;<br>
&gt; *//Set up pipeline from dataset to generate slice*<br>
&gt;<br>
&gt; ..****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; You, get the idea, brute force translation to vtkDataSet and then proceed<br>
&gt; as normal for VTK processing.****<br>
&gt;<br>
&gt; Ideally, what I would prefer to do in Java is implement some interface or<br>
&gt; extend some abstract class that makes my data look like a vtkDataSet ****<br>
&gt;<br>
&gt; w/o translating. I saw the vtkGenericDataSet class but I?m not sure if<br>
&gt; it?s intended for what I?m wanting to do or if it works in a wrapped<br>
&gt; language.****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; For example, if I have data that represents a structured grid, I really<br>
&gt; only need to specify my dx,dy,dz and origin and the attributes but it looks<br>
&gt; like there is much more in the vtkGenericDataSet to implement than that. *<br>
&gt; ***<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; I also looked at some of the vtkProgrammable* classes but those seem to be<br>
&gt; more of a ?translation?.****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; Is it possible to do something like this with the existing API? If not,<br>
&gt; what are the suggested approaches to achieving something like this?****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; Gerrick****<br>
&gt;  ------------------------------<br>
&gt; This e-mail, including any attached files, may contain confidential and<br>
&gt; privileged information for the sole use of the intended recipient. Any<br>
&gt; review, use, distribution, or disclosure by others is strictly prohibited.<br>
&gt; If you are not the intended recipient (or authorized to receive information<br>
&gt; for the intended recipient), please contact the sender by reply e-mail and<br>
&gt; delete all copies of this message.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130626/a4e21f44/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130626/a4e21f44/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 26 Jun 2013 10:10:43 -0400<br>
From: David E DeMarle &lt;<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt;<br>
Subject: Re: [vtkusers] VTK 6.0 - New books?<br>
To: Guillaume Jacquenot &lt;<a href="mailto:guillaume.jacquenot@gmail.com">guillaume.jacquenot@gmail.com</a>&gt;<br>
Cc: &quot;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CANjZAi_AiHjP7z7CT0AxYNQ4=<a href="mailto:91ZSxqqSoYb5NY52cnqpsXsXg@mail.gmail.com">91ZSxqqSoYb5NY52cnqpsXsXg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Sorry I don&#39;t have an ETA for new books. I don&#39;t expect them to be updated<br>
for a year or more.<br>
<br>
However, the current books are still relevant. The fundamental concepts in<br>
VTK 6 are exactly the same as VTK 5, the only big backwards incompatible<br>
changes are in the build system. The pipeline changes require mostly<br>
trivial syntax changes from the user perspective. See the migration guides<br>
for details.<br>
<br>
<br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&amp;D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4909" value="+15188814909">518-881-4909</a><br>
<br>
<br>
On Wed, Jun 26, 2013 at 5:57 AM, Guillaume Jacquenot &lt;<br>
<a href="mailto:guillaume.jacquenot@gmail.com">guillaume.jacquenot@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Dear all,<br>
&gt;<br>
&gt; Now that the new VTK 6.0 has been released, are the VTK books planned to be<br>
&gt; updated?<br>
&gt; If so, when will it be possible to order them?<br>
&gt;<br>
&gt; Best regards<br>
&gt;<br>
&gt; Guillaume Jacquenot<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130626/2538be07/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130626/2538be07/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 26 Jun 2013 10:18:35 -0400<br>
From: David Thompson &lt;<a href="mailto:david.thompson@kitware.com">david.thompson@kitware.com</a>&gt;<br>
Subject: Re: [vtkusers] VTK6.0 label size problem of vtkScalarBarActor<br>
To: chasank &lt;<a href="mailto:chasank@gmail.com">chasank@gmail.com</a>&gt;<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: &lt;<a href="mailto:63FC2FD4-FA2F-4129-99F7-E6454EDB6E86@kitware.com">63FC2FD4-FA2F-4129-99F7-E6454EDB6E86@kitware.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
&gt; ... The problem is vtkScalarBarActor tries to rescale according to size of<br>
&gt; render window the labels always. It is not possible to assign a fixed font<br>
&gt; size with vtkTextProperty.   ...<br>
<br>
<br>
If you would like a version of the scalar bar actor that does not resize fonts, see the version in ParaView named vtkPVScalarBarActor:<br>
<br>
<a href="http://paraview.org/gitweb?p=ParaView.git;a=blob_plain;f=ParaViewCore/VTKExtensions/Rendering/vtkPVScalarBarActor.h;hb=HEAD" target="_blank">http://paraview.org/gitweb?p=ParaView.git;a=blob_plain;f=ParaViewCore/VTKExtensions/Rendering/vtkPVScalarBarActor.h;hb=HEAD</a><br>

<a href="http://paraview.org/gitweb?p=ParaView.git;a=blob_plain;f=ParaViewCore/VTKExtensions/Rendering/vtkPVScalarBarActor.cxx;hb=HEAD" target="_blank">http://paraview.org/gitweb?p=ParaView.git;a=blob_plain;f=ParaViewCore/VTKExtensions/Rendering/vtkPVScalarBarActor.cxx;hb=HEAD</a><br>

<br>
        David<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 26 Jun 2013 10:18:44 -0400<br>
From: David E DeMarle &lt;<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt;<br>
Subject: Re: [vtkusers] Problems building the Piston Library<br>
To: UJJWAL aryan &lt;<a href="mailto:meetukme@gmail.com">meetukme@gmail.com</a>&gt;<br>
Cc: &quot;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CANjZAi9Z-AM3AL51B5mOStL7Eq%2B9izzHS7VXbiQMrTcrx263BA@mail.gmail.com">CANjZAi9Z-AM3AL51B5mOStL7Eq+9izzHS7VXbiQMrTcrx263BA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
It might be a non-issue. From VTK&#39;s perspective, piston is a header only<br>
library, so technically you do not need to build piston itself to use VTK&#39;s<br>
AcceleratorsPiston module. Try building VTK without it.<br>
<br>
With all that said, AcceleratorsPiston should be considered experimental at<br>
this point on windows.<br>
For more information see:<br>
<a href="http://paraview.org/Bug/view.php?id=13283" target="_blank">http://paraview.org/Bug/view.php?id=13283</a><br>
and<br>
<a href="http://markmail.org/thread/lfglijtpi4x3mjwx" target="_blank">http://markmail.org/thread/lfglijtpi4x3mjwx</a><br>
<br>
For advice on using piston itself on windows, try going though the LANL<br>
piston github site at: <a href="https://github.com/losalamos/PISTON" target="_blank">https://github.com/losalamos/PISTON</a><br>
<br>
cheers<br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&amp;D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4909" value="+15188814909">518-881-4909</a><br>
<br>
<br>
On Sun, Jun 23, 2013 at 2:51 PM, UJJWAL aryan &lt;<a href="mailto:meetukme@gmail.com">meetukme@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I was trying to install *vtk 6.0.0.rc3* on my system and it was showing<br>
&gt; the error PISTON_INCLUDE_DIR NOT FOUND. So, I decided to download and<br>
&gt; install LANL&#39;s piston library (<a href="http://viz.lanl.gov/projects/PISTON.html" target="_blank">http://viz.lanl.gov/projects/PISTON.html</a>)<br>
&gt; . While building the Piston Library , it gave the following error :-<br>
&gt;<br>
&gt; *nvcc fatal   : A single input file is required for a non-link phase when<br>
&gt; an outputfile is specified. CMake Error at<br>
&gt; tutorial1GPU_generated_tutorial1.cu.o.cmake:206 (message):*<br>
&gt; * Error generating<br>
&gt; /usr/local/piston/build/tutorial/CMakeFiles/tutorial1GPU.dir//./tutorial1GPU_generated_tutorial1.cu.o<br>
&gt; *<br>
&gt;<br>
&gt; So, I opened *tutorial1GPU_generated_tutorial1.cu.o.cmake *in Vim and on<br>
&gt; line 80 i noticed something unusual. I noticed that in<br>
&gt; set(CUDA_NVCC_INCLUDE_ARGS ... only a part of the string was displayed in<br>
&gt; red while remaining part was simple white. The line was very long and i<br>
&gt; think, that after a certain number of characters like 5000 or so, the<br>
&gt; system was not recognizing any other character as a string.<br>
&gt;<br>
&gt; I am not sure but maybe that is the source of the problem. Kindly take a<br>
&gt; look into it and enlighten. I am attaching the *<br>
&gt; tutorial1GPU_generated_tutorial1.cu.o.cmake *with this mail.<br>
&gt;<br>
&gt; --<br>
&gt; Ujjwal<br>
&gt; IIIT Hyderabad<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130626/10a0e9c9/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130626/10a0e9c9/attachment-0001.htm</a>&gt;<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 110, Issue 38<br>
*****************************************<br>
</blockquote></div>