[vtkusers] vtkusers Digest, Vol 110, Issue 38

Alex L Chalmers alex.l.chalmers at gmail.com
Wed Jun 26 14:54:27 EDT 2013


Unsubscribe
On Jun 26, 2013 12:00 PM, <vtkusers-request at vtk.org> wrote:

> Send vtkusers mailing list submissions to
>         vtkusers at vtk.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://www.vtk.org/mailman/listinfo/vtkusers
> or, via email, send a message with subject or body 'help' to
>         vtkusers-request at vtk.org
>
> You can reach the person managing the list at
>         vtkusers-owner at vtk.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of vtkusers digest..."
>
>
> Today's Topics:
>
>    1. Re: vtkDataSet interface in wrapped language (Sebastien Jourdain)
>    2. Re: VTK 6.0 - New books? (David E DeMarle)
>    3. Re: VTK6.0 label size problem of vtkScalarBarActor
>       (David Thompson)
>    4. Re: Problems building the Piston Library (David E DeMarle)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 26 Jun 2013 09:42:20 -0400
> From: Sebastien Jourdain <sebastien.jourdain at kitware.com>
> Subject: Re: [vtkusers] vtkDataSet interface in wrapped language
> To: Gerrick Bivins <Gerrick.Bivins at halliburton.com>
> Cc: "vtkusers at vtk.org" <vtkusers at vtk.org>
> Message-ID:
>         <CABObKxf=G96QvFGCAkSWfyvfrQ+z3SSD__qe8fCFYh8tGVBf=
> w at mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
> Hi Gerrick,
>
> their is no way to my knowledge in Java to make the C++ layer use your data
> structure. (At least easily with what is available within VTK)
> The vtkProgrammable* are used to embed your filter/source logic into VTK
> pipeline, but it still require you to create a vtkDataObject anyway...
>
> It will be easier to do it the other way around. Make Java use a VTK/C++
> data structure.
>
> Seb
>
>
> On Wed, Jun 26, 2013 at 8:44 AM, Gerrick Bivins <
> Gerrick.Bivins at halliburton.com> wrote:
>
> >  Hi all,****
> >
> > I have some data that I?d like to process/visualize using VTK
> pipelines.**
> > **
> >
> > At the moment, I?m investigating structured data but eventually I would
> > like to use unstructured.****
> >
> > Anyway, I have access to the data through Java API?s and I?m trying to
> > understand the proper approach. For example,****
> >
> > if I want to use VTK to generate a slice through this data it feels like
> I
> > need to do something like:****
> >
> > ** **
> >
> >        *Object javaGrid;**// = ?;***
> >
> > *        vtkDataSet dataset;**// = ?;***
> >
> > * *
> >
> > *        **//translate javaGrid to vtkDataSet***
> >
> > *        vtkPoints points;**// = ?;***
> >
> > *        dataset.setPoints(points);***
> >
> > *        **///copy points***
> >
> > *        **for**(javaGrid.getNumberOfPoints())***
> >
> > *        {***
> >
> > *            points.insertNextPoint(javaGrid.getPoint(i)[0],
> > javaGrid.getPoint(i)[1], javaGrid.getPoint(i)[2]))***
> >
> > *        }***
> >
> > *        ?***
> >
> > *        **//topology***
> >
> > *        **for**(cell:javaGrid.getNumberOfCells())***
> >
> > *        {***
> >
> > *              vtkCell translatedCell =
> getVTKCellFromJavaGridCell(cell);*
> > **
> >
> > *              dataset.insertNextCell(cell.getType(),cell.getIds());***
> >
> > *         }***
> >
> > *         **///attributes***
> >
> > *         **for**(attribute:javaGrid.getPointBasedAttributes())***
> >
> > *         {***
> >
> > *            vtkDataArray translatedArray = getVTKArrayFromJavaGridArray(
> > attribute);***
> >
> > *           dataset.getPointData().addArray(translatedArray);***
> >
> > *         }*
> >
> > *?*
> >
> > *//Set up pipeline from dataset to generate slice*
> >
> > ..****
> >
> > ** **
> >
> > You, get the idea, brute force translation to vtkDataSet and then proceed
> > as normal for VTK processing.****
> >
> > Ideally, what I would prefer to do in Java is implement some interface or
> > extend some abstract class that makes my data look like a vtkDataSet ****
> >
> > w/o translating. I saw the vtkGenericDataSet class but I?m not sure if
> > it?s intended for what I?m wanting to do or if it works in a wrapped
> > language.****
> >
> > ** **
> >
> > For example, if I have data that represents a structured grid, I really
> > only need to specify my dx,dy,dz and origin and the attributes but it
> looks
> > like there is much more in the vtkGenericDataSet to implement than that.
> *
> > ***
> >
> > ** **
> >
> > I also looked at some of the vtkProgrammable* classes but those seem to
> be
> > more of a ?translation?.****
> >
> > ** **
> >
> > Is it possible to do something like this with the existing API? If not,
> > what are the suggested approaches to achieving something like this?****
> >
> > ** **
> >
> > Gerrick****
> >  ------------------------------
> > This e-mail, including any attached files, may contain confidential and
> > privileged information for the sole use of the intended recipient. Any
> > review, use, distribution, or disclosure by others is strictly
> prohibited.
> > If you are not the intended recipient (or authorized to receive
> information
> > for the intended recipient), please contact the sender by reply e-mail
> and
> > delete all copies of this message.
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130626/a4e21f44/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 26 Jun 2013 10:10:43 -0400
> From: David E DeMarle <dave.demarle at kitware.com>
> Subject: Re: [vtkusers] VTK 6.0 - New books?
> To: Guillaume Jacquenot <guillaume.jacquenot at gmail.com>
> Cc: "vtkusers at vtk.org" <vtkusers at vtk.org>
> Message-ID:
>         <CANjZAi_AiHjP7z7CT0AxYNQ4=
> 91ZSxqqSoYb5NY52cnqpsXsXg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Sorry I don't have an ETA for new books. I don't expect them to be updated
> for a year or more.
>
> However, the current books are still relevant. The fundamental concepts in
> VTK 6 are exactly the same as VTK 5, the only big backwards incompatible
> changes are in the build system. The pipeline changes require mostly
> trivial syntax changes from the user perspective. See the migration guides
> for details.
>
>
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> On Wed, Jun 26, 2013 at 5:57 AM, Guillaume Jacquenot <
> guillaume.jacquenot at gmail.com> wrote:
>
> > Dear all,
> >
> > Now that the new VTK 6.0 has been released, are the VTK books planned to
> be
> > updated?
> > If so, when will it be possible to order them?
> >
> > Best regards
> >
> > Guillaume Jacquenot
> >
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130626/2538be07/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 3
> Date: Wed, 26 Jun 2013 10:18:35 -0400
> From: David Thompson <david.thompson at kitware.com>
> Subject: Re: [vtkusers] VTK6.0 label size problem of vtkScalarBarActor
> To: chasank <chasank at gmail.com>
> Cc: vtkusers at vtk.org
> Message-ID: <63FC2FD4-FA2F-4129-99F7-E6454EDB6E86 at kitware.com>
> Content-Type: text/plain; charset=us-ascii
>
> > ... The problem is vtkScalarBarActor tries to rescale according to size
> of
> > render window the labels always. It is not possible to assign a fixed
> font
> > size with vtkTextProperty.   ...
>
>
> If you would like a version of the scalar bar actor that does not resize
> fonts, see the version in ParaView named vtkPVScalarBarActor:
>
>
> http://paraview.org/gitweb?p=ParaView.git;a=blob_plain;f=ParaViewCore/VTKExtensions/Rendering/vtkPVScalarBarActor.h;hb=HEAD
>
> http://paraview.org/gitweb?p=ParaView.git;a=blob_plain;f=ParaViewCore/VTKExtensions/Rendering/vtkPVScalarBarActor.cxx;hb=HEAD
>
>         David
>
> ------------------------------
>
> Message: 4
> Date: Wed, 26 Jun 2013 10:18:44 -0400
> From: David E DeMarle <dave.demarle at kitware.com>
> Subject: Re: [vtkusers] Problems building the Piston Library
> To: UJJWAL aryan <meetukme at gmail.com>
> Cc: "vtkusers at vtk.org" <vtkusers at vtk.org>
> Message-ID:
>         <
> CANjZAi9Z-AM3AL51B5mOStL7Eq+9izzHS7VXbiQMrTcrx263BA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> It might be a non-issue. From VTK's perspective, piston is a header only
> library, so technically you do not need to build piston itself to use VTK's
> AcceleratorsPiston module. Try building VTK without it.
>
> With all that said, AcceleratorsPiston should be considered experimental at
> this point on windows.
> For more information see:
> http://paraview.org/Bug/view.php?id=13283
> and
> http://markmail.org/thread/lfglijtpi4x3mjwx
>
> For advice on using piston itself on windows, try going though the LANL
> piston github site at: https://github.com/losalamos/PISTON
>
> cheers
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> On Sun, Jun 23, 2013 at 2:51 PM, UJJWAL aryan <meetukme at gmail.com> wrote:
>
> > Hi All,
> >
> > I was trying to install *vtk 6.0.0.rc3* on my system and it was showing
> > the error PISTON_INCLUDE_DIR NOT FOUND. So, I decided to download and
> > install LANL's piston library (http://viz.lanl.gov/projects/PISTON.html)
> > . While building the Piston Library , it gave the following error :-
> >
> > *nvcc fatal   : A single input file is required for a non-link phase when
> > an outputfile is specified. CMake Error at
> > tutorial1GPU_generated_tutorial1.cu.o.cmake:206 (message):*
> > * Error generating
> >
> /usr/local/piston/build/tutorial/CMakeFiles/tutorial1GPU.dir//./tutorial1GPU_generated_tutorial1.cu.o
> > *
> >
> > So, I opened *tutorial1GPU_generated_tutorial1.cu.o.cmake *in Vim and on
> > line 80 i noticed something unusual. I noticed that in
> > set(CUDA_NVCC_INCLUDE_ARGS ... only a part of the string was displayed in
> > red while remaining part was simple white. The line was very long and i
> > think, that after a certain number of characters like 5000 or so, the
> > system was not recognizing any other character as a string.
> >
> > I am not sure but maybe that is the source of the problem. Kindly take a
> > look into it and enlighten. I am attaching the *
> > tutorial1GPU_generated_tutorial1.cu.o.cmake *with this mail.
> >
> > --
> > Ujjwal
> > IIIT Hyderabad
> >
> >
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.vtk.org/pipermail/vtkusers/attachments/20130626/10a0e9c9/attachment-0001.htm
> >
>
> ------------------------------
>
> _______________________________________________
> vtkusers mailing list
> vtkusers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
> End of vtkusers Digest, Vol 110, Issue 38
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130626/6d308efb/attachment.htm>


More information about the vtkusers mailing list