<p>Unsubscribe</p>
<div class="gmail_quote">On Jun 26, 2013 12:00 PM, <<a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a>> 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 '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: 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 <<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>><br>
Subject: Re: [vtkusers] vtkDataSet interface in wrapped language<br>
To: Gerrick Bivins <<a href="mailto:Gerrick.Bivins@halliburton.com">Gerrick.Bivins@halliburton.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>
<CABObKxf=G96QvFGCAkSWfyvfrQ+z3SSD__qe8fCFYh8tGVBf=<a href="mailto:w@mail.gmail.com">w@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="windows-1252"<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 <<br>
<a href="mailto:Gerrick.Bivins@halliburton.com">Gerrick.Bivins@halliburton.com</a>> wrote:<br>
<br>
> Hi all,****<br>
><br>
> I have some data that I?d like to process/visualize using VTK pipelines.**<br>
> **<br>
><br>
> At the moment, I?m investigating structured data but eventually I would<br>
> like to use unstructured.****<br>
><br>
> Anyway, I have access to the data through Java API?s and I?m trying to<br>
> understand the proper approach. For example,****<br>
><br>
> if I want to use VTK to generate a slice through this data it feels like I<br>
> need to do something like:****<br>
><br>
> ** **<br>
><br>
> *Object javaGrid;**// = ?;***<br>
><br>
> * vtkDataSet dataset;**// = ?;***<br>
><br>
> * *<br>
><br>
> * **//translate javaGrid to vtkDataSet***<br>
><br>
> * vtkPoints points;**// = ?;***<br>
><br>
> * dataset.setPoints(points);***<br>
><br>
> * **///copy points***<br>
><br>
> * **for**(javaGrid.getNumberOfPoints())***<br>
><br>
> * {***<br>
><br>
> * points.insertNextPoint(javaGrid.getPoint(i)[0],<br>
> javaGrid.getPoint(i)[1], javaGrid.getPoint(i)[2]))***<br>
><br>
> * }***<br>
><br>
> * ?***<br>
><br>
> * **//topology***<br>
><br>
> * **for**(cell:javaGrid.getNumberOfCells())***<br>
><br>
> * {***<br>
><br>
> * vtkCell translatedCell = getVTKCellFromJavaGridCell(cell);*<br>
> **<br>
><br>
> * dataset.insertNextCell(cell.getType(),cell.getIds());***<br>
><br>
> * }***<br>
><br>
> * **///attributes***<br>
><br>
> * **for**(attribute:javaGrid.getPointBasedAttributes())***<br>
><br>
> * {***<br>
><br>
> * vtkDataArray translatedArray = getVTKArrayFromJavaGridArray(<br>
> attribute);***<br>
><br>
> * dataset.getPointData().addArray(translatedArray);***<br>
><br>
> * }*<br>
><br>
> *?*<br>
><br>
> *//Set up pipeline from dataset to generate slice*<br>
><br>
> ..****<br>
><br>
> ** **<br>
><br>
> You, get the idea, brute force translation to vtkDataSet and then proceed<br>
> as normal for VTK processing.****<br>
><br>
> Ideally, what I would prefer to do in Java is implement some interface or<br>
> extend some abstract class that makes my data look like a vtkDataSet ****<br>
><br>
> w/o translating. I saw the vtkGenericDataSet class but I?m not sure if<br>
> it?s intended for what I?m wanting to do or if it works in a wrapped<br>
> language.****<br>
><br>
> ** **<br>
><br>
> For example, if I have data that represents a structured grid, I really<br>
> only need to specify my dx,dy,dz and origin and the attributes but it looks<br>
> like there is much more in the vtkGenericDataSet to implement than that. *<br>
> ***<br>
><br>
> ** **<br>
><br>
> I also looked at some of the vtkProgrammable* classes but those seem to be<br>
> more of a ?translation?.****<br>
><br>
> ** **<br>
><br>
> Is it possible to do something like this with the existing API? If not,<br>
> what are the suggested approaches to achieving something like this?****<br>
><br>
> ** **<br>
><br>
> Gerrick****<br>
> ------------------------------<br>
> This e-mail, including any attached files, may contain confidential and<br>
> privileged information for the sole use of the intended recipient. Any<br>
> review, use, distribution, or disclosure by others is strictly prohibited.<br>
> If you are not the intended recipient (or authorized to receive information<br>
> for the intended recipient), please contact the sender by reply e-mail and<br>
> delete all copies of this message.<br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130626/a4e21f44/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130626/a4e21f44/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 26 Jun 2013 10:10:43 -0400<br>
From: David E DeMarle <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>><br>
Subject: Re: [vtkusers] VTK 6.0 - New books?<br>
To: Guillaume Jacquenot <<a href="mailto:guillaume.jacquenot@gmail.com">guillaume.jacquenot@gmail.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>
<CANjZAi_AiHjP7z7CT0AxYNQ4=<a href="mailto:91ZSxqqSoYb5NY52cnqpsXsXg@mail.gmail.com">91ZSxqqSoYb5NY52cnqpsXsXg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Sorry I don't have an ETA for new books. I don'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&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 <<br>
<a href="mailto:guillaume.jacquenot@gmail.com">guillaume.jacquenot@gmail.com</a>> wrote:<br>
<br>
> Dear all,<br>
><br>
> Now that the new VTK 6.0 has been released, are the VTK books planned to be<br>
> updated?<br>
> If so, when will it be possible to order them?<br>
><br>
> Best regards<br>
><br>
> Guillaume Jacquenot<br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130626/2538be07/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130626/2538be07/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 26 Jun 2013 10:18:35 -0400<br>
From: David Thompson <<a href="mailto:david.thompson@kitware.com">david.thompson@kitware.com</a>><br>
Subject: Re: [vtkusers] VTK6.0 label size problem of vtkScalarBarActor<br>
To: chasank <<a href="mailto:chasank@gmail.com">chasank@gmail.com</a>><br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto:63FC2FD4-FA2F-4129-99F7-E6454EDB6E86@kitware.com">63FC2FD4-FA2F-4129-99F7-E6454EDB6E86@kitware.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
> ... The problem is vtkScalarBarActor tries to rescale according to size of<br>
> render window the labels always. It is not possible to assign a fixed font<br>
> 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 <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>><br>
Subject: Re: [vtkusers] Problems building the Piston Library<br>
To: UJJWAL aryan <<a href="mailto:meetukme@gmail.com">meetukme@gmail.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>
<<a href="mailto:CANjZAi9Z-AM3AL51B5mOStL7Eq%2B9izzHS7VXbiQMrTcrx263BA@mail.gmail.com">CANjZAi9Z-AM3AL51B5mOStL7Eq+9izzHS7VXbiQMrTcrx263BA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
It might be a non-issue. From VTK's perspective, piston is a header only<br>
library, so technically you do not need to build piston itself to use VTK'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&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 <<a href="mailto:meetukme@gmail.com">meetukme@gmail.com</a>> wrote:<br>
<br>
> Hi All,<br>
><br>
> I was trying to install *vtk 6.0.0.rc3* on my system and it was showing<br>
> the error PISTON_INCLUDE_DIR NOT FOUND. So, I decided to download and<br>
> install LANL's piston library (<a href="http://viz.lanl.gov/projects/PISTON.html" target="_blank">http://viz.lanl.gov/projects/PISTON.html</a>)<br>
> . While building the Piston Library , it gave the following error :-<br>
><br>
> *nvcc fatal : A single input file is required for a non-link phase when<br>
> an outputfile is specified. CMake Error at<br>
> tutorial1GPU_generated_tutorial1.cu.o.cmake:206 (message):*<br>
> * Error generating<br>
> /usr/local/piston/build/tutorial/CMakeFiles/tutorial1GPU.dir//./tutorial1GPU_generated_tutorial1.cu.o<br>
> *<br>
><br>
> So, I opened *tutorial1GPU_generated_tutorial1.cu.o.cmake *in Vim and on<br>
> line 80 i noticed something unusual. I noticed that in<br>
> set(CUDA_NVCC_INCLUDE_ARGS ... only a part of the string was displayed in<br>
> red while remaining part was simple white. The line was very long and i<br>
> think, that after a certain number of characters like 5000 or so, the<br>
> system was not recognizing any other character as a string.<br>
><br>
> I am not sure but maybe that is the source of the problem. Kindly take a<br>
> look into it and enlighten. I am attaching the *<br>
> tutorial1GPU_generated_tutorial1.cu.o.cmake *with this mail.<br>
><br>
> --<br>
> Ujjwal<br>
> IIIT Hyderabad<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130626/10a0e9c9/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130626/10a0e9c9/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
vtkusers mailing list<br>
<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
End of vtkusers Digest, Vol 110, Issue 38<br>
*****************************************<br>
</blockquote></div>